aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/dts
diff options
context:
space:
mode:
authorShiji Yang <yangshiji66@qq.com>2021-04-04 11:55:41 +0800
committerPetr Štetiar <ynezz@true.cz>2022-04-19 14:48:21 +0200
commit55f8eb84d2e4a52186a9c6fa4ec67cf60fcb2977 (patch)
tree43ed721c0b047b7a1484250f679fa6dff33a2c58 /target/linux/ramips/dts
parent92489b4f828e21cffae977ea77daefec73753e5c (diff)
downloadupstream-55f8eb84d2e4a52186a9c6fa4ec67cf60fcb2977.tar.gz
upstream-55f8eb84d2e4a52186a9c6fa4ec67cf60fcb2977.tar.bz2
upstream-55f8eb84d2e4a52186a9c6fa4ec67cf60fcb2977.zip
ramips: improve pinctrl for Youku YK-L1
1. rename led pin "air" to a more common name "wlan" and use "phy0tpt" to trigger it. 2. led "wan" can be triggered by ethernet pinctrl by default so just drop it. Signed-off-by: Shiji Yang <yangshiji66@qq.com> (cherry picked from commit 882a6116d3d6394dd109350287067accebbf6114)
Diffstat (limited to 'target/linux/ramips/dts')
-rw-r--r--target/linux/ramips/dts/mt7620a_youku_yk1.dts16
1 files changed, 4 insertions, 12 deletions
diff --git a/target/linux/ramips/dts/mt7620a_youku_yk1.dts b/target/linux/ramips/dts/mt7620a_youku_yk1.dts
index 721b51db75..2e59e5bf6e 100644
--- a/target/linux/ramips/dts/mt7620a_youku_yk1.dts
+++ b/target/linux/ramips/dts/mt7620a_youku_yk1.dts
@@ -18,14 +18,10 @@
leds {
compatible = "gpio-leds";
- wan {
- label = "blue:wan";
- gpios = <&gpio2 4 GPIO_ACTIVE_LOW>;
- };
-
- air {
- label = "blue:air";
+ wlan {
+ label = "blue:wlan";
gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
+ linux,default-trigger = "phy0tpt";
};
usb {
@@ -56,10 +52,6 @@
status = "okay";
};
-&gpio2 {
- status = "okay";
-};
-
&gpio3 {
status = "okay";
};
@@ -107,7 +99,7 @@
&state_default {
default {
- groups = "i2c", "rgmii1", "ephy", "wled";
+ groups = "i2c", "rgmii1", "wled";
function = "gpio";
};
};