ramips: Change all '/include/' clauses to '#include' so preprocessing can
[openwrt/openwrt.git] / target / linux / ramips / dts / M4-8M.dts
index c8e7ff51ff2966e21181af3958fac2b6c1a977ef..ec7d3849f7fb54725e38fe1d5b7aaf245a9c6cc8 100644 (file)
@@ -1,6 +1,6 @@
 /dts-v1/;
 
-/include/ "rt5350.dtsi"
+#include "rt5350.dtsi"
 
 / {
        compatible = "M4", "ralink,rt5350-soc";
@@ -9,10 +9,11 @@
        palmbus@10000000 {
                spi@b00 {
                        status = "okay";
+
                        m25p80@0 {
                                #address-cells = <1>;
                                #size-cells = <1>;
-                               compatible = "gd25q64";
+                               compatible = "jedec,spi-nor";
                                reg = <0 0>;
                                linux,modalias = "m25p80", "gd25q64";
                                spi-max-frequency = <10000000>;
                };
        };
 
+       ethernet@10100000 {
+               mtd-mac-address = <&factory 0x4>;
+       };
+
        esw@10110000 {
-               ralink,portmap = <0x2f>;
-               ralink,led_polarity = <1>;
+               mediatek,portmap = <0x2f>;
+               mediatek,led_polarity = <1>;
        };
 
        gpio-leds {
                compatible = "gpio-leds";
+
                status {
                        label = "m4:blue:status";
                        gpios = <&gpio0 9 1>;
@@ -70,6 +76,7 @@
                #address-cells = <1>;
                #size-cells = <0>;
                poll-interval = <20>;
+
                reset {
                        label = "reset";
                        gpios = <&gpio0 10 1>;