Lines Matching +full:pinmux +full:- +full:id

1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/pinctrl/mediatek,mt6779-pinctrl.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Andy Teng <andy.teng@mediatek.com>
15 - compatible: "syscon"
19 const: mediatek,mt6779-pinctrl
25 reg-names:
27 - const: "gpio"
28 - const: "iocfg_rm"
29 - const: "iocfg_br"
30 - const: "iocfg_lm"
31 - const: "iocfg_lb"
32 - const: "iocfg_rt"
33 - const: "iocfg_lt"
34 - const: "iocfg_tl"
35 - const: "eint"
37 gpio-controller: true
39 "#gpio-cells":
46 gpio-ranges:
52 interrupt-controller: true
59 "#interrupt-cells":
63 - compatible
64 - reg
65 - reg-names
66 - gpio-controller
67 - "#gpio-cells"
68 - gpio-ranges
69 - interrupt-controller
70 - interrupts
71 - "#interrupt-cells"
74 '-[0-9]*$':
77 '-pins*$':
84 $ref: "/schemas/pinctrl/pincfg-node.yaml"
87 pinmux:
91 as macros in boot/dts/<soc>-pinfunc.h directly.
93 bias-disable: true
95 bias-pull-up: true
97 bias-pull-down: true
99 input-enable: true
101 input-disable: true
103 output-low: true
105 output-high: true
107 input-schmitt-enable: true
109 input-schmitt-disable: true
111 mediatek,pull-up-adv:
122 mediatek,pull-down-adv:
134 - pinmux
141 - |
142 #include <dt-bindings/interrupt-controller/irq.h>
143 #include <dt-bindings/interrupt-controller/arm-gic.h>
144 #include <dt-bindings/pinctrl/mt6779-pinfunc.h>
147 #address-cells = <2>;
148 #size-cells = <2>;
151 compatible = "mediatek,mt6779-pinctrl";
161 reg-names = "gpio", "iocfg_rm",
166 gpio-controller;
167 #gpio-cells = <2>;
168 gpio-ranges = <&pio 0 0 210>;
169 interrupt-controller;
170 #interrupt-cells = <2>;
173 mmc0_pins_default: mmc0-0 {
174 cmd-dat-pins {
175 pinmux = <PINMUX_GPIO168__FUNC_MSDC0_DAT0>,
184 input-enable;
185 mediatek,pull-up-adv = <1>;
187 clk-pins {
188 pinmux = <PINMUX_GPIO176__FUNC_MSDC0_CLK>;
189 mediatek,pull-down-adv = <2>;
191 rst-pins {
192 pinmux = <PINMUX_GPIO178__FUNC_MSDC0_RSTB>;
193 mediatek,pull-up-adv = <0>;
199 pinctrl-0 = <&mmc0_pins_default>;
200 pinctrl-names = "default";