mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-18 10:48:51 +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>
97 lines
1.8 KiB
Text
97 lines
1.8 KiB
Text
/dts-v1/;
|
|
|
|
#include "tegra20.dtsi"
|
|
|
|
/ {
|
|
model = "Toshiba AC100 / Dynabook AZ";
|
|
compatible = "compal,paz00", "nvidia,tegra20";
|
|
|
|
chosen {
|
|
stdout-path = &uarta;
|
|
};
|
|
|
|
aliases {
|
|
usb0 = "/usb@c5008000";
|
|
mmc0 = "/sdhci@c8000600";
|
|
mmc1 = "/sdhci@c8000000";
|
|
};
|
|
|
|
memory {
|
|
reg = <0x00000000 0x20000000>;
|
|
};
|
|
|
|
host1x@50000000 {
|
|
status = "okay";
|
|
dc@54200000 {
|
|
status = "okay";
|
|
rgb {
|
|
status = "okay";
|
|
nvidia,panel = <&lcd_panel>;
|
|
};
|
|
};
|
|
};
|
|
|
|
serial@70006000 {
|
|
clock-frequency = < 216000000 >;
|
|
};
|
|
|
|
usb@c5008000 {
|
|
status = "okay";
|
|
};
|
|
|
|
sdhci@c8000000 {
|
|
status = "okay";
|
|
cd-gpios = <&gpio TEGRA_GPIO(V, 5) GPIO_ACTIVE_LOW>;
|
|
wp-gpios = <&gpio TEGRA_GPIO(H, 1) GPIO_ACTIVE_HIGH>;
|
|
power-gpios = <&gpio TEGRA_GPIO(V, 1) GPIO_ACTIVE_HIGH>;
|
|
bus-width = <4>;
|
|
};
|
|
|
|
sdhci@c8000600 {
|
|
status = "okay";
|
|
bus-width = <8>;
|
|
non-removable;
|
|
};
|
|
|
|
clocks {
|
|
compatible = "simple-bus";
|
|
#address-cells = <1>;
|
|
#size-cells = <0>;
|
|
|
|
clk32k_in: clock@0 {
|
|
compatible = "fixed-clock";
|
|
reg=<0>;
|
|
#clock-cells = <0>;
|
|
clock-frequency = <32768>;
|
|
};
|
|
};
|
|
|
|
pwm: pwm@7000a000 {
|
|
status = "okay";
|
|
};
|
|
|
|
lcd_panel: panel {
|
|
/* PAZ00 has 1024x600 */
|
|
clock = <54030000>;
|
|
xres = <1024>;
|
|
yres = <600>;
|
|
right-margin = <160>;
|
|
left-margin = <24>;
|
|
hsync-len = <136>;
|
|
upper-margin = <3>;
|
|
lower-margin = <61>;
|
|
vsync-len = <6>;
|
|
hsync-active-high;
|
|
nvidia,bits-per-pixel = <16>;
|
|
nvidia,pwm = <&pwm 0 0>;
|
|
nvidia,backlight-enable-gpios = <&gpio TEGRA_GPIO(U, 4)
|
|
GPIO_ACTIVE_HIGH>;
|
|
nvidia,lvds-shutdown-gpios = <&gpio TEGRA_GPIO(M, 6)
|
|
GPIO_ACTIVE_HIGH>;
|
|
nvidia,backlight-vdd-gpios = <&gpio TEGRA_GPIO(W, 0)
|
|
GPIO_ACTIVE_HIGH>;
|
|
nvidia,panel-vdd-gpios = <&gpio TEGRA_GPIO(A, 4)
|
|
GPIO_ACTIVE_HIGH>;
|
|
nvidia,panel-timings = <400 4 203 17 15>;
|
|
};
|
|
};
|