Lines Matching +full:pull +full:- +full:down +full:- +full:adv
1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/pinctrl/mediatek,mt6795-pinctrl.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
11 - Sean Wang <sean.wang@kernel.org>
18 const: mediatek,mt6795-pinctrl
20 gpio-controller: true
22 '#gpio-cells':
29 gpio-ranges:
38 reg-names:
40 - const: base
41 - const: eint
43 interrupt-controller: true
45 '#interrupt-cells':
52 - description: EINT interrupt
53 - description: EINT event_b interrupt
57 '-pins$':
73 gpio-pins {
79 i2c0-pins {
85 $ref: pinmux-node.yaml
92 defined as macros in dt-bindings/pinctrl/<soc>-pinfunc.h directly.
94 drive-strength:
97 bias-pull-down:
99 - type: boolean
100 - enum: [100, 101, 102, 103]
101 description: mt6795 pull down PUPD/R0/R1 type define value.
103 For normal pull down type, it is not necessary to specify R1R0
104 values; When pull down type is PUPD/R0/R1, adding R1R0 defines
107 bias-pull-up:
109 - type: boolean
110 - enum: [100, 101, 102, 103]
111 description: mt6795 pull up PUPD/R0/R1 type define value.
113 For normal pull up type, it is not necessary to specify R1R0
114 values; When pull up type is PUPD/R0/R1, adding R1R0 defines will
117 bias-disable: true
119 output-high: true
121 output-low: true
123 input-enable: true
125 input-disable: true
127 input-schmitt-enable: true
129 input-schmitt-disable: true
131 mediatek,pull-up-adv:
133 Pull up settings for 2 pull resistors, R0 and R1. User can
143 mediatek,pull-down-adv:
145 Pull down settings for 2 pull resistors, R0 and R1. User can
156 - pinmux
159 - $ref: pinctrl.yaml#
162 - compatible
163 - reg
164 - reg-names
165 - interrupts
166 - interrupt-controller
167 - '#interrupt-cells'
168 - gpio-controller
169 - '#gpio-cells'
170 - gpio-ranges
175 - |
176 #include <dt-bindings/interrupt-controller/arm-gic.h>
177 #include <dt-bindings/interrupt-controller/irq.h>
178 #include <dt-bindings/pinctrl/mt6795-pinfunc.h>
181 #address-cells = <2>;
182 #size-cells = <2>;
185 compatible = "mediatek,mt6795-pinctrl";
187 reg-names = "base", "eint";
188 gpio-controller;
189 #gpio-cells = <2>;
190 gpio-ranges = <&pio 0 0 196>;
191 interrupt-controller;
193 #interrupt-cells = <2>;
195 i2c0-pins {
196 pins-sda-scl {
202 mmc0-pins {
203 pins-cmd-dat {
213 input-enable;
214 bias-pull-up = <MTK_PUPD_SET_R1R0_01>;
217 pins-clk {
219 bias-pull-down = <MTK_PUPD_SET_R1R0_10>;
222 pins-rst {
224 bias-pull-up = <MTK_PUPD_SET_R1R0_10>;