aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/dts/mt7621_linksys_ea7xxx.dtsi
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/ramips/dts/mt7621_linksys_ea7xxx.dtsi')
-rw-r--r--target/linux/ramips/dts/mt7621_linksys_ea7xxx.dtsi46
1 files changed, 46 insertions, 0 deletions
diff --git a/target/linux/ramips/dts/mt7621_linksys_ea7xxx.dtsi b/target/linux/ramips/dts/mt7621_linksys_ea7xxx.dtsi
index 46b1c9cdfc..ecff6406d5 100644
--- a/target/linux/ramips/dts/mt7621_linksys_ea7xxx.dtsi
+++ b/target/linux/ramips/dts/mt7621_linksys_ea7xxx.dtsi
@@ -6,6 +6,13 @@
#include <dt-bindings/input/input.h>
/ {
+ aliases {
+ led-boot = &led_power;
+ led-failsafe = &led_power;
+ led-running = &led_power;
+ led-upgrade = &led_power;
+ };
+
chosen {
bootargs = "console=ttyS0,115200";
};
@@ -25,6 +32,45 @@
linux,code = <KEY_RESTART>;
};
};
+
+ leds {
+ compatible = "gpio-leds";
+
+ wan_green {
+ label = "green:wan";
+ gpios = <&gpio 7 GPIO_ACTIVE_LOW>;
+ };
+
+ lan1_green {
+ label = "green:lan1";
+ gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
+ };
+
+ lan2_green {
+ label = "green:lan2";
+ gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
+ };
+
+ lan3_green {
+ label = "green:lan3";
+ gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
+ };
+
+ lan4_green {
+ label = "green:lan4";
+ gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
+ };
+
+ led_power: power {
+ label = "white:power";
+ gpios = <&gpio 10 GPIO_ACTIVE_HIGH>;
+ };
+
+ wps {
+ label = "green:wps";
+ gpios = <&gpio 5 GPIO_ACTIVE_HIGH>;
+ };
+ };
};
&nand {