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