ramips: Change all '/include/' clauses to '#include' so preprocessing can
[openwrt/staging/wigyori.git] / target / linux / ramips / dts / MZK-750DHP.dts
index 73c864a7990e7a6358ef9255ee81006a1ccb525a..40439ba7a0bcafce9179ee78e6e984b50a434c2e 100644 (file)
@@ -1,6 +1,6 @@
 /dts-v1/;
 
-/include/ "mt7620a.dtsi"
+#include "mt7620a.dtsi"
 
 / {
        compatible = "ralink,mt7620a-soc";
                        status = "okay";
                };
 
+               gpio2: gpio@660 {
+                       status = "okay";
+               };
+
                spi@b00 {
                        status = "okay";
 
                        m25p80@0 {
                                #address-cells = <1>;
                                #size-cells = <1>;
-                               compatible = "en25q64";
+                               compatible = "jedec,spi-nor";
                                reg = <0 0>;
                                linux,modalias = "m25p80", "mx25l6405d";
                                spi-max-frequency = <10000000>;
@@ -51,7 +55,7 @@
        pinctrl {
                state_default: pinctrl0 {
                        gpio {
-                               ralink,group = "i2c", "spi refclk", "rgmii1";
+                               ralink,group = "i2c", "spi refclk", "rgmii1", "nd_sd";
                                ralink,function = "gpio";
                        };
                };
 
        pcie@10140000 {
                status = "okay";
+
+               pcie-bridge {
+                       mt76@0,0 {
+                               reg = <0x0000 0 0 0 0>;
+                               device_type = "pci";
+                               mediatek,mtd-eeprom = <&factory 0x8000>;
+                               mediatek,2ghz = <0>;
+                       };
+               };
        };
        
        gpio-leds {
 
                wps {
                        label = "mzk-750dhp:green:wps";
-                       gpios = <&gpio1 11 1>;
+                       gpios = <&gpio2 15 1>;
                };
 
                power {
                        label = "mzk-750dhp:green:power";
                        gpios = <&gpio1 15 1>;
                };
+
+               wlan5g {
+                       label = "mzk-750dhp:green:wlan5g";
+                       gpios = <&gpio1 14 1>;
+               };
        };
 
        gpio-keys-polled {
                s1 {
                        label = "reset";
                        gpios = <&gpio0 1 1>;
-                       linux,code = <0x100>;
+                       linux,code = <0x198>;
                };
 
                s2 {
                        label = "wps";
-                       gpios = <&gpio0 2 1>;
+                       gpios = <&gpio2 19 1>;
                        linux,code = <0x211>;
                };
        };