diff options
author | Maxime Ripard <maxime@cerno.tech> | 2021-01-14 14:35:25 +0300 |
---|---|---|
committer | Maxime Ripard <maxime@cerno.tech> | 2021-01-18 12:13:16 +0300 |
commit | e299e6dd357474dd5b8c61e4ca447fa0abd86e4d (patch) | |
tree | 04b9656c21664eda455af2392d084e8e8adea2ae /arch/arm/boot/dts/sun7i-a20-pcduino3-nano.dts | |
parent | 48b47749e334b3891f33b9425b470a3c92be8dae (diff) | |
download | linux-e299e6dd357474dd5b8c61e4ca447fa0abd86e4d.tar.xz |
ARM: dts: sunxi: Fix the LED node names
According to the LED bindings, the LED node names are supposed to be led
plus an optional suffix. Let's fix our users to use that new scheme.
Signed-off-by: Maxime Ripard <maxime@cerno.tech>
Acked-by: Jernej Skrabec <jernej.skrabec@siol.net>
Acked-by: Chen-Yu Tsai <wens@csie.org>
Link: https://lore.kernel.org/r/20210114113538.1233933-6-maxime@cerno.tech
Diffstat (limited to 'arch/arm/boot/dts/sun7i-a20-pcduino3-nano.dts')
-rw-r--r-- | arch/arm/boot/dts/sun7i-a20-pcduino3-nano.dts | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/arch/arm/boot/dts/sun7i-a20-pcduino3-nano.dts b/arch/arm/boot/dts/sun7i-a20-pcduino3-nano.dts index bf38c66c1815..e40ecb48d726 100644 --- a/arch/arm/boot/dts/sun7i-a20-pcduino3-nano.dts +++ b/arch/arm/boot/dts/sun7i-a20-pcduino3-nano.dts @@ -72,14 +72,12 @@ leds { compatible = "gpio-leds"; - /* Marked "LED3" on the PCB. */ - usr1 { + led-3 { label = "pcduino3-nano:green:usr1"; gpios = <&pio 7 16 GPIO_ACTIVE_LOW>; /* PH16 */ }; - /* Marked "LED4" on the PCB. */ - usr2 { + led-4 { label = "pcduino3-nano:green:usr2"; gpios = <&pio 7 15 GPIO_ACTIVE_LOW>; /* PH15 */ }; |