status = "okay";
};
+ gpio2: gpio@660 {
+ status = "okay";
+ };
+
spi@b00 {
status = "okay";
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>;
};
};
--- /dev/null
+#
+# Copyright (C) 2016 OpenWrt.org
+#
+# This is free software, licensed under the GNU General Public License v2.
+# See /LICENSE for more information.
+#
+
+define Profile/MZK-750DHP
+ NAME:=Planex MZK-750DHP
+ PACKAGES:= kmod-mt76 kmod-mt7610e
+endef
+
+define Profile/MZK-750DHP/Description
+ Package set optimized for the Planex MZK-750DHP.
+endef
+$(eval $(call Profile,MZK-750DHP))