diff options
author | Andreas Eberlein <foodeas@aeberlein.de> | 2020-06-23 22:59:26 +0200 |
---|---|---|
committer | Paul Spooren <mail@aparcar.org> | 2021-02-20 00:29:18 -1000 |
commit | a3e6521c1a7d4c78d825833e224272ec89a38bf2 (patch) | |
tree | 2bfbf9baf5438634193d3801642944bb3ac34697 /target/linux/x86/base-files/etc/board.d/01_leds | |
parent | 09e66112f1ea9f5838ce80533f3850523dc30230 (diff) | |
download | upstream-a3e6521c1a7d4c78d825833e224272ec89a38bf2.tar.gz upstream-a3e6521c1a7d4c78d825833e224272ec89a38bf2.tar.bz2 upstream-a3e6521c1a7d4c78d825833e224272ec89a38bf2.zip |
x86: add led driver for PC Engines APU1
This driver adds the LED support for the PC Engines APU1.
This integrates the Linux kernel driver and includes a patch to support
newer firmware versions. Also the default LED configuration is updated
to use the correct devices.
Signed-off-by: Andreas Eberlein <foodeas@aeberlein.de>
Diffstat (limited to 'target/linux/x86/base-files/etc/board.d/01_leds')
-rwxr-xr-x | target/linux/x86/base-files/etc/board.d/01_leds | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/target/linux/x86/base-files/etc/board.d/01_leds b/target/linux/x86/base-files/etc/board.d/01_leds index 25dc4aeeb1..e9133e8877 100755 --- a/target/linux/x86/base-files/etc/board.d/01_leds +++ b/target/linux/x86/base-files/etc/board.d/01_leds @@ -8,10 +8,10 @@ board_config_update case "$(board_name)" in -pc-engines-apu|pc-engines-apu2|pc-engines-apu3) - ucidef_set_led_netdev "wan" "WAN" "apu2:green:led3" "eth0" - ucidef_set_led_netdev "lan" "LAN" "apu2:green:led2" "br-lan" - ucidef_set_led_default "diag" "DIAG" "apu2:green:power" "1" +pc-engines-apu1|pc-engines-apu2|pc-engines-apu3) + ucidef_set_led_netdev "wan" "WAN" "apu:green:3" "eth0" + ucidef_set_led_netdev "lan" "LAN" "apu:green:2" "br-lan" + ucidef_set_led_default "diag" "DIAG" "apu:green:1" "1" ;; traverse-technologies-geos) ucidef_set_led_netdev "lan" "LAN" "geos:1" "br-lan" "tx rx" |