Lines Matching +full:dt +full:- +full:bindings
1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/pinctrl/mediatek,mt8192-pinctrl.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Sean Wang <sean.wang@mediatek.com>
17 const: mediatek,mt8192-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':
56 '-pins$':
68 $ref: pinmux-node.yaml
75 defined as macros in dt-bindings/pinctrl/<soc>-pinfunc.h directly.
77 drive-strength:
80 MTK_DRIVE_6mA, etc. See dt-bindings/pinctrl/mt65xx.h. It can only
84 drive-strength-microamp:
87 bias-pull-down:
89 - type: boolean
91 - enum: [100, 101, 102, 103]
93 defines in dt-bindings/pinctrl/mt65xx.h.
94 - enum: [200, 201, 202, 203]
96 in dt-bindings/pinctrl/mt65xx.h.
98 bias-pull-up:
100 - type: boolean
102 - enum: [100, 101, 102, 103]
104 defines in dt-bindings/pinctrl/mt65xx.h.
105 - enum: [200, 201, 202, 203]
107 in dt-bindings/pinctrl/mt65xx.h.
109 bias-disable: true
111 output-high: true
113 output-low: true
115 input-enable: true
117 input-disable: true
119 input-schmitt-enable: true
121 input-schmitt-disable: true
124 - pinmux
129 - $ref: pinctrl.yaml#
132 - compatible
133 - reg
134 - interrupts
135 - interrupt-controller
136 - '#interrupt-cells'
137 - gpio-controller
138 - '#gpio-cells'
139 - gpio-ranges
144 - |
145 #include <dt-bindings/pinctrl/mt8192-pinfunc.h>
146 #include <dt-bindings/interrupt-controller/arm-gic.h>
148 compatible = "mediatek,mt8192-pinctrl";
160 reg-names = "iocfg0", "iocfg_rm", "iocfg_bm",
164 gpio-controller;
165 #gpio-cells = <2>;
166 gpio-ranges = <&pio 0 0 220>;
167 interrupt-controller;
169 #interrupt-cells = <2>;
171 spi1-default-pins {
172 pins-cs-mosi-clk {
176 bias-disable;
179 pins-miso {
181 bias-pull-down;