From: Franz Flasch Date: Thu, 17 May 2018 09:51:38 +0000 (+0200) Subject: ramips: fix ZyXEL Keenetic Viva switch config X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=abb7524683cbc0185ee2d0b590c045065de354b7;p=openwrt%2Fstaging%2Fyousong.git ramips: fix ZyXEL Keenetic Viva switch config 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 --- diff --git a/target/linux/ramips/dts/kng_rc.dts b/target/linux/ramips/dts/kng_rc.dts index 8d74595b99..2d0582d080 100644 --- a/target/linux/ramips/dts/kng_rc.dts +++ b/target/linux/ramips/dts/kng_rc.dts @@ -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>; }; };