ramips: introduce serial0 aliases
[openwrt.git] / target / linux / ramips / dts / DIR-610-A1.dts
index e6c1041..cfab89a 100644 (file)
@@ -9,10 +9,11 @@
        palmbus@10000000 {
                spi@b00 {
                        status = "okay";
+
                        m25p80@0 {
                                #address-cells = <1>;
                                #size-cells = <1>;
-                               compatible = "f25l32pa", "m25p80";
+                               compatible = "jedec,spi-nor";
                                reg = <0 0>;
                                linux,modalias = "m25p80";
                                spi-max-frequency = <10000000>;
        };
 
        ethernet@10100000 {
-               mtd-mac-address = <&factory 0x4004>;
+               mtd-mac-address = <&devdata 0x4004>;
        };
 
        esw@10110000 {
                status = "okay";
-               ralink,portmap = <0x2f>;
-               ralink,led_polarity = <0x17>;
+               mediatek,portmap = <0x2f>;
+               mediatek,led_polarity = <0x17>;
        };
 
        wmac@10180000 {
                status = "okay";
                ralink,led-polarity = <1>;
-               ralink,mtd-eeprom = <&devdata 16384>;
+               ralink,mtd-eeprom = <&devdata 0x4000>;
        };
 
        gpio-leds {
                compatible = "gpio-leds";
+
                status {
-                       label = "d-link:green:status";
+                       label = "dir-610-a1:green:status";
                        gpios = <&gpio0 9 1>;
                };
+
                wps {
-                       label = "d-link:green:wps";
+                       label = "dir-610-a1:green:wps";
                        gpios = <&gpio0 13 1>;
                };
        };
 
        gpio-keys-polled {
-               gpio-keys-polled {
                compatible = "gpio-keys-polled";
                #address-cells = <1>;
                #size-cells = <0>;
                poll-interval = <20>;
-                       reset {
-                               label = "reset";
-                               gpios = <&gpio0 10 1>;
-                               linux,code = <0x198>;
-                       };
-                       wps {
-                               label = "wps";
-                               gpios = <&gpio0 0 1>;
-                               linux,code = <0x211>;
-                       };
+
+               reset {
+                       label = "reset";
+                       gpios = <&gpio0 10 1>;
+                       linux,code = <0x198>;
+               };
+
+               wps {
+                       label = "wps";
+                       gpios = <&gpio0 0 1>;
+                       linux,code = <0x211>;
                };
        };
 };