From: Krzysztof Kozlowski Date: Thu, 16 Jun 2022 00:53:09 +0000 (-0700) Subject: arm64: dts: mediatek: mt7622-bananapi-bpi-r64: align led node names with dtschema X-Git-Tag: v6.6.17~6969^2~27^2~57 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=7db5dfd3f9f1db303e1392826e9d173642d83a90;p=platform%2Fkernel%2Flinux-rpi.git arm64: dts: mediatek: mt7622-bananapi-bpi-r64: align led node names with dtschema The node names should be generic and DT schema expects certain pattern with 'led'. Use generic color properties instead of the node name. Signed-off-by: Krzysztof Kozlowski Link: https://lore.kernel.org/r/20220616005333.18491-16-krzysztof.kozlowski@linaro.org Signed-off-by: Matthias Brugger --- diff --git a/arch/arm64/boot/dts/mediatek/mt7622-bananapi-bpi-r64.dts b/arch/arm64/boot/dts/mediatek/mt7622-bananapi-bpi-r64.dts index 2c59979..7b81eac 100644 --- a/arch/arm64/boot/dts/mediatek/mt7622-bananapi-bpi-r64.dts +++ b/arch/arm64/boot/dts/mediatek/mt7622-bananapi-bpi-r64.dts @@ -8,6 +8,7 @@ /dts-v1/; #include #include +#include #include "mt7622.dtsi" #include "mt6380.dtsi" @@ -56,14 +57,16 @@ leds { compatible = "gpio-leds"; - green { + led-0 { label = "bpi-r64:pio:green"; + color = ; gpios = <&pio 89 GPIO_ACTIVE_HIGH>; default-state = "off"; }; - red { + led-1 { label = "bpi-r64:pio:red"; + color = ; gpios = <&pio 88 GPIO_ACTIVE_HIGH>; default-state = "off"; };