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,mt8188-pinctrl.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Hui Liu <hui.liu@mediatek.com>
13 The MediaTek's MT8188 Pin controller is used to control SoC pins.
17 const: mediatek,mt8188-pinctrl
19 gpio-controller: true
21 '#gpio-cells':
25 parameters which are defined in <dt-bindings/gpio/gpio.h>.
28 gpio-ranges:
31 gpio-line-names: true
35 - description: gpio registers base address
36 - description: rm group io configuration registers base address
37 - description: lt group io configuration registers base address
38 - description: lm group io configuration registers base address
39 - description: rt group io configuration registers base address
40 - description: eint registers base address
42 reg-names:
44 - const: iocfg0
45 - const: iocfg_rm
46 - const: iocfg_lt
47 - const: iocfg_lm
48 - const: iocfg_rt
49 - const: eint
51 interrupt-controller: true
53 '#interrupt-cells':
60 mediatek,rsel-resistance-in-si-unit:
69 '-pins$':
74 '^pins':
76 $ref: "/schemas/pinctrl/pincfg-node.yaml"
81 pins it needs, and how they should be configured, with regard to muxer
90 defined as macros in dt-bindings/pinctrl/mediatek,<soc>-pinfunc.h
93 drive-strength:
96 drive-strength-microamp:
99 bias-pull-down:
101 - type: boolean
102 - enum: [100, 101, 102, 103]
104 - enum: [200, 201, 202, 203, 204, 205, 206, 207]
106 - enum: [75000, 5000]
116 … to set different resistance by identifying property "mediatek,rsel-resistance-in-si-unit".
122 bias-pull-up:
124 - type: boolean
125 - enum: [100, 101, 102, 103]
127 - enum: [200, 201, 202, 203, 204, 205, 206, 207]
129 - enum: [1000, 1500, 2000, 3000, 4000, 5000, 10000, 75000]
139 … to set different resistance by identifying property "mediatek,rsel-resistance-in-si-unit".
146 bias-disable: true
148 output-high: true
150 output-low: true
152 input-enable: true
154 input-disable: true
156 input-schmitt-enable: true
158 input-schmitt-disable: true
161 - pinmux
164 - compatible
165 - reg
166 - interrupts
167 - interrupt-controller
168 - '#interrupt-cells'
169 - gpio-controller
170 - '#gpio-cells'
171 - gpio-ranges
176 - |
177 #include <dt-bindings/pinctrl/mediatek,mt8188-pinfunc.h>
178 #include <dt-bindings/interrupt-controller/arm-gic.h>
181 compatible = "mediatek,mt8188-pinctrl";
188 reg-names = "iocfg0", "iocfg_rm",
191 gpio-controller;
192 #gpio-cells = <2>;
193 gpio-ranges = <&pio 0 0 176>;
194 interrupt-controller;
196 #interrupt-cells = <2>;
198 pio-pins {
199 pins {
201 output-low;
205 spi0-pins {
206 pins-spi {
210 drive-strength = <6>;
212 pins-spi-mi {
214 bias-pull-down = <MTK_PUPD_SET_R1R0_10>;
218 i2c0-pins {
219 pins {
222 bias-disable;
223 drive-strength-microamp = <1000>;