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 397f30b3e1..13112e44a5 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 674adc1d26..c490476bbd 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 7828c9fadc..dd5417e570 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 a902712e3c..d50666d270 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 a93739ceed..e05b295748 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 828b83d5ed..1681b31aaf 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 3c4c04b169..d3a6df9ea9 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.25.1