sunxi: fixes led for nanopi boards
authorChukun Pan <amadeus@jmu.edu.cn>
Sun, 15 Oct 2023 15:18:27 +0000 (23:18 +0800)
committerHauke Mehrtens <hauke@hauke-m.de>
Sat, 28 Oct 2023 16:31:43 +0000 (18:31 +0200)
commitb25c7548e07ad8775f8511ba8276bf3ecb4409ba
treea158dec1cbd8f04f1e714fc3b1aa6e562fd393ef
parent5eb8a21ba5fe5e87c03f0361d1db989189be9c6d
sunxi: fixes led for nanopi boards

Kernel 5.15 already supports the NanoPi R1 and NanoPi R1S H5,
and they use new LED bindings that do not match the existing
settings in 01_leds. Update led settings to fixes that.

List the led node on NanoPi R1S H5:
root@OpenWrt:~# ls /sys/class/leds/
green:lan   green:wan   red:status

Signed-off-by: Chukun Pan <amadeus@jmu.edu.cn>
target/linux/sunxi/base-files/etc/board.d/01_leds