diff options
author | Chuanhong Guo <gch981213@gmail.com> | 2018-07-17 17:09:14 +0800 |
---|---|---|
committer | John Crispin <john@phrozen.org> | 2018-07-30 10:43:34 +0200 |
commit | bb7fac4369ca3b3a18535d032e84e158b03a35e5 (patch) | |
tree | fc96a4e67d8d2ce08707c45036398a4f346c9ac9 /target/linux | |
parent | 113b4cf90ffafa403adf917d24c3245246eaa398 (diff) | |
download | upstream-bb7fac4369ca3b3a18535d032e84e158b03a35e5.tar.gz upstream-bb7fac4369ca3b3a18535d032e84e158b03a35e5.tar.bz2 upstream-bb7fac4369ca3b3a18535d032e84e158b03a35e5.zip |
ath79: ar7242: Update dts for current ag71xx driver
Signed-off-by: Chuanhong Guo <gch981213@gmail.com>
Diffstat (limited to 'target/linux')
-rw-r--r-- | target/linux/ath79/dts/ar7242.dtsi | 18 |
1 files changed, 16 insertions, 2 deletions
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; + }; }; |