ramips: fix dtc warnings
[openwrt/staging/dedeckeh.git] / target / linux / ramips / dts / XDXRN502J.dts
index cba8f08812a038d63ea5f3820044fc4ddb319177..f2bb2f518fcb9d7bf0739472d8aa5c960f929787 100644 (file)
@@ -9,6 +9,10 @@
        compatible = "unbranded,xdxrn502j", "ralink,rt3052-soc";
        model = "XDX RN502J";
 
+       aliases {
+               led-status = &led_power;
+       };
+
        cfi@1f000000 {
                compatible = "cfi-flash";
                reg = <0x1f000000 0x800000>;
@@ -49,7 +53,7 @@
                        gpios = <&gpio0 7 GPIO_ACTIVE_LOW>;
                };
 
-               power {
+               led_power: power {
                        label = "xdxrn502j:green:power";
                        gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
                };
@@ -57,8 +61,6 @@
 
        gpio-keys-polled {
                compatible = "gpio-keys-polled";
-               #address-cells = <1>;
-               #size-cells = <0>;
                poll-interval = <20>;
 
                reset {