Lines Matching +full:input +full:- +full:schmitt +full:- +full:enable
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>
15 - compatible: "syscon"
19 const: mediatek,mt6779-pinctrl
25 reg-names:
27 - const: "gpio"
28 - const: "iocfg_rm"
29 - const: "iocfg_br"
30 - const: "iocfg_lm"
31 - const: "iocfg_lb"
32 - const: "iocfg_rt"
33 - const: "iocfg_lt"
34 - const: "iocfg_tl"
35 - const: "eint"
37 gpio-controller: true
39 "#gpio-cells":
46 gpio-ranges:
52 interrupt-controller: true
59 "#interrupt-cells":
63 - $ref: "pinctrl.yaml#"
66 - compatible
67 - reg
68 - reg-names
69 - gpio-controller
70 - "#gpio-cells"
71 - gpio-ranges
72 - interrupt-controller
73 - interrupts
74 - "#interrupt-cells"
77 '-[0-9]*$':
82 '-pins*$':
88 configuration, pullups, drive strength, input enable/disable and input schmitt.
89 $ref: "/schemas/pinctrl/pincfg-node.yaml"
96 as macros in boot/dts/<soc>-pinfunc.h directly.
98 bias-disable: true
100 bias-pull-up: true
102 bias-pull-down: true
104 input-enable: true
106 input-disable: true
108 output-low: true
110 output-high: true
112 input-schmitt-enable: true
114 input-schmitt-disable: true
116 mediatek,pull-up-adv:
127 mediatek,pull-down-adv:
139 - pinmux
146 - |
147 #include <dt-bindings/interrupt-controller/irq.h>
148 #include <dt-bindings/interrupt-controller/arm-gic.h>
149 #include <dt-bindings/pinctrl/mt6779-pinfunc.h>
152 #address-cells = <2>;
153 #size-cells = <2>;
156 compatible = "mediatek,mt6779-pinctrl";
166 reg-names = "gpio", "iocfg_rm",
171 gpio-controller;
172 #gpio-cells = <2>;
173 gpio-ranges = <&pio 0 0 210>;
174 interrupt-controller;
175 #interrupt-cells = <2>;
178 mmc0_pins_default: mmc0-0 {
179 cmd-dat-pins {
189 input-enable;
190 mediatek,pull-up-adv = <1>;
192 clk-pins {
194 mediatek,pull-down-adv = <2>;
196 rst-pins {
198 mediatek,pull-up-adv = <0>;
204 pinctrl-0 = <&mmc0_pins_default>;
205 pinctrl-names = "default";