aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/x86/base-files
diff options
context:
space:
mode:
authorPhilip Prindeville <philipp@redfish-solutions.com>2022-12-30 11:17:10 -0700
committerPetr Štetiar <ynezz@true.cz>2023-01-11 15:16:53 +0100
commit26595eac0580053e5910b04db0458074c6f3b8ee (patch)
tree7e3244e349d4377578ecbf162669f9d3a221cb92 /target/linux/x86/base-files
parent5ffa8d06c87fea2ce2159d2933c178b2ffe8399a (diff)
downloadupstream-26595eac0580053e5910b04db0458074c6f3b8ee.tar.gz
upstream-26595eac0580053e5910b04db0458074c6f3b8ee.tar.bz2
upstream-26595eac0580053e5910b04db0458074c6f3b8ee.zip
x86: Add APU6 board support for startup detection
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>
Diffstat (limited to 'target/linux/x86/base-files')
-rw-r--r--target/linux/x86/base-files/etc/board.d/01_leds2
-rw-r--r--target/linux/x86/base-files/etc/board.d/02_network6
2 files changed, 7 insertions, 1 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 74ad2d59fe..e639d10808 100644
--- a/target/linux/x86/base-files/etc/board.d/01_leds
+++ b/target/linux/x86/base-files/etc/board.d/01_leds
@@ -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"
diff --git a/target/linux/x86/base-files/etc/board.d/02_network b/target/linux/x86/base-files/etc/board.d/02_network
index 9335e297ba..5befba0a62 100644
--- a/target/linux/x86/base-files/etc/board.d/02_network
+++ b/target/linux/x86/base-files/etc/board.d/02_network
@@ -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"
;;