From 726f2863774e2ee13e6cf8c1347d94c6aae80113 Mon Sep 17 00:00:00 2001 From: Christian Marangi Date: Wed, 7 Feb 2024 14:48:38 +0100 Subject: [PATCH] kirkwood: convert to new LED color/function format where possible Initial conversion to new LED color/function format and drop label format where possible. The same label is composed at runtime. Signed-off-by: Christian Marangi --- .../linux/kirkwood/files/arch/arm/boot/dts/kirkwood-nas1.dts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/target/linux/kirkwood/files/arch/arm/boot/dts/kirkwood-nas1.dts b/target/linux/kirkwood/files/arch/arm/boot/dts/kirkwood-nas1.dts index a8d86406b5..379db8acd8 100644 --- a/target/linux/kirkwood/files/arch/arm/boot/dts/kirkwood-nas1.dts +++ b/target/linux/kirkwood/files/arch/arm/boot/dts/kirkwood-nas1.dts @@ -1,6 +1,8 @@ // SPDX-License-Identifier: GPL-2.0-or-later OR MIT /dts-v1/; +#include + #include "kirkwood.dtsi" #include "kirkwood-6281.dtsi" @@ -43,7 +45,8 @@ }; usb { - label = "blue:usb"; + function = LED_FUNCTION_USB; + color = ; gpios = <&gpio1 13 GPIO_ACTIVE_LOW>; trigger-sources = <&ehci_port1>; linux,default-trigger = "usbport"; -- 2.30.2