From 7a07b4cff0788f8e14e8b8a2b8ae384e1000a356 Mon Sep 17 00:00:00 2001 From: Chuanhong Guo Date: Tue, 24 Jul 2018 21:39:25 +0800 Subject: [PATCH] ath79: Add switch reset definition in dts Signed-off-by: Chuanhong Guo --- target/linux/ath79/dts/ar7240.dtsi | 2 ++ target/linux/ath79/dts/ar7241.dtsi | 2 ++ target/linux/ath79/dts/ar7242.dtsi | 2 ++ target/linux/ath79/dts/ar9330.dtsi | 2 ++ target/linux/ath79/dts/ar934x.dtsi | 2 ++ target/linux/ath79/dts/qca9533.dtsi | 2 ++ target/linux/ath79/dts/qca956x.dtsi | 2 ++ 7 files changed, 14 insertions(+) diff --git a/target/linux/ath79/dts/ar7240.dtsi b/target/linux/ath79/dts/ar7240.dtsi index 397f30b3e17..13112e44a5e 100644 --- a/target/linux/ath79/dts/ar7240.dtsi +++ b/target/linux/ath79/dts/ar7240.dtsi @@ -44,6 +44,8 @@ #size-cells = <0>; reg = <0x1f>; + resets = <&rst 8>; + reset-names = "switch"; mdio-bus { swphy4: ethernet-phy@4 { diff --git a/target/linux/ath79/dts/ar7241.dtsi b/target/linux/ath79/dts/ar7241.dtsi index 674adc1d261..c490476bbd6 100644 --- a/target/linux/ath79/dts/ar7241.dtsi +++ b/target/linux/ath79/dts/ar7241.dtsi @@ -63,6 +63,8 @@ #size-cells = <0>; reg = <0x1f>; + resets = <&rst 8>; + reset-names = "switch"; mdio-bus { swphy4: ethernet-phy@4 { diff --git a/target/linux/ath79/dts/ar7242.dtsi b/target/linux/ath79/dts/ar7242.dtsi index 7828c9fadc4..dd5417e5702 100644 --- a/target/linux/ath79/dts/ar7242.dtsi +++ b/target/linux/ath79/dts/ar7242.dtsi @@ -65,6 +65,8 @@ #address-cells = <1>; #size-cells = <0>; reg = <0x1f>; + resets = <&rst 8>; + reset-names = "switch"; }; }; diff --git a/target/linux/ath79/dts/ar9330.dtsi b/target/linux/ath79/dts/ar9330.dtsi index a902712e3cf..d50666d2700 100644 --- a/target/linux/ath79/dts/ar9330.dtsi +++ b/target/linux/ath79/dts/ar9330.dtsi @@ -178,6 +178,8 @@ #size-cells = <0>; reg = <0x1f>; + resets = <&rst 8>; + reset-names = "switch"; mdio-bus { swphy4: ethernet-phy@4 { diff --git a/target/linux/ath79/dts/ar934x.dtsi b/target/linux/ath79/dts/ar934x.dtsi index a93739ceed8..e05b2957486 100644 --- a/target/linux/ath79/dts/ar934x.dtsi +++ b/target/linux/ath79/dts/ar934x.dtsi @@ -221,6 +221,8 @@ #size-cells = <0>; reg = <0x1f>; + resets = <&rst 8>; + reset-names = "switch"; phy-mode = "gmii"; phy4-mii-enable; diff --git a/target/linux/ath79/dts/qca9533.dtsi b/target/linux/ath79/dts/qca9533.dtsi index 828b83d5ed6..1681b31aafa 100644 --- a/target/linux/ath79/dts/qca9533.dtsi +++ b/target/linux/ath79/dts/qca9533.dtsi @@ -250,6 +250,8 @@ #size-cells = <0>; reg = <0x1f>; + resets = <&rst 8>; + reset-names = "switch"; phy-mode = "gmii"; phy4-mii-enable; diff --git a/target/linux/ath79/dts/qca956x.dtsi b/target/linux/ath79/dts/qca956x.dtsi index 3c4c04b1695..d3a6df9ea91 100644 --- a/target/linux/ath79/dts/qca956x.dtsi +++ b/target/linux/ath79/dts/qca956x.dtsi @@ -275,6 +275,8 @@ #size-cells = <0>; reg = <0x1f>; + resets = <&rst 8>; + reset-names = "switch"; phy-mode = "gmii"; phy4-mii-enable; -- 2.30.2