diff options
| author | Ryan Wanner <Ryan.Wanner@microchip.com> | 2026-01-05 12:59:56 +0300 |
|---|---|---|
| committer | Linus Walleij <linusw@kernel.org> | 2026-01-07 17:22:14 +0300 |
| commit | 0968c81ce9c4b42cfaaee15de53c665064fe7ee3 (patch) | |
| tree | cb23be2519215d13ad0d5ccc22fb99cd76b60dfd | |
| parent | 6e00258964c3e10e4468cd83368129ca4c4ef1a7 (diff) | |
| download | linux-0968c81ce9c4b42cfaaee15de53c665064fe7ee3.tar.xz | |
pinctrl: at91-pio4: Add sama7d65 pio4 support
Add sama7d65 compatibility string.
Sama7d65 does not have a full last bank of PIO lines similar to the
Sama7g54 SoC. Sama7d65 only has 14 lines on the last PIO bank not the
full 32; adjusting the SoC attributes accordingly.
Signed-off-by: Ryan Wanner <Ryan.Wanner@microchip.com>
Signed-off-by: Nicolas Ferre <nicolas.ferre@microchip.com>
Signed-off-by: Linus Walleij <linusw@kernel.org>
| -rw-r--r-- | drivers/pinctrl/pinctrl-at91-pio4.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/drivers/pinctrl/pinctrl-at91-pio4.c b/drivers/pinctrl/pinctrl-at91-pio4.c index ec5351fc282e..41cbb46ac589 100644 --- a/drivers/pinctrl/pinctrl-at91-pio4.c +++ b/drivers/pinctrl/pinctrl-at91-pio4.c @@ -1053,6 +1053,12 @@ static const struct atmel_pioctrl_data atmel_sama5d2_pioctrl_data = { .last_bank_count = ATMEL_PIO_NPINS_PER_BANK, }; +static const struct atmel_pioctrl_data microchip_sama7d65_pioctrl_data = { + .nbanks = 5, + .last_bank_count = 14, /* sama7d65 has only PE0 to PE13 */ + .slew_rate_support = 1, +}; + static const struct atmel_pioctrl_data microchip_sama7g5_pioctrl_data = { .nbanks = 5, .last_bank_count = 8, /* sama7g5 has only PE0 to PE7 */ @@ -1064,6 +1070,9 @@ static const struct of_device_id atmel_pctrl_of_match[] = { .compatible = "atmel,sama5d2-pinctrl", .data = &atmel_sama5d2_pioctrl_data, }, { + .compatible = "microchip,sama7d65-pinctrl", + .data = µchip_sama7d65_pioctrl_data, + }, { .compatible = "microchip,sama7g5-pinctrl", .data = µchip_sama7g5_pioctrl_data, }, { |
