Lines Matching +full:pins +full:- +full:spi +full:- +full:mi
1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/pinctrl/mediatek,mt8186-pinctrl.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Sean Wang <sean.wang@mediatek.com>
13 The MediaTek's MT8186 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 RSEL
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 directly.
106 drive-strength:
109 drive-strength-microamp:
112 bias-pull-down:
114 - type: boolean
115 - enum: [100, 101, 102, 103]
117 - enum: [200, 201, 202, 203]
119 - enum: [75000, 5000]
130 "mediatek,rsel-resistance-in-si-unit".
138 pins {
140 bias-pull-down = <MTK_PULL_SET_RSEL_001>;
146 mediatek,rsel-resistance-in-si-unit;
150 pins {
152 bias-pull-down = <75000>;
157 bias-pull-up:
159 - type: boolean
160 - enum: [100, 101, 102, 103]
162 - enum: [200, 201, 202, 203]
164 - enum: [1000, 5000, 10000, 75000]
175 "mediatek,rsel-resistance-in-si-unit".
182 mediatek,rsel-resistance-in-si-unit;
185 i2c0-pins {
186 pins {
188 bias-pull-up = <1000>;
193 bias-disable: true
195 output-high: true
197 output-low: true
199 input-enable: true
201 input-disable: true
203 input-schmitt-enable: true
205 input-schmitt-disable: true
208 - pinmux
211 - compatible
212 - reg
213 - interrupts
214 - interrupt-controller
215 - '#interrupt-cells'
216 - gpio-controller
217 - '#gpio-cells'
218 - gpio-ranges
223 - |
224 #include <dt-bindings/pinctrl/mt8186-pinfunc.h>
225 #include <dt-bindings/interrupt-controller/arm-gic.h>
228 compatible = "mediatek,mt8186-pinctrl";
237 reg-names = "iocfg0", "iocfg_lt", "iocfg_lm",
240 gpio-controller;
241 #gpio-cells = <2>;
242 gpio-ranges = <&pio 0 0 185>;
243 interrupt-controller;
245 #interrupt-cells = <2>;
247 pio-pins {
248 pins {
250 output-low;
254 spi0-pins {
255 pins-spi {
259 bias-disable;
261 pins-spi-mi {
263 bias-pull-down;
267 i2c0-pins {
268 pins {
271 bias-pull-up = <MTK_PULL_SET_RSEL_001>;
272 drive-strength-microamp = <1000>;