mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-11 23:47:24 +00:00
67748a73b1
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>
73 lines
1,001 B
Text
73 lines
1,001 B
Text
#include "tegra186.dtsi"
|
|
|
|
/ {
|
|
model = "NVIDIA P2771-0000";
|
|
compatible = "nvidia,p2771-0000", "nvidia,tegra186";
|
|
|
|
chosen {
|
|
stdout-path = &uarta;
|
|
};
|
|
|
|
aliases {
|
|
mmc0 = "/sdhci@3460000";
|
|
mmc1 = "/sdhci@3400000";
|
|
i2c0 = "/bpmp/i2c";
|
|
i2c1 = "/i2c@3160000";
|
|
i2c2 = "/i2c@c240000";
|
|
i2c3 = "/i2c@3180000";
|
|
i2c4 = "/i2c@3190000";
|
|
i2c5 = "/i2c@31c0000";
|
|
i2c6 = "/i2c@c250000";
|
|
i2c7 = "/i2c@31e0000";
|
|
};
|
|
|
|
memory {
|
|
reg = <0x0 0x80000000 0x0 0x60000000>;
|
|
};
|
|
|
|
i2c@3160000 {
|
|
status = "okay";
|
|
};
|
|
|
|
i2c@3180000 {
|
|
status = "okay";
|
|
};
|
|
|
|
i2c@3190000 {
|
|
status = "okay";
|
|
};
|
|
|
|
i2c@31c0000 {
|
|
status = "okay";
|
|
};
|
|
|
|
sdhci@3400000 {
|
|
status = "okay";
|
|
wp-gpios = <&gpio_main TEGRA_MAIN_GPIO(P, 4) GPIO_ACTIVE_HIGH>;
|
|
bus-width = <4>;
|
|
};
|
|
|
|
sdhci@3460000 {
|
|
status = "okay";
|
|
bus-width = <8>;
|
|
non-removable;
|
|
};
|
|
|
|
i2c@c240000 {
|
|
status = "okay";
|
|
};
|
|
|
|
i2c@c250000 {
|
|
status = "okay";
|
|
};
|
|
|
|
i2c@31e0000 {
|
|
status = "okay";
|
|
};
|
|
|
|
bpmp {
|
|
i2c {
|
|
status = "okay";
|
|
};
|
|
};
|
|
};
|