lantiq: dts: drop superfluous unit address
authorMathias Kresin <dev@kresin.me>
Sun, 27 Jan 2019 12:21:06 +0000 (13:21 +0100)
committerMathias Kresin <dev@kresin.me>
Sun, 7 Jul 2019 09:17:27 +0000 (11:17 +0200)
The cpu temperature driver has the register offset hardcode and doesn't
need a reg.

The mdio bus node is only used as a well known name and doesn't need a
reg or unit address.

syscon-reboot doesn't have a unit address or a reg either. The unit name
collides with reset-controller@10 anyway.

Signed-off-by: Mathias Kresin <dev@kresin.me>
20 files changed:
target/linux/lantiq/files/arch/mips/boot/dts/ARV7519RW22.dts
target/linux/lantiq/files/arch/mips/boot/dts/ASL56026.dts
target/linux/lantiq/files/arch/mips/boot/dts/BTHOMEHUBV5A.dts
target/linux/lantiq/files/arch/mips/boot/dts/DM200.dts
target/linux/lantiq/files/arch/mips/boot/dts/EASY80920.dtsi
target/linux/lantiq/files/arch/mips/boot/dts/FRITZ3370-REV2.dtsi
target/linux/lantiq/files/arch/mips/boot/dts/FRITZ7312.dts
target/linux/lantiq/files/arch/mips/boot/dts/FRITZ736X.dtsi
target/linux/lantiq/files/arch/mips/boot/dts/FRITZ7412.dts
target/linux/lantiq/files/arch/mips/boot/dts/P2812HNUFX.dtsi
target/linux/lantiq/files/arch/mips/boot/dts/TDW89X0.dtsi
target/linux/lantiq/files/arch/mips/boot/dts/VG3503J.dts
target/linux/lantiq/files/arch/mips/boot/dts/VGV7510KW22.dtsi
target/linux/lantiq/files/arch/mips/boot/dts/VGV7519.dtsi
target/linux/lantiq/files/arch/mips/boot/dts/VR200.dtsi
target/linux/lantiq/files/arch/mips/boot/dts/WBMR300.dts
target/linux/lantiq/files/arch/mips/boot/dts/amazonse.dtsi
target/linux/lantiq/files/arch/mips/boot/dts/ar9.dtsi
target/linux/lantiq/files/arch/mips/boot/dts/danube.dtsi
target/linux/lantiq/files/arch/mips/boot/dts/vr9.dtsi

index deb7efa6084e08f501813b5ac5452e6f757b40b2..5540cbd1e3a64171a563f62aab1018a386fec853 100644 (file)
                };
        };
 
