summaryrefslogtreecommitdiff
path: root/arch/arm64/boot/dts/allwinner/sun50i-a64-pinephone.dtsi
diff options
context:
space:
mode:
authorMaxime Ripard <maxime@cerno.tech>2021-01-14 14:35:25 +0300
committerMaxime Ripard <maxime@cerno.tech>2021-01-18 12:13:16 +0300
commite299e6dd357474dd5b8c61e4ca447fa0abd86e4d (patch)
tree04b9656c21664eda455af2392d084e8e8adea2ae /arch/arm64/boot/dts/allwinner/sun50i-a64-pinephone.dtsi
parent48b47749e334b3891f33b9425b470a3c92be8dae (diff)
downloadlinux-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/arm64/boot/dts/allwinner/sun50i-a64-pinephone.dtsi')
-rw-r--r--arch/arm64/boot/dts/allwinner/sun50i-a64-pinephone.dtsi6
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/arm64/boot/dts/allwinner/sun50i-a64-pinephone.dtsi b/arch/arm64/boot/dts/allwinner/sun50i-a64-pinephone.dtsi
index 7f37f9fea0ab..bcf64998a829 100644
--- a/arch/arm64/boot/dts/allwinner/sun50i-a64-pinephone.dtsi
+++ b/arch/arm64/boot/dts/allwinner/sun50i-a64-pinephone.dtsi
@@ -31,19 +31,19 @@
leds {
compatible = "gpio-leds";
- blue {
+ led-0 {
function = LED_FUNCTION_INDICATOR;
color = <LED_COLOR_ID_BLUE>;
gpios = <&pio 3 20 GPIO_ACTIVE_HIGH>; /* PD20 */
};
- green {
+ led-1 {
function = LED_FUNCTION_INDICATOR;
color = <LED_COLOR_ID_GREEN>;
gpios = <&pio 3 18 GPIO_ACTIVE_HIGH>; /* PD18 */
};
- red {
+ led-2 {
function = LED_FUNCTION_INDICATOR;
color = <LED_COLOR_ID_RED>;
gpios = <&pio 3 19 GPIO_ACTIVE_HIGH>; /* PD19 */