blob: 4c8ca48c293f4e2134f1c4233eef8d1528fae94b [file] [log] [blame]
developer2de1f362025-01-23 16:55:01 +08001// SPDX-License-Identifier: (GPL-2.0 OR MIT)
2
3#include "mt7987-pinctrl.dtsi"
4
5/ {
6 reg_3p3v: regulator-3p3v {
7 compatible = "regulator-fixed";
8 regulator-name = "fixed-3.3V";
9 regulator-min-microvolt = <3300000>;
10 regulator-max-microvolt = <3300000>;
11 regulator-boot-on;
12 regulator-always-on;
13 };
14};
15
16/* Disable spi0/spi1 node since MSDC shares pins with spi0 and spi1*/
17&spi0 {
18 status = "disabled";
19};
20
21&spi1 {
22 status = "disabled";
23};
24
25&mmc0 {
26 pinctrl-names = "default", "state_uhs";
27 pinctrl-0 = <&sd_pins_default>;
28 pinctrl-1 = <&sd_pins_uhs>;
29 bus-width = <4>;
30 max-frequency = <50000000>;
31 cap-sd-highspeed;
32 vmmc-supply = <&reg_3p3v>;
33 vqmmc-supply = <&reg_3p3v>;
34 no-mmc;
35 no-sdio;
36 status = "okay";
37};