Lines Matching +full:mt6797 +full:- +full:pinctrl
1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/pinctrl/mediatek,mt6797-pinctrl.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Mediatek MT6797 Pin Controller
10 - Sean Wang <sean.wang@kernel.org>
13 The MediaTek's MT6797 Pin controller is used to control SoC pins.
17 const: mediatek,mt6797-pinctrl
23 reg-names:
25 - const: gpio
26 - const: iocfgl
27 - const: iocfgb
28 - const: iocfgr
29 - const: iocfgt
31 gpio-controller: true
33 "#gpio-cells":
40 interrupt-controller: true
45 "#interrupt-cells":
49 - $ref: "pinctrl.yaml#"
52 - compatible
53 - reg
54 - reg-names
55 - gpio-controller
56 - "#gpio-cells"
59 '-[0-9]+$':
67 A pinctrl node should contain at least one subnodes representing the
68 pinctrl groups available on the machine. Each subnode will list the
72 $ref: "/schemas/pinctrl/pincfg-node.yaml"
79 defined as macros in <soc>-pinfunc.h directly.
81 bias-disable: true
83 bias-pull-up: true
85 bias-pull-down: true
87 input-enable: true
89 input-disable: true
91 output-enable: true
93 output-low: true
95 output-high: true
97 input-schmitt-enable: true
99 input-schmitt-disable: true
101 drive-strength:
104 slew-rate:
107 mediatek,pull-up-adv:
118 mediatek,pull-down-adv:
144 - pinmux
149 - |
150 #include <dt-bindings/interrupt-controller/irq.h>
151 #include <dt-bindings/interrupt-controller/arm-gic.h>
152 #include <dt-bindings/pinctrl/mt6797-pinfunc.h>
155 #address-cells = <2>;
156 #size-cells = <2>;
158 pio: pinctrl@10005000 {
159 compatible = "mediatek,mt6797-pinctrl";
165 reg-names = "gpio", "iocfgl", "iocfgb", "iocfgr", "iocfgt";
166 gpio-controller;
167 #gpio-cells = <2>;
169 uart_pins_a: uart-0 {