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,mt7981-pinctrl.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Daniel Golle <daniel@makrotopia.org>
18 - mediatek,mt7981-pinctrl
24 reg-names:
26 - const: gpio
27 - const: iocfg_rt
28 - const: iocfg_rm
29 - const: iocfg_rb
30 - const: iocfg_lb
31 - const: iocfg_bl
32 - const: iocfg_tm
33 - const: iocfg_tl
34 - const: eint
36 gpio-controller: true
38 "#gpio-cells":
45 gpio-ranges:
50 interrupt-controller: true
55 "#interrupt-cells":
59 - $ref: pinctrl.yaml#
62 - compatible
63 - reg
64 - reg-names
65 - gpio-controller
66 - "#gpio-cells"
69 '-pins$':
84 ---------------------------------------------------------------------
156 $ref: /schemas/pinctrl/pinmux-node.yaml
168 - function
169 - groups
172 - if:
180 - if:
188 - if:
196 - if:
204 - if:
212 - if:
220 - if:
228 - if:
236 - if:
245 - if:
254 - if:
263 - if:
273 - if:
284 - if:
295 - if:
303 - if:
313 - if:
328 $ref: /schemas/pinctrl/pincfg-node.yaml
349 bias-disable: true
351 bias-pull-up:
353 - type: boolean
354 description: normal pull up.
355 - enum: [100, 101, 102, 103]
357 PUPD/R1/R0 pull down type. See MTK_PUPD_SET_R1R0 defines in
358 dt-bindings/pinctrl/mt65xx.h.
360 bias-pull-down:
362 - type: boolean
363 description: normal pull down.
364 - enum: [100, 101, 102, 103]
366 PUPD/R1/R0 pull down type. See MTK_PUPD_SET_R1R0 defines in
367 dt-bindings/pinctrl/mt65xx.h.
369 input-enable: true
371 input-disable: true
373 output-enable: true
375 output-low: true
377 output-high: true
379 input-schmitt-enable: true
381 input-schmitt-disable: true
383 drive-strength:
386 mediatek,pull-up-adv:
388 Valid arguments for 'mediatek,pull-up-adv' are '0', '1', '2', '3'
389 Pull up settings for 2 pull resistors, R0 and R1. Valid arguments
398 mediatek,pull-down-adv:
400 Valid arguments for 'mediatek,pull-up-adv' are '0', '1', '2', '3'
401 Pull down settings for 2 pull resistors, R0 and R1. Valid arguments
411 - pins
416 - |
417 #include <dt-bindings/interrupt-controller/irq.h>
418 #include <dt-bindings/interrupt-controller/arm-gic.h>
419 #include <dt-bindings/pinctrl/mt65xx.h>
422 #address-cells = <2>;
423 #size-cells = <2>;
425 compatible = "mediatek,mt7981-pinctrl";
435 reg-names = "gpio", "iocfg_rt", "iocfg_rm",
438 gpio-controller;
439 #gpio-cells = <2>;
440 gpio-ranges = <&pio 0 0 56>;
441 interrupt-controller;
443 interrupt-parent = <&gic>;
444 #interrupt-cells = <2>;
446 mdio_pins: mdio-pins {
453 spi0_flash_pins: spi0-pins {
459 conf-pu {
461 drive-strength = <MTK_DRIVE_8mA>;
462 bias-pull-up = <MTK_PUPD_SET_R1R0_11>;
465 conf-pd {
467 drive-strength = <MTK_DRIVE_8mA>;
468 bias-pull-down = <MTK_PUPD_SET_R1R0_11>;
472 pcie_pins: pcie-pins {