Lines Matching +full:7 +full:- +full:9
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,
48 MPP_FUNCTION(7, "mss_i2c", "sda"),
50 MPP_FUNCTION(9, "sata0", "present_act"),
59 MPP_FUNCTION(7, "mss_i2c", "sck"),
61 MPP_FUNCTION(9, "sata1", "present_act"),
71 MPP_FUNCTION(7, "i2c1", "sck"),
73 MPP_FUNCTION(9, "sata0", "present_act"),
83 MPP_FUNCTION(7, "i2c1", "sda"),
85 MPP_FUNCTION(9, "sata1", "present_act"),
95 MPP_FUNCTION(7, "pcie0", "clkreq"),
106 MPP_FUNCTION(7, "pcie1", "clkreq"),
116 MPP_FUNCTION(7, "pcie2", "clkreq"),
118 MPP_FUNCTION(9, "ptp", "pulse")),
119 MPP_MODE(7,
126 MPP_FUNCTION(7, "led", "data"),
128 MPP_FUNCTION(9, "ptp", "clk")),
136 MPP_FUNCTION(7, "led", "stb"),
138 MPP_FUNCTION(9, "ptp", "pclk_out"),
140 MPP_MODE(9,
146 MPP_FUNCTION(7, "pcie", "rstoutn"),
155 MPP_FUNCTION(7, "sata1", "present_act")),
163 MPP_FUNCTION(7, "led", "clk"),
165 MPP_FUNCTION(9, "sata0", "present_act")),
187 MPP_FUNCTION(7, "sata0", "present_act"),
254 MPP_FUNCTION(9, "sata0", "present_act"),
265 MPP_FUNCTION(7, "ptp", "pulse"),
267 MPP_FUNCTION(9, "sata1", "present_act"),
278 MPP_FUNCTION(7, "ptp", "clk"),
280 MPP_FUNCTION(9, "sata0", "present_act"),
291 MPP_FUNCTION(7, "ptp", "pclk_out"),
293 MPP_FUNCTION(9, "sata1", "present_act"),
310 MPP_FUNCTION(7, "ge", "mdio"),
312 MPP_FUNCTION(9, "pcie1", "clkreq"),
323 MPP_FUNCTION(9, "pcie2", "clkreq"),
333 MPP_FUNCTION(7, "ge", "mdc"),
334 MPP_FUNCTION(9, "pcie0", "clkreq"),
344 MPP_FUNCTION(7, "xg", "mdio"),
346 MPP_FUNCTION(9, "pcie", "rstoutn"),
356 MPP_FUNCTION(7, "xg", "mdc"),
358 MPP_FUNCTION(9, "pcie2", "clkreq"),
368 MPP_FUNCTION(7, "ge", "mdc"),
370 MPP_FUNCTION(9, "pcie1", "clkreq"),
381 MPP_FUNCTION(7, "ge", "mdio"),
383 MPP_FUNCTION(9, "au", "i2sextclk"),
392 MPP_FUNCTION(9, "sata1", "present_act"),
402 MPP_FUNCTION(7, "uart1", "txd"),
404 MPP_FUNCTION(9, "sata0", "present_act"),
414 MPP_FUNCTION(7, "uart1", "rxd"),
416 MPP_FUNCTION(9, "sata1", "present_act"),
427 MPP_FUNCTION(7, "uart1", "cts"),
429 MPP_FUNCTION(9, "sata0", "present_act"),
438 MPP_FUNCTION(7, "uart1", "rts"),
440 MPP_FUNCTION(9, "sata1", "present_act"),
446 MPP_FUNCTION(7, "uart0", "rts"),
451 MPP_FUNCTION(7, "uart0", "txd"),
452 MPP_FUNCTION(9, "pcie", "rstoutn")),
456 MPP_FUNCTION(7, "uart1", "rts")),
461 MPP_FUNCTION(7, "uart1", "txd"),
474 MPP_FUNCTION(7, "uart1", "rxd"),
476 MPP_FUNCTION(9, "pcie0", "clkreq"),
485 MPP_FUNCTION(7, "uart0", "rxd"),
494 MPP_FUNCTION(7, "uart0", "cts"),
502 MPP_FUNCTION(7, "uart1", "cts"),
504 MPP_FUNCTION(9, "pcie", "rstoutn"),
511 MPP_FUNCTION(7, "uart1", "rxd"),
534 MPP_FUNCTION(7, "uart1", "rxd"),
535 MPP_FUNCTION(9, "sata1", "present_act"),
544 MPP_FUNCTION(7, "uart1", "txd"),
545 MPP_FUNCTION(9, "sata0", "present_act"),
554 MPP_FUNCTION(7, "uart1", "cts"),
564 MPP_FUNCTION(7, "uart0", "cts"),
566 MPP_FUNCTION(9, "uart1", "txd"),
575 MPP_FUNCTION(7, "uart0", "rts"),
577 MPP_FUNCTION(9, "uart1", "rxd"),
586 MPP_FUNCTION(7, "uart0", "txd"),
588 MPP_FUNCTION(9, "sata1", "present_act"),
598 MPP_FUNCTION(7, "uart0", "rxd"),
600 MPP_FUNCTION(9, "sata0", "present_act"),
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",