I am using LS1088ardb_pb board with flexbuilder2108 package. In this package eMMC configured for 8 bit bus width. I would like to change the eMMC bus width to 4 bit at all the times.
Can you please suggest which source file I need to change in flexbuilder2108 package to make eMMC interface bus width to 4 bits?
Regards
Suresh
According to dts arch/arm64/boot/dts/freescale/fsl-ls1088a.dtsi definition in Linux source code components/linux/linux, the eMMC bus width should be 4 bit.
esdhc: esdhc@2140000 {
compatible = "fsl,ls1088a-esdhc", "fsl,esdhc";
reg = <0x0 0x2140000 0x0 0x10000>;
interrupts = <0 28 0x4>; /* Level high type */
clock-frequency = <0>;
clocks = <&clockgen 2 1>;
voltage-ranges = <1800 1800 3300 3300>;
sdhci,auto-cmd12;
little-endian;
bus-width = <4>;
status = "disabled";
};
In u-boot dts arch/arm/dts/fsl-ls1088a.dtsi in u-boot source code components/firmware/uboot, the eMMC bus width is also 4 bit.
esdhc: esdhc@2140000 {
compatible = "fsl,esdhc";
reg = <0x0 0x2140000 0x0 0x10000>;
interrupts = <0 28 0x4>; /* Level high type */
little-endian;
bus-width = <4>;
};