AST2600 SoC has 2 SGPIO master interfaces one with 128 pins another one with 80 pins, AST2500/AST2400 SoC has 1 SGPIO master interface that supports up to 80 pins.
Billy Tsai (3): gpio: Add Aspeed SGPIO driver ARM: dts: ast2500: Add SGPIO to device tree ARM: dts: ast2600: Add SGPIO to device tree arch/arm/dts/ast2500-evb.dts | 5 + arch/arm/dts/ast2500.dtsi | 20 ++ arch/arm/dts/ast2600-evb.dts | 10 + arch/arm/dts/ast2600.dtsi | 40 +++ drivers/gpio/Kconfig | 7 + drivers/gpio/Makefile | 1 + drivers/gpio/gpio-aspeed-sgpio.c | 310 +++++++++++++++++++++++ drivers/pinctrl/aspeed/pinctrl_ast2500.c | 1 + drivers/pinctrl/aspeed/pinctrl_ast2600.c | 10 + 9 files changed, 404 insertions(+) create mode 100644 drivers/gpio/gpio-aspeed-sgpio.c -- 2.25.1