From: Christian Marangi Date: Fri, 9 Feb 2024 00:44:19 +0000 (+0100) Subject: ipq40xx: fix dts error in LED color/function conversion X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=c6ed34940d6231a7cfadaea5f1f3ee746d78e41a;p=openwrt%2Fstaging%2Fthess.git ipq40xx: fix dts error in LED color/function conversion Fix DTS error in LED color/function conversion due to a bug in the conversion script. Fixes: a9e0d97e1fc8 ("ipq40xx: convert to new LED color/function format where possible") Signed-off-by: Christian Marangi --- diff --git a/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4019-mf18a.dts b/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4019-mf18a.dts index d965f2724d..6987515720 100644 --- a/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4019-mf18a.dts +++ b/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4019-mf18a.dts @@ -50,7 +50,6 @@ }; led-2 { - function = LED_FUNCTION_WLAN; function = LED_FUNCTION_WLAN; color = ; gpios = <&tlmm 23 GPIO_ACTIVE_HIGH>; diff --git a/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4019-rt-ac42u.dts b/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4019-rt-ac42u.dts index 5604af2ddb..70849d71d6 100644 --- a/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4019-rt-ac42u.dts +++ b/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4019-rt-ac42u.dts @@ -106,8 +106,6 @@ color = ; function = LED_FUNCTION_STATUS; gpios = <&tlmm 40 GPIO_ACTIVE_LOW>; - function = LED_FUNCTION_STATUS; - color = ; }; led-1 {