mediatek: use mac-base
[openwrt/staging/hauke.git] / target / linux / mediatek / dts / mt7981b-cmcc-rax3000m-emmc.dtso
1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
2
3 /dts-v1/;
4 /plugin/;
5
6 / {
7 compatible = "cmcc,rax3000m", "mediatek,mt7981";
8
9 fragment@0 {
10 target = <&mmc0>;
11 __overlay__ {
12 bus-width = <8>;
13 max-frequency = <26000000>;
14 no-sd;
15 no-sdio;
16 non-removable;
17 pinctrl-names = "default", "state_uhs";
18 pinctrl-0 = <&mmc0_pins_default>;
19 pinctrl-1 = <&mmc0_pins_uhs>;
20 vmmc-supply = <&reg_3p3v>;
21 status = "okay";
22 };
23 };
24
25 fragment@1 {
26 target = <&pio>;
27 __overlay__ {
28 mmc0_pins_default: mmc0-pins {
29 mux {
30 function = "flash";
31 groups = "emmc_45";
32 };
33 };
34
35 mmc0_pins_uhs: mmc0-uhs-pins {
36 mux {
37 function = "flash";
38 groups = "emmc_45";
39 };
40 };
41 };
42 };
43 };