
From: George Hilliard thirtythreeforty@gmail.com
The f1c100s has a controller pretty similar to that of most sunxi parts, but there are only 6 banks. Add a new compatible entry for this peripheral.
Signed-off-by: George Hilliard thirtythreeforty@gmail.com Signed-off-by: Yifan Gu me@yifangu.com --- drivers/gpio/sunxi_gpio.c | 6 ++++++ 1 file changed, 6 insertions(+)
diff --git a/drivers/gpio/sunxi_gpio.c b/drivers/gpio/sunxi_gpio.c index 24cb604e3e..c7bdb3d3f3 100644 --- a/drivers/gpio/sunxi_gpio.c +++ b/drivers/gpio/sunxi_gpio.c @@ -319,6 +319,11 @@ static const struct sunxi_gpio_soc_data soc_data_a_all = { .no_banks = SUNXI_GPIO_BANKS, };
+static const struct sunxi_gpio_soc_data soc_data_a_6 = { + .start = 0, + .no_banks = 6, +}; + static const struct sunxi_gpio_soc_data soc_data_l_1 = { .start = 'L' - 'A', .no_banks = 1, @@ -364,6 +369,7 @@ static const struct udevice_id sunxi_gpio_ids[] = { ID("allwinner,sun50i-a64-r-pinctrl", l_1), ID("allwinner,sun50i-h6-r-pinctrl", l_2), ID("allwinner,sun50i-h616-r-pinctrl", l_1), + ID("allwinner,suniv-pinctrl", a_6), { } };