提交 4c0f1f90 编写于 作者: D Dmitry Osipenko 提交者: Thierry Reding

ARM: tegra: paz00: Add MMC aliases

Add MMC aliases to ensure that the /dev/mmcblk IDs won't change depending
on the probe order of the MMC drivers.
Signed-off-by: NDmitry Osipenko <digetx@gmail.com>
Signed-off-by: NThierry Reding <treding@nvidia.com>
上级 fa3174c5
...@@ -13,6 +13,8 @@ ...@@ -13,6 +13,8 @@
compatible = "compal,paz00", "nvidia,tegra20"; compatible = "compal,paz00", "nvidia,tegra20";
aliases { aliases {
mmc0 = &sdmmc4; /* eMMC */
mmc1 = &sdmmc1; /* MicroSD */
rtc0 = "/i2c@7000d000/tps6586x@34"; rtc0 = "/i2c@7000d000/tps6586x@34";
rtc1 = "/rtc@7000e000"; rtc1 = "/rtc@7000e000";
serial0 = &uarta; serial0 = &uarta;
...@@ -558,7 +560,7 @@ ...@@ -558,7 +560,7 @@
status = "okay"; status = "okay";
}; };
mmc@c8000000 { sdmmc1: mmc@c8000000 {
status = "okay"; status = "okay";
cd-gpios = <&gpio TEGRA_GPIO(V, 5) GPIO_ACTIVE_LOW>; cd-gpios = <&gpio TEGRA_GPIO(V, 5) GPIO_ACTIVE_LOW>;
wp-gpios = <&gpio TEGRA_GPIO(H, 1) GPIO_ACTIVE_HIGH>; wp-gpios = <&gpio TEGRA_GPIO(H, 1) GPIO_ACTIVE_HIGH>;
...@@ -566,7 +568,7 @@ ...@@ -566,7 +568,7 @@
bus-width = <4>; bus-width = <4>;
}; };
mmc@c8000600 { sdmmc4: mmc@c8000600 {
status = "okay"; status = "okay";
bus-width = <8>; bus-width = <8>;
non-removable; non-removable;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册