Skip to content

Commit 28e4499

Browse files
paulkocialkowskiwens
authored andcommitted
arm64: dts: allwinner: a100: Add pin definitions for RGMII/RMII
The Allwinner A100/A133 supports both RGMII and RMII for its Ethernet MAC (EMAC) controller. Add corresponding pin definitions. Note that the sun50iw10 die actually includes two ethernet controllers, the second of which is rarely exposed to pins. Call the first controller "emac0" to distinguish it from the second that may be added later. Signed-off-by: Paul Kocialkowski <[email protected]> Reviewed-by: Andre Przywara <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Chen-Yu Tsai <[email protected]>
1 parent 9615e01 commit 28e4499

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

arch/arm64/boot/dts/allwinner/sun50i-a100.dtsi

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -236,6 +236,21 @@
236236
bias-pull-up;
237237
};
238238

239+
rgmii0_pins: rgmii0-pins {
240+
pins = "PH0", "PH1", "PH2", "PH3", "PH4",
241+
"PH5", "PH6", "PH7", "PH9", "PH10",
242+
"PH14", "PH15", "PH16", "PH17", "PH18";
243+
function = "emac0";
244+
drive-strength = <40>;
245+
};
246+
247+
rmii0_pins: rmii0-pins {
248+
pins = "PH0", "PH1", "PH2", "PH3", "PH4",
249+
"PH5", "PH6", "PH7", "PH9", "PH10";
250+
function = "emac0";
251+
drive-strength = <40>;
252+
};
253+
239254
uart0_pb_pins: uart0-pb-pins {
240255
pins = "PB9", "PB10";
241256
function = "uart0";

0 commit comments

Comments
 (0)