ramips: fix power LED DTB for wt3020
[openwrt/staging/wigyori.git] / target / linux / ramips / dts / K2G.dts
index 09689f7bea35032a28c3ff5f77dcab42c7d35cf8..891b089980e24bceb064282b8837a16434599d2f 100644 (file)
@@ -35,8 +35,6 @@
 
        gpio-keys-polled {
                compatible = "gpio-keys-polled";
-               #address-cells = <1>;
-               #size-cells = <0>;
                poll-interval = <20>;
 
                reset {
@@ -51,8 +49,6 @@
        status = "okay";
 
        m25p80@0 {
-               #address-cells = <1>;
-               #size-cells = <1>;
                compatible = "jedec,spi-nor";
                reg = <0>;
                spi-max-frequency = <24000000>;
                        #address-cells = <1>;
                        #size-cells = <1>;
 
-                       u-boot@0 {
+                       partition@0 {
                                reg = <0x0 0x30000>;
+                               label = "u-boot";
                                read-only;
                        };
 
-                       u-boot-env@30000 {
+                       partition@30000 {
                                reg = <0x30000 0x10000>;
+                               label = "u-boot-env";
                                read-only;
                        };
 
-                       factory: factory@40000 {
+                       factory: partition@40000 {
                                reg = <0x40000 0x10000>;
+                               label = "factory";
                                read-only;
                        };
 
-                       permanent_config@50000 {
+                       partition@50000 {
                                reg = <0x50000 0x50000>;
+                               label = "permanent_config";
                                read-only;
                        };
 
-                       firmware@a0000 {
+                       partition@a0000 {
                                reg = <0xa0000 0x760000>;
+                               label = "firmware";
                        };
                };
        };
 
 &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>;
-               };
+&pcie0 {
+       mt76@0,0 {
+               reg = <0x0000 0 0 0 0>;
+               mediatek,mtd-eeprom = <&factory 0x8000>;
+               ieee80211-freq-limit = <5000000 6000000>;
        };
 };