Lines Matching +full:input +full:- +full:schmitt +full:- +full:disable
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:
36 gpio-controller: true
38 "#gpio-cells":
45 mediatek,pctl-regmap:
46 $ref: /schemas/types.yaml#/definitions/phandle-array
54 interrupt-controller: true
60 "#interrupt-cells":
64 - compatible
65 - pins-are-numbered
66 - gpio-controller
67 - "#gpio-cells"
70 - $ref: "pinctrl.yaml#"
73 '-[0-9]+$':
84 configuration, pullups, drive strength, input enable/disable and input
85 schmitt.
86 $ref: "/schemas/pinctrl/pincfg-node.yaml"
93 defined as macros in <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 pins-are-numbered;
154 gpio-controller;
155 #gpio-cells = <2>;
156 interrupt-controller;
157 #interrupt-cells = <2>;
162 i2c0_pins_a: i2c0-0 {
166 bias-disable;
170 i2c1_pins_a: i2c1-0 {
174 bias-pull-up = <MTK_PUPD_SET_R1R0_01>;
178 i2c2_pins_a: i2c2-0 {
181 bias-pull-down;
186 bias-pull-up;
190 i2c3_pins_a: i2c3-0 {
194 bias-pull-up = <MTK_PUPD_SET_R1R0_01>;
200 output-low;
201 bias-pull-up = <MTK_PUPD_SET_R1R0_01>;
207 drive-strength = <32>;