Lines Matching +full:en +full:- +full:gpio
1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/pinctrl/mediatek,mt8365-pinctrl.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Zhiyong Tao <zhiyong.tao@mediatek.com>
11 - Bernhard Rosenkränzer <bero@baylibre.com>
18 const: mediatek,mt8365-pinctrl
23 mediatek,pctl-regmap:
24 $ref: /schemas/types.yaml#/definitions/phandle-array
32 gpio-controller: true
34 "#gpio-cells":
37 Number of cells in GPIO specifier. Since the generic GPIO binding is used,
38 the amount of cells must be specified as 2. See the below mentioned gpio
41 interrupt-controller: true
46 "#interrupt-cells":
50 "-pins$":
63 $ref: /schemas/pinctrl/pincfg-node.yaml
68 Integer array, represents gpio pin number and mux setting.
70 defined as macros in <soc>-pinfunc.h directly.
72 bias-disable: true
74 bias-pull-up:
76 - type: boolean
77 - enum: [100, 101, 102, 103]
88 bias-pull-down:
90 - type: boolean
91 - enum: [100, 101, 102, 103]
102 drive-strength:
105 input-enable: true
107 input-disable: true
109 output-low: true
111 output-high: true
113 input-schmitt-enable: true
115 input-schmitt-disable: true
117 drive-strength-microamp:
120 mediatek,drive-strength-adv:
123 DEPRECATED: Please use drive-strength-microamp instead.
134 EN is used to enable or disable the specific driving setup.
136 0: (E1, E0, EN) = (0, 0, 0)
137 1: (E1, E0, EN) = (0, 0, 1)
138 2: (E1, E0, EN) = (0, 1, 0)
139 3: (E1, E0, EN) = (0, 1, 1)
140 4: (E1, E0, EN) = (1, 0, 0)
141 5: (E1, E0, EN) = (1, 0, 1)
142 6: (E1, E0, EN) = (1, 1, 0)
143 7: (E1, E0, EN) = (1, 1, 1)
148 mediatek,pull-up-adv:
151 DEPRECATED: Please use bias-pull-up instead.
162 mediatek,pull-down-adv:
165 DEPRECATED: Please use bias-pull-down instead.
191 - pinmux
194 - compatible
195 - reg
196 - gpio-controller
197 - "#gpio-cells"
200 - $ref: pinctrl.yaml#
205 - |
206 #include <dt-bindings/interrupt-controller/arm-gic.h>
207 #include <dt-bindings/pinctrl/mt8365-pinfunc.h>
209 #address-cells = <2>;
210 #size-cells = <2>;
213 compatible = "mediatek,mt8365-pinctrl";
215 mediatek,pctl-regmap = <&syscfg_pctl>;
216 gpio-controller;
217 #gpio-cells = <2>;
218 interrupt-controller;
219 #interrupt-cells = <2>;
222 pio-pins {
225 mediatek,pull-up-adv = <3>;
226 bias-pull-up;