ramips: fix ZyXEL Keenetic Viva switch config
authorFranz Flasch <franz.flasch@gmx.at>
Thu, 17 May 2018 09:51:38 +0000 (11:51 +0200)
committerMathias Kresin <dev@kresin.me>
Mon, 25 Jun 2018 18:52:18 +0000 (20:52 +0200)
The rtl8367b driver never supported a mdio property and it is quite
likely that the switch never worked for the board.

Use the mii-bus property instead to manage the switch via a mdio bus.

Signed-off-by: Franz Flasch <franz.flasch@gmx.at>
target/linux/ramips/dts/kng_rc.dts

index 8d74595b996305be0e8342d66c11154e12ef0905..2d0582d0807e2f823b65f187d109aa6c7b03b5a2 100644 (file)
@@ -78,7 +78,7 @@
                compatible = "realtek,rtl8367b";
                cpu_port = <7>;
                realtek,extif2 = <1 0 1 1 1 1 1 1 2>;
                compatible = "realtek,rtl8367b";
                cpu_port = <7>;
                realtek,extif2 = <1 0 1 1 1 1 1 1 2>;
-               mdio = <&mdio0>;
+               mii-bus = <&mdio0>;
        };
 };
 
        };
 };