Skip to content

Commit f8871d5

Browse files
hfakkizdanieldegrasse
authored andcommitted
boards: adi: max32662evkit: Add CAN support
This commit enables CAN0 for max32662evkit Signed-off-by: Furkan Akkiz <hasanfurkan.akkiz@analog.com>
1 parent 92a1140 commit f8871d5

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

boards/adi/max32662evkit/max32662evkit.dts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
zephyr,sram = &sram2;
2424
zephyr,flash = &flash0;
2525
zephyr,display = &st7735;
26+
zephyr,canbus = &can0;
2627
};
2728

2829
leds {
@@ -151,3 +152,9 @@
151152
pinctrl-names = "default";
152153
cs-gpios = <&gpio0 18 GPIO_ACTIVE_LOW>;
153154
};
155+
156+
&can0 {
157+
status = "okay";
158+
pinctrl-0 = <&can0b_tx_p0_16 &can0b_rx_p0_15>;
159+
pinctrl-names = "default";
160+
};

boards/adi/max32662evkit/max32662evkit.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,5 +19,6 @@ supported:
1919
- rtc_counter
2020
- pwm
2121
- flash
22+
- can
2223
ram: 80
2324
flash: 256

0 commit comments

Comments
 (0)