aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/dts
diff options
context:
space:
mode:
authorShiji Yang <yangshiji66@qq.com>2021-04-04 11:55:41 +0800
committerAdrian Schmutzler <freifunk@adrianschmutzler.de>2021-04-10 20:48:26 +0200
commit882a6116d3d6394dd109350287067accebbf6114 (patch)
tree71144115b37f24c837741504eeb0093206477de3 /target/linux/ramips/dts
parentb0a34e886da1ccfa356133381cd3ab7a79f4c7b3 (diff)
downloadupstream-882a6116d3d6394dd109350287067accebbf6114.tar.gz
upstream-882a6116d3d6394dd109350287067accebbf6114.tar.bz2
upstream-882a6116d3d6394dd109350287067accebbf6114.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>
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 3b84b07b8b..71fd1d12c0 100644
--- a/target/linux/ramips/dts/mt7620a_youku_yk1.dts
+++ b/target/linux/ramips/dts/mt7620a_youku_yk1.dts
@@ -17,14 +17,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 {
@@ -55,10 +51,6 @@
status = "okay";
};
-&gpio2 {
- status = "okay";
-};
-
&gpio3 {
status = "okay";
};
@@ -106,7 +98,7 @@
&state_default {
default {
- groups = "i2c", "rgmii1", "ephy", "wled";
+ groups = "i2c", "rgmii1", "wled";
function = "gpio";
};
};