ARM: dts: sun8i: h3: Fix node with unit name and no reg property
authorCorentin LABBE <clabbe.montjoie@gmail.com>
Tue, 26 Sep 2017 07:22:24 +0000 (09:22 +0200)
committerChen-Yu Tsai <wens@csie.org>
Wed, 27 Sep 2017 08:20:30 +0000 (16:20 +0800)
This patch fixes the warning "xxx has a unit name, but no reg property"
by removing "@0" from such node. 6 board files are fixed. Each has the
same aforementioned issue in pinmux nodes. These include the Nano Pi
family base dtsi file, the Orange Pi 2, Orange Pi Lite, Orange Pi One,
Orange Pi PC, and Orange Pi Plus.

Signed-off-by: Corentin Labbe <clabbe.montjoie@gmail.com>
Acked-by: Maxime Ripard <maxime.ripard@free-electrons.com>
[wens@csie.org: Squashed 6 patches together; boards named in commit log]
Signed-off-by: Chen-Yu Tsai <wens@csie.org>
arch/arm/boot/dts/sun8i-h3-nanopi.dtsi
arch/arm/boot/dts/sun8i-h3-orangepi-2.dts
arch/arm/boot/dts/sun8i-h3-orangepi-lite.dts
arch/arm/boot/dts/sun8i-h3-orangepi-one.dts
arch/arm/boot/dts/sun8i-h3-orangepi-pc.dts
arch/arm/boot/dts/sun8i-h3-orangepi-plus.dts

index c6decee..7646e33 100644 (file)
@@ -81,7 +81,7 @@
                pinctrl-names = "default";
                pinctrl-0 = <&sw_r_npi>;
 
-               k1@0 {
+               k1 {
                        label = "k1";
                        linux,code = <KEY_POWER>;
                        gpios = <&r_pio 0 3 GPIO_ACTIVE_LOW>;
 };
 
 &pio {
-       leds_npi: led_pins@0 {
+       leds_npi: led_pins {
                pins = "PA10";
                function = "gpio_out";
        };
 };
 
 &r_pio {
-       leds_r_npi: led_pins@0 {
+       leds_r_npi: led_pins {
                pins = "PL10";
                function = "gpio_out";
        };
 
-       sw_r_npi: key_pins@0 {
+       sw_r_npi: key_pins {
                pins = "PL3";
                function = "gpio_in";
        };
index 8ff71b1..1bf5180 100644 (file)
 };
 
 &pio {
-       leds_opc: led_pins@0 {
+       leds_opc: led_pins {
                pins = "PA15";
                function = "gpio_out";
        };
 };
 
 &r_pio {
-       leds_r_opc: led_pins@0 {
+       leds_r_opc: led_pins {
                pins = "PL10";
                function = "gpio_out";
        };
 
-       sw_r_opc: key_pins@0 {
+       sw_r_opc: key_pins {
                pins = "PL3", "PL4";
                function = "gpio_in";
        };
 
-       wifi_pwrseq_pin_orangepi: wifi_pwrseq_pin@0 {
+       wifi_pwrseq_pin_orangepi: wifi_pwrseq_pin {
                pins = "PL7";
                function = "gpio_out";
        };
index 9b47a0d..a70a1da 100644 (file)
 };
 
 &pio {
-       leds_opc: led_pins@0 {
+       leds_opc: led_pins {
                pins = "PA15";
                function = "gpio_out";
        };
 };
 
 &r_pio {
-       leds_r_opc: led_pins@0 {
+       leds_r_opc: led_pins {
                pins = "PL10";
                function = "gpio_out";
        };
 
-       sw_r_opc: key_pins@0 {
+       sw_r_opc: key_pins {
                pins = "PL3";
                function = "gpio_in";
        };
index 5fea430..a1c6ff6 100644 (file)
 };
 
 &pio {
-       leds_opc: led_pins@0 {
+       leds_opc: led_pins {
                pins = "PA15";
                function = "gpio_out";
        };
 };
 
 &r_pio {
-       leds_r_opc: led_pins@0 {
+       leds_r_opc: led_pins {
                pins = "PL10";
                function = "gpio_out";
        };
 
-       sw_r_opc: key_pins@0 {
+       sw_r_opc: key_pins {
                pins = "PL3";
                function = "gpio_in";
        };
index 1a044b1..ea4e002 100644 (file)
 };
 
 &pio {
-       leds_opc: led_pins@0 {
+       leds_opc: led_pins {
                pins = "PA15";
                function = "gpio_out";
        };
 };
 
 &r_pio {
-       leds_r_opc: led_pins@0 {
+       leds_r_opc: led_pins {
                pins = "PL10";
                function = "gpio_out";
        };
 
-       sw_r_opc: key_pins@0 {
+       sw_r_opc: key_pins {
                pins = "PL3";
                function = "gpio_in";
        };
index 828ae7a..72ca01b 100644 (file)
@@ -92,7 +92,7 @@
 };
 
 &pio {
-       usb3_vbus_pin_a: usb3_vbus_pin@0 {
+       usb3_vbus_pin_a: usb3_vbus_pin {
                pins = "PG11";
                function = "gpio_out";
        };