Lines Matching +full:on +full:- +full:resistance
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>
17 const: mediatek,mt8188-pinctrl
19 gpio-controller: true
21 '#gpio-cells':
25 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:
63 We provide two methods to select the resistance for I2C when pull up or
65 resistance value(ohm). This flag is used to identify if the method is
66 resistance(si unit) value.
70 '-pins$':
77 $ref: /schemas/pinctrl/pincfg-node.yaml
81 pinctrl groups available on the machine. Each subnode will list the
91 defined as macros in dt-bindings/pinctrl/mediatek,mt8188-pinfunc.h
94 drive-strength:
97 drive-strength-microamp:
100 bias-pull-down:
102 - type: boolean
103 - enum: [100, 101, 102, 103]
105 - enum: [200, 201, 202, 203, 204, 205, 206, 207]
107 - enum: [75000, 5000]
111 define and resistance value.
113 set different resistance. It can support "MTK_PUPD_SET_R1R0_00" &
116 For pull down type is RSEL, it can add RSEL define & resistance
117 value(ohm) to set different resistance by identifying property
118 "mediatek,rsel-resistance-in-si-unit". It can support
123 mt8188. It can also support resistance value(ohm) "75000" & "5000"
126 bias-pull-up:
128 - type: boolean
129 - enum: [100, 101, 102, 103]
131 - enum: [200, 201, 202, 203, 204, 205, 206, 207]
133 - enum: [1000, 1500, 2000, 3000, 4000, 5000, 10000, 75000]
137 and resistance value.
139 different resistance. It can support "MTK_PUPD_SET_R1R0_00" &
142 For pull up type is RSEL, it can add RSEL define & resistance
143 value(ohm) to set different resistance by identifying property
144 "mediatek,rsel-resistance-in-si-unit". It can support
149 mt8188. It can also support resistance value(ohm) "1000" & "1500"
152 bias-disable: true
154 output-high: true
156 output-low: true
158 input-enable: true
160 input-disable: true
162 input-schmitt-enable: true
164 input-schmitt-disable: true
167 - pinmux
170 - compatible
171 - reg
172 - interrupts
173 - interrupt-controller
174 - '#interrupt-cells'
175 - gpio-controller
176 - '#gpio-cells'
177 - gpio-ranges
182 - |
183 #include <dt-bindings/pinctrl/mediatek,mt8188-pinfunc.h>
184 #include <dt-bindings/interrupt-controller/arm-gic.h>
187 compatible = "mediatek,mt8188-pinctrl";
194 reg-names = "iocfg0", "iocfg_rm",
197 gpio-controller;
198 #gpio-cells = <2>;
199 gpio-ranges = <&pio 0 0 176>;
200 interrupt-controller;
202 #interrupt-cells = <2>;
204 pio-pins {
207 output-low;
211 spi0-pins {
212 pins-spi {
216 drive-strength = <6>;
218 pins-spi-mi {
220 bias-pull-down = <MTK_PUPD_SET_R1R0_10>;
224 i2c0-pins {
228 bias-disable;
229 drive-strength-microamp = <1000>;