Skip to contentSkip to conversation

ARM: dts: armada-xp-rn2120: add pinmuxing for ethernet

PATCH New Uwe Kleine-König 2 participants 2 messages Sep 29, 2016 – Oct 6, 2016 Device tree bindings

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ARM: dts: armada-xp-rn2120: add pinmuxing for ethernet

Up to now working ethernet depended on the bootloader to configure the pinmuxing. Make it explicit.

As a side effect this change makes ethernet work in barebox.

---
 arch/arm/boot/dts/armada-xp-netgear-rn2120.dts | 6 ++++++
 1 file changed, 6 insertions(+)
arch/arm/boot/dts/armada-xp-netgear-rn2120.dts +6 -0
index 3e930fdbaabc..b6bf5344fbbe 100644
@@ -164,12 +164,18 @@
 			};
 
 			ethernet at 70000 {
+				pinctrl-0 = <&ge0_rgmii_pins>;
+				pinctrl-names = "default";
+
 				status = "okay";
 				phy = <&phy0>;
 				phy-mode = "rgmii-id";
 			};
 
 			ethernet at 74000 {
+				pinctrl-0 = <&ge1_rgmii_pins>;
+				pinctrl-names = "default";
+
 				status = "okay";
 				phy = <&phy1>;
 				phy-mode = "rgmii-id";
Signature · 1 line
2.9.3
#1 lore raw

PATCH 1/1 ARM: dts: armada-xp-rn2120: add pinmuxing for ethernet

Hi Uwe,

Quoted 6 lines · Uwe Kleine-K?nig

Up to now working ethernet depended on the bootloader to configure the pinmuxing. Make it explicit.

As a side effect this change makes ethernet work in barebox.

Applied on mvebu/dt-4.10

Thanks,

Gregory

Quoted 30 lines
---
 arch/arm/boot/dts/armada-xp-netgear-rn2120.dts | 6 ++++++
 1 file changed, 6 insertions(+)
arch/arm/boot/dts/armada-xp-netgear-rn2120.dts +6 -0
index 3e930fdbaabc..b6bf5344fbbe 100644
@@ -164,12 +164,18 @@
 			};
 
 			ethernet at 70000 {
+				pinctrl-0 = <&ge0_rgmii_pins>;
+				pinctrl-names = "default";
+
 				status = "okay";
 				phy = <&phy0>;
 				phy-mode = "rgmii-id";
 			};
 
 			ethernet at 74000 {
+				pinctrl-0 = <&ge1_rgmii_pins>;
+				pinctrl-names = "default";
+
 				status = "okay";
 				phy = <&phy1>;
 				phy-mode = "rgmii-id";
Signature · 1 line
2.9.3
Signature · 4 lines
Gregory Clement, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com