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:
parent
1b919bbc28
commit
e408d0ea06
5 changed files with 17 additions and 1 deletions
|
@ -92,6 +92,8 @@ Current Zephyr's ESP32-S3-DevKitM board supports the following features:
|
||||||
+------------+------------+-------------------------------------+
|
+------------+------------+-------------------------------------+
|
||||||
| SPI Master | on-chip | spi |
|
| SPI Master | on-chip | spi |
|
||||||
+------------+------------+-------------------------------------+
|
+------------+------------+-------------------------------------+
|
||||||
|
| TWAI/CAN | on-chip | can |
|
||||||
|
+------------+------------+-------------------------------------+
|
||||||
| Timers | on-chip | counter |
|
| Timers | on-chip | counter |
|
||||||
+------------+------------+-------------------------------------+
|
+------------+------------+-------------------------------------+
|
||||||
| Watchdog | on-chip | watchdog |
|
| Watchdog | on-chip | watchdog |
|
||||||
|
|
|
@ -63,4 +63,11 @@
|
||||||
output-low;
|
output-low;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
twai_default: twai_default {
|
||||||
|
group1 {
|
||||||
|
pinmux = <TWAI_TX_GPIO5>,
|
||||||
|
<TWAI_RX_GPIO6>;
|
||||||
|
};
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
|
@ -93,6 +93,12 @@
|
||||||
pinctrl-names = "default";
|
pinctrl-names = "default";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
&twai {
|
||||||
|
pinctrl-0 = <&twai_default>;
|
||||||
|
pinctrl-names = "default";
|
||||||
|
bus-speed = <125000>;
|
||||||
|
};
|
||||||
|
|
||||||
&timer0 {
|
&timer0 {
|
||||||
status = "disabled";
|
status = "disabled";
|
||||||
};
|
};
|
||||||
|
|
|
@ -9,6 +9,7 @@ supported:
|
||||||
- uart
|
- uart
|
||||||
- i2c
|
- i2c
|
||||||
- spi
|
- spi
|
||||||
|
- can
|
||||||
- counter
|
- counter
|
||||||
- watchdog
|
- watchdog
|
||||||
- entropy
|
- entropy
|
||||||
|
|
|
@ -11,4 +11,4 @@ tests:
|
||||||
- can
|
- can
|
||||||
extra_args: DTC_OVERLAY_FILE=twai-enable.overlay
|
extra_args: DTC_OVERLAY_FILE=twai-enable.overlay
|
||||||
filter: dt_compat_enabled("espressif,esp32-twai")
|
filter: dt_compat_enabled("espressif,esp32-twai")
|
||||||
platform_allow: esp32c3_devkitm
|
platform_allow: esp32c3_devkitm esp32s3_devkitm
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue