PCEngines make a number of SBC. APU5 has 5 mpcie slots + MSATA
Subsystems (3)
PATCH v2 1/1 PCEngines make a number of SBC. APU5 has 5 mpcie slots + MSATA
From: Philip Prindeville <[email protected]>
It also has support for 3x LTE modems with 6x SIM slots (pairs with a SIM switch device). Each mpcie slot for modems has a reset GPIO
To ensure that the naming is sane between APU2-6 the GPIOS are renamed to be modem1-reset, modem2-reset, etc. This is significant because the slots that can be reset change between APU2 and APU3/4
GPIO for simswap is moved to the end of the list as it could be dropped for APU2 boards (but causes no harm to leave it in, hardware could be added to a future rev of the board).
Structure of the GPIOs for APU5 is extremely similar to APU2-4, but many lines are moved around and there are simply more modems/resets/sim-swap lines to breakout.
Also added APU6, which is essentially APU4 with a different ethernet interface and SFP cage on eth0.
--- drivers/leds/leds-apu.c | 2 +- drivers/platform/x86/Kconfig | 4 +- drivers/platform/x86/pcengines-apuv2.c | 118 ++++++++++++++++++++++--- 3 files changed, 107 insertions(+), 17 deletions(-)
drivers/leds/leds-apu.c +1 -1
@@ -183,7 +183,7 @@ static int __init apu_led_init(void)if (!(dmi_match (DMI_SYS_VENDOR ,"PC Engines" ) && (dmi_match (DMI_PRODUCT_NAME ,"APU" ) ||dmi_match (DMI_PRODUCT_NAME ,"apu1" )))) { -pr_err ("No PC Engines APUv1 board detected. For APUv2,3 support, enable CONFIG_PCENGINES_APU2\n" ); +pr_err ("No PC Engines APUv1 board detected. For APUv2,3,4,5,6 support, enable CONFIG_PCENGINES_APU2\n" );return -ENODEV ; }
drivers/platform/x86/Kconfig +2 -2
@@ -698,7 +698,7 @@ config XO1_RFKILL laptop. config PCENGINES_APU2 - tristate "PC Engines APUv2/3 front button and LEDs driver" + tristate "PC Engines APUv2/3/4/5/6 front button and LEDs driver" depends on INPUT && INPUT_KEYBOARD && GPIOLIB depends on LEDS_CLASS select GPIO_AMD_FCH
@@ -706,7 +706,7 @@ config PCENGINES_APU2 select LEDS_GPIO help This driver provides support for the front button and LEDs on - PC Engines APUv2/APUv3 board. + PC Engines APUv2/APUv3/APUv4/APUv5/APUv6 board. To compile this driver as a module, choose M here: the module will be called pcengines-apuv2.
drivers/platform/x86/pcengines-apuv2.c +104 -14
188 lines not on this page · raw message
Signature · 1 line
2.34.1