1 # SPDX-License-Identifier: GPL-2.0-only
4 $id: http://devicetree.org/schemas/pinctrl/pincfg-node.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Generic pin configuration node schema
10 - Linus Walleij <linus.walleij@linaro.org>
13 Many data items that are represented in a pin configuration node are common
14 and generic. Pin control bindings should use the properties defined below
15 where they are applicable; not all of these properties are relevant or useful
16 for all hardware or binding structures. Each individual binding document
17 should state which of these generic properties, if any, are used, and the
18 structure of the DT nodes that contain these properties.
23 description: disable any pin bias
27 description: high impedance mode ("third-state", "floating")
31 description: latch weakly
36 - $ref: /schemas/types.yaml#/definitions/uint32
37 description: pull up the pin. Takes as optional argument on hardware
38 supporting it the pull strength in Ohm.
43 - $ref: /schemas/types.yaml#/definitions/uint32
44 description: pull down the pin. Takes as optional argument on hardware
45 supporting it the pull strength in Ohm.
47 bias-pull-pin-default:
50 - $ref: /schemas/types.yaml#/definitions/uint32
51 description: use pin-default pull state. Takes as optional argument on
52 hardware supporting it the pull strength in Ohm.
56 description: drive actively high and low
60 description: drive with open drain
64 description: drive with open source
67 $ref: /schemas/types.yaml#/definitions/uint32
68 description: sink or source at most X mA
70 drive-strength-microamp:
71 description: sink or source at most X uA
75 description: enable input on pin (no effect on output, such as
76 enabling an input buffer)
80 description: disable input on pin (no effect on output, such as
81 disabling an input buffer)
85 description: enable schmitt-trigger mode
87 input-schmitt-disable:
89 description: disable schmitt-trigger mode
92 $ref: /schemas/types.yaml#/definitions/uint32
93 description: Takes the debounce time in usec as argument or 0 to disable
97 $ref: /schemas/types.yaml#/definitions/uint32
98 description: select between different power supplies
102 description: enable low power mode
106 description: disable low power mode
110 description: disable output on a pin (such as disable an output buffer)
114 description: enable output on a pin without actively driving it
115 (such as enabling an output buffer)
119 description: set the pin to output mode with low level
123 description: set the pin to output mode with high level
125 sleep-hardware-state:
127 description: indicate this is sleep related state which will be
128 programmed into the registers for the sleep state.
131 $ref: /schemas/types.yaml#/definitions/uint32
132 description: set the slew rate
135 $ref: /schemas/types.yaml#/definitions/uint32
137 this affects the expected clock skew on input pins
138 and the delay before latching a value to an output
139 pin. Typically indicates how many double-inverters are
140 used to delay the signal.