ipq40xx: convert to new LED color/function format where possible
[openwrt/staging/jow.git] / target / linux / ipq40xx / files / arch / arm / boot / dts / qcom-ipq4019-fritzrepeater-3000.dts
index 8d88bc1521109f5469a0a7ce893af4b92b4f39ed..255598438455479699b6b46f3d315d84a1c7fdca 100644 (file)
@@ -3,6 +3,7 @@
 #include "qcom-ipq4019.dtsi"
 #include <dt-bindings/gpio/gpio.h>
 #include <dt-bindings/input/input.h>
+#include <dt-bindings/leds/common.h>
 #include <dt-bindings/soc/qcom,tcsr.h>
 
 / {
@@ -81,7 +82,8 @@
                };
 
                power_led: power {
-                       label = "green:power";
+                       function = LED_FUNCTION_POWER;
+                       color = <LED_COLOR_ID_GREEN>;
                        gpios = <&tlmm 33 GPIO_ACTIVE_LOW>;
                };
        };
        status = "okay";
 
        nand@0 {
+               /delete-property/ nand-ecc-strength;
+               /delete-property/ nand-ecc-step-size;
+
                partitions {
                        compatible = "fixed-partitions";
                        #address-cells = <1>;