Lines Matching +full:pins +full:- +full:rst
1 // SPDX-License-Identifier: GPL-2.0
3 * Copyright (c) 2021-2022 BayLibre, SAS.
9 /dts-v1/;
11 #include <dt-bindings/gpio/gpio.h>
12 #include <dt-bindings/input/input.h>
13 #include <dt-bindings/pinctrl/mt8365-pinfunc.h>
19 compatible = "mediatek,mt8365-evk", "mediatek,mt8365";
26 stdout-path = "serial0:921600n8";
31 compatible = "linaro,optee-tz";
36 gpio-keys {
37 compatible = "gpio-keys";
38 pinctrl-names = "default";
39 pinctrl-0 = <&gpio_keys>;
41 key-volume-up {
45 wakeup-source;
46 debounce-interval = <15>;
55 usb_otg_vbus: regulator-0 {
56 compatible = "regulator-fixed";
57 regulator-name = "otg_vbus";
58 regulator-min-microvolt = <5000000>;
59 regulator-max-microvolt = <5000000>;
61 enable-active-high;
64 reserved-memory {
65 #address-cells = <2>;
66 #size-cells = <2>;
71 no-map;
75 /* 12 MiB reserved for OP-TEE (BL32)
76 * +-----------------------+ 0x43e0_0000
78 * +-----------------------+ 0x43c0_0000
80 * + TZDRAM +--------------+ 0x4340_0000
82 * +-----------------------+ 0x4320_0000
85 no-map;
92 proc-supply = <&mt6357_vproc_reg>;
93 sram-supply = <&mt6357_vsram_proc_reg>;
97 proc-supply = <&mt6357_vproc_reg>;
98 sram-supply = <&mt6357_vsram_proc_reg>;
102 proc-supply = <&mt6357_vproc_reg>;
103 sram-supply = <&mt6357_vsram_proc_reg>;
107 proc-supply = <&mt6357_vproc_reg>;
108 sram-supply = <&mt6357_vsram_proc_reg>;
112 pinctrl-0 = <ðernet_pins>;
113 pinctrl-names = "default";
114 phy-handle = <ð_phy>;
115 phy-mode = "rmii";
117 * Ethernet and HDMI (DSI0) are sharing pins.
125 #address-cells = <1>;
126 #size-cells = <0>;
128 eth_phy: ethernet-phy@0 {
135 clock-frequency = <100000>;
136 pinctrl-0 = <&i2c0_pins>;
137 pinctrl-names = "default";
142 assigned-clock-parents = <&topckgen CLK_TOP_MSDCPLL>;
143 assigned-clocks = <&topckgen CLK_TOP_MSDC50_0_SEL>;
144 bus-width = <8>;
145 cap-mmc-highspeed;
146 cap-mmc-hw-reset;
147 hs400-ds-delay = <0x12012>;
148 max-frequency = <200000000>;
149 mmc-hs200-1_8v;
150 mmc-hs400-1_8v;
151 no-sd;
152 no-sdio;
153 non-removable;
154 pinctrl-0 = <&mmc0_default_pins>;
155 pinctrl-1 = <&mmc0_uhs_pins>;
156 pinctrl-names = "default", "state_uhs";
157 vmmc-supply = <&mt6357_vemc_reg>;
158 vqmmc-supply = <&mt6357_vio18_reg>;
163 bus-width = <4>;
164 cap-sd-highspeed;
165 cd-gpios = <&pio 76 GPIO_ACTIVE_LOW>;
166 max-frequency = <200000000>;
167 pinctrl-0 = <&mmc1_default_pins>;
168 pinctrl-1 = <&mmc1_uhs_pins>;
169 pinctrl-names = "default", "state_uhs";
170 sd-uhs-sdr104;
171 sd-uhs-sdr50;
172 vmmc-supply = <&mt6357_vmch_reg>;
173 vqmmc-supply = <&mt6357_vmc_reg>;
178 interrupts-extended = <&pio 145 IRQ_TYPE_LEVEL_HIGH>;
179 interrupt-controller;
180 #interrupt-cells = <2>;
184 ethernet_pins: ethernet-pins {
209 gpio_keys: gpio-keys-pins {
210 pins {
212 bias-pull-up;
213 input-enable;
217 i2c0_pins: i2c0-pins {
218 pins {
221 bias-pull-up;
225 mmc0_default_pins: mmc0-default-pins {
226 clk-pins {
228 bias-pull-down;
231 cmd-dat-pins {
241 input-enable;
242 bias-pull-up;
245 rst-pins {
247 bias-pull-up;
251 mmc0_uhs_pins: mmc0-uhs-pins {
252 clk-pins {
254 drive-strength = <MTK_DRIVE_10mA>;
255 bias-pull-down = <MTK_PUPD_SET_R1R0_10>;
258 cmd-dat-pins {
268 input-enable;
269 drive-strength = <MTK_DRIVE_10mA>;
270 bias-pull-up = <MTK_PUPD_SET_R1R0_01>;
273 ds-pins {
275 drive-strength = <MTK_DRIVE_10mA>;
276 bias-pull-down = <MTK_PUPD_SET_R1R0_10>;
279 rst-pins {
281 drive-strength = <MTK_DRIVE_10mA>;
282 bias-pull-up;
286 mmc1_default_pins: mmc1-default-pins {
287 cd-pins {
289 bias-pull-up;
292 clk-pins {
294 bias-pull-down = <MTK_PUPD_SET_R1R0_10>;
297 cmd-dat-pins {
303 input-enable;
304 bias-pull-up = <MTK_PUPD_SET_R1R0_01>;
308 mmc1_uhs_pins: mmc1-uhs-pins {
309 clk-pins {
311 drive-strength = <MTK_DRIVE_8mA>;
312 bias-pull-down = <MTK_PUPD_SET_R1R0_10>;
315 cmd-dat-pins {
321 input-enable;
322 drive-strength = <MTK_DRIVE_6mA>;
323 bias-pull-up = <MTK_PUPD_SET_R1R0_01>;
327 uart0_pins: uart0-pins {
328 pins {
334 uart1_pins: uart1-pins {
335 pins {
341 uart2_pins: uart2-pins {
342 pins {
348 usb_pins: usb-pins {
349 id-pins {
351 input-enable;
352 bias-pull-up;
355 usb0-vbus-pins {
357 output-high;
360 usb1-vbus-pins {
362 output-high;
366 pwm_pins: pwm-pins {
367 pins {
375 pinctrl-0 = <&pwm_pins>;
376 pinctrl-names = "default";
382 maximum-speed = "high-speed";
383 pinctrl-0 = <&usb_pins>;
384 pinctrl-names = "default";
385 usb-role-switch;
386 vusb33-supply = <&mt6357_vusb33_reg>;
390 compatible = "gpio-usb-b-connector", "usb-b-connector";
391 id-gpios = <&pio 17 GPIO_ACTIVE_HIGH>;
393 vbus-supply = <&usb_otg_vbus>;
398 vusb33-supply = <&mt6357_vusb33_reg>;
403 pinctrl-0 = <&uart0_pins>;
404 pinctrl-names = "default";
409 pinctrl-0 = <&uart1_pins>;
410 pinctrl-names = "default";
415 pinctrl-0 = <&uart2_pins>;
416 pinctrl-names = "default";