From c7c807cb8c3fd6538101de885f66d4681785defe Mon Sep 17 00:00:00 2001 From: Chuanhong Guo Date: Tue, 17 Jul 2018 17:09:14 +0800 Subject: ath79: ar933x: Update dts for current ag71xx driver gmac0 is always connected to switch phy4 and mdio1 is always needed. So add phy handle for eth0 and enable mdio1 by default. Move fixed-link for gmac1 from device dts to ar9331.dtsi because gmac1 is always connected to builtin switch. Signed-off-by: Chuanhong Guo --- target/linux/ath79/dts/ar9330_glinet_ar150.dts | 16 ---------------- 1 file changed, 16 deletions(-) (limited to 'target/linux/ath79/dts/ar9330_glinet_ar150.dts') diff --git a/target/linux/ath79/dts/ar9330_glinet_ar150.dts b/target/linux/ath79/dts/ar9330_glinet_ar150.dts index 2b2524fc51..5e3552a30b 100644 --- a/target/linux/ath79/dts/ar9330_glinet_ar150.dts +++ b/target/linux/ath79/dts/ar9330_glinet_ar150.dts @@ -123,21 +123,10 @@ }; }; -&mdio0 { - status = "okay"; - - phy4: ethernet-phy@4 { - reg = <4>; - phy-mode = "mii"; - }; -}; - ð0 { status = "okay"; mtd-mac-address = <&art 0x0>; - - phy-handle = <&phy4>; }; ð1 { @@ -145,11 +134,6 @@ mtd-mac-address = <&art 0x0>; - fixed-link { - speed = <1000>; - full-duplex; - }; - gmac-config { device = <&gmac>; -- cgit v1.2.3