projects
/
oweals
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ramips: rt3352 usbphy fix in dts-file
[oweals/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 a32a1cd8826cd1df13d86af6f5a6e11823b66a4b..df0b73be9506741f1456a4f2fa2e84a40d4ff29f 100644
(file)
--- a/
target/linux/ramips/dts/MZK-750DHP.dts
+++ b/
target/linux/ramips/dts/MZK-750DHP.dts
@@
-17,7
+17,7
@@
m25p80@0 {
#address-cells = <1>;
#size-cells = <1>;
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>;
reg = <0 0>;
linux,modalias = "m25p80", "mx25l6405d";
spi-max-frequency = <10000000>;
@@
-51,7
+51,7
@@
pinctrl {
state_default: pinctrl0 {
gpio {
pinctrl {
state_default: pinctrl0 {
gpio {
- ralink,group = "i2c", "
uartf", "mdio", "wdt", "spi refclk", "pa", "rgmii1", "rgmii2", "wled", "nd_sd
";
+ ralink,group = "i2c", "
spi refclk", "rgmii1
";
ralink,function = "gpio";
};
};
ralink,function = "gpio";
};
};
@@
-60,13
+60,12
@@
ethernet@10100000 {
pinctrl-names = "default";
pinctrl-0 = <&ephy_pins>;
ethernet@10100000 {
pinctrl-names = "default";
pinctrl-0 = <&ephy_pins>;
-
mtd-mac-address = <&factory 0x4>;
mtd-mac-address = <&factory 0x4>;
-
ralink,port-
map = "llllw";
+
mediatek,port
map = "llllw";
};
gsw@10110000 {
};
gsw@10110000 {
-
ralin
k,port4 = "ephy";
+
mediate
k,port4 = "ephy";
};
wmac@10180000 {
};
wmac@10180000 {
@@
-77,15
+76,36
@@
status = "okay";
};
status = "okay";
};
+ gpio-leds {
+ compatible = "gpio-leds";
+
+ wps {
+ label = "mzk-750dhp:green:wps";
+ gpios = <&gpio1 11 1>;
+ };
+
+ power {
+ label = "mzk-750dhp:green:power";
+ gpios = <&gpio1 15 1>;
+ };
+ };
+
gpio-keys-polled {
compatible = "gpio-keys-polled";
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
gpio-keys-polled {
compatible = "gpio-keys-polled";
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
+
s1 {
label = "reset";
gpios = <&gpio0 1 1>;
linux,code = <0x100>;
};
s1 {
label = "reset";
gpios = <&gpio0 1 1>;
linux,code = <0x100>;
};
+
+ s2 {
+ label = "wps";
+ gpios = <&gpio0 2 1>;
+ linux,code = <0x211>;
+ };
};
};
};
};