ramips: fix Mi Wi-Fi Nano Wireless LED pinmux
[openwrt/openwrt.git] / target / linux / ramips / dts / MIWIFI-NANO.dts
index 8a46e6dc534b61f19ee4c3b589018d34c032d625..6906ef30adf96edc23d420e878cb500197a43975 100644 (file)
@@ -32,7 +32,6 @@
                        label = "miwifi-nano:amber:radio";
                        gpios = <&gpio1 12 1>;
                        default-state = "1";
-
                };
        };
 };
@@ -40,7 +39,7 @@
 &pinctrl {
        state_default: pinctrl0 {
                gpio {
-                       ralink,group = "refclk", "wled", "gpio";
+                       ralink,group = "refclk", "wled_an", "gpio";
                        ralink,function = "gpio";
                };
        };
@@ -57,7 +56,7 @@
                #address-cells = <1>;
                #size-cells = <1>;
                compatible = "jedec,spi-nor";
-               reg = <0 0>;
+               reg = <0>;
                linux,modalias = "m25p80";
                spi-max-frequency = <10000000>;
                m25p,chunked-io = <32>;