rockchip: dts: fix unnecessary '-cells' warning
authorKever Yang <kever.yang@rock-chips.com>
Tue, 28 Aug 2018 09:57:32 +0000 (17:57 +0800)
committerPhilipp Tomsich <philipp.tomsich@theobroma-systems.com>
Wed, 29 Aug 2018 18:44:50 +0000 (20:44 +0200)
Fix warning below:
unnecessary #address-cells/#size-cells without "ranges" or child "reg"
property

Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
Reviewed-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
arch/arm/dts/rk3288-evb.dtsi
arch/arm/dts/rk3288-firefly.dtsi
arch/arm/dts/rk3288-tinker.dtsi
arch/arm/dts/rk3288-veyron.dtsi
arch/arm/dts/rk3288.dtsi
arch/arm/dts/rk3328.dtsi
arch/arm/dts/rk3399-puma.dtsi
arch/arm/dts/rk3399.dtsi

index 17c79d3c279c3198f10e636397f759928ea197b3..ce75bd5d28eb604c2a232393b130423f4103cf46 100644 (file)
@@ -19,8 +19,6 @@
 
        keys: gpio-keys {
                compatible = "gpio-keys";
-               #address-cells = <1>;
-               #size-cells = <0>;
 
                button@0 {
                        gpio-key,wakeup = <1>;
index de5e8f2e8d1a17016f0dda6372333f243f8ee2e1..2239ab9f5998b6cf6139bf01612e0f9b34f307d5 100644 (file)
@@ -25,8 +25,6 @@
 
        keys: gpio-keys {
                compatible = "gpio-keys";
-               #address-cells = <1>;
-               #size-cells = <0>;
 
                button@0 {
                        gpio-key,wakeup = <1>;
index a75245866365be852c97f12795264338ec994129..2f816af47f166cbceb1149fcb0427663f50d950d 100644 (file)
@@ -55,8 +55,6 @@
 
        gpio-keys {
                compatible = "gpio-keys";
-               #address-cells = <1>;
-               #size-cells = <0>;
                autorepeat;
 
                pinctrl-names = "default";
index 4b66f6be3c5b9792fb0abca15c9ee0459a130172..92b68878fd0a52db482e824aca3cd7b359cc3833 100644 (file)
@@ -83,8 +83,6 @@
 
        gpio_keys: gpio-keys {
                compatible = "gpio-keys";
-               #address-cells = <1>;
-               #size-cells = <0>;
 
                pinctrl-names = "default";
                pinctrl-0 = <&pwr_key_h>;
index 9f3f6f5051664f8ce2ea021f7b3ab6313ab87e7e..273d38c84f5dccb75aff273db225efd1f45c22ef 100644 (file)
                #size-cells = <0>;
                status = "disabled";
                ports {
-                       #address-cells = <1>;
-                       #size-cells = <0>;
                        reg = <1>;
                        mipi_in: port {
                                #address-cells = <1>;
index 6095a124b09c03a56918f4a481849fc73e0a2a72..2d80addbb0a57584c1a96c6a611313dfffc05dc3 100644 (file)
                u-boot,dm-pre-reloc;
                compatible = "rockchip,rk3328-grf", "syscon", "simple-mfd";
                reg = <0x0 0xff100000 0x0 0x1000>;
-               #address-cells = <1>;
-               #size-cells = <1>;
 
                io_domains: io-domains {
                        compatible = "rockchip,rk3328-io-voltage-domain";
index 35840319ff041ad09aa60795f1c7e65ac6b26206..6e7e1e3528dbb1a4f26c8b4b3ecaff93dded10be 100644 (file)
 };
 
 &hdmi {
-       #address-cells = <1>;
-       #size-cells = <0>;
        #sound-dai-cells = <0>;
        status = "okay";
 };
index 83c257b1228bd0b7b791040e603b2ac67f06e5b1..a55a6c6eb9f332dc4e65bdc682c1e5fc25f77f68 100644 (file)
                u-boot,dm-pre-reloc;
                compatible = "rockchip,rk3399-pmugrf", "syscon", "simple-mfd";
                reg = <0x0 0xff320000 0x0 0x1000>;
-               #address-cells = <1>;
-               #size-cells = <1>;
 
                pmu_io_domains: io-domains {
                        compatible = "rockchip,rk3399-pmu-io-voltage-domain";
                #size-cells = <0>;
                status = "disabled";
                ports {
-                       #address-cells = <1>;
-                       #size-cells = <0>;
                        reg = <1>;
                        mipi_in: port {
                                #address-cells = <1>;