From bb7fac4369ca3b3a18535d032e84e158b03a35e5 Mon Sep 17 00:00:00 2001 From: Chuanhong Guo Date: Tue, 17 Jul 2018 17:09:14 +0800 Subject: ath79: ar7242: Update dts for current ag71xx driver Signed-off-by: Chuanhong Guo --- target/linux/ath79/dts/ar7242.dtsi | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) (limited to 'target/linux/ath79/dts') diff --git a/target/linux/ath79/dts/ar7242.dtsi b/target/linux/ath79/dts/ar7242.dtsi index a5909a9b31..189e768e9f 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; + }; }; -- cgit v1.2.3