ath79: fix LED pinout for Comfast CF-E314N v2
authorMark Onstid <turretkeeper@mail.com>
Fri, 7 Apr 2023 15:21:48 +0000 (11:21 -0400)
committerChristian Marangi <ansuelsmth@gmail.com>
Mon, 17 Apr 2023 17:02:25 +0000 (19:02 +0200)
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@mail.com>
target/linux/ath79/dts/qca9531_comfast_cf-e314n-v2.dts

index c182390b21730cdc4a66857cca589467b7f4c917..9288126788536834fdc6f0a4f13f05f27d7e5af9 100644 (file)
                };
 
                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 {