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,mt65xx-pinctrl.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Sean Wang <sean.wang@kernel.org>
18 - mediatek,mt2701-pinctrl
19 - mediatek,mt2712-pinctrl
20 - mediatek,mt6397-pinctrl
21 - mediatek,mt7623-pinctrl
22 - mediatek,mt8127-pinctrl
23 - mediatek,mt8135-pinctrl
24 - mediatek,mt8167-pinctrl
25 - mediatek,mt8173-pinctrl
26 - mediatek,mt8516-pinctrl
31 pins-are-numbered:
37 gpio-controller: true
39 "#gpio-cells":
46 mediatek,pctl-regmap:
47 $ref: /schemas/types.yaml#/definitions/phandle-array
55 interrupt-controller: true
61 "#interrupt-cells":
65 - compatible
66 - gpio-controller
67 - "#gpio-cells"
70 - $ref: pinctrl.yaml#
84 configuration, pullups, drive strength, input enable/disable and input
85 schmitt.
86 $ref: /schemas/pinctrl/pincfg-node.yaml
93 defined as macros in dt-bindings/pinctrl/<soc>-pinfunc.h directly.
95 bias-disable: true
97 bias-pull-up:
102 as MTK_PUPD_SET_R1R0_00. See dt-bindings/pinctrl/mt65xx.h for
105 bias-pull-down: true
107 input-enable: true
109 input-disable: true
111 output-low: true
113 output-high: true
115 input-schmitt-enable: true
117 input-schmitt-disable: true
119 drive-strength:
122 etc. See dt-bindings/pinctrl/mt65xx.h for valid arguments.
125 - pinmux
130 - |
131 #include <dt-bindings/interrupt-controller/irq.h>
132 #include <dt-bindings/interrupt-controller/arm-gic.h>
133 #include <dt-bindings/pinctrl/mt8135-pinfunc.h>
136 #address-cells = <2>;
137 #size-cells = <2>;
139 syscfg_pctl_a: syscfg-pctl-a@10005000 {
140 compatible = "mediatek,mt8135-pctl-a-syscfg", "syscon";
144 syscfg_pctl_b: syscfg-pctl-b@1020c020 {
145 compatible = "mediatek,mt8135-pctl-b-syscfg", "syscon";
150 compatible = "mediatek,mt8135-pinctrl";
152 mediatek,pctl-regmap = <&syscfg_pctl_a>, <&syscfg_pctl_b>;
153 gpio-controller;
154 #gpio-cells = <2>;
155 interrupt-controller;
156 #interrupt-cells = <2>;
161 i2c0_pins_a: i2c0-pins {
165 bias-disable;
169 i2c1_pins_a: i2c1-pins {
173 bias-pull-up = <MTK_PUPD_SET_R1R0_01>;
177 i2c2_pins_a: i2c2-pins {
180 bias-pull-down;
185 bias-pull-up;
189 i2c3_pins_a: i2c3-pins {
193 bias-pull-up = <MTK_PUPD_SET_R1R0_01>;
199 output-low;
200 bias-pull-up = <MTK_PUPD_SET_R1R0_01>;
206 drive-strength = <32>;