aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/dts
diff options
context:
space:
mode:
authorBenjamin Valentin <benjamin.valentin@volatiles.de>2018-02-20 18:39:16 +0100
committerMathias Kresin <dev@kresin.me>2018-02-23 07:54:29 +0100
commit2d8eeca842d5c024961b93af221123a0aa8b3e4a (patch)
treea4038ee2fabd43a60cd46fd5aaf335192b8fe84e /target/linux/ramips/dts
parenta464d2b96063fac47ee43bc57818df99df3ff08c (diff)
downloadupstream-2d8eeca842d5c024961b93af221123a0aa8b3e4a.tar.gz
upstream-2d8eeca842d5c024961b93af221123a0aa8b3e4a.tar.bz2
upstream-2d8eeca842d5c024961b93af221123a0aa8b3e4a.zip
ramips: enable power LED and second uart on GL-MT300N-V2
The device has a second uart accessible via pin headers, so enable it. There is also a green power led which was not enabled previously. Enable it too and use it as status LED. Signed-off-by: Benjamin Valentin <benjamin.valentin@volatiles.de>
Diffstat (limited to 'target/linux/ramips/dts')
-rw-r--r--target/linux/ramips/dts/GL-MT300N-V2.dts12
1 files changed, 11 insertions, 1 deletions
diff --git a/target/linux/ramips/dts/GL-MT300N-V2.dts b/target/linux/ramips/dts/GL-MT300N-V2.dts
index 8db3d4bc91..ada618f17b 100644
--- a/target/linux/ramips/dts/GL-MT300N-V2.dts
+++ b/target/linux/ramips/dts/GL-MT300N-V2.dts
@@ -21,6 +21,12 @@
gpio-leds {
compatible = "gpio-leds";
+ power {
+ label = "gl-mt300n-v2:green:power";
+ default-state = "on";
+ gpios = <&gpio1 10 GPIO_ACTIVE_LOW>;
+ };
+
wan {
label = "gl-mt300n-v2:blue:wan";
gpios = <&gpio1 11 GPIO_ACTIVE_LOW>;
@@ -73,7 +79,7 @@
&pinctrl {
state_default: pinctrl0 {
gpio {
- ralink,group = "wdt", "gpio", "wled_an", "p0led_an", "i2s";
+ ralink,group = "wdt", "gpio", "wled_an", "p0led_an", "p1led_an", "i2s";
ralink,function = "gpio";
};
};
@@ -124,6 +130,10 @@
};
};
+&uart1 {
+ status = "okay";
+};
+
&ehci {
status = "okay";
};