ramips: fix dtc warnings
[openwrt/staging/wigyori.git] / target / linux / ramips / dts / AC1200RM.dts
index 9305cb00e061add14c8179009636746f48cb0f6c..bc86a4453f8d5c56c21501c0df5b29f62e38c9b4 100644 (file)
        compatible = "alfa-network,ac1200rm", "ralink,mt7620a-soc";
        model = "ALFA Network AC1200RM";
 
+       aliases {
+               led-status = &led_wps;
+       };
+
        chosen {
                bootargs = "console=ttyS0,115200";
        };
 
        gpio-keys-polled {
                compatible = "gpio-keys-polled";
-               #address-cells = <1>;
-               #size-cells = <0>;
                poll-interval = <20>;
 
                reset {
@@ -66,7 +68,7 @@
                        gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
                };
 
-               wps {
+               led_wps: wps {
                        label = "ac1200rm:green:wps";
                        gpios = <&gpio1 14 GPIO_ACTIVE_HIGH>;
                };
 
 &pcie {
        status = "okay";
+};
 
-       pcie-bridge {
-               mt76@0,0 {
-                       reg = <0x0000 0 0 0 0>;
-                       device_type = "pci";
-                       mediatek,mtd-eeprom = <&factory 0x8000>;
-                       ieee80211-freq-limit = <5000000 6000000>;
-
-                       led {
-                               led-sources = <2>;
-                               led-active-low;
-                       };
+&pcie0 {
+       mt76@0,0 {
+               reg = <0x0000 0 0 0 0>;
+               mediatek,mtd-eeprom = <&factory 0x8000>;
+               ieee80211-freq-limit = <5000000 6000000>;
+
+               led {
+                       led-sources = <2>;
+                       led-active-low;
                };
        };
 };
                };
 
                partition@30000 {
+                       label = "u-boot-env";
+                       reg = <0x30000 0x1000>;
+               };
+
+               partition@31000 {
                        label = "config";
-                       reg = <0x30000 0x10000>;
+                       reg = <0x31000 0xf000>;
                        read-only;
                };