diff options
author | Chuanhong Guo <gch981213@gmail.com> | 2018-12-15 15:57:54 +0800 |
---|---|---|
committer | Daniel Golle <daniel@makrotopia.org> | 2019-03-05 03:02:34 +0100 |
commit | 51cdf0e9eb15d2489a36b705bb32856f80857031 (patch) | |
tree | 5570c56cab0dab27dc02830e4a471c9b72032ef0 | |
parent | cea3e9e4383688f00ce5ef76c2b694aeead4c0ac (diff) | |
download | upstream-51cdf0e9eb15d2489a36b705bb32856f80857031.tar.gz upstream-51cdf0e9eb15d2489a36b705bb32856f80857031.tar.bz2 upstream-51cdf0e9eb15d2489a36b705bb32856f80857031.zip |
ath79: ar934x: assert mac/mdio reset together for gmac0
This allows resetting gmac registers during initialization.
Signed-off-by: Chuanhong Guo <gch981213@gmail.com>
-rw-r--r-- | target/linux/ath79/dts/ar934x.dtsi | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/target/linux/ath79/dts/ar934x.dtsi b/target/linux/ath79/dts/ar934x.dtsi index 3eed4de799..b8c3e5af53 100644 --- a/target/linux/ath79/dts/ar934x.dtsi +++ b/target/linux/ath79/dts/ar934x.dtsi @@ -192,19 +192,16 @@ &mdio0 { compatible = "qca,ar9340-mdio"; - resets = <&rst 22>; - reset-names = "mdio"; }; ð0 { - compatible = "qca,ar9340-eth", "syscon", "simple-mfd"; + compatible = "qca,ar9340-eth", "syscon"; pll-data = <0x16000000 0x00000101 0x00001616>; pll-reg = <0x4 0x2c 17>; pll-handle = <&pll>; - - resets = <&rst 9>; - reset-names = "mac"; + resets = <&rst 9>, <&rst 22>; + reset-names = "mac", "mdio"; }; &mdio1 { |