Commit c71ec405 authored by Corentin LABBE's avatar Corentin LABBE Committed by Chen-Yu Tsai

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: default avatarCorentin Labbe <clabbe.montjoie@gmail.com>
Acked-by: default avatarMaxime Ripard <maxime.ripard@free-electrons.com>
[wens@csie.org: Squashed 6 patches together; boards named in commit log]
Signed-off-by: default avatarChen-Yu Tsai <wens@csie.org>
parent 31e79286
......@@ -81,7 +81,7 @@ r_gpio_keys {
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>;
......@@ -108,19 +108,19 @@ &ohci3 {
};
&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";
};
......
......@@ -152,24 +152,24 @@ rtl8189: sdio_wifi@1 {
};
&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";
};
......
......@@ -141,19 +141,19 @@ &ohci2 {
};
&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";
};
......
......@@ -116,19 +116,19 @@ &ohci1 {
};
&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";
};
......
......@@ -146,19 +146,19 @@ &ohci3 {
};
&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";
};
......
......@@ -92,7 +92,7 @@ &mmc2_8bit_pins {
};
&pio {
usb3_vbus_pin_a: usb3_vbus_pin@0 {
usb3_vbus_pin_a: usb3_vbus_pin {
pins = "PG11";
function = "gpio_out";
};
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment