]> git.karo-electronics.de Git - linux-beck.git/commitdiff
ARM: dts: lager: Fix W=1 dtc warnings
authorGeert Uytterhoeven <geert+renesas@glider.be>
Fri, 20 May 2016 07:10:09 +0000 (09:10 +0200)
committerSimon Horman <horms+renesas@verge.net.au>
Mon, 30 May 2016 00:37:13 +0000 (09:37 +0900)
Warning (unit_address_vs_reg): Node /keyboard/button@1 has a unit name, but no reg property
Warning (unit_address_vs_reg): Node /keyboard/button@2 has a unit name, but no reg property
Warning (unit_address_vs_reg): Node /keyboard/button@3 has a unit name, but no reg property
Warning (unit_address_vs_reg): Node /keyboard/button@4 has a unit name, but no reg property
Warning (unit_address_vs_reg): Node /fixedregulator@0 has a unit name, but no reg property
Warning (unit_address_vs_reg): Node /regulator@1 has a unit name, but no reg property
Warning (unit_address_vs_reg): Node /regulator@2 has a unit name, but no reg property
Warning (unit_address_vs_reg): Node /regulator@3 has a unit name, but no reg property
Warning (unit_address_vs_reg): Node /regulator@4 has a unit name, but no reg property
Warning (unit_address_vs_reg): Node /i2c@8 has a unit name, but no reg property

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
arch/arm/boot/dts/r8a7790-lager.dts

index 749ba02b6a53a9dea52df972349f67c71848b8dd..9d20ace33b01d935c3c0d6c1cc9d6b56ee320454 100644 (file)
        keyboard {
                compatible = "gpio-keys";
 
-               button@1 {
+               one {
                        linux,code = <KEY_1>;
                        label = "SW2-1";
                        wakeup-source;
                        debounce-interval = <20>;
                        gpios = <&gpio1 14 GPIO_ACTIVE_LOW>;
                };
-               button@2 {
+               two {
                        linux,code = <KEY_2>;
                        label = "SW2-2";
                        wakeup-source;
                        debounce-interval = <20>;
                        gpios = <&gpio1 24 GPIO_ACTIVE_LOW>;
                };
-               button@3 {
+               three {
                        linux,code = <KEY_3>;
                        label = "SW2-3";
                        wakeup-source;
                        debounce-interval = <20>;
                        gpios = <&gpio1 26 GPIO_ACTIVE_LOW>;
                };
-               button@4 {
+               four {
                        linux,code = <KEY_4>;
                        label = "SW2-4";
                        wakeup-source;
                };
        };
 
-       fixedregulator3v3: fixedregulator@0 {
+       fixedregulator3v3: regulator-3v3 {
                compatible = "regulator-fixed";
                regulator-name = "fixed-3.3V";
                regulator-min-microvolt = <3300000>;
                regulator-always-on;
        };
 
-       vcc_sdhi0: regulator@1 {
+       vcc_sdhi0: regulator-vcc-sdhi0 {
                compatible = "regulator-fixed";
 
                regulator-name = "SDHI0 Vcc";
                enable-active-high;
        };
 
-       vccq_sdhi0: regulator@2 {
+       vccq_sdhi0: regulator-vccq-sdhi0 {
                compatible = "regulator-gpio";
 
                regulator-name = "SDHI0 VccQ";
                          1800000 0>;
        };
 
-       vcc_sdhi2: regulator@3 {
+       vcc_sdhi2: regulator-vcc-sdhi2 {
                compatible = "regulator-fixed";
 
                regulator-name = "SDHI2 Vcc";
                enable-active-high;
        };
 
-       vccq_sdhi2: regulator@4 {
+       vccq_sdhi2: regulator-vccq-sdhi2 {
                compatible = "regulator-gpio";
 
                regulator-name = "SDHI2 VccQ";
         * instantiate the slave device at runtime according to the documentation.
         * You can then communicate with the slave via IIC3.
         */
-       i2cexio: i2c@8 {
+       i2cexio: i2c-8 {
                compatible = "i2c-demux-pinctrl";
                i2c-parent = <&iic0>, <&i2c0>;
                i2c-bus-name = "i2c-exio";