Lines Matching +full:pinctrl +full:- +full:pin +full:- +full:array
1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/pinctrl/pinctrl-single.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Generic Pin Controller with a Single Register for One or More Pins
10 - Tony Lindgren <tony@atomide.com>
13 Some pin controller devices use a single register for one or more pins. The
14 range of pin control registers can vary from one to many for each controller
16 kind of pin controller instances.
21 - enum:
22 - pinctrl-single
23 - pinconf-single
24 - items:
25 - enum:
26 - ti,am437-padconf
27 - ti,am654-padconf
28 - ti,dra7-padconf
29 - ti,omap2420-padconf
30 - ti,omap2430-padconf
31 - ti,omap3-padconf
32 - ti,omap4-padconf
33 - ti,omap5-padconf
34 - ti,j7200-padconf
35 - const: pinctrl-single
36 - items:
37 - enum:
38 - marvell,pxa1908-padconf
39 - const: pinconf-single
44 interrupt-controller: true
46 '#interrupt-cells':
49 '#address-cells':
52 '#size-cells':
55 '#pinctrl-cells':
57 Number of cells. Usually 2, consisting of register offset, pin configuration
61 pinctrl-single,bit-per-mux:
62 description: Optional flag to indicate register controls more than one pin
65 pinctrl-single,function-mask:
69 pinctrl-single,function-off:
73 pinctrl-single,register-width:
74 description: Width of pin specific bits in the register
78 pinctrl-single,gpio-range:
79 description: Optional list of pin base, nr pins & gpio function
80 $ref: /schemas/types.yaml#/definitions/phandle-array
83 - description: phandle of a gpio-range node
84 - description: pin base
85 - description: number of pins
86 - description: gpio function
88 '#gpio-range-cells':
89 description: No longer needed, may exist in older files for gpio-ranges
93 gpio-range:
98 '#pinctrl-single,gpio-range-cells':
104 '-pins(-[0-9]+)?$|-pin$':
106 Pin group node name using naming ending in -pins followed by an optional
112 pinctrl-single,pins:
114 Array of pins as described in pinmux-node.yaml for pinctrl-pin-array
115 $ref: /schemas/types.yaml#/definitions/uint32-array
117 pinctrl-single,bits:
118 description: Register bit configuration for pinctrl-single,bit-per-mux
119 $ref: /schemas/types.yaml#/definitions/uint32-array
121 - description: register offset
122 - description: value
123 - description: pin bitmask in the register
125 pinctrl-single,bias-pullup:
127 $ref: /schemas/types.yaml#/definitions/uint32-array
129 - description: input
130 - description: enabled pull up bits
131 - description: disabled pull up bits
132 - description: bias pull up mask
134 pinctrl-single,bias-pulldown:
136 $ref: /schemas/types.yaml#/definitions/uint32-array
138 - description: input
139 - description: enabled pull down bits
140 - description: disabled pull down bits
141 - description: bias pull down mask
143 pinctrl-single,drive-strength:
145 $ref: /schemas/types.yaml#/definitions/uint32-array
147 - description: drive strength current
148 - description: drive strength mask
150 pinctrl-single,input-schmitt:
152 $ref: /schemas/types.yaml#/definitions/uint32-array
154 - description: schmitt strength current
155 - description: schmitt strength mask
157 pinctrl-single,input-schmitt-enable:
159 $ref: /schemas/types.yaml#/definitions/uint32-array
161 - description: input
162 - description: enable bits
163 - description: disable bits
164 - description: input schmitt mask
166 pinctrl-single,low-power-mode:
168 $ref: /schemas/types.yaml#/definitions/uint32-array
170 - description: low power mode value
171 - description: low power mode mask
173 pinctrl-single,slew-rate:
175 $ref: /schemas/types.yaml#/definitions/uint32-array
177 - description: slew rate
178 - description: slew rate mask
181 - $ref: pinctrl.yaml#
184 - compatible
185 - reg
186 - pinctrl-single,register-width
191 - |
193 #address-cells = <1>;
194 #size-cells = <1>;
197 compatible = "pinctrl-single";
199 #address-cells = <1>;
200 #size-cells = <0>;
201 #pinctrl-cells = <2>;
202 #interrupt-cells = <1>;
203 interrupt-controller;
204 pinctrl-single,register-width = <16>;
205 pinctrl-single,function-mask = <0xffff>;
206 pinctrl-single,gpio-range = <&range 0 3 0>;
207 range: gpio-range {
208 #pinctrl-single,gpio-range-cells = <3>;
211 uart2-pins {
212 pinctrl-single,pins =