Lines Matching +full:pio +full:- +full:pins
1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/pinctrl/pinctrl-mt8186.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Sean Wang <sean.wang@mediatek.com>
13 The Mediatek's Pin controller is used to control SoC pins.
17 const: mediatek,mt8186-pinctrl
19 gpio-controller: true
21 '#gpio-cells':
28 gpio-ranges:
31 gpio-line-names: true
39 reg-names:
43 - const: iocfg0
44 - const: iocfg_lt
45 - const: iocfg_lm
46 - const: iocfg_lb
47 - const: iocfg_bl
48 - const: iocfg_rb
49 - const: iocfg_rt
50 - const: eint
52 interrupt-controller: true
54 '#interrupt-cells':
61 mediatek,rsel-resistance-in-si-unit:
64 Identifying i2c pins pull up/down type which is RSEL. It can support
69 '-pins$':
73 '^pins':
79 pins it needs, and how they should be configured, with regard to muxer
85 gpio-pins {
86 pins {
91 i2c0-pins {
92 pins {
97 $ref: "pinmux-node.yaml"
104 defined as macros in dt-bindings/pinctrl/<soc>-pinfunc.h
107 drive-strength:
110 drive-strength-microamp:
113 bias-pull-down:
115 - type: boolean
116 - enum: [100, 101, 102, 103]
118 - enum: [200, 201, 202, 203]
120 - enum: [75000, 5000]
131 "mediatek,rsel-resistance-in-si-unit".
139 pins {
141 bias-pull-down = <MTK_PULL_SET_RSEL_001>;
146 &pio {
147 mediatek,rsel-resistance-in-si-unit;
151 pins {
153 bias-pull-down = <75000>;
158 bias-pull-up:
160 - type: boolean
161 - enum: [100, 101, 102, 103]
163 - enum: [200, 201, 202, 203]
165 - enum: [1000, 5000, 10000, 75000]
176 "mediatek,rsel-resistance-in-si-unit".
182 &pio {
183 mediatek,rsel-resistance-in-si-unit;
186 i2c0-pins {
187 pins {
189 bias-pull-up = <1000>;
194 bias-disable: true
196 output-high: true
198 output-low: true
200 input-enable: true
202 input-disable: true
204 input-schmitt-enable: true
206 input-schmitt-disable: true
209 - pinmux
212 - compatible
213 - reg
214 - interrupts
215 - interrupt-controller
216 - '#interrupt-cells'
217 - gpio-controller
218 - '#gpio-cells'
219 - gpio-ranges
224 - |
225 #include <dt-bindings/pinctrl/mt8186-pinfunc.h>
226 #include <dt-bindings/interrupt-controller/arm-gic.h>
228 pio: pinctrl@10005000 {
229 compatible = "mediatek,mt8186-pinctrl";
238 reg-names = "iocfg0", "iocfg_lt", "iocfg_lm",
241 gpio-controller;
242 #gpio-cells = <2>;
243 gpio-ranges = <&pio 0 0 185>;
244 interrupt-controller;
246 #interrupt-cells = <2>;
248 pio-pins {
249 pins {
251 output-low;
255 spi0-pins {
256 pins-spi {
260 bias-disable;
262 pins-spi-mi {
264 bias-pull-down;
268 i2c0-pins {
269 pins {
272 bias-pull-up = <MTK_PULL_SET_RSEL_001>;
273 drive-strength-microamp = <1000>;