ramips: fix dtc warnings
[openwrt/staging/dedeckeh.git] / target / linux / ramips / dts / WN3000RPV3.dts
index 933cf1a25af3b27cb16e7d2eddaa96fe76341048..7ba5affa9d4d5b194d39fcc0ae333cc91cca56e9 100644 (file)
@@ -8,9 +8,13 @@
 #include <dt-bindings/gpio/gpio.h>
 
 / {
-       compatible = "ralink,mt7620a-soc";
+       compatible = "netgear,wn3000rp-v3", "ralink,mt7620a-soc";
        model = "Netgear WN3000RPv3";
 
+       aliases {
+               led-status = &led_power_green;
+       };
+
        chosen {
                bootargs = "console=ttyS0,57600";
        };
@@ -18,7 +22,7 @@
        gpio-leds {
                compatible = "gpio-leds";
 
-               power_g {
+               led_power_green: power_g {
                        label = "wn3000rpv3:green:power";
                        gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
                        default-state = "on";
@@ -67,8 +71,6 @@
 
        gpio-keys-polled {
                compatible = "gpio-keys-polled";
-               #address-cells = <1>;
-               #size-cells = <0>;
                poll-interval = <20>;
 
                reset {