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/sun8i-r16-bananapi-m2m.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/sun8i-r16-bananapi-m2m.dts')
-rw-r--r-- | arch/arm/boot/dts/sun8i-r16-bananapi-m2m.dts | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/arm/boot/dts/sun8i-r16-bananapi-m2m.dts b/arch/arm/boot/dts/sun8i-r16-bananapi-m2m.dts index e1c75f7fa3ca..015ba66fd277 100644 --- a/arch/arm/boot/dts/sun8i-r16-bananapi-m2m.dts +++ b/arch/arm/boot/dts/sun8i-r16-bananapi-m2m.dts @@ -64,17 +64,17 @@ leds { compatible = "gpio-leds"; - blue { + led-0 { label = "bpi-m2m:blue:usr"; gpios = <&pio 2 7 GPIO_ACTIVE_LOW>; }; - green { + led-1 { label = "bpi-m2m:green:usr"; gpios = <&r_pio 0 2 GPIO_ACTIVE_LOW>; }; - red { + led-2 { label = "bpi-m2m:red:power"; gpios = <&r_pio 0 3 GPIO_ACTIVE_LOW>; default-state = "on"; |