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,mt65xx-pinctrl.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Sean Wang <sean.wang@kernel.org>
18 - mediatek,mt2701-pinctrl
19 - mediatek,mt2712-pinctrl
20 - mediatek,mt6397-pinctrl
21 - mediatek,mt7623-pinctrl
22 - mediatek,mt8127-pinctrl
23 - mediatek,mt8135-pinctrl
24 - mediatek,mt8167-pinctrl
25 - mediatek,mt8173-pinctrl
26 - mediatek,mt8516-pinctrl
31 pins-are-numbered:
34 Specify the subnodes are using numbered pinmux to specify pins. (UNUSED)
37 gpio-controller: true
39 "#gpio-cells":
46 mediatek,pctl-regmap:
47 $ref: /schemas/types.yaml#/definitions/phandle-array
55 interrupt-controller: true
61 "#interrupt-cells":
65 - compatible
66 - gpio-controller
67 - "#gpio-cells"
70 - $ref: pinctrl.yaml#
86 $ref: /schemas/pinctrl/pincfg-node.yaml
89 pinmux:
93 defined as macros in dt-bindings/pinctrl/<soc>-pinfunc.h directly.
95 bias-disable: true
97 bias-pull-up:
102 as MTK_PUPD_SET_R1R0_00. See dt-bindings/pinctrl/mt65xx.h for
105 bias-pull-down: true
107 input-enable: true
109 input-disable: true
111 output-low: true
113 output-high: true
115 input-schmitt-enable: true
117 input-schmitt-disable: true
119 drive-strength:
122 etc. See dt-bindings/pinctrl/mt65xx.h for valid arguments.
125 - pinmux
130 - |
131 #include <dt-bindings/interrupt-controller/irq.h>
132 #include <dt-bindings/interrupt-controller/arm-gic.h>
133 #include <dt-bindings/pinctrl/mt8135-pinfunc.h>
136 #address-cells = <2>;
137 #size-cells = <2>;
139 syscfg_pctl_a: syscfg-pctl-a@10005000 {
140 compatible = "mediatek,mt8135-pctl-a-syscfg", "syscon";
144 syscfg_pctl_b: syscfg-pctl-b@1020c020 {
145 compatible = "mediatek,mt8135-pctl-b-syscfg", "syscon";
150 compatible = "mediatek,mt8135-pinctrl";
152 mediatek,pctl-regmap = <&syscfg_pctl_a>, <&syscfg_pctl_b>;
153 gpio-controller;
154 #gpio-cells = <2>;
155 interrupt-controller;
156 #interrupt-cells = <2>;
161 i2c0_pins_a: i2c0-pins {
163 pinmux = <MT8135_PIN_100_SDA0__FUNC_SDA0>,
165 bias-disable;
169 i2c1_pins_a: i2c1-pins {
171 pinmux = <MT8135_PIN_195_SDA1__FUNC_SDA1>,
173 bias-pull-up = <MTK_PUPD_SET_R1R0_01>;
177 i2c2_pins_a: i2c2-pins {
179 pinmux = <MT8135_PIN_193_SDA2__FUNC_SDA2>;
180 bias-pull-down;
184 pinmux = <MT8135_PIN_49_WATCHDOG__FUNC_GPIO49>;
185 bias-pull-up;
189 i2c3_pins_a: i2c3-pins {
191 pinmux = <MT8135_PIN_40_DAC_CLK__FUNC_GPIO40>,
193 bias-pull-up = <MTK_PUPD_SET_R1R0_01>;
197 pinmux = <MT8135_PIN_35_SCL3__FUNC_SCL3>,
199 output-low;
200 bias-pull-up = <MTK_PUPD_SET_R1R0_01>;
204 pinmux = <MT8135_PIN_57_JTCK__FUNC_GPIO57>,
206 drive-strength = <32>;