From 19c45b95dbb53a7ba1a26c201277ca86293bf404 Mon Sep 17 00:00:00 2001 From: Christian Marangi Date: Wed, 7 Feb 2024 14:48:43 +0100 Subject: ramips: 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 --- target/linux/ramips/dts/mt7628an_asus_rt-ac1200.dts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'target/linux/ramips/dts/mt7628an_asus_rt-ac1200.dts') diff --git a/target/linux/ramips/dts/mt7628an_asus_rt-ac1200.dts b/target/linux/ramips/dts/mt7628an_asus_rt-ac1200.dts index abb86456da..833a44cc71 100644 --- a/target/linux/ramips/dts/mt7628an_asus_rt-ac1200.dts +++ b/target/linux/ramips/dts/mt7628an_asus_rt-ac1200.dts @@ -2,6 +2,8 @@ // Copyright (c) 2022 Ray Wang // Copyright (c) 2022 Ivan Pavlov +#include + #include "mt7628an_asus_rt-ac1200.dtsi" / { @@ -12,7 +14,8 @@ compatible = "gpio-leds"; usb { - label = "blue:usb"; + function = LED_FUNCTION_USB; + color = ; gpios = <&gpio 6 GPIO_ACTIVE_HIGH>; trigger-sources = <&ohci_port1>, <&ehci_port1>; linux,default-trigger = "usbport"; -- cgit v1.2.3