]> git.baikalelectronics.ru Git - uboot.git/commitdiff
at91: fix devicetree warnings
authorEugen Hristev <eugen.hristev@microchip.com>
Thu, 9 Aug 2018 11:12:01 +0000 (14:12 +0300)
committerTom Rini <trini@konsulko.com>
Tue, 11 Sep 2018 00:48:18 +0000 (20:48 -0400)
This commit fixes various devicetree warnings in the at91 devicetrees
like:
arch/arm/dts/sama5d36ek_cmp.dtb: Warning (avoid_unnecessary_addr_size): /gpio_keys: unnecessary #address-cells/#size-cells without "ranges" or child "reg" property

These warnings make buildman report failed builds for most of at91 boards.
Thus, fixing it.

Signed-off-by: Eugen Hristev <eugen.hristev@microchip.com>
12 files changed:
arch/arm/dts/at91-vinco.dts
arch/arm/dts/at91sam9260.dtsi
arch/arm/dts/at91sam9261.dtsi
arch/arm/dts/at91sam9263.dtsi
arch/arm/dts/at91sam9g45.dtsi
arch/arm/dts/at91sam9n12.dtsi
arch/arm/dts/at91sam9rl.dtsi
arch/arm/dts/at91sam9x5.dtsi
arch/arm/dts/sama5d27_som1.dtsi
arch/arm/dts/sama5d3.dtsi
arch/arm/dts/sama5d3xmb_cmp.dtsi
arch/arm/dts/usb_a9263.dts

index ff6d2e3205a82a0ebadf08b78fbe1026af18da34..0ecb64e718b150b17f771d722fba78db00b58b74 100644 (file)
                        };
 
                        tcb2: timer@fc024000 {
+                               #address-cells = <1>;
+                               #size-cells = <0>;
                                timer@0 {
                                        compatible = "atmel,tcb-timer";
                                        reg = <0>;
index 69d9ceadaff450b192a8d4e95c0035561c0c3dfb..476ad1dad2af27ff464e6050254f5390a14eee97 100644 (file)
@@ -37,9 +37,6 @@
                spi0 = &spi0;
        };
        cpus {
-               #address-cells = <0>;
-               #size-cells = <0>;
-
                cpu {
                        compatible = "arm,arm926ej-s";
                        device_type = "cpu";
index 69c2d6e416dd900c6f6b493eefb20b4afb40b214..b6357d3cb372eda793b7cf779eb8aba3e612cc57 100644 (file)
@@ -34,9 +34,6 @@
        };
 
        cpus {
-               #address-cells = <0>;
-               #size-cells = <0>;
-
                cpu {
                        compatible = "arm,arm926ej-s";
                        device_type = "cpu";
index 0b594be221214210882fe2da83711c17ec6ac4f3..61b056266b49a8a16a83e5cb2055056c92b4d277 100644 (file)
@@ -36,9 +36,6 @@
        };
 
        cpus {
-               #address-cells = <0>;
-               #size-cells = <0>;
-
                cpu {
                        compatible = "arm,arm926ej-s";
                        device_type = "cpu";
index 1be1270c574de6fd97bad4e2146597afac08547b..c9b2e4698bb5b5c431755ef2819cf13c9ad65c00 100644 (file)
@@ -41,9 +41,6 @@
                pwm0 = &pwm0;
        };
        cpus {
-               #address-cells = <0>;
-               #size-cells = <0>;
-
                cpu {
                        compatible = "arm,arm926ej-s";
                        device_type = "cpu";
                        };
 
                        adc0: adc@fffb0000 {
-                               #address-cells = <1>;
-                               #size-cells = <0>;
                                compatible = "atmel,at91sam9g45-adc";
                                reg = <0xfffb0000 0x100>;
                                interrupts = <20 IRQ_TYPE_LEVEL_HIGH 0>;
                                clocks = <&isi_clk>;
                                clock-names = "isi_clk";
                                status = "disabled";
-                               port {
-                                       #address-cells = <1>;
-                                       #size-cells = <0>;
-                               };
                        };
 
                        pwm0: pwm@fffb8000 {
index 7ba7116e8f9dc06b9fffb0f67886da497bc4afd6..024be13dabe6df848b789d24022a7b42d35864fa 100644 (file)
@@ -38,9 +38,6 @@
                spi0 = &spi0;
        };
        cpus {
-               #address-cells = <0>;
-               #size-cells = <0>;
-
                cpu {
                        compatible = "arm,arm926ej-s";
                        device_type = "cpu";
index 4602cd21e17eb9bf2b9a45632fc5987185ada61b..6d6aee55244356569d2430af8265187418de2b8b 100644 (file)
@@ -38,9 +38,6 @@
        };
 
        cpus {
-               #address-cells = <0>;
-               #size-cells = <0>;
-
                cpu {
                        compatible = "arm,arm926ej-s";
                        device_type = "cpu";
                        };
 
                        adc0: adc@fffd0000 {
-                               #address-cells = <1>;
-                               #size-cells = <0>;
                                compatible = "atmel,at91sam9rl-adc";
                                reg = <0xfffd0000 0x100>;
                                interrupts = <20 IRQ_TYPE_LEVEL_HIGH 0>;
index a422c98706acb60d09ce694d3e89e4626468406f..ea319cc18b2d593f73c6e9d5622425afff7cc5df 100644 (file)
@@ -41,9 +41,6 @@
        };
 
        cpus {
-               #address-cells = <0>;
-               #size-cells = <0>;
-
                cpu {
                        compatible = "arm,arm926ej-s";
                        device_type = "cpu";
                        };
 
                        adc0: adc@f804c000 {
-                               #address-cells = <1>;
-                               #size-cells = <0>;
                                compatible = "atmel,at91sam9x5-adc";
                                reg = <0xf804c000 0x100>;
                                interrupts = <19 IRQ_TYPE_LEVEL_HIGH 0>;
index 0c44a97f64b8a576ee7e2ea216660b604db1625f..9efcf635ad5100147b11488627ef68a788da70f6 100644 (file)
@@ -55,7 +55,6 @@
 
        aliases {
                spi0 = &qspi1;
-               u-boot,dm-pre-reloc;
        };
 
        ahb {
index ee0e14e5165bd9407aa34697e896c4173d6adbee..ba707b0ddfc87445cf104d31c78749d4caaae35f 100644 (file)
                                clocks = <&isi_clk>;
                                clock-names = "isi_clk";
                                status = "disabled";
-                               port {
-                                       #address-cells = <1>;
-                                       #size-cells = <0>;
-                               };
                        };
 
                        sfr: sfr@f0038000 {
index 77f989ce3c2b59f6a046111ee893b930b4a81174..9792b2a9d08f74a7b1fa883f972ffcccca6c23e7 100644 (file)
                compatible = "gpio-keys";
                status = "okay";
 
-               #address-cells = <1>;
-               #size-cells = <0>;
                pinctrl-names = "default";
                pinctrl-0 = <&pinctrl_gpio_keys>;
 
index bfc48a272417a901f361126b4e9fdd9d1947a733..9adc12af314af0d74cc24b11845c74eb8e438851 100644 (file)
 
        gpio_keys {
                compatible = "gpio-keys";
-               #address-cells = <1>;
-               #size-cells = <0>;
 
                user_pb {
                        label = "user_pb";