Lines Matching +full:led +full:- +full:7

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"),
59 MPP_FUNCTION(7, "mss_i2c", "sck"),
71 MPP_FUNCTION(7, "i2c1", "sck"),
83 MPP_FUNCTION(7, "i2c1", "sda"),
95 MPP_FUNCTION(7, "pcie0", "clkreq"),
106 MPP_FUNCTION(7, "pcie1", "clkreq"),
116 MPP_FUNCTION(7, "pcie2", "clkreq"),
119 MPP_MODE(7,
126 MPP_FUNCTION(7, "led", "data"),
136 MPP_FUNCTION(7, "led", "stb"),
146 MPP_FUNCTION(7, "pcie", "rstoutn"),
155 MPP_FUNCTION(7, "sata1", "present_act")),
163 MPP_FUNCTION(7, "led", "clk"),
187 MPP_FUNCTION(7, "sata0", "present_act"),
265 MPP_FUNCTION(7, "ptp", "pulse"),
269 MPP_FUNCTION(11, "led", "data")),
278 MPP_FUNCTION(7, "ptp", "clk"),
282 MPP_FUNCTION(11, "led", "stb")),
291 MPP_FUNCTION(7, "ptp", "pclk_out"),
295 MPP_FUNCTION(11, "led", "clk")),
310 MPP_FUNCTION(7, "ge", "mdio"),
333 MPP_FUNCTION(7, "ge", "mdc"),
344 MPP_FUNCTION(7, "xg", "mdio"),
356 MPP_FUNCTION(7, "xg", "mdc"),
368 MPP_FUNCTION(7, "ge", "mdc"),
381 MPP_FUNCTION(7, "ge", "mdio"),
402 MPP_FUNCTION(7, "uart1", "txd"),
414 MPP_FUNCTION(7, "uart1", "rxd"),
427 MPP_FUNCTION(7, "uart1", "cts"),
438 MPP_FUNCTION(7, "uart1", "rts"),
446 MPP_FUNCTION(7, "uart0", "rts"),
451 MPP_FUNCTION(7, "uart0", "txd"),
456 MPP_FUNCTION(7, "uart1", "rts")),
461 MPP_FUNCTION(7, "uart1", "txd"),
474 MPP_FUNCTION(7, "uart1", "rxd"),
485 MPP_FUNCTION(7, "uart0", "rxd"),
494 MPP_FUNCTION(7, "uart0", "cts"),
502 MPP_FUNCTION(7, "uart1", "cts"),
503 MPP_FUNCTION(8, "led", "clk"),
511 MPP_FUNCTION(7, "uart1", "rxd"),
512 MPP_FUNCTION(8, "led", "stb"),
513 MPP_FUNCTION(11, "sdio", "led")),
520 MPP_FUNCTION(8, "led", "data"),
527 MPP_FUNCTION(10, "sdio", "led"),
534 MPP_FUNCTION(7, "uart1", "rxd"),
544 MPP_FUNCTION(7, "uart1", "txd"),
554 MPP_FUNCTION(7, "uart1", "cts"),
555 MPP_FUNCTION(8, "led", "clk"),
564 MPP_FUNCTION(7, "uart0", "cts"),
565 MPP_FUNCTION(8, "led", "stb"),
575 MPP_FUNCTION(7, "uart0", "rts"),
576 MPP_FUNCTION(8, "led", "data"),
586 MPP_FUNCTION(7, "uart0", "txd"),
598 MPP_FUNCTION(7, "uart0", "rxd"),
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",