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,mt6779-pinctrl.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Andy Teng <andy.teng@mediatek.com>
11 - Sean Wang <sean.wang@kernel.org>
14 The MediaTek pin controller on MT6779 is used to control pin functions, pull
15 up/down resistance and drive strength options.
20 - mediatek,mt6779-pinctrl
21 - mediatek,mt6797-pinctrl
26 reg-names: true
28 gpio-controller: true
30 "#gpio-cells":
37 gpio-ranges:
43 interrupt-controller: true
50 "#interrupt-cells":
54 - compatible
55 - reg
56 - reg-names
57 - gpio-controller
58 - "#gpio-cells"
61 - $ref: pinctrl.yaml#
62 - if:
66 const: mediatek,mt6779-pinctrl
73 reg-names:
75 - const: gpio
76 - const: iocfg_rm
77 - const: iocfg_br
78 - const: iocfg_lm
79 - const: iocfg_lb
80 - const: iocfg_rt
81 - const: iocfg_lt
82 - const: iocfg_tl
83 - const: eint
84 - if:
88 const: mediatek,mt6797-pinctrl
95 reg-names:
97 - const: gpio
98 - const: iocfgl
99 - const: iocfgb
100 - const: iocfgr
101 - const: iocfgt
102 - if:
104 reg-names:
109 - interrupts
110 - interrupt-controller
111 - "#interrupt-cells"
114 '-[0-9]*$':
119 '-pins*$':
127 $ref: /schemas/pinctrl/pincfg-node.yaml
134 defined as macros in dt-bindings/pinctrl/<soc>-pinfunc.h directly.
136 bias-disable: true
138 bias-pull-up: true
140 bias-pull-down: true
142 input-enable: true
144 input-disable: true
146 output-low: true
148 output-high: true
150 input-schmitt-enable: true
152 input-schmitt-disable: true
154 drive-strength:
157 slew-rate:
160 mediatek,pull-up-adv:
162 Pull up settings for 2 pull resistors, R0 and R1. User can
172 mediatek,pull-down-adv:
174 Pull down settings for 2 pull resistors, R0 and R1. User can
185 - pinmux
192 - |
193 #include <dt-bindings/interrupt-controller/irq.h>
194 #include <dt-bindings/interrupt-controller/arm-gic.h>
195 #include <dt-bindings/pinctrl/mt6779-pinfunc.h>
198 #address-cells = <2>;
199 #size-cells = <2>;
202 compatible = "mediatek,mt6779-pinctrl";
212 reg-names = "gpio", "iocfg_rm",
217 gpio-controller;
218 #gpio-cells = <2>;
219 gpio-ranges = <&pio 0 0 210>;
220 interrupt-controller;
221 #interrupt-cells = <2>;
224 mmc0_pins_default: mmc0-0 {
225 cmd-dat-pins {
235 input-enable;
236 mediatek,pull-up-adv = <1>;
238 clk-pins {
240 mediatek,pull-down-adv = <2>;
242 rst-pins {
244 mediatek,pull-up-adv = <0>;
250 pinctrl-0 = <&mmc0_pins_default>;
251 pinctrl-names = "default";