ramips: fix dtc warnings
[openwrt/staging/dedeckeh.git] / target / linux / ramips / dts / WLI-TX4-AG300N.dts
index 3c04d49b6630c7616f5d8cb7e04c38a80c11ff3a..cfdd01752a2261310b153d3f6042a27925cdaecb 100644 (file)
        compatible = "buffalo,wli-tx4-ag300n", "ralink,rt2880-soc";
        model = "Buffalo WLI-TX4-AG300N";
 
+       aliases {
+               led-status = &led_power;
+       };
+
        cfi@1f000000 {
                compatible = "cfi-flash";
                reg = <0x1f000000 0x800000>;
@@ -45,8 +49,6 @@
 
        gpio-keys-polled {
                compatible = "gpio-keys-polled";
-               #address-cells = <1>;
-               #size-cells = <0>;
                poll-interval = <100>;
 
                wps {
@@ -76,7 +78,7 @@
                        gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
                };
 
-               power {
+               led_power: power {
                        label = "wli-tx4-ag300n:blue:power";
                        gpios = <&gpio0 12 GPIO_ACTIVE_LOW>;
                };