Commit 737894d2 authored by Eugen Hristev's avatar Eugen Hristev Committed by Linus Walleij

pinctrl: at91-pio4: add support for sama7g5 SoC

Add support for sama7g5 pinctrl block, which has 5 PIO banks.
Signed-off-by: default avatarEugen Hristev <eugen.hristev@microchip.com>
Reviewed-by: default avatarNicolas Ferre <nicolas.ferre@microchip.com>
Acked-by: default avatarLudovic Desroches <ludovic.desroches@microchip.com>
Link: https://lore.kernel.org/r/20200917131257.273882-2-eugen.hristev@microchip.comSigned-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
parent 1e871d0c
...@@ -983,10 +983,17 @@ static const struct atmel_pioctrl_data atmel_sama5d2_pioctrl_data = { ...@@ -983,10 +983,17 @@ static const struct atmel_pioctrl_data atmel_sama5d2_pioctrl_data = {
.nbanks = 4, .nbanks = 4,
}; };
static const struct atmel_pioctrl_data microchip_sama7g5_pioctrl_data = {
.nbanks = 5,
};
static const struct of_device_id atmel_pctrl_of_match[] = { static const struct of_device_id atmel_pctrl_of_match[] = {
{ {
.compatible = "atmel,sama5d2-pinctrl", .compatible = "atmel,sama5d2-pinctrl",
.data = &atmel_sama5d2_pioctrl_data, .data = &atmel_sama5d2_pioctrl_data,
}, {
.compatible = "microchip,sama7g5-pinctrl",
.data = &microchip_sama7g5_pioctrl_data,
}, { }, {
/* sentinel */ /* sentinel */
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment