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 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:
63 We provide two methods to select the resistance for I2C when pull up or pull down.
64 The first is by RSEL definition value, another one is by resistance value(ohm).
65 This flag is used to identify if the method is resistance(si unit) value.
69 '-pins$':
76 $ref: "/schemas/pinctrl/pincfg-node.yaml"
80 pinctrl groups available on the machine. Each subnode will list the
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]
110 and resistance value.
112 set different resistance. It can support "MTK_PUPD_SET_R1R0_00" &
115 For pull down type is RSEL, it can add RSEL define & resistance value(ohm)
116 … to set different resistance by identifying property "mediatek,rsel-resistance-in-si-unit".
120 … define in mt8188. It can also support resistance value(ohm) "75000" & "5000" in mt8188.
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]
133 and resistance value.
135 set different resistance. It can support "MTK_PUPD_SET_R1R0_00" &
138 For pull up type is RSEL, it can add RSEL define & resistance value(ohm)
139 … to set different resistance by identifying property "mediatek,rsel-resistance-in-si-unit".
143 define in mt8188. It can also support resistance value(ohm)
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 {
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 {
222 bias-disable;
223 drive-strength-microamp = <1000>;