Lines Matching +full:mt8183 +full:- +full:pinctrl

1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/pinctrl/mediatek,mt8183-pinctrl.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: MediaTek MT8183 Pin Controller
10 - Sean Wang <sean.wang@kernel.org>
13 The MediaTek's MT8183 Pin controller is used to control SoC pins.
17 const: mediatek,mt8183-pinctrl
23 reg-names:
25 - const: iocfg0
26 - const: iocfg1
27 - const: iocfg2
28 - const: iocfg3
29 - const: iocfg4
30 - const: iocfg5
31 - const: iocfg6
32 - const: iocfg7
33 - const: iocfg8
34 - const: eint
36 gpio-controller: true
38 "#gpio-cells":
45 gpio-ranges:
51 interrupt-controller: true
56 "#interrupt-cells":
60 - $ref: pinctrl.yaml#
63 - compatible
64 - reg
65 - gpio-controller
66 - "#gpio-cells"
67 - gpio-ranges
70 '-pins(-[a-z]+)?$':
78 A pinctrl node should contain at least one subnodes representing the
79 pinctrl groups available on the machine. Each subnode will list the
83 $ref: /schemas/pinctrl/pincfg-node.yaml
90 defined as macros in <soc>-pinfunc.h directly.
92 bias-disable: true
94 bias-pull-up: true
96 bias-pull-down: true
98 input-enable: true
100 input-disable: true
102 output-low: true
104 output-high: true
106 input-schmitt-enable: true
108 input-schmitt-disable: true
110 drive-strength:
113 drive-strength-microamp:
116 mediatek,drive-strength-adv:
119 DEPRECATED: Please use drive-strength-microamp instead.
144 mediatek,pull-up-adv:
156 mediatek,pull-down-adv:
183 - pinmux
188 - |
189 #include <dt-bindings/interrupt-controller/irq.h>
190 #include <dt-bindings/interrupt-controller/arm-gic.h>
191 #include <dt-bindings/pinctrl/mt8183-pinfunc.h>
194 #address-cells = <2>;
195 #size-cells = <2>;
197 pio: pinctrl@10005000 {
198 compatible = "mediatek,mt8183-pinctrl";
209 reg-names = "iocfg0", "iocfg1", "iocfg2",
213 gpio-controller;
214 #gpio-cells = <2>;
215 gpio-ranges = <&pio 0 0 192>;
216 interrupt-controller;
218 #interrupt-cells = <2>;
220 i2c0_pins_a: i2c0-pins {
224 mediatek,pull-up-adv = <3>;
225 drive-strength-microamp = <1000>;
229 i2c1_pins_a: i2c1-pins {
233 mediatek,pull-down-adv = <2>;