Daniel Golle | d7bb109 | 2023-04-11 17:19:46 +0200 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0 |
| 2 | /* |
| 3 | * Copyright (c) 2021 MediaTek Inc. |
| 4 | * Author: Sam Shih <sam.shih@mediatek.com> |
| 5 | */ |
| 6 | |
| 7 | /dts-v1/; |
| 8 | #include "mt7986a-bpi-r3-sd.dts" |
| 9 | #include <dt-bindings/gpio/gpio.h> |
| 10 | / { |
| 11 | reg_1p8v: regulator-1p8v { |
| 12 | compatible = "regulator-fixed"; |
| 13 | regulator-name = "fixed-1.8V"; |
| 14 | regulator-min-microvolt = <1800000>; |
| 15 | regulator-max-microvolt = <1800000>; |
| 16 | regulator-boot-on; |
| 17 | regulator-always-on; |
| 18 | }; |
| 19 | }; |
| 20 | |
| 21 | &mmc0 { |
| 22 | pinctrl-names = "default"; |
| 23 | pinctrl-0 = <&mmc0_pins_default>; |
| 24 | bus-width = <8>; |
| 25 | max-frequency = <200000000>; |
| 26 | cap-mmc-highspeed; |
| 27 | cap-mmc-hw-reset; |
| 28 | vmmc-supply = <®_3p3v>; |
| 29 | vqmmc-supply = <®_1p8v>; |
| 30 | non-removable; |
| 31 | status = "okay"; |
| 32 | }; |