boards: esp32s3_devkitm: update CAN support

Add CAN to supported list and update documentation.

Signed-off-by: Eric Holmberg <eric.holmberg@northriversystems.co.nz>
This commit is contained in:
Eric Holmberg 2023-07-03 20:35:44 +12:00 committed by Carles Cufí
parent 1b919bbc28
commit e408d0ea06
5 changed files with 17 additions and 1 deletions

View file

@ -92,6 +92,8 @@ Current Zephyr's ESP32-S3-DevKitM board supports the following features:
+------------+------------+-------------------------------------+
| SPI Master | on-chip | spi |
+------------+------------+-------------------------------------+
| TWAI/CAN | on-chip | can |
+------------+------------+-------------------------------------+
| Timers | on-chip | counter |
+------------+------------+-------------------------------------+
| Watchdog | on-chip | watchdog |

View file

@ -63,4 +63,11 @@
output-low;
};
};
twai_default: twai_default {
group1 {
pinmux = <TWAI_TX_GPIO5>,
<TWAI_RX_GPIO6>;
};
};
};

View file

@ -93,6 +93,12 @@
pinctrl-names = "default";
};
&twai {
pinctrl-0 = <&twai_default>;
pinctrl-names = "default";
bus-speed = <125000>;
};
&timer0 {
status = "disabled";
};

View file

@ -9,6 +9,7 @@ supported:
- uart
- i2c
- spi
- can
- counter
- watchdog
- entropy

View file

@ -11,4 +11,4 @@ tests:
- can
extra_args: DTC_OVERLAY_FILE=twai-enable.overlay
filter: dt_compat_enabled("espressif,esp32-twai")
platform_allow: esp32c3_devkitm
platform_allow: esp32c3_devkitm esp32s3_devkitm