162306a36Sopenharmony_ci# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 262306a36Sopenharmony_ci%YAML 1.2 362306a36Sopenharmony_ci--- 462306a36Sopenharmony_ci$id: http://devicetree.org/schemas/pinctrl/nvidia,tegra-pinmux-common.yaml# 562306a36Sopenharmony_ci$schema: http://devicetree.org/meta-schemas/core.yaml# 662306a36Sopenharmony_ci 762306a36Sopenharmony_cititle: NVIDIA Tegra Pinmux Controller 862306a36Sopenharmony_ci 962306a36Sopenharmony_cimaintainers: 1062306a36Sopenharmony_ci - Thierry Reding <thierry.reding@gmail.com> 1162306a36Sopenharmony_ci - Jonathan Hunter <jonathanh@nvidia.com> 1262306a36Sopenharmony_ci 1362306a36Sopenharmony_cidescription: | 1462306a36Sopenharmony_ci Please refer to pinctrl-bindings.txt in this directory for details of the 1562306a36Sopenharmony_ci common pinctrl bindings used by client devices, including the meaning of 1662306a36Sopenharmony_ci the phrase "pin configuration node". 1762306a36Sopenharmony_ci 1862306a36Sopenharmony_ci Tegra's pin configuration nodes act as a container for an arbitrary number 1962306a36Sopenharmony_ci of subnodes. Each of these subnodes represents some desired configuration 2062306a36Sopenharmony_ci for a pin, a group, or a list of pins or groups. This configuration can 2162306a36Sopenharmony_ci include the mux function to select on those pin(s)/ group(s), and various 2262306a36Sopenharmony_ci pin configuration parameters, such as pull-up, tristate, drive strength, 2362306a36Sopenharmony_ci etc. 2462306a36Sopenharmony_ci 2562306a36Sopenharmony_ci The name of each subnode is not important; all subnodes should be 2662306a36Sopenharmony_ci enumerated and processed purely based on their content. 2762306a36Sopenharmony_ci 2862306a36Sopenharmony_ci Each subnode only affects those parameters that are explicitly listed. In 2962306a36Sopenharmony_ci other words, a subnode that lists a mux function but no pin configuration 3062306a36Sopenharmony_ci parameters implies no information about any pin configuration parameters. 3162306a36Sopenharmony_ci 3262306a36Sopenharmony_ci Similarly, a pin subnode that describes a pullup parameter implies no 3362306a36Sopenharmony_ci information about e.g. the mux function or tristate parameter. For this 3462306a36Sopenharmony_ci reason, even seemingly boolean values are actually tristates in this 3562306a36Sopenharmony_ci binding: unspecified, off, or on. Unspecified is represented as an absent 3662306a36Sopenharmony_ci property, and off/on are represented as integer values 0 and 1. 3762306a36Sopenharmony_ci 3862306a36Sopenharmony_ci Note that many of these properties are only valid for certain specific pins 3962306a36Sopenharmony_ci or groups. See the Tegra TRM and various pinmux spreadsheets for complete 4062306a36Sopenharmony_ci details regarding which groups support which functionality. The Linux 4162306a36Sopenharmony_ci pinctrl driver may also be a useful reference, since it consolidates, 4262306a36Sopenharmony_ci disambiguates, and corrects data from all those sources. 4362306a36Sopenharmony_ci 4462306a36Sopenharmony_ciproperties: 4562306a36Sopenharmony_ci nvidia,pins: 4662306a36Sopenharmony_ci $ref: /schemas/types.yaml#/definitions/string-array 4762306a36Sopenharmony_ci description: An array of strings. Each string contains the name of a pin 4862306a36Sopenharmony_ci or group. Valid values for these names are listed below. 4962306a36Sopenharmony_ci 5062306a36Sopenharmony_ci nvidia,function: 5162306a36Sopenharmony_ci $ref: /schemas/types.yaml#/definitions/string 5262306a36Sopenharmony_ci description: A string containing the name of the function to mux to the 5362306a36Sopenharmony_ci pin or group. Valid values for function names are listed below. See the 5462306a36Sopenharmony_ci Tegra TRM to determine which are valid for each pin or group. 5562306a36Sopenharmony_ci 5662306a36Sopenharmony_ci nvidia,pull: 5762306a36Sopenharmony_ci description: Pull-down/up setting to apply to the pin. 5862306a36Sopenharmony_ci $ref: /schemas/types.yaml#/definitions/uint32 5962306a36Sopenharmony_ci oneOf: 6062306a36Sopenharmony_ci - description: none 6162306a36Sopenharmony_ci const: 0 6262306a36Sopenharmony_ci - description: down 6362306a36Sopenharmony_ci const: 1 6462306a36Sopenharmony_ci - description: up 6562306a36Sopenharmony_ci const: 2 6662306a36Sopenharmony_ci 6762306a36Sopenharmony_ci nvidia,tristate: 6862306a36Sopenharmony_ci description: Tristate setting to apply to the pin. 6962306a36Sopenharmony_ci $ref: /schemas/types.yaml#/definitions/uint32 7062306a36Sopenharmony_ci oneOf: 7162306a36Sopenharmony_ci - description: drive 7262306a36Sopenharmony_ci const: 0 7362306a36Sopenharmony_ci - description: tristate 7462306a36Sopenharmony_ci const: 1 7562306a36Sopenharmony_ci 7662306a36Sopenharmony_ci nvidia,schmitt: 7762306a36Sopenharmony_ci description: Enable Schmitt trigger on the input. 7862306a36Sopenharmony_ci $ref: /schemas/types.yaml#/definitions/uint32 7962306a36Sopenharmony_ci oneOf: 8062306a36Sopenharmony_ci - description: disable Schmitt trigger on the input 8162306a36Sopenharmony_ci const: 0 8262306a36Sopenharmony_ci - description: enable Schmitt trigger on the input 8362306a36Sopenharmony_ci const: 1 8462306a36Sopenharmony_ci 8562306a36Sopenharmony_ci nvidia,pull-down-strength: 8662306a36Sopenharmony_ci description: Controls drive strength. 0 is weakest. The range of valid 8762306a36Sopenharmony_ci values depends on the pingroup. See "CAL_DRVDN" in the Tegra TRM. 8862306a36Sopenharmony_ci $ref: /schemas/types.yaml#/definitions/uint32 8962306a36Sopenharmony_ci 9062306a36Sopenharmony_ci nvidia,pull-up-strength: 9162306a36Sopenharmony_ci description: Controls drive strength. 0 is weakest. The range of valid 9262306a36Sopenharmony_ci values depends on the pingroup. See "CAL_DRVUP" in the Tegra TRM. 9362306a36Sopenharmony_ci $ref: /schemas/types.yaml#/definitions/uint32 9462306a36Sopenharmony_ci 9562306a36Sopenharmony_ci nvidia,high-speed-mode: 9662306a36Sopenharmony_ci description: Enable high speed mode the pins. 9762306a36Sopenharmony_ci $ref: /schemas/types.yaml#/definitions/uint32 9862306a36Sopenharmony_ci oneOf: 9962306a36Sopenharmony_ci - description: normal speed mode 10062306a36Sopenharmony_ci const: 0 10162306a36Sopenharmony_ci - description: high speed mode 10262306a36Sopenharmony_ci const: 1 10362306a36Sopenharmony_ci 10462306a36Sopenharmony_ci nvidia,low-power-mode: 10562306a36Sopenharmony_ci description: Controls the drive power or current. Valid values are from 0 10662306a36Sopenharmony_ci through 3, where 0 specifies the least power and 3 specifies the most 10762306a36Sopenharmony_ci power. See "Low Power Mode" or "LPMD1" and "LPMD0" in the Tegra TRM. 10862306a36Sopenharmony_ci $ref: /schemas/types.yaml#/definitions/uint32 10962306a36Sopenharmony_ci enum: [ 0, 1, 2, 3 ] 11062306a36Sopenharmony_ci 11162306a36Sopenharmony_ci nvidia,enable-input: 11262306a36Sopenharmony_ci description: Enable the pin's input path. 11362306a36Sopenharmony_ci $ref: /schemas/types.yaml#/definitions/uint32 11462306a36Sopenharmony_ci oneOf: 11562306a36Sopenharmony_ci - description: disable input (i.e. output only) 11662306a36Sopenharmony_ci const: 0 11762306a36Sopenharmony_ci - description: enable input 11862306a36Sopenharmony_ci const: 1 11962306a36Sopenharmony_ci 12062306a36Sopenharmony_ci nvidia,open-drain: 12162306a36Sopenharmony_ci description: Open-drain configuration for the pin. 12262306a36Sopenharmony_ci $ref: /schemas/types.yaml#/definitions/uint32 12362306a36Sopenharmony_ci oneOf: 12462306a36Sopenharmony_ci - description: disable open-drain 12562306a36Sopenharmony_ci const: 0 12662306a36Sopenharmony_ci - description: enable open-drain 12762306a36Sopenharmony_ci const: 1 12862306a36Sopenharmony_ci 12962306a36Sopenharmony_ci nvidia,lock: 13062306a36Sopenharmony_ci description: Lock the pin configuration against further changes until 13162306a36Sopenharmony_ci reset. 13262306a36Sopenharmony_ci $ref: /schemas/types.yaml#/definitions/uint32 13362306a36Sopenharmony_ci oneOf: 13462306a36Sopenharmony_ci - description: disable pin configuration lock 13562306a36Sopenharmony_ci const: 0 13662306a36Sopenharmony_ci - description: enable pin configuration lock 13762306a36Sopenharmony_ci const: 1 13862306a36Sopenharmony_ci 13962306a36Sopenharmony_ci nvidia,io-reset: 14062306a36Sopenharmony_ci description: reset the I/O path 14162306a36Sopenharmony_ci $ref: /schemas/types.yaml#/definitions/uint32 14262306a36Sopenharmony_ci enum: [ 0, 1 ] 14362306a36Sopenharmony_ci 14462306a36Sopenharmony_ci nvidia,rcv-sel: 14562306a36Sopenharmony_ci description: select VIL/VIH receivers 14662306a36Sopenharmony_ci $ref: /schemas/types.yaml#/definitions/uint32 14762306a36Sopenharmony_ci oneOf: 14862306a36Sopenharmony_ci - description: normal receivers 14962306a36Sopenharmony_ci const: 0 15062306a36Sopenharmony_ci - description: high-voltage receivers 15162306a36Sopenharmony_ci const: 1 15262306a36Sopenharmony_ci 15362306a36Sopenharmony_ci nvidia,drive-type: 15462306a36Sopenharmony_ci description: Drive type to configure for the pin. 15562306a36Sopenharmony_ci $ref: /schemas/types.yaml#/definitions/uint32 15662306a36Sopenharmony_ci enum: [ 0, 1, 2, 3 ] 15762306a36Sopenharmony_ci 15862306a36Sopenharmony_ci nvidia,io-hv: 15962306a36Sopenharmony_ci description: Select high-voltage receivers. 16062306a36Sopenharmony_ci $ref: /schemas/types.yaml#/definitions/uint32 16162306a36Sopenharmony_ci oneOf: 16262306a36Sopenharmony_ci - description: Use normal receivers. 16362306a36Sopenharmony_ci const: 0 16462306a36Sopenharmony_ci - description: Use high-voltage receivers. 16562306a36Sopenharmony_ci const: 1 16662306a36Sopenharmony_ci 16762306a36Sopenharmony_ci nvidia,slew-rate-rising: 16862306a36Sopenharmony_ci description: Controls rising signal slew rate. 0 is fastest. The range of 16962306a36Sopenharmony_ci valid values depends on the pingroup. See "DRVDN_SLWR" in the Tegra TRM. 17062306a36Sopenharmony_ci $ref: /schemas/types.yaml#/definitions/uint32 17162306a36Sopenharmony_ci 17262306a36Sopenharmony_ci nvidia,slew-rate-falling: 17362306a36Sopenharmony_ci description: Controls falling signal slew rate. 0 is fastest. The range of 17462306a36Sopenharmony_ci valid values depends on the pingroup. See "DRVUP_SLWF" in the Tegra TRM. 17562306a36Sopenharmony_ci $ref: /schemas/types.yaml#/definitions/uint32 17662306a36Sopenharmony_ci 17762306a36Sopenharmony_ciadditionalProperties: true 17862306a36Sopenharmony_ci... 179