[openwrt/openwrt] lantiq: set correct gphy pins for Zyxel P-2812

LEDE Commits lede-commits at lists.infradead.org
Fri Jul 10 04:08:19 EDT 2020


adrian pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/0df71e01cfe67516df63df025eb88a4d5d40f230

commit 0df71e01cfe67516df63df025eb88a4d5d40f230
Author: Willem van den Akker <wvdakker at wilsoft.nl>
AuthorDate: Thu Jul 9 14:51:19 2020 +0200

    lantiq: set correct gphy pins for Zyxel P-2812
    
    This fixes the gphy LED pins for Zyxel P-2812 devices. The have
    been accidentally altered during a tidy-up operation (see Fixes:
    below).
    
    No ports were available, dmesg reported:
    
    [ 0.658577] pinctrl-xway 1e100b10.pinmux: pin io5 already requested by
                1e100bb0.stp; cannot claim for 1e108000.eth
    [ 0.667566] pinctrl-xway 1e100b10.pinmux: pin-5 (1e108000.eth) status -22
    [ 0.685238] lantiq,xrx200-net 1e108000.eth: Error applying setting,
                reverse things back
    [ 0.693270] lantiq,xrx200-net: probe of 1e108000.eth failed with error -22
    
    Fixes: FS#3188
    Fixes: 660200e53d62 ("lantiq: dts: assign the GPHY LED pins to the
    Ethernet controller node")
    
    Suggested-by: Mathias Kresin <dev at kresin.me>
    Signed-off-by: Willem van den Akker <wvdakker at wilsoft.nl>
    [commit message facelift]
    Signed-off-by: Adrian Schmutzler <freifunk at adrianschmutzler.de>
---
 .../files-4.19/arch/mips/boot/dts/lantiq/vr9_zyxel_p-2812hnu-fx.dtsi    | 2 +-
 .../files-5.4/arch/mips/boot/dts/lantiq/vr9_zyxel_p-2812hnu-fx.dtsi     | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/target/linux/lantiq/files-4.19/arch/mips/boot/dts/lantiq/vr9_zyxel_p-2812hnu-fx.dtsi b/target/linux/lantiq/files-4.19/arch/mips/boot/dts/lantiq/vr9_zyxel_p-2812hnu-fx.dtsi
index 5f8392ca44..6c30a91553 100644
--- a/target/linux/lantiq/files-4.19/arch/mips/boot/dts/lantiq/vr9_zyxel_p-2812hnu-fx.dtsi
+++ b/target/linux/lantiq/files-4.19/arch/mips/boot/dts/lantiq/vr9_zyxel_p-2812hnu-fx.dtsi
@@ -112,7 +112,7 @@
 
 &eth0 {
 	pinctrl-0 = <&mdio_pins>,
-		    <&gphy0_led0_pins>, <&gphy0_led2_pins>,
+		    <&gphy0_led1_pins>, <&gphy0_led2_pins>,
 		    <&gphy1_led1_pins>, <&gphy1_led2_pins>;
 	pinctrl-names = "default";
 
diff --git a/target/linux/lantiq/files-5.4/arch/mips/boot/dts/lantiq/vr9_zyxel_p-2812hnu-fx.dtsi b/target/linux/lantiq/files-5.4/arch/mips/boot/dts/lantiq/vr9_zyxel_p-2812hnu-fx.dtsi
index 5f8392ca44..6c30a91553 100644
--- a/target/linux/lantiq/files-5.4/arch/mips/boot/dts/lantiq/vr9_zyxel_p-2812hnu-fx.dtsi
+++ b/target/linux/lantiq/files-5.4/arch/mips/boot/dts/lantiq/vr9_zyxel_p-2812hnu-fx.dtsi
@@ -112,7 +112,7 @@
 
 &eth0 {
 	pinctrl-0 = <&mdio_pins>,
-		    <&gphy0_led0_pins>, <&gphy0_led2_pins>,
+		    <&gphy0_led1_pins>, <&gphy0_led2_pins>,
 		    <&gphy1_led1_pins>, <&gphy1_led2_pins>;
 	pinctrl-names = "default";
 



More information about the lede-commits mailing list