ramips: fix GB-PC1 and GB-PC2 LEDs
authorArınç ÜNAL <arinc.unal@arinc9.com>
Wed, 14 Sep 2022 18:30:59 +0000 (21:30 +0300)
committerHauke Mehrtens <hauke@hauke-m.de>
Sun, 18 Sep 2022 14:04:41 +0000 (16:04 +0200)
commitd10352917b3b4baf3feae65e95286fa6e64ac15e
tree4469446d50e2b25b29f45932b1acf1d950ab7347
parent0c9833d0e0f4ced500cc4f8bea5e6a3eebcf48f1
ramips: fix GB-PC1 and GB-PC2 LEDs

Add the missing LEDs for GB-PC2. Some of these LEDs don't exist on the
device schematics. Tests on a GB-PC2 by me and Petr proved otherwise.

Remove ethblack-green and ethblue-green LEDs for GB-PC1. They are not wired
to GPIO 3 or 4 and the wiring is currently unknown.

Set ethyellow-orange to display link state and activity of the ethyellow
interface for GB-PC2.

Link: https://github.com/ngiger/GnuBee_Docs/blob/master/GB-PCx/Documents/GB-PC2_V1.1_schematic.pdf
Tested-by: Petr Louda <petr.louda@outlook.cz>
Signed-off-by: Arınç ÜNAL <arinc.unal@arinc9.com>
(cherry picked from commit 2a6ef7f53d7b96e4ee0200196c28ed6b0a7c8465)
target/linux/ramips/dts/mt7621_gnubee_gb-pc1.dts
target/linux/ramips/dts/mt7621_gnubee_gb-pc2.dts
target/linux/ramips/mt7621/base-files/etc/board.d/01_leds