ramips: Add support for GL-MT300N
[openwrt.git] / target / linux / ramips / dts / M2M.dts
index 4191037..c547b5f 100644 (file)
        palmbus@10000000 {
                spi@b00 {
                        status = "okay";
+
                        m25p80@0 {
                                #address-cells = <1>;
                                #size-cells = <1>;
-                               compatible = "mx25l6405d";
+                               compatible = "jedec,spi-nor";
                                reg = <0 0>;
                                linux,modalias = "m25p80", "mx25l6405d";
                                spi-max-frequency = <10000000>;
 
        gpio-leds {
                compatible = "gpio-leds";
+
                wifi {
                        label = "m2m:blue:wifi";
                        gpios = <&gpio0 7 1>;
                };
+
                wan {
                        label = "m2m:green:wan";
                        gpios = <&gpio0 12 1>;
                #address-cells = <1>;
                #size-cells = <0>;
                poll-interval = <20>;
+
                power {
                        label = "power";
                        gpios = <&gpio0 1 1>;
                        linux,code = <0x116>;
                };
+
                reset {
                        label = "reset";
                        gpios = <&gpio0 10 1>;
@@ -90,7 +95,7 @@
        };
 
        esw@10110000 {
-               ralink,portmap = <0x2f>;
+               mediatek,portmap = <0x2f>;
        };
 
        ehci@101c0000 {