1*8bab661aSEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2*8bab661aSEmmanuel Vadot%YAML 1.2 3*8bab661aSEmmanuel Vadot--- 4*8bab661aSEmmanuel Vadot$id: http://devicetree.org/schemas/pinctrl/nvidia,tegra-pinmux-common.yaml# 5*8bab661aSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml# 6*8bab661aSEmmanuel Vadot 7*8bab661aSEmmanuel Vadottitle: NVIDIA Tegra Pinmux Controller 8*8bab661aSEmmanuel Vadot 9*8bab661aSEmmanuel Vadotmaintainers: 10*8bab661aSEmmanuel Vadot - Thierry Reding <thierry.reding@gmail.com> 11*8bab661aSEmmanuel Vadot - Jonathan Hunter <jonathanh@nvidia.com> 12*8bab661aSEmmanuel Vadot 13*8bab661aSEmmanuel Vadotdescription: | 14*8bab661aSEmmanuel Vadot Please refer to pinctrl-bindings.txt in this directory for details of the 15*8bab661aSEmmanuel Vadot common pinctrl bindings used by client devices, including the meaning of 16*8bab661aSEmmanuel Vadot the phrase "pin configuration node". 17*8bab661aSEmmanuel Vadot 18*8bab661aSEmmanuel Vadot Tegra's pin configuration nodes act as a container for an arbitrary number 19*8bab661aSEmmanuel Vadot of subnodes. Each of these subnodes represents some desired configuration 20*8bab661aSEmmanuel Vadot for a pin, a group, or a list of pins or groups. This configuration can 21*8bab661aSEmmanuel Vadot include the mux function to select on those pin(s)/ group(s), and various 22*8bab661aSEmmanuel Vadot pin configuration parameters, such as pull-up, tristate, drive strength, 23*8bab661aSEmmanuel Vadot etc. 24*8bab661aSEmmanuel Vadot 25*8bab661aSEmmanuel Vadot The name of each subnode is not important; all subnodes should be 26*8bab661aSEmmanuel Vadot enumerated and processed purely based on their content. 27*8bab661aSEmmanuel Vadot 28*8bab661aSEmmanuel Vadot Each subnode only affects those parameters that are explicitly listed. In 29*8bab661aSEmmanuel Vadot other words, a subnode that lists a mux function but no pin configuration 30*8bab661aSEmmanuel Vadot parameters implies no information about any pin configuration parameters. 31*8bab661aSEmmanuel Vadot 32*8bab661aSEmmanuel Vadot Similarly, a pin subnode that describes a pullup parameter implies no 33*8bab661aSEmmanuel Vadot information about e.g. the mux function or tristate parameter. For this 34*8bab661aSEmmanuel Vadot reason, even seemingly boolean values are actually tristates in this 35*8bab661aSEmmanuel Vadot binding: unspecified, off, or on. Unspecified is represented as an absent 36*8bab661aSEmmanuel Vadot property, and off/on are represented as integer values 0 and 1. 37*8bab661aSEmmanuel Vadot 38*8bab661aSEmmanuel Vadot Note that many of these properties are only valid for certain specific pins 39*8bab661aSEmmanuel Vadot or groups. See the Tegra TRM and various pinmux spreadsheets for complete 40*8bab661aSEmmanuel Vadot details regarding which groups support which functionality. The Linux 41*8bab661aSEmmanuel Vadot pinctrl driver may also be a useful reference, since it consolidates, 42*8bab661aSEmmanuel Vadot disambiguates, and corrects data from all those sources. 43*8bab661aSEmmanuel Vadot 44*8bab661aSEmmanuel Vadotproperties: 45*8bab661aSEmmanuel Vadot nvidia,pins: 46*8bab661aSEmmanuel Vadot $ref: /schemas/types.yaml#/definitions/string-array 47*8bab661aSEmmanuel Vadot description: An array of strings. Each string contains the name of a pin 48*8bab661aSEmmanuel Vadot or group. Valid values for these names are listed below. 49*8bab661aSEmmanuel Vadot 50*8bab661aSEmmanuel Vadot nvidia,function: 51*8bab661aSEmmanuel Vadot $ref: /schemas/types.yaml#/definitions/string 52*8bab661aSEmmanuel Vadot description: A string containing the name of the function to mux to the 53*8bab661aSEmmanuel Vadot pin or group. Valid values for function names are listed below. See the 54*8bab661aSEmmanuel Vadot Tegra TRM to determine which are valid for each pin or group. 55*8bab661aSEmmanuel Vadot 56*8bab661aSEmmanuel Vadot nvidia,pull: 57*8bab661aSEmmanuel Vadot description: Pull-down/up setting to apply to the pin. 58*8bab661aSEmmanuel Vadot $ref: /schemas/types.yaml#/definitions/uint32 59*8bab661aSEmmanuel Vadot oneOf: 60*8bab661aSEmmanuel Vadot - description: none 61*8bab661aSEmmanuel Vadot const: 0 62*8bab661aSEmmanuel Vadot - description: down 63*8bab661aSEmmanuel Vadot const: 1 64*8bab661aSEmmanuel Vadot - description: up 65*8bab661aSEmmanuel Vadot const: 2 66*8bab661aSEmmanuel Vadot 67*8bab661aSEmmanuel Vadot nvidia,tristate: 68*8bab661aSEmmanuel Vadot description: Tristate setting to apply to the pin. 69*8bab661aSEmmanuel Vadot $ref: /schemas/types.yaml#/definitions/uint32 70*8bab661aSEmmanuel Vadot oneOf: 71*8bab661aSEmmanuel Vadot - description: drive 72*8bab661aSEmmanuel Vadot const: 0 73*8bab661aSEmmanuel Vadot - description: tristate 74*8bab661aSEmmanuel Vadot const: 1 75*8bab661aSEmmanuel Vadot 76*8bab661aSEmmanuel Vadot nvidia,schmitt: 77*8bab661aSEmmanuel Vadot description: Enable Schmitt trigger on the input. 78*8bab661aSEmmanuel Vadot $ref: /schemas/types.yaml#/definitions/uint32 79*8bab661aSEmmanuel Vadot oneOf: 80*8bab661aSEmmanuel Vadot - description: disable Schmitt trigger on the input 81*8bab661aSEmmanuel Vadot const: 0 82*8bab661aSEmmanuel Vadot - description: enable Schmitt trigger on the input 83*8bab661aSEmmanuel Vadot const: 1 84*8bab661aSEmmanuel Vadot 85*8bab661aSEmmanuel Vadot nvidia,pull-down-strength: 86*8bab661aSEmmanuel Vadot description: Controls drive strength. 0 is weakest. The range of valid 87*8bab661aSEmmanuel Vadot values depends on the pingroup. See "CAL_DRVDN" in the Tegra TRM. 88*8bab661aSEmmanuel Vadot $ref: /schemas/types.yaml#/definitions/uint32 89*8bab661aSEmmanuel Vadot 90*8bab661aSEmmanuel Vadot nvidia,pull-up-strength: 91*8bab661aSEmmanuel Vadot description: Controls drive strength. 0 is weakest. The range of valid 92*8bab661aSEmmanuel Vadot values depends on the pingroup. See "CAL_DRVUP" in the Tegra TRM. 93*8bab661aSEmmanuel Vadot $ref: /schemas/types.yaml#/definitions/uint32 94*8bab661aSEmmanuel Vadot 95*8bab661aSEmmanuel Vadot nvidia,high-speed-mode: 96*8bab661aSEmmanuel Vadot description: Enable high speed mode the pins. 97*8bab661aSEmmanuel Vadot $ref: /schemas/types.yaml#/definitions/uint32 98*8bab661aSEmmanuel Vadot oneOf: 99*8bab661aSEmmanuel Vadot - description: normal speed mode 100*8bab661aSEmmanuel Vadot const: 0 101*8bab661aSEmmanuel Vadot - description: high speed mode 102*8bab661aSEmmanuel Vadot const: 1 103*8bab661aSEmmanuel Vadot 104*8bab661aSEmmanuel Vadot nvidia,low-power-mode: 105*8bab661aSEmmanuel Vadot description: Controls the drive power or current. Valid values are from 0 106*8bab661aSEmmanuel Vadot through 3, where 0 specifies the least power and 3 specifies the most 107*8bab661aSEmmanuel Vadot power. See "Low Power Mode" or "LPMD1" and "LPMD0" in the Tegra TRM. 108*8bab661aSEmmanuel Vadot $ref: /schemas/types.yaml#/definitions/uint32 109*8bab661aSEmmanuel Vadot enum: [ 0, 1, 2, 3 ] 110*8bab661aSEmmanuel Vadot 111*8bab661aSEmmanuel Vadot nvidia,enable-input: 112*8bab661aSEmmanuel Vadot description: Enable the pin's input path. 113*8bab661aSEmmanuel Vadot $ref: /schemas/types.yaml#/definitions/uint32 114*8bab661aSEmmanuel Vadot oneOf: 115*8bab661aSEmmanuel Vadot - description: disable input (i.e. output only) 116*8bab661aSEmmanuel Vadot const: 0 117*8bab661aSEmmanuel Vadot - description: enable input 118*8bab661aSEmmanuel Vadot const: 1 119*8bab661aSEmmanuel Vadot 120*8bab661aSEmmanuel Vadot nvidia,open-drain: 121*8bab661aSEmmanuel Vadot description: Open-drain configuration for the pin. 122*8bab661aSEmmanuel Vadot $ref: /schemas/types.yaml#/definitions/uint32 123*8bab661aSEmmanuel Vadot oneOf: 124*8bab661aSEmmanuel Vadot - description: disable open-drain 125*8bab661aSEmmanuel Vadot const: 0 126*8bab661aSEmmanuel Vadot - description: enable open-drain 127*8bab661aSEmmanuel Vadot const: 1 128*8bab661aSEmmanuel Vadot 129*8bab661aSEmmanuel Vadot nvidia,lock: 130*8bab661aSEmmanuel Vadot description: Lock the pin configuration against further changes until 131*8bab661aSEmmanuel Vadot reset. 132*8bab661aSEmmanuel Vadot $ref: /schemas/types.yaml#/definitions/uint32 133*8bab661aSEmmanuel Vadot oneOf: 134*8bab661aSEmmanuel Vadot - description: disable pin configuration lock 135*8bab661aSEmmanuel Vadot const: 0 136*8bab661aSEmmanuel Vadot - description: enable pin configuration lock 137*8bab661aSEmmanuel Vadot const: 1 138*8bab661aSEmmanuel Vadot 139*8bab661aSEmmanuel Vadot nvidia,io-reset: 140*8bab661aSEmmanuel Vadot description: reset the I/O path 141*8bab661aSEmmanuel Vadot $ref: /schemas/types.yaml#/definitions/uint32 142*8bab661aSEmmanuel Vadot enum: [ 0, 1 ] 143*8bab661aSEmmanuel Vadot 144*8bab661aSEmmanuel Vadot nvidia,rcv-sel: 145*8bab661aSEmmanuel Vadot description: select VIL/VIH receivers 146*8bab661aSEmmanuel Vadot $ref: /schemas/types.yaml#/definitions/uint32 147*8bab661aSEmmanuel Vadot oneOf: 148*8bab661aSEmmanuel Vadot - description: normal receivers 149*8bab661aSEmmanuel Vadot const: 0 150*8bab661aSEmmanuel Vadot - description: high-voltage receivers 151*8bab661aSEmmanuel Vadot const: 1 152*8bab661aSEmmanuel Vadot 153*8bab661aSEmmanuel Vadot nvidia,drive-type: 154*8bab661aSEmmanuel Vadot description: Drive type to configure for the pin. 155*8bab661aSEmmanuel Vadot $ref: /schemas/types.yaml#/definitions/uint32 156*8bab661aSEmmanuel Vadot enum: [ 0, 1, 2, 3 ] 157*8bab661aSEmmanuel Vadot 158*8bab661aSEmmanuel Vadot nvidia,io-hv: 159*8bab661aSEmmanuel Vadot description: Select high-voltage receivers. 160*8bab661aSEmmanuel Vadot $ref: /schemas/types.yaml#/definitions/uint32 161*8bab661aSEmmanuel Vadot oneOf: 162*8bab661aSEmmanuel Vadot - description: Use normal receivers. 163*8bab661aSEmmanuel Vadot const: 0 164*8bab661aSEmmanuel Vadot - description: Use high-voltage receivers. 165*8bab661aSEmmanuel Vadot const: 1 166*8bab661aSEmmanuel Vadot 167*8bab661aSEmmanuel Vadot nvidia,slew-rate-rising: 168*8bab661aSEmmanuel Vadot description: Controls rising signal slew rate. 0 is fastest. The range of 169*8bab661aSEmmanuel Vadot valid values depends on the pingroup. See "DRVDN_SLWR" in the Tegra TRM. 170*8bab661aSEmmanuel Vadot $ref: /schemas/types.yaml#/definitions/uint32 171*8bab661aSEmmanuel Vadot 172*8bab661aSEmmanuel Vadot nvidia,slew-rate-falling: 173*8bab661aSEmmanuel Vadot description: Controls falling signal slew rate. 0 is fastest. The range of 174*8bab661aSEmmanuel Vadot valid values depends on the pingroup. See "DRVUP_SLWF" in the Tegra TRM. 175*8bab661aSEmmanuel Vadot $ref: /schemas/types.yaml#/definitions/uint32 176*8bab661aSEmmanuel Vadot 177*8bab661aSEmmanuel VadotadditionalProperties: true 178*8bab661aSEmmanuel Vadot... 179