x86: Add APU6 board support for startup detection
authorPhilip Prindeville <philipp@redfish-solutions.com>
Fri, 30 Dec 2022 18:17:10 +0000 (11:17 -0700)
committerPetr Štetiar <ynezz@true.cz>
Wed, 11 Jan 2023 14:16:53 +0000 (15:16 +0100)
The APU6 is similar to the APU4 except for eth0 having
an SFP cage instead of RJ45.

Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
target/linux/x86/base-files/etc/board.d/01_leds
target/linux/x86/base-files/etc/board.d/02_network

index 74ad2d59fe135e57f0c5455e9ab67c62df7e03d9..e639d10808185c20ffadb387631bcef57f704122 100644 (file)
@@ -11,7 +11,7 @@ cisco-mx100-hw)
        ucidef_set_led_usbport "usb" "USB" "mx100:green:usb" "1-1-port2"
        ucidef_set_led_default "diag" "DIAG" "mx100:green:tricolor" "1"
        ;;
-pc-engines-apu1|pc-engines-apu2|pc-engines-apu3)
+pc-engines-apu1|pc-engines-apu2|pc-engines-apu3|pc-engines-apu4|pc-engines-apu5|pc-engines-apu6)
        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"
index 9335e297ba22bba9a86219e1dac6d17c3d9d889d..5befba0a62d07fe533b517d3603bd17a7dfee295 100644 (file)
@@ -26,6 +26,12 @@ cisco-mx100-hw)
 pc-engines-apu1|pc-engines-apu2|pc-engines-apu3)
        ucidef_set_interfaces_lan_wan "eth1 eth2" "eth0"
        ;;
+pc-engines-apu5)
+       ucidef_set_interfaces_lan_wan "eth1" "eth0"
+       ;;
+pc-engines-apu4|pc-engines-apu6)
+       ucidef_set_interfaces_lan_wan "eth1 eth2 eth3" "eth0"
+       ;;
 roqos-roqos-core-rc10)
        ucidef_set_interfaces_lan_wan "eth1" "eth0"
        ;;