developer | 2de1f36 | 2025-01-23 16:55:01 +0800 | [diff] [blame] | 1 | // SPDX-License-Identifier: (GPL-2.0-only OR MIT) |
| 2 | |
| 3 | #include "mt7987-pinctrl.dtsi" |
| 4 | |
| 5 | / { |
| 6 | reg_1p8v: regulator-1p8v { |
| 7 | compatible = "regulator-fixed"; |
| 8 | regulator-name = "fixed-1.8V"; |
| 9 | regulator-min-microvolt = <1800000>; |
| 10 | regulator-max-microvolt = <1800000>; |
| 11 | regulator-boot-on; |
| 12 | regulator-always-on; |
| 13 | }; |
| 14 | |
| 15 | reg_3p3v: regulator-3p3v { |
| 16 | compatible = "regulator-fixed"; |
| 17 | regulator-name = "fixed-3.3V"; |
| 18 | regulator-min-microvolt = <3300000>; |
| 19 | regulator-max-microvolt = <3300000>; |
| 20 | regulator-boot-on; |
| 21 | regulator-always-on; |
| 22 | }; |
| 23 | }; |
| 24 | |
| 25 | /* Disable spi0/spi1 node since MSDC shares pins with spi0 and spi1*/ |
| 26 | &spi0 { |
| 27 | status = "disabled"; |
| 28 | }; |
| 29 | |
| 30 | &spi1 { |
| 31 | status = "disabled"; |
| 32 | }; |
| 33 | |
| 34 | &mmc0 { |
| 35 | pinctrl-names = "default", "state_uhs"; |
| 36 | pinctrl-0 = <&mmc_pins_default>; |
| 37 | pinctrl-1 = <&mmc_pins_uhs>; |
| 38 | bus-width = <8>; |
| 39 | max-frequency = <200000000>; |
| 40 | cap-mmc-highspeed; |
| 41 | mmc-hs200-1_8v; |
| 42 | mmc-hs400-1_8v; |
| 43 | hs400-ds-delay = <0x12814>; |
| 44 | vqmmc-supply = <®_1p8v>; |
| 45 | vmmc-supply = <®_3p3v>; |
| 46 | non-removable; |
| 47 | no-sd; |
| 48 | no-sdio; |
| 49 | status = "okay"; |
| 50 | }; |