Generic Pin Configuration Node
Schema identifier ($id): "http://devicetree.org/schemas/pinctrl/pincfg-node.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Linus Walleij <linusw@kernel.org>"
Many data items that are represented in a pin configuration node are common and generic. Pin control bindings should use the properties defined below where they are applicable; not all of these properties are relevant or useful for all hardware or binding structures. Each individual binding document should state which of these generic properties, if any, are used, and the structure of the DT nodes that contain these properties.
Properties and child nodes (properties) #
bias-disable — not listed as required here #
Value type (type): "boolean"
disable any pin bias
bias-high-impedance — not listed as required here #
Value type (type): "boolean"
high impedance mode ("third-state", "floating")
bias-bus-hold — not listed as required here #
Value type (type): "boolean"
latch weakly
bias-pull-up — not listed as required here #
Exactly one of these rules must match (oneOf) #
Rule 1
Value type (
type):"boolean"
Rule 2
Shared schema rule (
$ref):/schemas/types.yaml#/definitions/uint32
pull up the pin. Takes as optional argument on hardware supporting it the pull strength in Ohm.
bias-pull-down — not listed as required here #
Exactly one of these rules must match (oneOf) #
Rule 1
Value type (
type):"boolean"
Rule 2
Shared schema rule (
$ref):/schemas/types.yaml#/definitions/uint32
pull down the pin. Takes as optional argument on hardware supporting it the pull strength in Ohm.
bias-pull-pin-default — not listed as required here #
Exactly one of these rules must match (oneOf) #
Rule 1
Value type (
type):"boolean"
Rule 2
Shared schema rule (
$ref):/schemas/types.yaml#/definitions/uint32
use pin-default pull state. Takes as optional argument on hardware supporting it the pull strength in Ohm.
drive-push-pull — not listed as required here #
Exactly one of these rules must match (oneOf) #
Rule 1
Value type (
type):"boolean"
Rule 2
Shared schema rule (
$ref):/schemas/types.yaml#/definitions/uint32Deprecated (
deprecated):true
drive actively high and low
drive-open-drain — not listed as required here #
Exactly one of these rules must match (oneOf) #
Rule 1
Value type (
type):"boolean"
Rule 2
Shared schema rule (
$ref):/schemas/types.yaml#/definitions/uint32Exact value (
const):1Deprecated (
deprecated):true
drive with open drain
drive-open-source — not listed as required here #
Value type (type): "boolean"
drive with open source
drive-strength — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
sink or source at most X mA
drive-strength-microamp — not listed as required here #
sink or source at most X uA
input-enable — not listed as required here #
Value type (type): "boolean"
enable input on pin (no effect on output, such as enabling an input buffer)
input-disable — not listed as required here #
Value type (type): "boolean"
disable input on pin (no effect on output, such as disabling an input buffer)
input-schmitt-enable — not listed as required here #
Value type (type): "boolean"
enable schmitt-trigger mode
input-schmitt-disable — not listed as required here #
Value type (type): "boolean"
disable schmitt-trigger mode
input-schmitt-microvolt — not listed as required here #
threshold strength for schmitt-trigger
input-debounce — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32-array
Takes the debounce time in usec as argument or 0 to disable debouncing
power-source — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
select between different power supplies
low-power-enable — not listed as required here #
Value type (type): "boolean"
enable low power mode
low-power-disable — not listed as required here #
Value type (type): "boolean"
disable low power mode
output-disable — not listed as required here #
Value type (type): "boolean"
disable output on a pin (such as disable an output buffer)
output-enable — not listed as required here #
Value type (type): "boolean"
enable output on a pin without actively driving it (such as enabling an output buffer)
output-impedance-ohms — not listed as required here #
set the output impedance of a pin to at most X ohms
output-low — not listed as required here #
Value type (type): "boolean"
set the pin to output mode with low level
output-high — not listed as required here #
Value type (type): "boolean"
set the pin to output mode with high level
sleep-hardware-state — not listed as required here #
Value type (type): "boolean"
indicate this is sleep related state which will be programmed into the registers for the sleep state.
slew-rate — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
set the slew rate
skew-delay — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
this affects the expected clock skew on input pins and the delay before latching a value to an output pin. Typically indicates how many double-inverters are used to delay the signal.
skew-delay-input-ps — not listed as required here #
this affects the expected clock skew in ps on an input pin.
skew-delay-output-ps — not listed as required here #
this affects the expected delay in ps before latching a value to an output pin.
Condition (if) #
When the condition matches (then) #
Properties and child nodes (
properties) #
skew-delay-input-ps— not listed as required here #
false— Not permitted by this property rule.
skew-delay-output-ps— not listed as required here #
false— Not permitted by this property rule.
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
true
Allowed by this rule.
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0-only
Line 66: No known cases of 0