ath79: Add switch reset definition in dts
authorChuanhong Guo <gch981213@gmail.com>
Tue, 24 Jul 2018 13:39:25 +0000 (21:39 +0800)
committerJohn Crispin <john@phrozen.org>
Mon, 30 Jul 2018 08:43:35 +0000 (10:43 +0200)
Signed-off-by: Chuanhong Guo <gch981213@gmail.com>
target/linux/ath79/dts/ar7240.dtsi
target/linux/ath79/dts/ar7241.dtsi
target/linux/ath79/dts/ar7242.dtsi
target/linux/ath79/dts/ar9330.dtsi
target/linux/ath79/dts/ar934x.dtsi
target/linux/ath79/dts/qca9533.dtsi
target/linux/ath79/dts/qca956x.dtsi

index 397f30b..13112e4 100644 (file)
@@ -44,6 +44,8 @@
                #size-cells = <0>;
 
                reg = <0x1f>;
+               resets = <&rst 8>;
+               reset-names = "switch";
 
                mdio-bus {
                        swphy4: ethernet-phy@4 {
index 674adc1..c490476 100644 (file)
@@ -63,6 +63,8 @@
                #size-cells = <0>;
 
                reg = <0x1f>;
+               resets = <&rst 8>;
+               reset-names = "switch";
 
                mdio-bus {
                        swphy4: ethernet-phy@4 {
index 7828c9f..dd5417e 100644 (file)
@@ -65,6 +65,8 @@
                #address-cells = <1>;
                #size-cells = <0>;
                reg = <0x1f>;
+               resets = <&rst 8>;
+               reset-names = "switch";
        };
 };
 
index a902712..d50666d 100644 (file)
                #size-cells = <0>;
 
                reg = <0x1f>;
+               resets = <&rst 8>;
+               reset-names = "switch";
 
                mdio-bus {
                        swphy4: ethernet-phy@4 {
index a93739c..e05b295 100644 (file)
                #size-cells = <0>;
 
                reg = <0x1f>;
+               resets = <&rst 8>;
+               reset-names = "switch";
                phy-mode = "gmii";
                phy4-mii-enable;
 
index 828b83d..1681b31 100644 (file)
                #size-cells = <0>;
 
                reg = <0x1f>;
+               resets = <&rst 8>;
+               reset-names = "switch";
                phy-mode = "gmii";
                phy4-mii-enable;
 
index 3c4c04b..d3a6df9 100644 (file)
                #size-cells = <0>;
 
                reg = <0x1f>;
+               resets = <&rst 8>;
+               reset-names = "switch";
                phy-mode = "gmii";
                phy4-mii-enable;