boards: sam_e70_xplained: Add CAN support
This commit adds CAN support on the sam_e70_xplained. Signed-off-by: Alexander Wachter <alexander@wachter.cloud>
This commit is contained in:
parent
64871ad8a9
commit
1343199f95
3 changed files with 16 additions and 0 deletions
|
@ -65,6 +65,8 @@ features:
|
||||||
+-----------+------------+-------------------------------------+
|
+-----------+------------+-------------------------------------+
|
||||||
| PWM | on-chip | pwm |
|
| PWM | on-chip | pwm |
|
||||||
+-----------+------------+-------------------------------------+
|
+-----------+------------+-------------------------------------+
|
||||||
|
| CAN | on-chip | canbus |
|
||||||
|
+-----------+------------+-------------------------------------+
|
||||||
|
|
||||||
Other hardware features are not currently supported by Zephyr.
|
Other hardware features are not currently supported by Zephyr.
|
||||||
|
|
||||||
|
|
|
@ -22,6 +22,7 @@
|
||||||
zephyr,sram = &sram0;
|
zephyr,sram = &sram0;
|
||||||
zephyr,flash = &flash0;
|
zephyr,flash = &flash0;
|
||||||
zephyr,code-partition = &slot0_partition;
|
zephyr,code-partition = &slot0_partition;
|
||||||
|
zephyr,canbus = &can0;
|
||||||
};
|
};
|
||||||
|
|
||||||
leds {
|
leds {
|
||||||
|
@ -150,3 +151,14 @@ zephyr_udc0: &usbhs {
|
||||||
pinctrl-0 = <&pd24b_ssc_rf &pa22a_ssc_rk &pa10c_ssc_rd
|
pinctrl-0 = <&pd24b_ssc_rf &pa22a_ssc_rk &pa10c_ssc_rd
|
||||||
&pb0d_ssc_tf &pb1d_ssc_tk &pb5d_ssc_td>;
|
&pb0d_ssc_tf &pb1d_ssc_tk &pb5d_ssc_td>;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
&can0 {
|
||||||
|
status = "okay";
|
||||||
|
pinctrl-0 = <&pb3a_can0_rx0 &pb2a_can0_tx0>;
|
||||||
|
bus-speed = <125000>;
|
||||||
|
sjw = <1>;
|
||||||
|
sample-point = <875>;
|
||||||
|
bus-speed-data = <1000000>;
|
||||||
|
sjw-data = <1>;
|
||||||
|
sample-point-data = <875>;
|
||||||
|
};
|
||||||
|
|
|
@ -17,3 +17,5 @@ supported:
|
||||||
- watchdog
|
- watchdog
|
||||||
- usb_device
|
- usb_device
|
||||||
- pwm
|
- pwm
|
||||||
|
- can
|
||||||
|
- canfd
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue