From: Chuanhong Guo Date: Tue, 17 Jul 2018 09:09:14 +0000 (+0800) Subject: ath79: ar7242: Update dts for current ag71xx driver X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=bb7fac4369ca3b3a18535d032e84e158b03a35e5;p=openwrt%2Fstaging%2Fblogic.git ath79: ar7242: Update dts for current ag71xx driver Signed-off-by: Chuanhong Guo --- diff --git a/target/linux/ath79/dts/ar7242.dtsi b/target/linux/ath79/dts/ar7242.dtsi index a5909a9b3150..189e768e9f25 100644 --- a/target/linux/ath79/dts/ar7242.dtsi +++ b/target/linux/ath79/dts/ar7242.dtsi @@ -45,7 +45,7 @@ }; ð0 { - compatible = "qca,ar7242-eth", "syscon"; + compatible = "qca,ar7242-eth", "syscon", "simple-mfd"; pll-data = <0x16000000 0x00000101 0x00001616>; pll-reg = <0x4 0x2c 17>; @@ -59,11 +59,25 @@ resets = <&rst 23>; reset-names = "mdio"; builtin-switch; + + builtin_switch: switch0@1f { + compatible = "qca,ar8216-builtin"; + #address-cells = <1>; + #size-cells = <0>; + reg = <0x1f>; + }; }; ð1 { - compatible = "qca,ar7242-eth", "syscon"; + compatible = "qca,ar7242-eth", "syscon", "simple-mfd"; resets = <&rst 12>, <&rst 13>; reset-names = "mac", "phy"; + + phy-mode = "gmii"; + + fixed-link { + speed = <1000>; + full-duplex; + }; };