From: Christian Marangi Date: Wed, 7 Feb 2024 13:48:38 +0000 (+0100) Subject: kirkwood: convert to new LED color/function format where possible X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=726f2863774e2ee13e6cf8c1347d94c6aae80113;p=openwrt%2Fstaging%2Flinusw.git 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 --- 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";