26 #include <linux/module.h>
32 #include <linux/bitops.h>
354 .compatible =
"marvell,mv78230-pinctrl",
358 .compatible =
"marvell,mv78260-pinctrl",
362 .compatible =
"marvell,mv78460-pinctrl",
372 static struct pinctrl_gpio_range mv78230_mpp_gpio_ranges[] = {
381 static struct pinctrl_gpio_range mv78260_mpp_gpio_ranges[] = {
391 static struct pinctrl_gpio_range mv78460_mpp_gpio_ranges[] = {
410 soc->
controls = mv78230_mpp_controls;
412 soc->
modes = armada_xp_mpp_modes;
421 soc->
controls = mv78260_mpp_controls;
423 soc->
modes = armada_xp_mpp_modes;
432 soc->
controls = mv78460_mpp_controls;
434 soc->
modes = armada_xp_mpp_modes;
444 pdev->
dev.platform_data = soc;
456 .name =
"armada-xp-pinctrl",
458 .of_match_table =
of_match_ptr(armada_xp_pinctrl_of_match),
460 .probe = armada_xp_pinctrl_probe,