diff options
| author | Diederik de Haas <[email protected]> | 2025-05-13 16:57:27 +0000 |
|---|---|---|
| committer | Heiko Stuebner <[email protected]> | 2025-05-15 12:57:44 +0000 |
| commit | 1631cbdb808963354ef6b6454bc617cd15f90718 (patch) | |
| tree | ba6f611101ad213bfc5c3796ddf90328707e47be /scripts/gcc-plugins/sancov_plugin.c | |
| parent | arm64: dts: rockchip: add px30-pp1516 base dtsi and board variants (diff) | |
| download | kernel-1631cbdb808963354ef6b6454bc617cd15f90718.tar.gz kernel-1631cbdb808963354ef6b6454bc617cd15f90718.zip | |
arm64: dts: rockchip: Improve LED config for NanoPi R5S
The NanoPi R5S has 4 GPIO LEDs, a RED one for SYStem power and 3 green
LEDs meant to indicate that a cable is connected to either of the
2.5GbE LAN ports or the 1GbE WAN port.
In the NanoPi R5S schematic (2204; page 19) as well as on the PCB and on
the case, SYS is used and not POWER. So replace 'power' with 'sys'.
But keep the 'power_led' label/phandle even though the kernel doesn't
use it, but it may be used outside of it.
The SYStem LED already had "heartbeat" as its default-trigger.
Set the default-trigger to "netdev" for the NICs so they will show when
LAN1/LAN2/WAN is connected and set their default-state to "off".
Also assign labels as close as possible to the labels on the case, while
still being descriptive enough in their own right.
Signed-off-by: Diederik de Haas <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Heiko Stuebner <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/sancov_plugin.c')
0 files changed, 0 insertions, 0 deletions
