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
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.
57 - $ref: /schemas/types.yaml#/definitions/uint32
60 description: drive actively high and low
65 - $ref: /schemas/types.yaml#/definitions/uint32
66 const: 1 # No known cases of 0
68 description: drive with open drain
72 description: drive with open source
75 $ref: /schemas/types.yaml#/definitions/uint32
76 description: sink or source at most X mA
78 drive-strength-microamp:
79 description: sink or source at most X uA
83 description: enable input on pin (no effect on output, such as
84 enabling an input buffer)
88 description: disable input on pin (no effect on output, such as
89 disabling an input buffer)
93 description: enable schmitt-trigger mode
95 input-schmitt-disable:
97 description: disable schmitt-trigger mode
100 $ref: /schemas/types.yaml#/definitions/uint32
101 description: Takes the debounce time in usec as argument or 0 to disable
105 $ref: /schemas/types.yaml#/definitions/uint32
106 description: select between different power supplies
110 description: enable low power mode
114 description: disable low power mode
118 description: disable output on a pin (such as disable an output buffer)
122 description: enable output on a pin without actively driving it
123 (such as enabling an output buffer)
125 output-impedance-ohms:
126 description: set the output impedance of a pin to at most X ohms
130 description: set the pin to output mode with low level
134 description: set the pin to output mode with high level
136 sleep-hardware-state:
138 description: indicate this is sleep related state which will be
139 programmed into the registers for the sleep state.
142 $ref: /schemas/types.yaml#/definitions/uint32
143 description: set the slew rate
146 $ref: /schemas/types.yaml#/definitions/uint32
148 this affects the expected clock skew on input pins
149 and the delay before latching a value to an output
150 pin. Typically indicates how many double-inverters are
151 used to delay the signal.
153 additionalProperties: true