ramips: Change all '/include/' clauses to '#include' so preprocessing can be done...
[openwrt/svn-archive/archive.git] / target / linux / ramips / dts / E1700.dts
index c9d03cdc2333da2f225fff5a474354bda465e463..fafe25d0a7d171c86fc678c9d7d9dc1c9e71f6e9 100644 (file)
@@ -10,7 +10,7 @@
 
 /dts-v1/;
 
-/include/ "mt7620a.dtsi"
+#include "mt7620a.dtsi"
 
 / {
        compatible = "linksys,e1700", "ralink,mt7620a-soc";
@@ -23,7 +23,7 @@
                        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>;
 
        ethernet@10100000 {
                status = "okay";
-
                mtd-mac-address = <&factory 0x28>;
-
                pinctrl-names = "default";
                pinctrl-0 = <&rgmii1_pins &rgmii2_pins &mdio_pins>;
 
                port@5 {
                        status = "okay";
-                       ralink,fixed-link = <1000 1 1 1>;
+                       mediatek,fixed-link = <1000 1 1 1>;
                        phy-mode = "rgmii";
                };
 
                                reg = <0>;
                                phy-mode = "rgmii";
                        };
+
                        phy1: ethernet-phy@1 {
                                reg = <1>;
                                phy-mode = "rgmii";
                        };
+
                        phy2: ethernet-phy@2 {
                                reg = <2>;
                                phy-mode = "rgmii";
                        };
+
                        phy3: ethernet-phy@3 {
                                reg = <3>;
                                phy-mode = "rgmii";
                        };
+
                        phy4: ethernet-phy@4 {
                                reg = <4>;
                                phy-mode = "rgmii";
                        };
+
                        phy1f: ethernet-phy@1f {
                                reg = <0x1f>;
                                phy-mode = "rgmii";
        };
 
        gsw@10110000 {
-               ralink,port4 = "gmac";
+               mediatek,port4 = "gmac";
                mediatek,mt7530 = <1>;
        };
 
                #address-cells = <1>;
                #size-cells = <0>;
                poll-interval = <20>;
+
                reset {
                        label = "reset";
                        gpios = <&gpio0 1 0>;
                        linux,code = <0x198>;
                };
+
                wps {
                        label = "wps";
                        gpios = <&gpio0 2 0>;
 
        gpio-leds {
                compatible = "gpio-leds";
+
                power {
-                       label = "linksys:green:power";
+                       label = "e1700:green:power";
                        gpios = <&gpio0 10 1>;
                };
+
                wan {
-                       label = "linksys:green:wps";
+                       label = "e1700:green:wps";
                        gpios = <&gpio0 12 1>;
                };
        };