1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
4 $id: http://devicetree.org/schemas/pinctrl/ralink,mt7620-pinctrl.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Ralink MT7620 Pin Controller
10 - Arınç ÜNAL <arinc.unal@arinc9.com>
11 - Sergio Paracuellos <sergio.paracuellos@gmail.com>
14 Ralink MT7620 pin controller for MT7620, MT7628 and MT7688 SoCs.
15 The pin controller can only set the muxing of pin groups. Muxing individual
16 pins is not supported. There is no pinconf support.
21 - ralink,mt7620-pinctrl
22 - ralink,mt76x8-pinctrl
27 additionalProperties: false
32 description: node for pinctrl.
33 $ref: pinmux-node.yaml#
34 additionalProperties: false
39 A string containing the name of the function to mux to the group.
41 - description: For MT7620 SoC
42 enum: [ephy, gpio, gpio i2s, gpio uartf, i2c, i2s uartf, mdio, nand, pa,
43 pcie refclk, pcie rst, pcm gpio, pcm i2s, pcm uartf, refclk,
44 rgmii1, rgmii2, sd, spi, spi refclk, uartf, uartlite, wdt refclk,
47 - description: For MT7628 and MT7688 SoCs
48 enum: [antenna, debug, gpio, i2c, i2s, jtag, p0led_an, p0led_kn,
49 p1led_an, p1led_kn, p2led_an, p2led_kn, p3led_an, p3led_kn,
50 p4led_an, p4led_kn, pcie, pcm, perst, pwm, pwm0, pwm1, pwm_uart2,
51 refclk, rsvd, sdxc, sdxc d5 d4, sdxc d6, sdxc d7, spi, spi cs1,
52 spis, sw_r, uart0, uart1, uart2, utif, wdt, wled_an, wled_kn, -]
56 An array of strings. Each string contains the name of a group.
99 - description: For MT7620 SoC
100 enum: [ephy, i2c, mdio, nd_sd, pa, pcie, rgmii1, rgmii2,
101 spi, spi refclk, uartf, uartlite, wdt, wled]
103 - description: For MT7628 and MT7688 SoCs
104 enum: [gpio, i2c, i2s, p0led_an, p0led_kn, p1led_an,
105 p1led_kn, p2led_an, p2led_kn, p3led_an, p3led_kn,
106 p4led_an, p4led_kn, perst, pwm0, pwm1, refclk,
107 sdmode, spi, spi cs1, spis, uart0, uart1, uart2,
108 wdt, wled_an, wled_kn]
162 enum: [p0led_an, p0led_kn, p1led_an, p1led_kn, p2led_an,
163 p2led_kn, p3led_an, p3led_kn, p4led_an, p4led_kn,
399 - description: For MT7620 SoC
402 - description: For MT7628 and MT7688 SoCs
403 enum: [gpio, refclk, spi cs1]
430 enum: [p0led_an, p0led_kn, wled_an, wled_kn]
574 enum: [p1led_an, p1led_kn, p2led_an, p2led_kn, p3led_an,
575 p3led_kn, p4led_an, p4led_kn, pwm0, pwm1, sdmode, spis]
638 enum: [i2c, spi cs1, uart0]
641 - $ref: pinctrl.yaml#
646 additionalProperties: false
651 compatible = "ralink,mt7620-pinctrl";
653 i2c_pins: i2c0-pins {