Browse Source

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 <[email protected]>
Christian Marangi 1 year ago
parent
commit
c6ed34940d

+ 0 - 1
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 = <LED_COLOR_ID_BLUE>;
 			gpios = <&tlmm 23 GPIO_ACTIVE_HIGH>;

+ 0 - 2
target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4019-rt-ac42u.dts

@@ -106,8 +106,6 @@
 			color = <LED_COLOR_ID_BLUE>;
 			function = LED_FUNCTION_STATUS;
 			gpios = <&tlmm 40 GPIO_ACTIVE_LOW>;
-			function = LED_FUNCTION_STATUS;
-			color = <LED_COLOR_ID_BLUE>;
 		};
 
 		led-1 {