From 51cdf0e9eb15d2489a36b705bb32856f80857031 Mon Sep 17 00:00:00 2001 From: Chuanhong Guo Date: Sat, 15 Dec 2018 15:57:54 +0800 Subject: [PATCH] ath79: ar934x: assert mac/mdio reset together for gmac0 This allows resetting gmac registers during initialization. Signed-off-by: Chuanhong Guo --- target/linux/ath79/dts/ar934x.dtsi | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/target/linux/ath79/dts/ar934x.dtsi b/target/linux/ath79/dts/ar934x.dtsi index 3eed4de7993..b8c3e5af53d 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 { -- 2.30.2