ramips: fix ZyXEL Keenetic Viva switch config
authorFranz Flasch <[email protected]>
Thu, 17 May 2018 09:51:38 +0000 (11:51 +0200)
committerJo-Philipp Wich <[email protected]>
Tue, 18 Dec 2018 16:32:19 +0000 (17:32 +0100)
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 <[email protected]>
(backported from abb7524683cbc0185ee2d0b590c045065de354b7)

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>;
-               mdio = <&mdio0>;
+               mii-bus = <&mdio0>;
        };
 };