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 <tech@domaigne.com>
This commit is contained in:
parent
cc4b5ee048
commit
0cc0034eba
2 changed files with 13 additions and 0 deletions
|
@ -38,10 +38,19 @@
|
|||
};
|
||||
};
|
||||
|
||||
|
||||
&ioport0 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&ioport1 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&ioport3 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&adc0 {
|
||||
status = "okay";
|
||||
pinctrl-0 = <&adc0_default>;
|
||||
|
|
|
@ -94,6 +94,10 @@
|
|||
};
|
||||
};
|
||||
|
||||
&ioport4 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&spi0 {
|
||||
pinctrl-0 = <&spi0_default>;
|
||||
pinctrl-names = "default";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue