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>
Mon, 30 Oct 2023 23:44:03 +0000 (00:44 +0100)
commit982f85914479570d11afd98a5b2a362661da0e6c
treefcdadba9c0a977198a6f6ece04082b57f00b5ede
parent64ab02aff86839dad65d97d38ed302c73b22ad40
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>
(cherry picked from commit b25c7548e07ad8775f8511ba8276bf3ecb4409ba)
target/linux/sunxi/base-files/etc/board.d/01_leds