1849b1044SMasahiro Yamada# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 23fa1306dSKunihiko Hayashi 3849b1044SMasahiro Yamada%YAML 1.2 4849b1044SMasahiro Yamada--- 5849b1044SMasahiro Yamada$id: http://devicetree.org/schemas/pinctrl/socionext,uniphier-pinctrl.yaml# 6849b1044SMasahiro Yamada$schema: http://devicetree.org/meta-schemas/core.yaml# 7849b1044SMasahiro Yamada 8849b1044SMasahiro Yamadatitle: UniPhier SoCs pin controller 9849b1044SMasahiro Yamada 10849b1044SMasahiro Yamadamaintainers: 11849b1044SMasahiro Yamada - Masahiro Yamada <yamada.masahiro@socionext.com> 12849b1044SMasahiro Yamada 13849b1044SMasahiro Yamadaproperties: 14849b1044SMasahiro Yamada compatible: 15849b1044SMasahiro Yamada enum: 16849b1044SMasahiro Yamada - socionext,uniphier-ld4-pinctrl 17849b1044SMasahiro Yamada - socionext,uniphier-pro4-pinctrl 18849b1044SMasahiro Yamada - socionext,uniphier-sld8-pinctrl 19849b1044SMasahiro Yamada - socionext,uniphier-pro5-pinctrl 20849b1044SMasahiro Yamada - socionext,uniphier-pxs2-pinctrl 21849b1044SMasahiro Yamada - socionext,uniphier-ld6b-pinctrl 22849b1044SMasahiro Yamada - socionext,uniphier-ld11-pinctrl 23849b1044SMasahiro Yamada - socionext,uniphier-ld20-pinctrl 24849b1044SMasahiro Yamada - socionext,uniphier-pxs3-pinctrl 25f66e173dSKunihiko Hayashi - socionext,uniphier-nx1-pinctrl 26849b1044SMasahiro Yamada 271dd19caeSKunihiko HayashiadditionalProperties: 281dd19caeSKunihiko Hayashi type: object 291dd19caeSKunihiko Hayashi 301dd19caeSKunihiko Hayashi allOf: 311dd19caeSKunihiko Hayashi - $ref: pincfg-node.yaml# 321dd19caeSKunihiko Hayashi - $ref: pinmux-node.yaml# 331dd19caeSKunihiko Hayashi 341dd19caeSKunihiko Hayashi properties: 351dd19caeSKunihiko Hayashi function: true 361dd19caeSKunihiko Hayashi groups: true 371dd19caeSKunihiko Hayashi pins: true 381dd19caeSKunihiko Hayashi bias-pull-up: true 391dd19caeSKunihiko Hayashi bias-pull-down: true 401dd19caeSKunihiko Hayashi bias-pull-pin-default: true 411dd19caeSKunihiko Hayashi drive-strength: true 421dd19caeSKunihiko Hayashi 431dd19caeSKunihiko Hayashi additionalProperties: 441dd19caeSKunihiko Hayashi type: object 451dd19caeSKunihiko Hayashi 461dd19caeSKunihiko Hayashi allOf: 471dd19caeSKunihiko Hayashi - $ref: pincfg-node.yaml# 481dd19caeSKunihiko Hayashi - $ref: pinmux-node.yaml# 491dd19caeSKunihiko Hayashi 501dd19caeSKunihiko Hayashi properties: 511dd19caeSKunihiko Hayashi function: true 521dd19caeSKunihiko Hayashi groups: true 531dd19caeSKunihiko Hayashi pins: true 541dd19caeSKunihiko Hayashi bias-pull-up: true 551dd19caeSKunihiko Hayashi bias-pull-down: true 561dd19caeSKunihiko Hayashi bias-pull-pin-default: true 571dd19caeSKunihiko Hayashi drive-strength: true 581dd19caeSKunihiko Hayashi 591dd19caeSKunihiko Hayashi unevaluatedProperties: false 601dd19caeSKunihiko Hayashi 61c09acbc4SRafał MiłeckiallOf: 62*49cd1dd1SRob Herring - $ref: pinctrl.yaml# 63c09acbc4SRafał Miłecki 64849b1044SMasahiro Yamadarequired: 65849b1044SMasahiro Yamada - compatible 66849b1044SMasahiro Yamada 67849b1044SMasahiro Yamadaexamples: 68849b1044SMasahiro Yamada - | 69849b1044SMasahiro Yamada // The UniPhier pinctrl should be a subnode of a "syscon" compatible node. 70849b1044SMasahiro Yamada 713fa1306dSKunihiko Hayashi pinctrl { 723fa1306dSKunihiko Hayashi compatible = "socionext,uniphier-ld20-pinctrl"; 73849b1044SMasahiro Yamada 743fa1306dSKunihiko Hayashi pinctrl_ether_rgmii: ether-rgmii { 753fa1306dSKunihiko Hayashi groups = "ether_rgmii"; 763fa1306dSKunihiko Hayashi function = "ether_rgmii"; 773fa1306dSKunihiko Hayashi 783fa1306dSKunihiko Hayashi tx { 793fa1306dSKunihiko Hayashi pins = "RGMII_TXCLK", "RGMII_TXD0", "RGMII_TXD1", 803fa1306dSKunihiko Hayashi "RGMII_TXD2", "RGMII_TXD3", "RGMII_TXCTL"; 813fa1306dSKunihiko Hayashi drive-strength = <9>; 823fa1306dSKunihiko Hayashi }; 83849b1044SMasahiro Yamada }; 84849b1044SMasahiro Yamada }; 85