ramips: fix dtc warnings
[openwrt/openwrt.git] / target / linux / ramips / dts / WCR150GN.dts
index 9a4c4fc7d1205805f2b718c01c446e98c46a3562..5f16c1d4cb8e6857da5918e01cec0518a41119c9 100644 (file)
@@ -9,6 +9,10 @@
        compatible = "sparklan,wcr150gn", "ralink,rt3050-soc";
        model = "Sparklan WCR-150GN";
 
+       aliases {
+               led-status = &led_power;
+       };
+
        cfi@1f000000 {
                compatible = "cfi-flash";
                reg = <0x1f000000 0x800000>;
@@ -49,7 +53,7 @@
                        gpios = <&gpio0 12 GPIO_ACTIVE_LOW>;
                };
 
-               power {
+               led_power: power {
                        label = "wcr-150gn:amber:power";
                        gpios = <&gpio0 8 GPIO_ACTIVE_LOW>;
                };
@@ -57,8 +61,6 @@
 
        gpio-keys-polled {
                compatible = "gpio-keys-polled";
-               #address-cells = <1>;
-               #size-cells = <0>;
                poll-interval = <20>;
 
                wps {