1 // SPDX-License-Identifier: (GPL-2.0 OR MIT)
3 * Copyright (C) 2019 MediaTek Inc.
4 * Author: Mingming Lee <mingming.lee@mediatek.com>
11 #include "mt8512.dtsi"
17 model = "MT8512 BM1 EMMC";
25 device_type = "memory";
26 reg = <0x40000000 0x20000000>;
29 reg_1p8v: regulator-1p8v {
30 compatible = "regulator-fixed";
31 regulator-name = "fixed-1.8V";
32 regulator-min-microvolt = <1800000>;
33 regulator-max-microvolt = <1800000>;
38 reg_3p3v: regulator-3p3v {
39 compatible = "regulator-fixed";
40 regulator-name = "fixed-3.3V";
41 regulator-min-microvolt = <3300000>;
42 regulator-max-microvolt = <3300000>;
47 usb_p0_vbus: regulator@0 {
48 compatible = "regulator-fixed";
49 regulator-name = "p0_vbus";
50 regulator-min-microvolt = <5000000>;
51 regulator-max-microvolt = <5000000>;
52 gpio = <&gpio 27 GPIO_ACTIVE_HIGH>;
56 usb_p1_vbus: regulator@1 {
57 compatible = "regulator-fixed";
58 regulator-name = "p1_vbus";
59 regulator-min-microvolt = <5000000>;
60 regulator-max-microvolt = <5000000>;
61 gpio = <&gpio 32 GPIO_ACTIVE_HIGH>;
68 pinctrl-names = "default";
69 pinctrl-0 = <&mmc0_pins_default>;
71 max-frequency = <200000000>;
75 vmmc-supply = <®_3p3v>;
76 vqmmc-supply = <®_1p8v>;
82 mmc0_pins_default: mmc0default {
89 pins = "MSDC0_CMD", "MSDC0_DAT0", "MSDC0_DAT1",
90 "MSDC0_DAT2", "MSDC0_DAT3", "MSDC0_DAT4",
91 "MSDC0_DAT5", "MSDC0_DAT6", "MSDC0_DAT7";
112 groups = "uart0_0_rxd_txd";
118 dr_mode = "peripheral";
119 maximum-speed = "high-speed";
124 vbus-supply = <&usb_p0_vbus>;
133 pinctrl-names = "default";
134 pinctrl-0 = <&uart0_pins>;