mediatek: copy files-6.1 to files-6.6
[openwrt/staging/stintel.git] / target / linux / mediatek / files-6.6 / arch / arm64 / boot / dts / mediatek / mt7988a-bananapi-bpi-r4-emmc.dtso
1 // SPDX-License-Identifier: (GPL-2.0 OR MIT)
2 /*
3 * Copyright (C) 2021 MediaTek Inc.
4 * Author: Frank Wunderlich <frank-w@public-files.de>
5 */
6
7 /dts-v1/;
8 /plugin/;
9
10 / {
11 compatible = "bananapi,bpi-r4", "mediatek,mt7988a";
12
13 fragment@0 {
14 target-path = "/soc/mmc@11230000";
15 __overlay__ {
16 pinctrl-names = "default", "state_uhs";
17 pinctrl-0 = <&mmc0_pins_emmc_51>;
18 pinctrl-1 = <&mmc0_pins_emmc_51>;
19 bus-width = <8>;
20 max-frequency = <200000000>;
21 cap-mmc-highspeed;
22 mmc-hs200-1_8v;
23 mmc-hs400-1_8v;
24 hs400-ds-delay = <0x12814>;
25 vqmmc-supply = <&reg_1p8v>;
26 vmmc-supply = <&reg_3p3v>;
27 non-removable;
28 no-sd;
29 no-sdio;
30 status = "okay";
31 #address-cells = <1>;
32 #size-cells = <0>;
33
34 card@0 {
35 compatible = "mmc-card";
36 reg = <0>;
37
38 block {
39 compatible = "block-device";
40 partitions {
41 block-partition-env {
42 partname = "ubootenv";
43 nvmem-layout {
44 compatible = "u-boot,env-layout";
45 };
46 };
47 emmc_rootfs: block-partition-production {
48 partname = "production";
49 };
50 };
51 };
52 };
53 };
54 };
55
56 fragment@2 {
57 target-path = "/chosen";
58 __overlay__ {
59 rootdisk-emmc = <&emmc_rootfs>;
60 };
61 };
62 };