Lines Matching +full:pull +full:- +full:down +full:- +full:adv

1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/pinctrl/mediatek,mt7986-pinctrl.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Sean Wang <sean.wang@kernel.org>
18 - mediatek,mt7986a-pinctrl
19 - mediatek,mt7986b-pinctrl
25 reg-names:
27 - const: gpio
28 - const: iocfg_rt
29 - const: iocfg_rb
30 - const: iocfg_lt
31 - const: iocfg_lb
32 - const: iocfg_tr
33 - const: iocfg_tl
34 - const: eint
36 gpio-controller: true
38 "#gpio-cells":
45 gpio-ranges:
51 interrupt-controller: true
56 "#interrupt-cells":
60 - $ref: pinctrl.yaml#
63 - compatible
64 - reg
65 - reg-names
66 - gpio-controller
67 - "#gpio-cells"
70 '-pins$':
85 ---------------------------------------------------------------------
131 $ref: /schemas/pinctrl/pinmux-node.yaml
146 - function
147 - groups
150 - if:
158 - if:
166 - if:
174 - if:
182 - if:
190 - if:
198 - if:
208 - if:
218 - if:
228 - if:
241 - if:
249 - if:
264 $ref: /schemas/pinctrl/pincfg-node.yaml
295 bias-disable: true
297 bias-pull-up:
299 - type: boolean
300 description: normal pull up.
301 - enum: [100, 101, 102, 103]
303 PUPD/R1/R0 pull down type. See MTK_PUPD_SET_R1R0 defines in
304 dt-bindings/pinctrl/mt65xx.h.
306 bias-pull-down:
308 - type: boolean
309 description: normal pull down.
310 - enum: [100, 101, 102, 103]
312 PUPD/R1/R0 pull down type. See MTK_PUPD_SET_R1R0 defines in
313 dt-bindings/pinctrl/mt65xx.h.
315 input-enable: true
317 input-disable: true
319 output-enable: true
321 output-low: true
323 output-high: true
325 input-schmitt-enable: true
327 input-schmitt-disable: true
329 drive-strength:
332 mediatek,pull-up-adv:
334 Valid arguments for 'mediatek,pull-up-adv' are '0', '1', '2', '3'
335 Pull up settings for 2 pull resistors, R0 and R1. Valid arguments
344 mediatek,pull-down-adv:
346 Valid arguments for 'mediatek,pull-up-adv' are '0', '1', '2', '3'
347 Pull down settings for 2 pull resistors, R0 and R1. Valid arguments
357 - pins
362 - |
363 #include <dt-bindings/interrupt-controller/irq.h>
364 #include <dt-bindings/interrupt-controller/arm-gic.h>
365 #include <dt-bindings/pinctrl/mt65xx.h>
368 #address-cells = <2>;
369 #size-cells = <2>;
371 compatible = "mediatek,mt7986a-pinctrl";
380 reg-names = "gpio", "iocfg_rt", "iocfg_rb", "iocfg_lt",
382 gpio-controller;
383 #gpio-cells = <2>;
384 gpio-ranges = <&pio 0 0 100>;
385 interrupt-controller;
387 interrupt-parent = <&gic>;
388 #interrupt-cells = <2>;
390 pcie_pins: pcie-pins {
397 pwm_pins: pwm-pins {
404 spi0_pins: spi0-pins {
411 uart1_pins: uart1-pins {
418 uart1_3_pins: uart1-3-pins {
425 uart2_pins: uart2-pins {
432 mmc0_pins_default: mmc0-pins {
437 conf-cmd-dat {
441 input-enable;
442 drive-strength = <4>;
443 bias-pull-up = <MTK_PUPD_SET_R1R0_01>; /* pull-up 10K */
445 conf-clk {
447 drive-strength = <6>;
448 bias-pull-down = <MTK_PUPD_SET_R1R0_10>; /* pull-down 50K */
450 conf-ds {
452 bias-pull-down = <MTK_PUPD_SET_R1R0_10>; /* pull-down 50K */
454 conf-rst {
456 drive-strength = <4>;
457 bias-pull-up = <MTK_PUPD_SET_R1R0_01>; /* pull-up 10K */