Skip to content

Commit 0cc0034

Browse files
ljd42kartben
authored andcommitted
boards: arduino: uno_r4: enable all ioports needed by the arduino header
The arduino Uno R4 has only ioport1 enabled in the dts. The arduino header however uses ioport0,1,3 [minima variant] and ioport 0,1,3,4 [wifi variant]. This causes a build failure for some of the pins. This change makes sure than an application can use any arduino pins. Signed-off-by: Loic Domaigne <[email protected]>
1 parent cc4b5ee commit 0cc0034

File tree

2 files changed

+13
-0
lines changed

2 files changed

+13
-0
lines changed

boards/arduino/uno_r4/arduino_uno_r4.dts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,10 +38,19 @@
3838
};
3939
};
4040

41+
42+
&ioport0 {
43+
status = "okay";
44+
};
45+
4146
&ioport1 {
4247
status = "okay";
4348
};
4449

50+
&ioport3 {
51+
status = "okay";
52+
};
53+
4554
&adc0 {
4655
status = "okay";
4756
pinctrl-0 = <&adc0_default>;

boards/arduino/uno_r4/arduino_uno_r4_wifi.overlay

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,10 @@
9494
};
9595
};
9696

97+
&ioport4 {
98+
status = "okay";
99+
};
100+
97101
&spi0 {
98102
pinctrl-0 = <&spi0_default>;
99103
pinctrl-names = "default";

0 commit comments

Comments
 (0)