85 lines · yaml
1# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause2 3%YAML 1.24---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 controller9 10maintainers:11 - Masahiro Yamada <yamada.masahiro@socionext.com>12 13properties:14 compatible:15 enum:16 - socionext,uniphier-ld4-pinctrl17 - socionext,uniphier-pro4-pinctrl18 - socionext,uniphier-sld8-pinctrl19 - socionext,uniphier-pro5-pinctrl20 - socionext,uniphier-pxs2-pinctrl21 - socionext,uniphier-ld6b-pinctrl22 - socionext,uniphier-ld11-pinctrl23 - socionext,uniphier-ld20-pinctrl24 - socionext,uniphier-pxs3-pinctrl25 - socionext,uniphier-nx1-pinctrl26 27additionalProperties:28 type: object29 30 allOf:31 - $ref: pincfg-node.yaml#32 - $ref: pinmux-node.yaml#33 34 properties:35 function: true36 groups: true37 pins: true38 bias-pull-up: true39 bias-pull-down: true40 bias-pull-pin-default: true41 drive-strength: true42 43 additionalProperties:44 type: object45 46 allOf:47 - $ref: pincfg-node.yaml#48 - $ref: pinmux-node.yaml#49 50 properties:51 function: true52 groups: true53 pins: true54 bias-pull-up: true55 bias-pull-down: true56 bias-pull-pin-default: true57 drive-strength: true58 59 unevaluatedProperties: false60 61allOf:62 - $ref: pinctrl.yaml#63 64required:65 - compatible66 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