u-boot-brain/arch/arm/dts/tegra30-tamonten.dtsi
Stephen Warren 67748a73b1 mmc: tegra: use correct alias for SDHCI/MMC nodes
The Tegra MMC driver currently honors "sdhci" entries in /aliases. The
MMC core however uses "mmc" entries in /aliases. This difference will be
relevant once the Tegra MMC driver is converted to DM, and the MMC core
handles alias lookups. To avoid issues during that conversion, fix the
Tegra MMC driver and all Tegra DTs to use the same alias name as the MMC
core does.

Cc: Jaehoon Chung <jh80.chung@samsung.com>
Signed-off-by: Stephen Warren <swarren@nvidia.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Jaehoon Chung <jh80.chung@samsung.com>
Signed-off-by: Tom Warren <twarren@nvidia.com>
2016-09-27 09:11:01 -07:00

75 lines
1.2 KiB
Plaintext

#include "tegra30.dtsi"
/ {
model = "Avionic Design Tamonten NG";
compatible = "ad,tamonten-ng", "nvidia,tegra30";
memory {
reg = <0x80000000 0x40000000>;
};
chosen {
stdout-path = &uartd;
};
aliases {
i2c0 = "/i2c@7000c000";
i2c1 = "/i2c@7000c700";
i2c2 = "/i2c@7000c400";
i2c3 = "/i2c@7000c500";
i2c4 = "/i2c@7000d000";
mmc0 = "/sdhci@78000600";
mmc1 = "/sdhci@78000400";
mmc2 = "/sdhci@78000000";
usb0 = "/usb@7d008000";
};
/* GEN1 */
i2c@7000c000 {
status = "okay";
clock-frequency = <100000>;
};
/* GEN2 */
i2c@7000c400 {
clock-frequency = <100000>;
};
/* CAM */
i2c@7000c500 {
status = "okay";
clock-frequency = <100000>;
};
/* DDC */
i2c@7000c700 {
status = "okay";
clock-frequency = <100000>;
};
/* PWR */
i2c@7000d000 {
status = "okay";
clock-frequency = <100000>;
};
/* SD slot on the base board */
sdhci@78000400 {
cd-gpios = <&gpio TEGRA_GPIO(I, 5) GPIO_ACTIVE_LOW>;
wp-gpios = <&gpio TEGRA_GPIO(I, 3) GPIO_ACTIVE_HIGH>;
bus-width = <4>;
};
/* EMMC on the COM module */
sdhci@78000600 {
status = "okay";
bus-width = <8>;
non-removable;
};
usb@7d008000 {
status = "okay";
};
};