Lines Matching +full:led +full:- +full:6
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,
47 MPP_FUNCTION(6, "ptp", "pulse"),
58 MPP_FUNCTION(6, "ptp", "clk"),
70 MPP_FUNCTION(6, "ptp", "pclk_out"),
82 MPP_FUNCTION(6, "pcie", "rstoutn"),
94 MPP_FUNCTION(6, "uart1", "cts"),
105 MPP_FUNCTION(6, "uart1", "rts"),
109 MPP_MODE(6,
115 MPP_FUNCTION(6, "sata1", "present_act"),
125 MPP_FUNCTION(6, "sata0", "present_act"),
126 MPP_FUNCTION(7, "led", "data"),
135 MPP_FUNCTION(6, "uart0", "cts"),
136 MPP_FUNCTION(7, "led", "stb"),
154 MPP_FUNCTION(6, "uart0", "cts"),
162 MPP_FUNCTION(6, "uart0", "rts"),
163 MPP_FUNCTION(7, "led", "clk"),
186 MPP_FUNCTION(6, "spi0", "miso"),
193 MPP_FUNCTION(6, "spi0", "mosi"),
264 MPP_FUNCTION(6, "pcie2", "clkreq"),
269 MPP_FUNCTION(11, "led", "data")),
277 MPP_FUNCTION(6, "pcie1", "clkreq"),
282 MPP_FUNCTION(11, "led", "stb")),
290 MPP_FUNCTION(6, "pcie0", "clkreq"),
295 MPP_FUNCTION(11, "led", "clk")),
300 MPP_FUNCTION(6, "pcie", "rstoutn"),
309 MPP_FUNCTION(6, "au", "i2sdi"),
321 MPP_FUNCTION(6, "sdio", "bus_pwr"),
332 MPP_FUNCTION(6, "sdio", "wr_protect"),
343 MPP_FUNCTION(6, "sdio", "card_detect"),
355 MPP_FUNCTION(6, "sata0", "present_act"),
367 MPP_FUNCTION(6, "sata1", "present_act"),
380 MPP_FUNCTION(6, "sata0", "present_act"),
391 MPP_FUNCTION(6, "spi0", "csn1"),
401 MPP_FUNCTION(6, "spi0", "clk"),
413 MPP_FUNCTION(6, "spi0", "mosi"),
426 MPP_FUNCTION(6, "spi0", "miso"),
437 MPP_FUNCTION(6, "spi0", "csn0"),
484 MPP_FUNCTION(6, "uart2", "txd"),
493 MPP_FUNCTION(6, "uart2", "rxd"),
503 MPP_FUNCTION(8, "led", "clk"),
512 MPP_FUNCTION(8, "led", "stb"),
513 MPP_FUNCTION(11, "sdio", "led")),
520 MPP_FUNCTION(8, "led", "data"),
527 MPP_FUNCTION(10, "sdio", "led"),
533 MPP_FUNCTION(6, "spi0", "clk"),
543 MPP_FUNCTION(6, "spi0", "mosi"),
553 MPP_FUNCTION(6, "spi0", "miso"),
555 MPP_FUNCTION(8, "led", "clk"),
563 MPP_FUNCTION(6, "spi0", "csn0"),
565 MPP_FUNCTION(8, "led", "stb"),
574 MPP_FUNCTION(6, "spi0", "csn1"),
576 MPP_FUNCTION(8, "led", "data"),
585 MPP_FUNCTION(6, "spi0", "csn2"),
597 MPP_FUNCTION(6, "spi0", "csn3"),
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()
642 of_match_device(armada_cp110_pinctrl_of_match, &pdev->dev); in armada_cp110_pinctrl_probe()
645 if (!pdev->dev.parent) in armada_cp110_pinctrl_probe()
646 return -ENODEV; in armada_cp110_pinctrl_probe()
648 soc = devm_kzalloc(&pdev->dev, in armada_cp110_pinctrl_probe()
651 return -ENOMEM; in armada_cp110_pinctrl_probe()
653 soc->variant = (unsigned long) match->data & 0xff; in armada_cp110_pinctrl_probe()
654 soc->controls = armada_cp110_mpp_controls; in armada_cp110_pinctrl_probe()
655 soc->ncontrols = ARRAY_SIZE(armada_cp110_mpp_controls); in armada_cp110_pinctrl_probe()
656 soc->modes = armada_cp110_mpp_modes; in armada_cp110_pinctrl_probe()
657 soc->nmodes = ARRAY_SIZE(armada_cp110_mpp_modes); in armada_cp110_pinctrl_probe()
680 pdev->dev.platform_data = soc; in armada_cp110_pinctrl_probe()
682 return mvebu_pinctrl_simple_regmap_probe(pdev, pdev->dev.parent, 0); in armada_cp110_pinctrl_probe()
687 .name = "armada-cp110-pinctrl",