ARM: dts: sun8i: h3: Fix node with unit name and no reg property

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>
This commit is contained in:
Corentin LABBE 2017-09-26 09:22:24 +02:00 committed by Chen-Yu Tsai
parent 31e79286e8
commit c71ec4055d
6 changed files with 18 additions and 18 deletions

View File

@ -81,7 +81,7 @@ r_gpio_keys {
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&sw_r_npi>; pinctrl-0 = <&sw_r_npi>;
k1@0 { k1 {
label = "k1"; label = "k1";
linux,code = <KEY_POWER>; linux,code = <KEY_POWER>;
gpios = <&r_pio 0 3 GPIO_ACTIVE_LOW>; gpios = <&r_pio 0 3 GPIO_ACTIVE_LOW>;
@ -108,19 +108,19 @@ &ohci3 {
}; };
&pio { &pio {
leds_npi: led_pins@0 { leds_npi: led_pins {
pins = "PA10"; pins = "PA10";
function = "gpio_out"; function = "gpio_out";
}; };
}; };
&r_pio { &r_pio {
leds_r_npi: led_pins@0 { leds_r_npi: led_pins {
pins = "PL10"; pins = "PL10";
function = "gpio_out"; function = "gpio_out";
}; };
sw_r_npi: key_pins@0 { sw_r_npi: key_pins {
pins = "PL3"; pins = "PL3";
function = "gpio_in"; function = "gpio_in";
}; };

View File

@ -152,24 +152,24 @@ rtl8189: sdio_wifi@1 {
}; };
&pio { &pio {
leds_opc: led_pins@0 { leds_opc: led_pins {
pins = "PA15"; pins = "PA15";
function = "gpio_out"; function = "gpio_out";
}; };
}; };
&r_pio { &r_pio {
leds_r_opc: led_pins@0 { leds_r_opc: led_pins {
pins = "PL10"; pins = "PL10";
function = "gpio_out"; function = "gpio_out";
}; };
sw_r_opc: key_pins@0 { sw_r_opc: key_pins {
pins = "PL3", "PL4"; pins = "PL3", "PL4";
function = "gpio_in"; function = "gpio_in";
}; };
wifi_pwrseq_pin_orangepi: wifi_pwrseq_pin@0 { wifi_pwrseq_pin_orangepi: wifi_pwrseq_pin {
pins = "PL7"; pins = "PL7";
function = "gpio_out"; function = "gpio_out";
}; };

View File

@ -141,19 +141,19 @@ &ohci2 {
}; };
&pio { &pio {
leds_opc: led_pins@0 { leds_opc: led_pins {
pins = "PA15"; pins = "PA15";
function = "gpio_out"; function = "gpio_out";
}; };
}; };
&r_pio { &r_pio {
leds_r_opc: led_pins@0 { leds_r_opc: led_pins {
pins = "PL10"; pins = "PL10";
function = "gpio_out"; function = "gpio_out";
}; };
sw_r_opc: key_pins@0 { sw_r_opc: key_pins {
pins = "PL3"; pins = "PL3";
function = "gpio_in"; function = "gpio_in";
}; };

View File

@ -116,19 +116,19 @@ &ohci1 {
}; };
&pio { &pio {
leds_opc: led_pins@0 { leds_opc: led_pins {
pins = "PA15"; pins = "PA15";
function = "gpio_out"; function = "gpio_out";
}; };
}; };
&r_pio { &r_pio {
leds_r_opc: led_pins@0 { leds_r_opc: led_pins {
pins = "PL10"; pins = "PL10";
function = "gpio_out"; function = "gpio_out";
}; };
sw_r_opc: key_pins@0 { sw_r_opc: key_pins {
pins = "PL3"; pins = "PL3";
function = "gpio_in"; function = "gpio_in";
}; };

View File

@ -146,19 +146,19 @@ &ohci3 {
}; };
&pio { &pio {
leds_opc: led_pins@0 { leds_opc: led_pins {
pins = "PA15"; pins = "PA15";
function = "gpio_out"; function = "gpio_out";
}; };
}; };
&r_pio { &r_pio {
leds_r_opc: led_pins@0 { leds_r_opc: led_pins {
pins = "PL10"; pins = "PL10";
function = "gpio_out"; function = "gpio_out";
}; };
sw_r_opc: key_pins@0 { sw_r_opc: key_pins {
pins = "PL3"; pins = "PL3";
function = "gpio_in"; function = "gpio_in";
}; };

View File

@ -92,7 +92,7 @@ &mmc2_8bit_pins {
}; };
&pio { &pio {
usb3_vbus_pin_a: usb3_vbus_pin@0 { usb3_vbus_pin_a: usb3_vbus_pin {
pins = "PG11"; pins = "PG11";
function = "gpio_out"; function = "gpio_out";
}; };