Skip to content

Commit 5733075

Browse files
soburifabiobaltieri
authored andcommitted
boards: arduino: uno_r4: Add Arduino connector for Minima and WiFi
Add Arduino connector definitions for Minima and WiFi Signed-off-by: TOKITA Hiroshi <tokita.hiroshi@fujitsu.com>
1 parent a332064 commit 5733075

File tree

2 files changed

+58
-0
lines changed

2 files changed

+58
-0
lines changed

boards/arduino/uno_r4/arduino_uno_r4_minima.dts

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,33 @@
2121
aliases {
2222
led0 = &led;
2323
};
24+
25+
arduino_header: connector {
26+
compatible = "arduino-header-r3";
27+
#gpio-cells = <2>;
28+
gpio-map-mask = <0xffffffff 0xffffffc0>;
29+
gpio-map-pass-thru = <0 0x3f>;
30+
gpio-map = <0 0 &ioport0 14 0>, /* A0 */
31+
<1 0 &ioport0 0 0>, /* A1 */
32+
<2 0 &ioport0 1 0>, /* A2 */
33+
<3 0 &ioport0 2 0>, /* A3 */
34+
<4 0 &ioport1 1 0>, /* A4 */
35+
<5 0 &ioport1 0 0>, /* A5 */
36+
<6 0 &ioport3 1 0>, /* D0 */
37+
<7 0 &ioport3 2 0>, /* D1 */
38+
<8 0 &ioport1 5 0>, /* D2 */
39+
<9 0 &ioport1 4 0>, /* D3 */
40+
<10 0 &ioport1 3 0>, /* D4 */
41+
<11 0 &ioport1 2 0>, /* D5 */
42+
<12 0 &ioport1 6 0>, /* D6 */
43+
<13 0 &ioport1 7 0>, /* D7 */
44+
<14 0 &ioport3 4 0>, /* D8 */
45+
<15 0 &ioport3 3 0>, /* D9 */
46+
<16 0 &ioport1 12 0>, /* D10 */
47+
<17 0 &ioport1 9 0>, /* D11 */
48+
<18 0 &ioport1 10 0>, /* D12 */
49+
<19 0 &ioport1 11 0>, /* D13 */
50+
<20 0 &ioport1 1 0>, /* D14 */
51+
<21 0 &ioport1 0 0>; /* D15 */
52+
};
2453
};

boards/arduino/uno_r4/arduino_uno_r4_wifi.dts

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,33 @@
2121
aliases {
2222
led0 = &led;
2323
};
24+
25+
arduino_header: connector {
26+
compatible = "arduino-header-r3";
27+
#gpio-cells = <2>;
28+
gpio-map-mask = <0xffffffff 0xffffffc0>;
29+
gpio-map-pass-thru = <0 0x3f>;
30+
gpio-map = <0 0 &ioport0 14 0>, /* A0 */
31+
<1 0 &ioport0 0 0>, /* A1 */
32+
<2 0 &ioport0 1 0>, /* A2 */
33+
<3 0 &ioport0 2 0>, /* A3 */
34+
<4 0 &ioport1 1 0>, /* A4 */
35+
<5 0 &ioport1 0 0>, /* A5 */
36+
<6 0 &ioport3 1 0>, /* D0 */
37+
<7 0 &ioport3 2 0>, /* D1 */
38+
<8 0 &ioport1 4 0>, /* D2 */
39+
<9 0 &ioport1 5 0>, /* D3 */
40+
<10 0 &ioport1 6 0>, /* D4 */
41+
<11 0 &ioport1 7 0>, /* D5 */
42+
<12 0 &ioport1 11 0>, /* D6 */
43+
<13 0 &ioport1 12 0>, /* D7 */
44+
<14 0 &ioport3 4 0>, /* D8 */
45+
<15 0 &ioport3 3 0>, /* D9 */
46+
<16 0 &ioport1 3 0>, /* D10 */
47+
<17 0 &ioport4 11 0>, /* D11 */
48+
<18 0 &ioport4 10 0>, /* D12 */
49+
<19 0 &ioport1 2 0>, /* D13 */
50+
<20 0 &ioport1 1 0>, /* D14 */
51+
<21 0 &ioport1 0 0>; /* D15 */
52+
};
2453
};

0 commit comments

Comments
 (0)