-       mdio@0 {
+       mdio {
                #address-cells = <1>;
                #size-cells = <0>;
                compatible = "lantiq,xrx200-mdio";
-               reg = <0>;
 
                phy0: ethernet-phy@0 {
                        reg = <0x0>;
index 84fab0e998f24b13d4a72ae6867e49ea44f038dc..f24cb0606131610612188608b297f46b2859af7f 100644 (file)
                };
        };
 
-       mdio@0 {
+       mdio {
                #address-cells = <1>;
                #size-cells = <0>;
                compatible = "lantiq,xrx200-mdio";
-               reg = <0>;
 
                phy11: ethernet-phy@11 {
                        reg = <0x11>;
index eacdc2f3c47d2672ab929555de6c7ec1b601a509..a717ca89d9a50e6690aae17d646ba33334805316 100644 (file)
                };
        };
 
-       mdio@0 {
+       mdio {
                #address-cells = <1>;
                #size-cells = <0>;
                compatible = "lantiq,xrx200-mdio";
-               reg = <0>;
 
                phy0: ethernet-phy@0 {
                        reg = <0x0>;
index 05e3010633cc7a6249ed1444a464176ddc2fd58d..6546d396a6b680be80bec2b1eceee527f3cc7bff 100644 (file)
                };
        };
 
-       mdio@0 {
+       mdio {
                #address-cells = <1>;
                #size-cells = <0>;
                compatible = "lantiq,xrx200-mdio";
-               reg = <0>;
 
                phy13: ethernet-phy@13 {
                        reg = <0x13>;
index 51b9f885feef162520b94a2715493881074757eb..691e2737dd53d84ed95b40e68413a7eb46bec0d0 100644 (file)
                };
        };
 
-       mdio@0 {
+       mdio {
                #address-cells = <1>;
                #size-cells = <0>;
                compatible = "lantiq,xrx200-mdio";
-               reg = <0>;
 
                phy0: ethernet-phy@0 {
                        reg = <0x0>;
index e5fd41e44f2044093c3ba56bf0e5912935f4677e..72e39d742cae3e4b7267d1512949394e250e0472 100644 (file)
                };
        };
 
-       mdio@0 {
+       mdio {
                #address-cells = <1>;
                #size-cells = <0>;
                compatible = "lantiq,xrx200-mdio";
-               reg = <0>;
 
                phy0: ethernet-phy@0 {
                        reg = <0x0>;
index ecc4a133444d97c6e4ad7990479e839fa4a1bcb9..aa9ee8a8903a31eb69000b9c0d49da1d9d742265 100644 (file)
        mdio-bus {
                #address-cells = <1>;
                #size-cells = <0>;
-               reg = <0>;
 
                phy0: ethernet-phy@0 {
                        reg = <0>;
index c1ed9f19fc7951aa68d4d11e99fd597c8bc0d489..82546a35724c498429868388bbcea6df76a2ccbc 100644 (file)
                };
        };
 
-       mdio@0 {
+       mdio {
                #address-cells = <1>;
                #size-cells = <0>;
                compatible = "lantiq,xrx200-mdio";
-               reg = <0>;
 
                phy0: ethernet-phy@0 {
                        reg = <0x00>;
index 7a6e5a0c5ffcd8586d4db9d29d6a9d54e239979a..98d2992d3af022d41ed8e80b50275c23327cff0d 100644 (file)
                };
        };
 
-       mdio@0 {
+       mdio {
                #address-cells = <1>;
                #size-cells = <0>;
-               reg = <0>;
                compatible = "lantiq,xrx200-mdio";
                
                phy11: ethernet-phy@11 {
index 5905568711d7ca4d440efe8b78c7f53fed154f99..c51c6011ac45e743b74cfb29b2d56faece5226e5 100644 (file)
                };
        };
 
-       mdio@0 {
+       mdio {
                #address-cells = <1>;
                #size-cells = <0>;
                compatible = "lantiq,xrx200-mdio";
-               reg = <0>;
 
                phy0: ethernet-phy@0 {
                        reg = <0x0>;
index 7fbf148e6697366b1a71a35cd05608f40982a3ae..19c10b2b9003d46deff7b6621f69827ad5f861f4 100644 (file)
                };
        };
 
-       mdio@0 {
+       mdio {
                #address-cells = <1>;
                #size-cells = <0>;
                compatible = "lantiq,xrx200-mdio";
-               reg = <0>;
 
                phy0: ethernet-phy@0 {
                        reg = <0x0>;
index 9ecac2cb67c201c4b0e6f5d34ab4cf8322b9ec51..cc3075ea366c57fa26112e2d666fb3f22186ea2f 100644 (file)
                };
        };
 
-       mdio@0 {
+       mdio {
                #address-cells = <1>;
                #size-cells = <0>;
                compatible = "lantiq,xrx200-mdio";
-               reg = <0>;
 
                phy11: ethernet-phy@11 {
                        reg = <0x11>;
index 3cdc54292f3048f9f7f027aac6d6b3649c6d9223..f4ffa5c7e2daefc3d7842a024a2cee83da598720 100644 (file)
                };
        };
 
-       mdio@0 {
+       mdio {
                #address-cells = <1>;
                #size-cells = <0>;
                compatible = "lantiq,xrx200-mdio";
-               reg = <0>;
 
                phy1: ethernet-phy@1 {
                        reg = <0x1>;
index 3ca9bea58e411ed537da8b7a41e886b4f988d7b4..44ce2178cb7b5a86c3223d66a8ff833eec5c1896 100644 (file)
                };
        };
 
-       mdio@0 {
+       mdio {
                #address-cells = <1>;
                #size-cells = <0>;
                compatible = "lantiq,xrx200-mdio";
-               reg = <0>;
 
                phy0: ethernet-phy@0 {
                        reg = <0x0>;
index bf25d36a7c93e899b43978f7696ddd4a502c789f..2133f333a64e7d0b94f468091918f808682f4a07 100644 (file)
                };
        };
 
-       mdio@0 {
+       mdio {
                #address-cells = <1>;
                #size-cells = <0>;
                compatible = "lantiq,xrx200-mdio";
-               reg = <0>;
 
                phy0: ethernet-phy@0 {
                        reg = <0x0>;
index 3ccc325b1fe42ff5e5c5fb61304c762af34cf0d5..bcee35fe9741b0819905cdcd94f38f89f0ae721a 100644 (file)
                };
        };
 
-       mdio@0 {
+       mdio {
                #address-cells = <1>;
                #size-cells = <0>;
                compatible = "lantiq,xrx200-mdio";
-               reg = <0>;
 
                phy11: ethernet-phy@11 {
                        reg = <0x11>;
index 1be842094bd3acbfeee7d78c00fdfa21f3b58aa0..53901753b996791bfdac341ece0149f77f87c85f 100644 (file)
                };
        };
 
+       reboot {
+               compatible = "syscon-reboot";
+
+               regmap = <&rcu0>;
+               offset = <0x10>;
+               mask = <0x40000000>;
+       };
+
        biu@1f800000 {
                #address-cells = <1>;
                #size-cells = <1>;
                                reset-names = "ctrl";
                                #phy-cells = <0>;
                        };
-
-                       reboot@10 {
-                               compatible = "syscon-reboot";
-                               reg = <0x10 4>;
-
-                               regmap = <&rcu0>;
-                               offset = <0x10>;
-                               mask = <0x40000000>;
-                       };
                };
        };
 
index 637de57662d0760c52404729a74e621de2f56fc9..bb2b636452d893c392eb87d00d0a88f9ab07ef80 100644 (file)
                };
        };
 
+       reboot {
+               compatible = "syscon-reboot";
+
+               regmap = <&rcu0>;
+               offset = <0x10>;
+               mask = <0x40000000>;
+       };
+
        biu@1f800000 {
                #address-cells = <1>;
                #size-cells = <1>;
                                reset-names = "ctrl";
                                #phy-cells = <0>;
                        };
-
-                       reboot@10 {
-                               compatible = "syscon-reboot";
-                               reg = <0x10 4>;
-
-                               regmap = <&rcu0>;
-                               offset = <0x10>;
-                               mask = <0x40000000>;
-                       };
                };
        };
 
index ca89e949d15b07e570e168f64a6a5358d7b8f4e3..bcb4cc2d4b65afcfa8b2a60405662a6add7e59b5 100644 (file)
                };
        };
 
+       reboot {
+               compatible = "syscon-reboot";
+
+               regmap = <&rcu0>;
+               offset = <0x10>;
+               mask = <0x40000000>;
+       };
+
        biu@1f800000 {
                #address-cells = <1>;
                #size-cells = <1>;
                                reset-names = "ctrl";
                                #phy-cells = <0>;
                        };
-
-                       reboot@10 {
-                               compatible = "syscon-reboot";
-                               reg = <0x10 4>;
-
-                               regmap = <&rcu0>;
-                               offset = <0x10>;
-                               mask = <0x40000000>;
-                       };
                };
        };
 
index 6764082e9bdbb257a900cb8aaf19966de3ae64a9..7867bcc88b31d2b8e41383247f88dac361b2e167 100644 (file)
                };
        };
 
-       cputemp@0 {
+       cputemp {
                compatible = "lantiq,cputemp";
        };
 
+       reboot {
+               compatible = "syscon-reboot";
+
+               regmap = <&rcu0>;
+               offset = <0x10>;
+               mask = <0xe0000000>;
+       };
+
        biu@1f800000 {
                #address-cells = <1>;
                #size-cells = <1>;
                                reset-names = "phy", "ctrl";
                                #phy-cells = <0>;
                        };
-
-                       reboot@10 {
-                               compatible = "syscon-reboot";
-                               reg = <0x10 4>;
-
-                               regmap = <&rcu0>;
-                               offset = <0x10>;
-                               mask = <0xe0000000>;
-                       };
                };
        };