mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-28 17:48:58 +00:00
a591f9cd14
Sometimes the mmc deivce may come up later than kernel attempts to mount rootfs, resulting kernel panic. Enable rootwait to fix it. Reported-by: Yangyu Chen <cyy@cyyself.name> Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org> Link: https://github.com/openwrt/openwrt/pull/15077 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
51 lines
814 B
Plaintext
51 lines
814 B
Plaintext
// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
|
|
|
|
/dts-v1/;
|
|
/plugin/;
|
|
|
|
/ {
|
|
compatible = "cmcc,rax3000m", "mediatek,mt7981";
|
|
|
|
fragment@0 {
|
|
target = <&chosen>;
|
|
__overlay_ {
|
|
bootargs-append = " rootwait";
|
|
};
|
|
};
|
|
|
|
fragment@1 {
|
|
target = <&mmc0>;
|
|
__overlay__ {
|
|
bus-width = <8>;
|
|
max-frequency = <26000000>;
|
|
no-sd;
|
|
no-sdio;
|
|
non-removable;
|
|
pinctrl-names = "default", "state_uhs";
|
|
pinctrl-0 = <&mmc0_pins_default>;
|
|
pinctrl-1 = <&mmc0_pins_uhs>;
|
|
vmmc-supply = <®_3p3v>;
|
|
status = "okay";
|
|
};
|
|
};
|
|
|
|
fragment@2 {
|
|
target = <&pio>;
|
|
__overlay__ {
|
|
mmc0_pins_default: mmc0-pins {
|
|
mux {
|
|
function = "flash";
|
|
groups = "emmc_45";
|
|
};
|
|
};
|
|
|
|
mmc0_pins_uhs: mmc0-uhs-pins {
|
|
mux {
|
|
function = "flash";
|
|
groups = "emmc_45";
|
|
};
|
|
};
|
|
};
|
|
};
|
|
};
|