Lines Matching +full:mmc0 +full:- +full:pins

1 // SPDX-License-Identifier: (GPL-2.0 OR MIT)
6 /dts-v1/;
11 #include <dt-bindings/gpio/gpio.h>
12 #include <dt-bindings/input/input.h>
13 #include <dt-bindings/pinctrl/mt8195-pinfunc.h>
14 #include <dt-bindings/regulator/mediatek,mt6360-regulator.h>
18 compatible = "mediatek,mt8195-demo", "mediatek,mt8195";
25 stdout-path = "serial0:921600n8";
30 compatible = "linaro,optee-tz";
35 gpio-keys {
36 compatible = "gpio-keys";
37 pinctrl-names = "default";
38 pinctrl-0 = <&gpio_keys_pins>;
40 key-0 {
44 wakeup-source;
45 debounce-interval = <15>;
54 reserved-memory {
55 #address-cells = <2>;
56 #size-cells = <2>;
60 * 12 MiB reserved for OP-TEE (BL32)
61 * +-----------------------+ 0x43e0_0000
63 * +-----------------------+ 0x43c0_0000
65 * + TZDRAM +--------------+ 0x4340_0000
67 * +-----------------------+ 0x4320_0000
70 no-map;
75 compatible = "shared-dma-pool";
77 no-map;
81 compatible = "shared-dma-pool";
87 no-map;
92 compatible = "shared-dma-pool";
94 no-map;
98 compatible = "shared-dma-pool";
105 phy-mode = "rgmii-id";
106 phy-handle = <&ethernet_phy0>;
107 snps,reset-gpio = <&pio 93 GPIO_ACTIVE_HIGH>;
108 snps,reset-delays-us = <0 10000 80000>;
109 pinctrl-names = "default", "sleep";
110 pinctrl-0 = <&eth_default_pins>;
111 pinctrl-1 = <&eth_sleep_pins>;
115 ethernet_phy0: ethernet-phy@1 {
122 clock-frequency = <400000>;
123 pinctrl-0 = <&i2c6_pins>;
124 pinctrl-names = "default";
130 interrupt-controller;
131 #interrupt-cells = <1>;
132 interrupts-extended = <&pio 101 IRQ_TYPE_EDGE_FALLING>;
133 interrupt-names = "IRQB";
136 compatible = "mediatek,mt6360-chg";
137 richtek,vinovp-microvolt = <14500000>;
139 otg_vbus_regulator: usb-otg-vbus-regulator {
140 regulator-compatible = "usb-otg-vbus";
141 regulator-name = "usb-otg-vbus";
142 regulator-min-microvolt = <4425000>;
143 regulator-max-microvolt = <5825000>;
148 compatible = "mediatek,mt6360-regulator";
149 LDO_VIN3-supply = <&mt6360_buck2>;
152 regulator-compatible = "BUCK1";
153 regulator-name = "mt6360,buck1";
154 regulator-min-microvolt = <300000>;
155 regulator-max-microvolt = <1300000>;
156 regulator-allowed-modes = <MT6360_OPMODE_NORMAL
159 regulator-always-on;
163 regulator-compatible = "BUCK2";
164 regulator-name = "mt6360,buck2";
165 regulator-min-microvolt = <300000>;
166 regulator-max-microvolt = <1300000>;
167 regulator-allowed-modes = <MT6360_OPMODE_NORMAL
170 regulator-always-on;
174 regulator-compatible = "LDO1";
175 regulator-name = "mt6360,ldo1";
176 regulator-min-microvolt = <1200000>;
177 regulator-max-microvolt = <3600000>;
178 regulator-allowed-modes = <MT6360_OPMODE_NORMAL
183 regulator-compatible = "LDO2";
184 regulator-name = "mt6360,ldo2";
185 regulator-min-microvolt = <1200000>;
186 regulator-max-microvolt = <3600000>;
187 regulator-allowed-modes = <MT6360_OPMODE_NORMAL
192 regulator-compatible = "LDO3";
193 regulator-name = "mt6360,ldo3";
194 regulator-min-microvolt = <1200000>;
195 regulator-max-microvolt = <3600000>;
196 regulator-allowed-modes = <MT6360_OPMODE_NORMAL
201 regulator-compatible = "LDO5";
202 regulator-name = "mt6360,ldo5";
203 regulator-min-microvolt = <2700000>;
204 regulator-max-microvolt = <3600000>;
205 regulator-allowed-modes = <MT6360_OPMODE_NORMAL
210 regulator-compatible = "LDO6";
211 regulator-name = "mt6360,ldo6";
212 regulator-min-microvolt = <500000>;
213 regulator-max-microvolt = <2100000>;
214 regulator-allowed-modes = <MT6360_OPMODE_NORMAL
219 regulator-compatible = "LDO7";
220 regulator-name = "mt6360,ldo7";
221 regulator-min-microvolt = <500000>;
222 regulator-max-microvolt = <2100000>;
223 regulator-allowed-modes = <MT6360_OPMODE_NORMAL
225 regulator-always-on;
231 &mmc0 {
233 pinctrl-names = "default", "state_uhs";
234 pinctrl-0 = <&mmc0_default_pins>;
235 pinctrl-1 = <&mmc0_uhs_pins>;
236 bus-width = <8>;
237 max-frequency = <200000000>;
238 cap-mmc-highspeed;
239 mmc-hs200-1_8v;
240 mmc-hs400-1_8v;
241 cap-mmc-hw-reset;
242 no-sdio;
243 no-sd;
244 hs400-ds-delay = <0x14c11>;
245 vmmc-supply = <&mt6359_vemc_1_ldo_reg>;
246 vqmmc-supply = <&mt6359_vufs_ldo_reg>;
247 non-removable;
251 pinctrl-names = "default", "state_uhs";
252 pinctrl-0 = <&mmc1_default_pins>;
253 pinctrl-1 = <&mmc1_uhs_pins>;
254 cd-gpios = <&pio 129 GPIO_ACTIVE_LOW>;
255 bus-width = <4>;
256 max-frequency = <200000000>;
257 cap-sd-highspeed;
258 sd-uhs-sdr50;
259 sd-uhs-sdr104;
260 vmmc-supply = <&mt6360_ldo5>;
261 vqmmc-supply = <&mt6360_ldo3>;
266 regulator-always-on;
270 regulator-always-on;
274 regulator-always-on;
278 regulator-always-on;
282 regulator-always-on;
286 regulator-always-on;
290 regulator-always-on;
294 regulator-always-on;
298 regulator-always-on;
302 eth_default_pins: eth-default-pins {
303 pins-txd {
308 drive-strength = <MTK_DRIVE_8mA>;
310 pins-cc {
315 drive-strength = <MTK_DRIVE_8mA>;
317 pins-rxd {
323 pins-mdio {
326 input-enable;
328 pins-power {
331 output-high;
335 eth_sleep_pins: eth-sleep-pins {
336 pins-txd {
342 pins-cc {
348 pins-rxd {
354 pins-mdio {
357 input-disable;
358 bias-disable;
362 gpio_keys_pins: gpio-keys-pins {
363 pins {
365 input-enable;
369 i2c6_pins: i2c6-pins {
370 pins {
373 bias-pull-up;
377 mmc0_default_pins: mmc0-default-pins {
378 pins-clk {
380 drive-strength = <MTK_DRIVE_6mA>;
381 bias-pull-down = <MTK_PUPD_SET_R1R0_10>;
384 pins-cmd-dat {
394 input-enable;
395 drive-strength = <MTK_DRIVE_6mA>;
396 bias-pull-up = <MTK_PUPD_SET_R1R0_01>;
399 pins-rst {
401 drive-strength = <MTK_DRIVE_6mA>;
402 bias-pull-up = <MTK_PUPD_SET_R1R0_01>;
406 mmc0_uhs_pins: mmc0-uhs-pins {
407 pins-clk {
409 drive-strength = <MTK_DRIVE_8mA>;
410 bias-pull-down = <MTK_PUPD_SET_R1R0_10>;
413 pins-cmd-dat {
423 input-enable;
424 drive-strength = <MTK_DRIVE_8mA>;
425 bias-pull-up = <MTK_PUPD_SET_R1R0_01>;
428 pins-ds {
430 drive-strength = <MTK_DRIVE_8mA>;
431 bias-pull-down = <MTK_PUPD_SET_R1R0_10>;
434 pins-rst {
436 drive-strength = <MTK_DRIVE_8mA>;
437 bias-pull-up = <MTK_PUPD_SET_R1R0_01>;
441 mmc1_default_pins: mmc1-default-pins {
442 pins-clk {
444 drive-strength = <MTK_DRIVE_8mA>;
445 bias-pull-down = <MTK_PUPD_SET_R1R0_10>;
448 pins-cmd-dat {
454 input-enable;
455 drive-strength = <MTK_DRIVE_8mA>;
456 bias-pull-up = <MTK_PUPD_SET_R1R0_01>;
459 pins-insert {
461 bias-pull-up;
465 mmc1_uhs_pins: mmc1-uhs-pins {
466 pins-clk {
468 drive-strength = <MTK_DRIVE_8mA>;
469 bias-pull-down = <MTK_PUPD_SET_R1R0_10>;
472 pins-cmd-dat {
478 input-enable;
479 drive-strength = <MTK_DRIVE_8mA>;
480 bias-pull-up = <MTK_PUPD_SET_R1R0_01>;
484 uart0_pins: uart0-pins {
485 pins {
491 uart1_pins: uart1-pins {
492 pins {
501 interrupts-extended = <&pio 222 IRQ_TYPE_LEVEL_HIGH>;
505 pinctrl-names = "default";
506 pinctrl-0 = <&uart0_pins>;
511 pinctrl-names = "default";
512 pinctrl-0 = <&uart1_pins>;
533 vusb33-supply = <&mt6359_vusb_ldo_reg>;
534 vbus-supply = <&otg_vbus_regulator>;
539 vusb33-supply = <&mt6359_vusb_ldo_reg>;
544 vusb33-supply = <&mt6359_vusb_ldo_reg>;
549 vusb33-supply = <&mt6359_vusb_ldo_reg>;