ARM: dts: ast2600-evb: eMMC configuration

Enable the eMMC controller and limit it to 52MHz to avoid the host
controller reporting bus error conditions.

Reviewed-by: Joel Stanley <joel@jms.id.au>
Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
Signed-off-by: Joel Stanley <joel@jms.id.au>
This commit is contained in:
Andrew Jeffery 2019-08-27 16:30:55 +09:30 committed by Joel Stanley
parent 54ecb8f702
commit 311b57f051
2 changed files with 9 additions and 3 deletions

View File

@ -71,10 +71,16 @@
phy-handle = <&ethphy3>; phy-handle = <&ethphy3>;
}; };
&emmc { &emmc_controller {
status = "okay"; status = "okay";
}; };
&emmc {
non-removable;
bus-width = <4>;
max-frequency = <52000000>;
};
&rtc { &rtc {
status = "okay"; status = "okay";
}; };

View File

@ -235,7 +235,7 @@
}; };
}; };
emmc: sdc@1e750000 { emmc_controller: sdc@1e750000 {
compatible = "aspeed,ast2600-sd-controller"; compatible = "aspeed,ast2600-sd-controller";
reg = <0x1e750000 0x100>; reg = <0x1e750000 0x100>;
#address-cells = <1>; #address-cells = <1>;
@ -244,7 +244,7 @@
clocks = <&syscon ASPEED_CLK_GATE_EMMCCLK>; clocks = <&syscon ASPEED_CLK_GATE_EMMCCLK>;
status = "disabled"; status = "disabled";
sdhci@1e750100 { emmc: sdhci@1e750100 {
compatible = "aspeed,ast2600-sdhci"; compatible = "aspeed,ast2600-sdhci";
reg = <0x100 0x100>; reg = <0x100 0x100>;
sdhci,auto-cmd12; sdhci,auto-cmd12;