Lines Matching +full:gpio +full:- +full:mosi
1 // SPDX-License-Identifier: GPL-2.0-or-later
19 #include "pinctrl-mvebu.h"
24 * - In Armada7K (single CP) almost all the MPPs are available (except the
26 * - In Armada8K (dual CP) the MPPs are split into 2 parts, MPPs 0-31 from
27 * CPS, and MPPs 32-62 from CPM, the below flags (V_ARMADA_8K_CPM,
42 MPP_FUNCTION(0, "gpio", NULL),
53 MPP_FUNCTION(0, "gpio", NULL),
64 MPP_FUNCTION(0, "gpio", NULL),
76 MPP_FUNCTION(0, "gpio", NULL),
88 MPP_FUNCTION(0, "gpio", NULL),
99 MPP_FUNCTION(0, "gpio", NULL),
110 MPP_FUNCTION(0, "gpio", NULL),
120 MPP_FUNCTION(0, "gpio", NULL),
130 MPP_FUNCTION(0, "gpio", NULL),
141 MPP_FUNCTION(0, "gpio", NULL),
144 MPP_FUNCTION(4, "spi0", "mosi"),
145 MPP_FUNCTION(5, "spi1", "mosi"),
149 MPP_FUNCTION(0, "gpio", NULL),
157 MPP_FUNCTION(0, "gpio", NULL),
167 MPP_FUNCTION(0, "gpio", NULL),
173 MPP_FUNCTION(0, "gpio", NULL),
180 MPP_FUNCTION(0, "gpio", NULL),
190 MPP_FUNCTION(0, "gpio", NULL),
192 MPP_FUNCTION(3, "spi1", "mosi"),
193 MPP_FUNCTION(6, "spi0", "mosi"),
194 MPP_FUNCTION(8, "mss_spi", "mosi"),
197 MPP_FUNCTION(0, "gpio", NULL),
202 MPP_FUNCTION(0, "gpio", NULL),
206 MPP_FUNCTION(0, "gpio", NULL),
211 MPP_FUNCTION(0, "gpio", NULL),
216 MPP_FUNCTION(0, "gpio", NULL),
220 MPP_FUNCTION(0, "gpio", NULL),
225 MPP_FUNCTION(0, "gpio", NULL),
230 MPP_FUNCTION(0, "gpio", NULL),
235 MPP_FUNCTION(0, "gpio", NULL),
239 MPP_FUNCTION(0, "gpio", NULL),
243 MPP_FUNCTION(0, "gpio", NULL),
247 MPP_FUNCTION(0, "gpio", NULL),
258 MPP_FUNCTION(0, "gpio", NULL),
271 MPP_FUNCTION(0, "gpio", NULL),
273 MPP_FUNCTION(2, "spi1", "mosi"),
284 MPP_FUNCTION(0, "gpio", NULL),
297 MPP_FUNCTION(0, "gpio", NULL),
303 MPP_FUNCTION(0, "gpio", NULL),
315 MPP_FUNCTION(0, "gpio", NULL),
326 MPP_FUNCTION(0, "gpio", NULL),
329 MPP_FUNCTION(3, "mss_spi", "mosi"),
337 MPP_FUNCTION(0, "gpio", NULL),
349 MPP_FUNCTION(0, "gpio", NULL),
361 MPP_FUNCTION(0, "gpio", NULL),
374 MPP_FUNCTION(0, "gpio", NULL),
387 MPP_FUNCTION(0, "gpio", NULL),
395 MPP_FUNCTION(0, "gpio", NULL),
407 MPP_FUNCTION(0, "gpio", NULL),
413 MPP_FUNCTION(6, "spi0", "mosi"),
420 MPP_FUNCTION(0, "gpio", NULL),
432 MPP_FUNCTION(0, "gpio", NULL),
444 MPP_FUNCTION(0, "gpio", NULL),
449 MPP_FUNCTION(0, "gpio", NULL),
454 MPP_FUNCTION(0, "gpio", NULL),
458 MPP_FUNCTION(0, "gpio", NULL),
464 MPP_FUNCTION(0, "gpio", NULL),
466 MPP_FUNCTION(5, "spi1", "mosi"),
470 MPP_FUNCTION(0, "gpio", NULL),
480 MPP_FUNCTION(0, "gpio", NULL),
489 MPP_FUNCTION(0, "gpio", NULL),
497 MPP_FUNCTION(0, "gpio", NULL),
507 MPP_FUNCTION(0, "gpio", NULL),
515 MPP_FUNCTION(0, "gpio", NULL),
524 MPP_FUNCTION(0, "gpio", NULL),
530 MPP_FUNCTION(0, "gpio", NULL),
538 MPP_FUNCTION(0, "gpio", NULL),
543 MPP_FUNCTION(6, "spi0", "mosi"),
548 MPP_FUNCTION(0, "gpio", NULL),
558 MPP_FUNCTION(0, "gpio", NULL),
569 MPP_FUNCTION(0, "gpio", NULL),
580 MPP_FUNCTION(0, "gpio", NULL),
592 MPP_FUNCTION(0, "gpio", NULL),
607 .compatible = "marvell,armada-7k-pinctrl",
611 .compatible = "marvell,armada-8k-cpm-pinctrl",
615 .compatible = "marvell,armada-8k-cps-pinctrl",
619 .compatible = "marvell,cp115-standalone-pinctrl",
634 for (s = m->settings ; s->name ; s++) in mvebu_pinctrl_assign_variant()
635 s->variant = variant; in mvebu_pinctrl_assign_variant()
643 if (!pdev->dev.parent) in armada_cp110_pinctrl_probe()
644 return -ENODEV; in armada_cp110_pinctrl_probe()
646 soc = devm_kzalloc(&pdev->dev, in armada_cp110_pinctrl_probe()
649 return -ENOMEM; in armada_cp110_pinctrl_probe()
651 soc->variant = (unsigned long)device_get_match_data(&pdev->dev) & 0xff; in armada_cp110_pinctrl_probe()
652 soc->controls = armada_cp110_mpp_controls; in armada_cp110_pinctrl_probe()
653 soc->ncontrols = ARRAY_SIZE(armada_cp110_mpp_controls); in armada_cp110_pinctrl_probe()
654 soc->modes = armada_cp110_mpp_modes; in armada_cp110_pinctrl_probe()
655 soc->nmodes = ARRAY_SIZE(armada_cp110_mpp_modes); in armada_cp110_pinctrl_probe()
678 pdev->dev.platform_data = soc; in armada_cp110_pinctrl_probe()
680 return mvebu_pinctrl_simple_regmap_probe(pdev, pdev->dev.parent, 0); in armada_cp110_pinctrl_probe()
685 .name = "armada-cp110-pinctrl",