dts: rk3308: add sdmmc node to support sdmmc

Change-Id: Iebf8b4c800ceaea95530c553955e727e2d76345f
Signed-off-by: Jason Zhu <jason.zhu@rock-chips.com>
This commit is contained in:
Jason Zhu 2019-11-11 11:32:32 +08:00
parent 224c13b893
commit a9bb1266c6
3 changed files with 53 additions and 1 deletions

View File

@ -319,6 +319,20 @@
status = "disabled";
};
&sdmmc {
bus-width = <4>;
cap-mmc-highspeed;
cap-sd-highspeed;
supports-sd;
card-detect-delay = <800>;
ignore-pm-notify;
sd-uhs-sdr12;
sd-uhs-sdr25;
sd-uhs-sdr50;
sd-uhs-sdr104;
status = "disabled";
};
&u2phy {
status = "okay";
};

View File

@ -8,7 +8,7 @@
chosen {
stdout-path = &uart2;
u-boot,spl-boot-order = &sfc, &nandc, &emmc;
u-boot,spl-boot-order = &sdmmc, &sfc, &nandc, &emmc;
};
};
@ -43,6 +43,42 @@
};
};
&pinctrl {
u-boot,dm-pre-reloc;
};
&pcfg_pull_none_4ma {
u-boot,dm-spl;
};
&pcfg_pull_up_4ma {
u-boot,dm-spl;
};
&sdmmc {
u-boot,dm-pre-reloc;
};
&sdmmc_pin {
u-boot,dm-spl;
};
&sdmmc_clk {
u-boot,dm-spl;
};
&sdmmc_cmd {
u-boot,dm-spl;
};
&sdmmc_bus4 {
u-boot,dm-spl;
};
&sdmmc_pwren {
u-boot,dm-spl;
};
&sfc {
u-boot,dm-pre-reloc;
status = "okay";

View File

@ -23,6 +23,8 @@
serial2 = &uart2;
serial3 = &uart3;
serial4 = &uart4;
mmc0 = &emmc;
mmc1 = &sdmmc;
};
cpus {