From: Chuanhong Guo Date: Sat, 15 Dec 2018 07:57:54 +0000 (+0800) Subject: ath79: ar934x: assert mac/mdio reset together for gmac0 X-Git-Tag: v19.07.0-rc1~1128 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=51cdf0e9eb15d2489a36b705bb32856f80857031;p=oweals%2Fopenwrt.git ath79: ar934x: assert mac/mdio reset together for gmac0 This allows resetting gmac registers during initialization. Signed-off-by: Chuanhong Guo --- 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 {