Lines Matching +full:mdio +full:- +full:gpio
1 // SPDX-License-Identifier: GPL-2.0-or-later
17 #include "pinctrl-mvebu.h"
21 MPP_FUNCTION(0, "gpio", NULL),
25 MPP_FUNCTION(0, "gpio", NULL),
29 MPP_FUNCTION(0, "gpio", NULL),
33 MPP_FUNCTION(0, "gpio", NULL),
37 MPP_FUNCTION(0, "gpio", NULL),
43 MPP_FUNCTION(0, "gpio", NULL),
49 MPP_FUNCTION(0, "gpio", NULL),
54 MPP_FUNCTION(0, "gpio", NULL),
59 MPP_FUNCTION(0, "gpio", NULL),
63 MPP_FUNCTION(0, "gpio", NULL),
67 MPP_FUNCTION(0, "gpio", NULL),
71 MPP_FUNCTION(0, "gpio", NULL),
75 MPP_FUNCTION(0, "gpio", NULL),
78 MPP_FUNCTION(0, "gpio", NULL),
81 MPP_FUNCTION(0, "gpio", NULL),
84 MPP_FUNCTION(0, "gpio", NULL),
87 MPP_FUNCTION(0, "gpio", NULL),
92 MPP_FUNCTION(0, "gpio", NULL),
97 MPP_FUNCTION(0, "gpio", NULL),
102 MPP_FUNCTION(0, "gpio", NULL),
106 MPP_FUNCTION(0, "gpio", NULL),
111 MPP_FUNCTION(0, "gpio", NULL),
116 MPP_FUNCTION(0, "gpio", NULL),
119 MPP_FUNCTION(0, "gpio", NULL),
122 MPP_FUNCTION(0, "gpio", NULL),
127 MPP_FUNCTION(0, "gpio", NULL),
132 MPP_FUNCTION(0, "gpio", NULL),
137 MPP_FUNCTION(0, "gpio", NULL),
142 MPP_FUNCTION(0, "gpio", NULL),
143 MPP_FUNCTION(1, "xg", "mdio"),
144 MPP_FUNCTION(2, "ge", "mdio"),
147 MPP_FUNCTION(0, "gpio", NULL),
148 MPP_FUNCTION(1, "xg", "mdio"),
149 MPP_FUNCTION(2, "ge", "mdio"),
152 MPP_FUNCTION(0, "gpio", NULL),
153 MPP_FUNCTION(1, "xg", "mdio"),
154 MPP_FUNCTION(2, "ge", "mdio"),
155 MPP_FUNCTION(3, "ge", "mdio")),
157 MPP_FUNCTION(0, "gpio", NULL),
158 MPP_FUNCTION(1, "xg", "mdio"),
159 MPP_FUNCTION(2, "ge", "mdio"),
160 MPP_FUNCTION(3, "ge", "mdio")),
162 MPP_FUNCTION(0, "gpio", NULL),
165 MPP_FUNCTION(0, "gpio", NULL),
170 MPP_FUNCTION(0, "gpio", NULL),
171 MPP_FUNCTION(1, "ge", "mdio"),
174 MPP_FUNCTION(0, "gpio", NULL),
175 MPP_FUNCTION(1, "ge", "mdio"),
179 MPP_FUNCTION(0, "gpio", NULL),
183 MPP_FUNCTION(0, "gpio", NULL),
187 MPP_FUNCTION(0, "gpio", NULL),
190 MPP_FUNCTION(0, "gpio", NULL),
193 MPP_FUNCTION(0, "gpio", NULL),
197 MPP_FUNCTION(0, "gpio", NULL),
204 MPP_FUNCTION(0, "gpio", NULL),
211 MPP_FUNCTION(0, "gpio", NULL),
214 MPP_FUNCTION(0, "gpio", NULL),
217 MPP_FUNCTION(0, "gpio", NULL),
225 .compatible = "marvell,ac5-pinctrl",
240 soc->variant = 0; /* no variants for ac5 */ in ac5_pinctrl_probe()
241 soc->controls = ac5_mpp_controls; in ac5_pinctrl_probe()
242 soc->ncontrols = ARRAY_SIZE(ac5_mpp_controls); in ac5_pinctrl_probe()
243 soc->gpioranges = ac5_mpp_gpio_ranges; in ac5_pinctrl_probe()
244 soc->ngpioranges = ARRAY_SIZE(ac5_mpp_gpio_ranges); in ac5_pinctrl_probe()
245 soc->modes = ac5_mpp_modes; in ac5_pinctrl_probe()
246 soc->nmodes = ac5_mpp_controls[0].npins; in ac5_pinctrl_probe()
248 pdev->dev.platform_data = soc; in ac5_pinctrl_probe()
255 .name = "ac5-pinctrl",