Lines Matching +full:enable +full:- +full:bias +full:- +full:control
1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/pinctrl/mediatek,mt8195-pinctrl.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Sean Wang <sean.wang@mediatek.com>
13 The MediaTek's MT8195 Pin controller is used to control SoC pins.
17 const: mediatek,mt8195-pinctrl
19 gpio-controller: true
21 '#gpio-cells':
28 gpio-ranges:
32 gpio-line-names: true
40 reg-names:
45 interrupt-controller: true
47 '#interrupt-cells':
54 mediatek,rsel-resistance-in-si-unit:
62 '-pins$':
73 configuration, pullups, drive strength, input enable/disable and input
78 gpio-pins {
84 i2c0-pins {
90 $ref: pinmux-node.yaml
97 defined as macros in dt-bindings/pinctrl/<soc>-pinfunc.h directly.
99 drive-strength:
102 drive-strength-microamp:
105 bias-pull-down:
107 - type: boolean
108 - enum: [100, 101, 102, 103]
110 - enum: [200, 201, 202, 203, 204, 205, 206, 207]
112 - enum: [75000, 5000]
123 "mediatek,rsel-resistance-in-si-unit".
136 bias-pull-down = <MTK_PULL_SET_RSEL_001>;
142 mediatek,rsel-resistance-in-si-unit;
148 bias-pull-down = <75000>;
153 bias-pull-up:
155 - type: boolean
156 - enum: [100, 101, 102, 103]
158 - enum: [200, 201, 202, 203, 204, 205, 206, 207]
160 - enum: [1000, 1500, 2000, 3000, 4000, 5000, 10000, 75000]
171 "mediatek,rsel-resistance-in-si-unit".
181 i2c0-pins {
184 bias-pull-up = <MTK_PULL_SET_RSEL_001>;
190 mediatek,rsel-resistance-in-si-unit;
193 i2c0-pins {
196 bias-pull-up = <1000>;
201 bias-disable: true
203 output-high: true
205 output-low: true
207 input-enable: true
209 input-disable: true
211 input-schmitt-enable: true
213 input-schmitt-disable: true
216 - pinmux
219 - $ref: pinctrl.yaml#
222 - compatible
223 - reg
224 - interrupts
225 - interrupt-controller
226 - '#interrupt-cells'
227 - gpio-controller
228 - '#gpio-cells'
229 - gpio-ranges
234 - |
235 #include <dt-bindings/pinctrl/mt8195-pinfunc.h>
236 #include <dt-bindings/interrupt-controller/arm-gic.h>
239 compatible = "mediatek,mt8195-pinctrl";
248 reg-names = "iocfg0", "iocfg_bm", "iocfg_bl",
251 gpio-controller;
252 #gpio-cells = <2>;
253 gpio-ranges = <&pio 0 0 144>;
254 interrupt-controller;
256 #interrupt-cells = <2>;
258 pio-pins {
261 output-low;
265 spi0-pins {
266 pins-spi {
270 bias-disable;
272 pins-spi-mi {
274 bias-pull-down;
278 i2c0-pins {
282 bias-disable;
283 drive-strength-microamp = <1000>;