Lines Matching +full:i2c0 +full:- +full:pins
1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/pinctrl/pinctrl-mt8195.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Sean Wang <sean.wang@mediatek.com>
13 The Mediatek's Pin controller is used to control SoC pins.
17 const: mediatek,mt8195-pinctrl
19 gpio-controller: true
21 '#gpio-cells':
28 gpio-ranges:
32 gpio-line-names: true
40 reg-names:
45 interrupt-controller: true
47 '#interrupt-cells':
54 mediatek,rsel-resistance-in-si-unit:
57 Identifying i2c pins pull up/down type which is RSEL. It can support
62 '-pins$':
66 '^pins':
72 pins it needs, and how they should be configured, with regard to muxer
78 gpio-pins {
79 pins {
84 i2c0-pins {
85 pins {
90 $ref: "pinmux-node.yaml"
97 defined as macros in dt-bindings/pinctrl/<soc>-pinfunc.h
100 drive-strength:
103 drive-strength-microamp:
106 bias-pull-down:
108 - type: boolean
109 - enum: [100, 101, 102, 103]
111 - enum: [200, 201, 202, 203, 204, 205, 206, 207]
113 - enum: [75000, 5000]
124 "mediatek,rsel-resistance-in-si-unit".
135 pins {
137 bias-pull-down = <MTK_PULL_SET_RSEL_001>;
143 mediatek,rsel-resistance-in-si-unit;
147 pins {
149 bias-pull-down = <75000>;
154 bias-pull-up:
156 - type: boolean
157 - enum: [100, 101, 102, 103]
159 - enum: [200, 201, 202, 203, 204, 205, 206, 207]
161 - enum: [1000, 1500, 2000, 3000, 4000, 5000, 10000, 75000]
172 "mediatek,rsel-resistance-in-si-unit".
182 i2c0-pins {
183 pins {
185 bias-pull-up = <MTK_PULL_SET_RSEL_001>;
191 mediatek,rsel-resistance-in-si-unit;
194 i2c0-pins {
195 pins {
197 bias-pull-up = <1000>;
202 bias-disable: true
204 output-high: true
206 output-low: true
208 input-enable: true
210 input-disable: true
212 input-schmitt-enable: true
214 input-schmitt-disable: true
217 - pinmux
220 - $ref: "pinctrl.yaml#"
223 - compatible
224 - reg
225 - interrupts
226 - interrupt-controller
227 - '#interrupt-cells'
228 - gpio-controller
229 - '#gpio-cells'
230 - gpio-ranges
235 - |
236 #include <dt-bindings/pinctrl/mt8195-pinfunc.h>
237 #include <dt-bindings/interrupt-controller/arm-gic.h>
240 compatible = "mediatek,mt8195-pinctrl";
249 reg-names = "iocfg0", "iocfg_bm", "iocfg_bl",
252 gpio-controller;
253 #gpio-cells = <2>;
254 gpio-ranges = <&pio 0 0 144>;
255 interrupt-controller;
257 #interrupt-cells = <2>;
259 pio-pins {
260 pins {
262 output-low;
266 spi0-pins {
267 pins-spi {
271 bias-disable;
273 pins-spi-mi {
275 bias-pull-down;
279 i2c0-pins {
280 pins {
283 bias-disable;
284 drive-strength-microamp = <1000>;