ramips: introduce serial0 aliases
[openwrt.git] / target / linux / ramips / dts / AWAPN2403.dts
index 068c800..9c10155 100644 (file)
@@ -4,15 +4,16 @@
 
 / {
        compatible = "AWAPN2403", "ralink,rt3052-soc";
-       model =  "AsiaRF AWAPN2403";
+       model = "AsiaRF AWAPN2403";
 
        palmbus@10000000 {
                spi@b00 {
                        status = "okay";
+
                        m25p80@0 {
                                #address-cells = <1>;
                                #size-cells = <1>;
-                               compatible = "mx25l3205d";
+                               compatible = "jedec,spi-nor";
                                reg = <0 0>;
                                linux,modalias = "m25p80", "mx25l3205d";
                                spi-max-frequency = <10000000>;
        };
 
        esw@10110000 {
-               ralink,portmap = <0x3e>;
+               mediatek,portmap = <0x3e>;
+       };
+
+       wmac@10180000 {
+               ralink,mtd-eeprom = <&factory 0>;
        };
 
        gpio-leds {
                compatible = "gpio-leds";
+
                link {
-                       label = "asiarf:green:wps";
+                       label = "awapn2403:green:wps";
                        gpios = <&gpio0 14 1>;
                };
        };
@@ -69,6 +75,7 @@
                #address-cells = <1>;
                #size-cells = <0>;
                poll-interval = <20>;
+
                reset {
                        label = "reset";
                        gpios = <&gpio0 0 1>;