ramips: mt7621: fix 5GHz WiFi LED on ZBT WG3526
[openwrt/openwrt.git] / target / linux / ramips / dts / NCS601W.dts
index 3c5097f5590fb45578b4b6af89f8545a74c84a9c..ff6ccd2247113a97cf22ea3c725ab0a67a0d0f3b 100644 (file)
@@ -3,7 +3,7 @@
 #include "rt5350.dtsi"
 
 / {
-       compatible = "NCS601W", "ralink,rt5350-soc";
+       compatible = "wansview,ncs601w", "ralink,rt5350-soc";
        model = "Wansview NCS601W";
 };
 
        status = "okay";
 
        m25p80@0 {
-               #address-cells = <1>;
-               #size-cells = <1>;
                compatible = "jedec,spi-nor";
                reg = <0>;
                spi-max-frequency = <10000000>;
 
-               partition@0 {
-                       label = "u-boot";
-                       reg = <0x0 0x30000>;
-                       read-only;
-               };
+               partitions {
+                       compatible = "fixed-partitions";
+                       #address-cells = <1>;
+                       #size-cells = <1>;
 
-               partition@30000 {
-                       label = "u-boot-env";
-                       reg = <0x30000 0x10000>;
-                       read-only;
-               };
+                       partition@0 {
+                               label = "u-boot";
+                               reg = <0x0 0x30000>;
+                               read-only;
+                       };
 
-               factory: partition@40000 {
-                       label = "factory";
-                       reg = <0x40000 0x10000>;
-                       read-only;
-               };
+                       partition@30000 {
+                               label = "u-boot-env";
+                               reg = <0x30000 0x10000>;
+                               read-only;
+                       };
+
+                       factory: partition@40000 {
+                               label = "factory";
+                               reg = <0x40000 0x10000>;
+                               read-only;
+                       };
 
-               partition@50000 {
-                       label = "firmware";
-                       reg = <0x50000 0x7b0000>;
+                       partition@50000 {
+                               compatible = "denx,uimage";
+                               label = "firmware";
+                               reg = <0x50000 0x7b0000>;
+                       };
                };
        };
 };
@@ -45,7 +50,7 @@
 &pinctrl {
        state_default: pinctrl0 {
                gpio {
-                       ralink,group = "i2c", "jtag", "rgmii", "mdio", "uartf";
+                       ralink,group = "i2c", "jtag", "uartf";
                        ralink,function = "gpio";
                };
        };