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 397f30b3e179b0bdf816e4054980aa95495710d2..13112e44a5e80f9707e714c91f265a962d3e3737 100644 (file)
@@ -44,6 +44,8 @@
                #size-cells = <0>;
 
                reg = <0x1f>;
+               resets = <&rst 8>;
+               reset-names = "switch";
 
                mdio-bus {
                        swphy4: ethernet-phy@4 {
index 674adc1d2610352534a3453369243653d534886a..c490476bbd6fb83f53745139418f2335ad917eb8 100644 (file)
@@ -63,6 +63,8 @@
                #size-cells = <0>;
 
                reg = <0x1f>;
+               resets = <&rst 8>;
+               reset-names = "switch";
 
                mdio-bus {
                        swphy4: ethernet-phy@4 {
index 7828c9fadc486553931764e0fae4e8b8da929727..dd5417e570268cb6bf1c9b671bf14f2bf1884e9b 100644 (file)
@@ -65,6 +65,8 @@
                #address-cells = <1>;
                #size-cells = <0>;
                reg = <0x1f>;
+               resets = <&rst 8>;
+               reset-names = "switch";
        };
 };
 
index a902712e3cfc2136725655d8c6cb45af570a1255..d50666d2700191d0d826ab00f047da2d70064e5c 100644 (file)
                #size-cells = <0>;
 
                reg = <0x1f>;
+               resets = <&rst 8>;
+               reset-names = "switch";
 
                mdio-bus {
                        swphy4: ethernet-phy@4 {
index a93739ceed87a33019adf715b1ae05c43f316a83..e05b29574861ac7d10396e7a87c45b10a2180bfc 100644 (file)
                #size-cells = <0>;
 
                reg = <0x1f>;
+               resets = <&rst 8>;
+               reset-names = "switch";
                phy-mode = "gmii";
                phy4-mii-enable;
 
index 828b83d5ed6035bbdad10b2f722a20ccfc59c50b..1681b31aafa7ecde75b7490fec481a4e722edc22 100644 (file)
                #size-cells = <0>;
 
                reg = <0x1f>;
+               resets = <&rst 8>;
+               reset-names = "switch";
                phy-mode = "gmii";
                phy4-mii-enable;
 
index 3c4c04b1695b49b4dc5f5933b704d18c8addb332..d3a6df9ea919ec4b8dedf41dcf31cf75b9d42f82 100644 (file)
                #size-cells = <0>;
 
                reg = <0x1f>;
+               resets = <&rst 8>;
+               reset-names = "switch";
                phy-mode = "gmii";
                phy4-mii-enable;