From: Mark Onstid Date: Fri, 7 Apr 2023 15:21:48 +0000 (-0400) Subject: ath79: fix LED pinout for Comfast CF-E314N v2 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=5811db1d0b620b8fd39c85f54554d8ab1ac71833;p=openwrt%2Fstaging%2Fblocktrron.git 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 --- 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 {