summaryrefslogtreecommitdiffstats
path: root/target/linux/ath79/dts/ar934x.dtsi
diff options
context:
space:
mode:
authorChuanhong Guo <gch981213@gmail.com>2018-12-15 15:57:54 +0800
committerDaniel Golle <daniel@makrotopia.org>2019-03-05 03:02:34 +0100
commit51cdf0e9eb15d2489a36b705bb32856f80857031 (patch)
tree5570c56cab0dab27dc02830e4a471c9b72032ef0 /target/linux/ath79/dts/ar934x.dtsi
parentcea3e9e4383688f00ce5ef76c2b694aeead4c0ac (diff)
downloadopenwrt-51cdf0e9eb15d2489a36b705bb32856f80857031.tar.gz
openwrt-51cdf0e9eb15d2489a36b705bb32856f80857031.tar.bz2
openwrt-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>
Diffstat (limited to 'target/linux/ath79/dts/ar934x.dtsi')
-rw-r--r--target/linux/ath79/dts/ar934x.dtsi9
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";
};
&eth0 {
- 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 {