lantiq: set correct gphy pins for Zyxel P-2812
authorWillem van den Akker <wvdakker@wilsoft.nl>
Thu, 9 Jul 2020 12:51:19 +0000 (14:51 +0200)
committerAdrian Schmutzler <freifunk@adrianschmutzler.de>
Fri, 10 Jul 2020 08:06:34 +0000 (10:06 +0200)
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@kresin.me>
Signed-off-by: Willem van den Akker <wvdakker@wilsoft.nl>
[commit message facelift]
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
target/linux/lantiq/files-4.19/arch/mips/boot/dts/lantiq/vr9_zyxel_p-2812hnu-fx.dtsi
target/linux/lantiq/files-5.4/arch/mips/boot/dts/lantiq/vr9_zyxel_p-2812hnu-fx.dtsi

index 5f8392ca44acf9a024f11135c7fe7181554f4064..6c30a915535f54f112570bbf60b2ce18cd8e639d 100644 (file)
 
 &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";
 
index 5f8392ca44acf9a024f11135c7fe7181554f4064..6c30a915535f54f112570bbf60b2ce18cd8e639d 100644 (file)
 
 &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";