NVIDIA Tegra Pinmux Controller
Schema identifier ($id): "http://devicetree.org/schemas/pinctrl/nvidia,tegra-pinmux-common.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Thierry Reding <thierry.reding@gmail.com>", "Jonathan Hunter <jonathanh@nvidia.com>"
Please refer to pinctrl-bindings.txt in this directory for details of the common pinctrl bindings used by client devices, including the meaning of the phrase "pin configuration node".
Tegra's pin configuration nodes act as a container for an arbitrary number of subnodes. Each of these subnodes represents some desired configuration for a pin, a group, or a list of pins or groups. This configuration can include the mux function to select on those pin(s)/ group(s), and various pin configuration parameters, such as pull-up, tristate, drive strength, etc.
The name of each subnode is not important; all subnodes should be enumerated and processed purely based on their content.
Each subnode only affects those parameters that are explicitly listed. In other words, a subnode that lists a mux function but no pin configuration parameters implies no information about any pin configuration parameters.
Similarly, a pin subnode that describes a pullup parameter implies no information about e.g. the mux function or tristate parameter. For this reason, even seemingly boolean values are actually tristates in this binding: unspecified, off, or on. Unspecified is represented as an absent property, and off/on are represented as integer values 0 and 1.
Note that many of these properties are only valid for certain specific pins or groups. See the Tegra TRM and various pinmux spreadsheets for complete details regarding which groups support which functionality. The Linux pinctrl driver may also be a useful reference, since it consolidates, disambiguates, and corrects data from all those sources.
Properties and child nodes (properties) #
nvidia,pins — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/string-array
An array of strings. Each string contains the name of a pin or group. Valid values for these names are listed below.
nvidia,function — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/string
A string containing the name of the function to mux to the pin or group. Valid values for function names are listed below. See the Tegra TRM to determine which are valid for each pin or group.
nvidia,pull — not listed as required here #
Pull-down/up setting to apply to the pin.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Exactly one of these rules must match (oneOf) #
Rule 1
none
Exact value (
const):0
Rule 2
down
Exact value (
const):1
Rule 3
up
Exact value (
const):2
nvidia,tristate — not listed as required here #
Tristate setting to apply to the pin.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Exactly one of these rules must match (oneOf) #
Rule 1
drive
Exact value (
const):0
Rule 2
tristate
Exact value (
const):1
nvidia,schmitt — not listed as required here #
Enable Schmitt trigger on the input.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Exactly one of these rules must match (oneOf) #
Rule 1
disable Schmitt trigger on the input
Exact value (
const):0
Rule 2
enable Schmitt trigger on the input
Exact value (
const):1
nvidia,pull-down-strength — not listed as required here #
Controls drive strength. 0 is weakest. The range of valid values depends on the pingroup. See "CAL_DRVDN" in the Tegra TRM.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
nvidia,pull-up-strength — not listed as required here #
Controls drive strength. 0 is weakest. The range of valid values depends on the pingroup. See "CAL_DRVUP" in the Tegra TRM.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
nvidia,high-speed-mode — not listed as required here #
Enable high speed mode the pins.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Exactly one of these rules must match (oneOf) #
Rule 1
normal speed mode
Exact value (
const):0
Rule 2
high speed mode
Exact value (
const):1
nvidia,low-power-mode — not listed as required here #
Controls the drive power or current. Valid values are from 0 through 3, where 0 specifies the least power and 3 specifies the most power. See "Low Power Mode" or "LPMD1" and "LPMD0" in the Tegra TRM.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Allowed values (enum): 0, 1, 2, 3
nvidia,enable-input — not listed as required here #
Enable the pin's input path.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Exactly one of these rules must match (oneOf) #
Rule 1
disable input (i.e. output only)
Exact value (
const):0
Rule 2
enable input
Exact value (
const):1
nvidia,open-drain — not listed as required here #
Open-drain configuration for the pin.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Exactly one of these rules must match (oneOf) #
Rule 1
disable open-drain
Exact value (
const):0
Rule 2
enable open-drain
Exact value (
const):1
nvidia,lock — not listed as required here #
Lock the pin configuration against further changes until reset.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Exactly one of these rules must match (oneOf) #
Rule 1
disable pin configuration lock
Exact value (
const):0
Rule 2
enable pin configuration lock
Exact value (
const):1
nvidia,io-reset — not listed as required here #
reset the I/O path
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
nvidia,rcv-sel — not listed as required here #
select VIL/VIH receivers
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Exactly one of these rules must match (oneOf) #
Rule 1
normal receivers
Exact value (
const):0
Rule 2
high-voltage receivers
Exact value (
const):1
nvidia,drive-type — not listed as required here #
Drive type to configure for the pin.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Allowed values (enum): 0, 1, 2, 3
nvidia,io-hv — not listed as required here #
Select high-voltage receivers.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Exactly one of these rules must match (oneOf) #
Rule 1
Use normal receivers.
Exact value (
const):0
Rule 2
Use high-voltage receivers.
Exact value (
const):1
nvidia,slew-rate-rising — not listed as required here #
Controls rising signal slew rate. 0 is fastest. The range of valid values depends on the pingroup. See "DRVDN_SLWR" in the Tegra TRM.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
nvidia,slew-rate-falling — not listed as required here #
Controls falling signal slew rate. 0 is fastest. The range of valid values depends on the pingroup. See "DRVUP_SLWF" in the Tegra TRM.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
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 OR BSD-2-Clause)