ramips: Change all '/include/' clauses to '#include' so preprocessing can
[openwrt/staging/wigyori.git] / target / linux / ramips / dts / DIR-610-A1.dts
index 67c92b469d437992f51d3188bf70ad19c5b6d3c8..a0f41d3b82b1d2e2ded3df67f03579243d110adf 100644 (file)
@@ -1,6 +1,6 @@
 /dts-v1/;
 
-/include/ "rt5350.dtsi"
+#include "rt5350.dtsi"
 
 / {
        compatible = "DIR-610-A1", "ralink,rt5350-soc";
@@ -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 = <&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>;
                };
        };
 };