aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ipq40xx/files/arch
diff options
context:
space:
mode:
authorSungbo Eo <mans0n@gorani.run>2022-01-17 01:55:37 +0900
committerSungbo Eo <mans0n@gorani.run>2022-01-17 20:38:43 +0900
commit266b5c83c32c13dbd05f0d6f251815cbe6f55621 (patch)
treeb03e13651a97c2c3b4e65112b729fabb663e7043 /target/linux/ipq40xx/files/arch
parente257405c1bfa566a876104c3d4270643a27c336f (diff)
downloadupstream-266b5c83c32c13dbd05f0d6f251815cbe6f55621.tar.gz
upstream-266b5c83c32c13dbd05f0d6f251815cbe6f55621.tar.bz2
upstream-266b5c83c32c13dbd05f0d6f251815cbe6f55621.zip
ipq40xx: rename RT-AC42U WLAN/LAN LEDs
Assign LED numbers properly by adding function-enumerator property in DTS. While at it, remove default trigger of LAN LEDs as it will be handled in 01_leds anyway. Fixes: 51b9aef553a8 ("ipq40xx: add support for ASUS RT-ACRH17/RT-AC42U") Signed-off-by: Sungbo Eo <mans0n@gorani.run>
Diffstat (limited to 'target/linux/ipq40xx/files/arch')
-rw-r--r--target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4019-rt-ac42u.dts10
1 files changed, 6 insertions, 4 deletions
diff --git a/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4019-rt-ac42u.dts b/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4019-rt-ac42u.dts
index 31e2e40ac0..3d58eac09e 100644
--- a/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4019-rt-ac42u.dts
+++ b/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4019-rt-ac42u.dts
@@ -138,6 +138,7 @@
led-3 {
color = <LED_COLOR_ID_BLUE>;
function = LED_FUNCTION_WLAN;
+ function-enumerator = <0>;
gpios = <&tlmm 52 GPIO_ACTIVE_LOW>;
linux,default-trigger = "phy1tpt";
};
@@ -145,6 +146,7 @@
led-4 {
color = <LED_COLOR_ID_BLUE>;
function = LED_FUNCTION_WLAN;
+ function-enumerator = <1>;
gpios = <&tlmm 54 GPIO_ACTIVE_LOW>;
linux,default-trigger = "phy0tpt";
};
@@ -152,29 +154,29 @@
led-5 {
color = <LED_COLOR_ID_BLUE>;
function = LED_FUNCTION_LAN;
+ function-enumerator = <1>;
gpios = <&tlmm 45 GPIO_ACTIVE_LOW>;
- linux,default-trigger = "switch0";
};
led-6 {
color = <LED_COLOR_ID_BLUE>;
function = LED_FUNCTION_LAN;
+ function-enumerator = <2>;
gpios = <&tlmm 43 GPIO_ACTIVE_LOW>;
- linux,default-trigger = "switch0";
};
led-7 {
color = <LED_COLOR_ID_BLUE>;
function = LED_FUNCTION_LAN;
+ function-enumerator = <3>;
gpios = <&tlmm 42 GPIO_ACTIVE_LOW>;
- linux,default-trigger = "switch0";
};
led-8 {
color = <LED_COLOR_ID_BLUE>;
function = LED_FUNCTION_LAN;
+ function-enumerator = <4>;
gpios = <&tlmm 49 GPIO_ACTIVE_LOW>;
- linux,default-trigger = "switch0";
};
};
};