1c66ec88fSEmmanuel Vadot# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 2cb7aa33aSEmmanuel Vadot 3c66ec88fSEmmanuel Vadot%YAML 1.2 4c66ec88fSEmmanuel Vadot--- 5c66ec88fSEmmanuel Vadot$id: http://devicetree.org/schemas/pinctrl/socionext,uniphier-pinctrl.yaml# 6c66ec88fSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml# 7c66ec88fSEmmanuel Vadot 8c66ec88fSEmmanuel Vadottitle: UniPhier SoCs pin controller 9c66ec88fSEmmanuel Vadot 10c66ec88fSEmmanuel Vadotmaintainers: 11c66ec88fSEmmanuel Vadot - Masahiro Yamada <yamada.masahiro@socionext.com> 12c66ec88fSEmmanuel Vadot 13c66ec88fSEmmanuel Vadotproperties: 14c66ec88fSEmmanuel Vadot compatible: 15c66ec88fSEmmanuel Vadot enum: 16c66ec88fSEmmanuel Vadot - socionext,uniphier-ld4-pinctrl 17c66ec88fSEmmanuel Vadot - socionext,uniphier-pro4-pinctrl 18c66ec88fSEmmanuel Vadot - socionext,uniphier-sld8-pinctrl 19c66ec88fSEmmanuel Vadot - socionext,uniphier-pro5-pinctrl 20c66ec88fSEmmanuel Vadot - socionext,uniphier-pxs2-pinctrl 21c66ec88fSEmmanuel Vadot - socionext,uniphier-ld6b-pinctrl 22c66ec88fSEmmanuel Vadot - socionext,uniphier-ld11-pinctrl 23c66ec88fSEmmanuel Vadot - socionext,uniphier-ld20-pinctrl 24c66ec88fSEmmanuel Vadot - socionext,uniphier-pxs3-pinctrl 258cc087a1SEmmanuel Vadot - socionext,uniphier-nx1-pinctrl 26c66ec88fSEmmanuel Vadot 27e67e8565SEmmanuel VadotadditionalProperties: 28e67e8565SEmmanuel Vadot type: object 29e67e8565SEmmanuel Vadot 30e67e8565SEmmanuel Vadot allOf: 31e67e8565SEmmanuel Vadot - $ref: pincfg-node.yaml# 32e67e8565SEmmanuel Vadot - $ref: pinmux-node.yaml# 33e67e8565SEmmanuel Vadot 34e67e8565SEmmanuel Vadot properties: 35e67e8565SEmmanuel Vadot function: true 36e67e8565SEmmanuel Vadot groups: true 37e67e8565SEmmanuel Vadot pins: true 38e67e8565SEmmanuel Vadot bias-pull-up: true 39e67e8565SEmmanuel Vadot bias-pull-down: true 40e67e8565SEmmanuel Vadot bias-pull-pin-default: true 41e67e8565SEmmanuel Vadot drive-strength: true 42e67e8565SEmmanuel Vadot 43e67e8565SEmmanuel Vadot additionalProperties: 44e67e8565SEmmanuel Vadot type: object 45e67e8565SEmmanuel Vadot 46e67e8565SEmmanuel Vadot allOf: 47e67e8565SEmmanuel Vadot - $ref: pincfg-node.yaml# 48e67e8565SEmmanuel Vadot - $ref: pinmux-node.yaml# 49e67e8565SEmmanuel Vadot 50e67e8565SEmmanuel Vadot properties: 51e67e8565SEmmanuel Vadot function: true 52e67e8565SEmmanuel Vadot groups: true 53e67e8565SEmmanuel Vadot pins: true 54e67e8565SEmmanuel Vadot bias-pull-up: true 55e67e8565SEmmanuel Vadot bias-pull-down: true 56e67e8565SEmmanuel Vadot bias-pull-pin-default: true 57e67e8565SEmmanuel Vadot drive-strength: true 58e67e8565SEmmanuel Vadot 59e67e8565SEmmanuel Vadot unevaluatedProperties: false 60e67e8565SEmmanuel Vadot 61e67e8565SEmmanuel VadotallOf: 62*fac71e4eSEmmanuel Vadot - $ref: pinctrl.yaml# 63e67e8565SEmmanuel Vadot 64c66ec88fSEmmanuel Vadotrequired: 65c66ec88fSEmmanuel Vadot - compatible 66c66ec88fSEmmanuel Vadot 67c66ec88fSEmmanuel Vadotexamples: 68c66ec88fSEmmanuel Vadot - | 69c66ec88fSEmmanuel Vadot // The UniPhier pinctrl should be a subnode of a "syscon" compatible node. 70c66ec88fSEmmanuel Vadot 71cb7aa33aSEmmanuel Vadot pinctrl { 72cb7aa33aSEmmanuel Vadot compatible = "socionext,uniphier-ld20-pinctrl"; 73c66ec88fSEmmanuel Vadot 74cb7aa33aSEmmanuel Vadot pinctrl_ether_rgmii: ether-rgmii { 75cb7aa33aSEmmanuel Vadot groups = "ether_rgmii"; 76cb7aa33aSEmmanuel Vadot function = "ether_rgmii"; 77cb7aa33aSEmmanuel Vadot 78cb7aa33aSEmmanuel Vadot tx { 79cb7aa33aSEmmanuel Vadot pins = "RGMII_TXCLK", "RGMII_TXD0", "RGMII_TXD1", 80cb7aa33aSEmmanuel Vadot "RGMII_TXD2", "RGMII_TXD3", "RGMII_TXCTL"; 81cb7aa33aSEmmanuel Vadot drive-strength = <9>; 82cb7aa33aSEmmanuel Vadot }; 83c66ec88fSEmmanuel Vadot }; 84c66ec88fSEmmanuel Vadot }; 85