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 WAN LED for D-Link DIR-810L/TRENDnet TEW-810DR
[openwrt/openwrt.git]
/
target
/
linux
/
ramips
/
dts
/
mt7620a_dlink_dir-810l.dts
diff --git
a/target/linux/ramips/dts/mt7620a_dlink_dir-810l.dts
b/target/linux/ramips/dts/mt7620a_dlink_dir-810l.dts
index 63952d3e6492f39fd40d956624a06a7f2e621986..9dd9825433bfd6f7b3886a52af1fb70754ca9a47 100644
(file)
--- a/
target/linux/ramips/dts/mt7620a_dlink_dir-810l.dts
+++ b/
target/linux/ramips/dts/mt7620a_dlink_dir-810l.dts
@@
-22,11
+22,16
@@
gpios = <&gpio0 9 GPIO_ACTIVE_HIGH>;
};
gpios = <&gpio0 9 GPIO_ACTIVE_HIGH>;
};
- wan {
+ wan
_orange
{
label = "dir-810l:orange:wan";
gpios = <&gpio0 12 GPIO_ACTIVE_HIGH>;
};
label = "dir-810l:orange:wan";
gpios = <&gpio0 12 GPIO_ACTIVE_HIGH>;
};
+ wan_green {
+ label = "dir-810l:green:wan";
+ gpios = <&gpio2 0 GPIO_ACTIVE_LOW>;
+ };
+
power_orange {
label = "dir-810l:orange:power";
gpios = <&gpio0 13 GPIO_ACTIVE_HIGH>;
power_orange {
label = "dir-810l:orange:power";
gpios = <&gpio0 13 GPIO_ACTIVE_HIGH>;
@@
-36,14
+41,7
@@
&state_default {
gpio {
&state_default {
gpio {
- groups = "i2c", "uartf";
+ groups = "i2c", "uartf"
, "ephy"
;
function = "gpio";
};
};
function = "gpio";
};
};
-
-&gsw {
- pinctrl-names = "default";
- pinctrl-0 = <&ephy_pins>;
-
- mediatek,port4 = "ephy";
-};