diff options
author | Corentin LABBE <clabbe.montjoie@gmail.com> | 2017-09-26 10:22:24 +0300 |
---|---|---|
committer | Chen-Yu Tsai <wens@csie.org> | 2017-09-27 11:20:30 +0300 |
commit | c71ec4055d0050a5bef525c31cfc51978ea6d089 (patch) | |
tree | a476c838d3de833230dc2975c2a743f0eb932f78 /arch/arm/boot/dts/sun8i-h3-nanopi.dtsi | |
parent | 31e79286e8e642a0aa136be7e8568e3323e7321e (diff) | |
download | linux-c71ec4055d0050a5bef525c31cfc51978ea6d089.tar.xz |
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>
Diffstat (limited to 'arch/arm/boot/dts/sun8i-h3-nanopi.dtsi')
-rw-r--r-- | arch/arm/boot/dts/sun8i-h3-nanopi.dtsi | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/arm/boot/dts/sun8i-h3-nanopi.dtsi b/arch/arm/boot/dts/sun8i-h3-nanopi.dtsi index c6decee41a27..7646e331bd29 100644 --- a/arch/arm/boot/dts/sun8i-h3-nanopi.dtsi +++ b/arch/arm/boot/dts/sun8i-h3-nanopi.dtsi @@ -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>; @@ -108,19 +108,19 @@ }; &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"; }; |