projects
/
openwrt
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ramips: fix support Planex MZK-750DHP.
[openwrt/openwrt.git]
/
target
/
linux
/
ramips
/
dts
/
MZK-750DHP.dts
diff --git
a/target/linux/ramips/dts/MZK-750DHP.dts
b/target/linux/ramips/dts/MZK-750DHP.dts
index df0b73be9506741f1456a4f2fa2e84a40d4ff29f..5947a54022ad78202704bdb999ec7c68f2c2f4b8 100644
(file)
--- a/
target/linux/ramips/dts/MZK-750DHP.dts
+++ b/
target/linux/ramips/dts/MZK-750DHP.dts
@@
-11,6
+11,10
@@
status = "okay";
};
status = "okay";
};
+ gpio2: gpio@660 {
+ status = "okay";
+ };
+
spi@b00 {
status = "okay";
spi@b00 {
status = "okay";
@@
-51,7
+55,7
@@
pinctrl {
state_default: pinctrl0 {
gpio {
pinctrl {
state_default: pinctrl0 {
gpio {
- ralink,group = "i2c", "spi refclk", "rgmii1";
+ ralink,group = "i2c", "spi refclk", "rgmii1"
, "nd_sd"
;
ralink,function = "gpio";
};
};
ralink,function = "gpio";
};
};
@@
-74,6
+78,15
@@
pcie@10140000 {
status = "okay";
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 {
};
gpio-leds {
@@
-81,13
+94,18
@@
wps {
label = "mzk-750dhp:green:wps";
wps {
label = "mzk-750dhp:green:wps";
- gpios = <&gpio
1 11
1>;
+ gpios = <&gpio
2 15
1>;
};
power {
label = "mzk-750dhp:green:power";
gpios = <&gpio1 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 {
};
gpio-keys-polled {
@@
-99,12
+117,12
@@
s1 {
label = "reset";
gpios = <&gpio0 1 1>;
s1 {
label = "reset";
gpios = <&gpio0 1 1>;
- linux,code = <0x1
00
>;
+ linux,code = <0x1
98
>;
};
s2 {
label = "wps";
};
s2 {
label = "wps";
- gpios = <&gpio
0 2
1>;
+ gpios = <&gpio
2 19
1>;
linux,code = <0x211>;
};
};
linux,code = <0x211>;
};
};