boards: adi: max32662evkit: Add CAN support
This commit enables CAN0 for max32662evkit Signed-off-by: Furkan Akkiz <hasanfurkan.akkiz@analog.com>
This commit is contained in:
parent
92a11405f7
commit
f8871d52c8
2 changed files with 8 additions and 0 deletions
|
@ -23,6 +23,7 @@
|
||||||
zephyr,sram = &sram2;
|
zephyr,sram = &sram2;
|
||||||
zephyr,flash = &flash0;
|
zephyr,flash = &flash0;
|
||||||
zephyr,display = &st7735;
|
zephyr,display = &st7735;
|
||||||
|
zephyr,canbus = &can0;
|
||||||
};
|
};
|
||||||
|
|
||||||
leds {
|
leds {
|
||||||
|
@ -151,3 +152,9 @@
|
||||||
pinctrl-names = "default";
|
pinctrl-names = "default";
|
||||||
cs-gpios = <&gpio0 18 GPIO_ACTIVE_LOW>;
|
cs-gpios = <&gpio0 18 GPIO_ACTIVE_LOW>;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
&can0 {
|
||||||
|
status = "okay";
|
||||||
|
pinctrl-0 = <&can0b_tx_p0_16 &can0b_rx_p0_15>;
|
||||||
|
pinctrl-names = "default";
|
||||||
|
};
|
||||||
|
|
|
@ -19,5 +19,6 @@ supported:
|
||||||
- rtc_counter
|
- rtc_counter
|
||||||
- pwm
|
- pwm
|
||||||
- flash
|
- flash
|
||||||
|
- can
|
||||||
ram: 80
|
ram: 80
|
||||||
flash: 256
|
flash: 256
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue