All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ARM: dts: armada-xp-rn2120: add pinmuxing for ethernet
@ 2016-09-29 19:00 Uwe Kleine-König
  2016-10-06 14:56 ` Gregory CLEMENT
  0 siblings, 1 reply; 2+ messages in thread
From: Uwe Kleine-König @ 2016-09-29 19:00 UTC (permalink / raw)
  To: linux-arm-kernel

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.

Signed-off-by: Uwe Kleine-K?nig <u.kleine-koenig@pengutronix.de>
---
 arch/arm/boot/dts/armada-xp-netgear-rn2120.dts | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/arch/arm/boot/dts/armada-xp-netgear-rn2120.dts b/arch/arm/boot/dts/armada-xp-netgear-rn2120.dts
index 3e930fdbaabc..b6bf5344fbbe 100644
--- a/arch/arm/boot/dts/armada-xp-netgear-rn2120.dts
+++ b/arch/arm/boot/dts/armada-xp-netgear-rn2120.dts
@@ -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";
-- 
2.9.3

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [PATCH] ARM: dts: armada-xp-rn2120: add pinmuxing for ethernet
  2016-09-29 19:00 [PATCH] ARM: dts: armada-xp-rn2120: add pinmuxing for ethernet Uwe Kleine-König
@ 2016-10-06 14:56 ` Gregory CLEMENT
  0 siblings, 0 replies; 2+ messages in thread
From: Gregory CLEMENT @ 2016-10-06 14:56 UTC (permalink / raw)
  To: linux-arm-kernel

Hi Uwe,
 
 On jeu., sept. 29 2016, Uwe Kleine-K?nig <u.kleine-koenig@pengutronix.de> wrote:

> 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.
>
> Signed-off-by: Uwe Kleine-K?nig <u.kleine-koenig@pengutronix.de>

Applied on mvebu/dt-4.10

Thanks,

Gregory
> ---
>  arch/arm/boot/dts/armada-xp-netgear-rn2120.dts | 6 ++++++
>  1 file changed, 6 insertions(+)
>
> diff --git a/arch/arm/boot/dts/armada-xp-netgear-rn2120.dts b/arch/arm/boot/dts/armada-xp-netgear-rn2120.dts
> index 3e930fdbaabc..b6bf5344fbbe 100644
> --- a/arch/arm/boot/dts/armada-xp-netgear-rn2120.dts
> +++ b/arch/arm/boot/dts/armada-xp-netgear-rn2120.dts
> @@ -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";
> -- 
> 2.9.3
>

-- 
Gregory Clement, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-10-06 14:56 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-09-29 19:00 [PATCH] ARM: dts: armada-xp-rn2120: add pinmuxing for ethernet Uwe Kleine-König
2016-10-06 14:56 ` Gregory CLEMENT

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.