Lines Matching +full:mt8365 +full:- +full:pinctrl

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#
7 title: MediaTek MT8365 Pin Controller
10 - Zhiyong Tao <zhiyong.tao@mediatek.com>
11 - Bernhard Rosenkränzer <bero@baylibre.com>
14 The MediaTek's MT8365 Pin controller is used to control SoC pins.
18 const: mediatek,mt8365-pinctrl
23 mediatek,pctl-regmap:
24 $ref: /schemas/types.yaml#/definitions/phandle-array
32 gpio-controller: true
34 "#gpio-cells":
41 interrupt-controller: true
46 "#interrupt-cells":
50 "-pins$":
58 A pinctrl node should contain at least one subnode representing the
59 pinctrl groups available on the machine. Each subnode will list the
63 $ref: /schemas/pinctrl/pincfg-node.yaml
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.
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>;
212 pio: pinctrl@1000b000 {
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;