diff options
author | Chuanhong Guo <gch981213@gmail.com> | 2018-07-17 17:09:13 +0800 |
---|---|---|
committer | John Crispin <john@phrozen.org> | 2018-07-30 10:43:33 +0200 |
commit | b346c37588873d0811785efada7aed2e52749500 (patch) | |
tree | 7d4097ab51bbc63d332227d8814c6a22e3345898 /target/linux/ath79/dts/ar934x.dtsi | |
parent | 098267db4cd3a80470b0015fba2d0e6bcfffe10e (diff) | |
download | upstream-b346c37588873d0811785efada7aed2e52749500.tar.gz upstream-b346c37588873d0811785efada7aed2e52749500.tar.bz2 upstream-b346c37588873d0811785efada7aed2e52749500.zip |
ath79: Fix mac reset and gmac compatible in ar934x.dtsi
Also add phy-mode and fixed-link as gmac1 is always connected
to the builtin switch.
Signed-off-by: Chuanhong Guo <gch981213@gmail.com>
Diffstat (limited to 'target/linux/ath79/dts/ar934x.dtsi')
-rw-r--r-- | target/linux/ath79/dts/ar934x.dtsi | 16 |
1 files changed, 11 insertions, 5 deletions
diff --git a/target/linux/ath79/dts/ar934x.dtsi b/target/linux/ath79/dts/ar934x.dtsi index 6d5e5262d8..75865a718a 100644 --- a/target/linux/ath79/dts/ar934x.dtsi +++ b/target/linux/ath79/dts/ar934x.dtsi @@ -135,7 +135,7 @@ }; gmac: gmac@18070000 { - compatible = "qca,ar9340-gmac", "qca,ar9330-gmac"; + compatible = "qca,ar9340-gmac"; reg = <0x18070000 0x14>; }; @@ -202,8 +202,8 @@ pll-reg = <0x4 0x2c 17>; pll-handle = <&pll>; - resets = <&rst 8>, <&rst 9>; - reset-names = "mac", "phy"; + resets = <&rst 9>; + reset-names = "mac"; }; &mdio1 { @@ -215,6 +215,12 @@ ð1 { compatible = "qca,ar9340-eth", "syscon"; - resets = <&rst 12>, <&rst 13>; - reset-names = "mac", "phy"; + resets = <&rst 13>; + reset-names = "mac"; + phy-mode = "gmii"; + + fixed-link { + speed = <1000>; + full-duplex; + }; }; |