aboutsummaryrefslogtreecommitdiff
path: root/target/linux/ramips/dts/mt7621_tplink_mr600-v2-eu.dts
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/ramips/dts/mt7621_tplink_mr600-v2-eu.dts')
-rw-r--r--target/linux/ramips/dts/mt7621_tplink_mr600-v2-eu.dts12
1 files changed, 8 insertions, 4 deletions
diff --git a/target/linux/ramips/dts/mt7621_tplink_mr600-v2-eu.dts b/target/linux/ramips/dts/mt7621_tplink_mr600-v2-eu.dts
index 6b73ffff24..f2e18ee8d1 100644
--- a/target/linux/ramips/dts/mt7621_tplink_mr600-v2-eu.dts
+++ b/target/linux/ramips/dts/mt7621_tplink_mr600-v2-eu.dts
@@ -42,16 +42,19 @@
compatible = "gpio-leds";
led_power: power {
- label = "white:power";
+ function = LED_FUNCTION_POWER;
+ color = <LED_COLOR_ID_WHITE>;
gpios = <&gpio 6 GPIO_ACTIVE_LOW>;
};
wlan {
- label = "white:wlan";
+ function = LED_FUNCTION_WLAN;
+ color = <LED_COLOR_ID_WHITE>;
gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
linux,default-trigger = "phy1tpt";
};
wan {
- label = "white:wan";
+ function = LED_FUNCTION_WAN;
+ color = <LED_COLOR_ID_WHITE>;
gpios = <&gpio 8 GPIO_ACTIVE_LOW>;
};
@@ -75,7 +78,8 @@
gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
};
lan {
- label = "white:lan";
+ function = LED_FUNCTION_LAN;
+ color = <LED_COLOR_ID_WHITE>;
gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
};
};