ramips: fix Asus WL-330N{, 3G} boards names
[openwrt.git] / target / linux / ramips / dts / WCR150GN.dts
index 601883d..66bf901 100644 (file)
@@ -3,7 +3,7 @@
 /include/ "rt3050.dtsi"
 
 / {
-       compatible = "WCR150GN", "ralink,rt3052-soc";
+       compatible = "WCR150GN", "ralink,rt3050-soc";
        model = "Sparklan WCR-150GN";
 
        pinctrl {
@@ -18,7 +18,6 @@
        cfi@1f000000 {
                compatible = "cfi-flash";
                reg = <0x1f000000 0x800000>;
-
                bank-width = <2>;
                device-width = <2>;
                #address-cells = <1>;
 
        gpio-leds {
                compatible = "gpio-leds";
+
                user {
                        label = "wcr150gn:amber:user";
                        gpios = <&gpio0 12 1>;
                };
+
                power {
                        label = "wcr150gn:amber:power";
                        gpios = <&gpio0 8 1>;
                #address-cells = <1>;
                #size-cells = <0>;
                poll-interval = <20>;
+
                wps {
                        label = "wps";
                        gpios = <&gpio0 10 1>;
                        linux,code = <0x211>;
                };
+
                reset {
                        label = "reset";
                        gpios = <&gpio0 0 1>;
                };
        };
 
+       ethernet@10100000 {
+               mtd-mac-address = <&factory 0x4>;
+       };
+
        esw@10110000 {
                ralink,portmap = <0x2f>;
        };
 
+       wmac@10180000 {
+               ralink,mtd-eeprom = <&factory 0>;
+       };
+
        otg@101c0000 {
                status = "okay";
        };