[openwrt/openwrt] ath79: fix LED pinout for Comfast CF-E314N v2

LEDE Commits lede-commits at lists.infradead.org
Mon Apr 17 10:03:09 PDT 2023


ansuel pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/5811db1d0b620b8fd39c85f54554d8ab1ac71833

commit 5811db1d0b620b8fd39c85f54554d8ab1ac71833
Author: Mark Onstid <turretkeeper at mail.com>
AuthorDate: Fri Apr 7 11:21:48 2023 -0400

    ath79: fix LED pinout for Comfast CF-E314N v2
    
    In addition to standardizing LED names to match the rest of the systems, this
    commit fixes a possibly erroneous pinout for LEDs in Comfast CF-E314N v2.
    
    In particular, rssimediumhigh and rssihigh are moved from pins 13 and 14 to
    14 and 16 respectively. In addition to working on a test device, this pinout
    better matches the one set out in the prototype support patch for the device
    in Github PR #1873.
    
    Signed-off-by: Mark Onstid <turretkeeper at mail.com>
---
 target/linux/ath79/dts/qca9531_comfast_cf-e314n-v2.dts | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/target/linux/ath79/dts/qca9531_comfast_cf-e314n-v2.dts b/target/linux/ath79/dts/qca9531_comfast_cf-e314n-v2.dts
index c182390b21..9288126788 100644
--- a/target/linux/ath79/dts/qca9531_comfast_cf-e314n-v2.dts
+++ b/target/linux/ath79/dts/qca9531_comfast_cf-e314n-v2.dts
@@ -33,23 +33,23 @@
 		};
 
 		rssilow {
-			label = "red:signal1";
+			label = "red:rssilow";
 			gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
 		};
 
 		rssimediumlow {
-			label = "red:signal2";
+			label = "red:rssimediumlow";
 			gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
 		};
 
 		rssimediumhigh {
-			label = "green:signal3";
-			gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
+			label = "green:rssimediumhigh";
+			gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
 		};
 
 		led_rssihigh: rssihigh {
-			label = "green:signal4";
-			gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
+			label = "green:rssihigh";
+			gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
 		};
 
 		wlan {




More information about the lede-commits mailing list