mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-28 05:24:47 +08:00
c4574aa00e
There are general changes pending to make the /aliases/serial* entries number the serial ports on the system. On Tegra, so far the ports have been just numbered dynamically as they are configured so that makes them change. To avoid this, add specific aliases per board to keep the old numbers. This allows us to change the numbering by default on future SoCs while keeping the numbering on existing boards. Signed-off-by: Olof Johansson <olof@lixom.net> Signed-off-by: Thierry Reding <treding@nvidia.com>
102 lines
1.6 KiB
Plaintext
102 lines
1.6 KiB
Plaintext
/dts-v1/;
|
|
|
|
#include "tegra20-colibri-512.dtsi"
|
|
|
|
/ {
|
|
model = "Toradex Colibri T20 512MB on Iris";
|
|
compatible = "toradex,iris", "toradex,colibri_t20-512", "nvidia,tegra20";
|
|
|
|
aliases {
|
|
serial0 = &uarta;
|
|
serial1 = &uartd;
|
|
};
|
|
|
|
host1x@50000000 {
|
|
hdmi@54280000 {
|
|
status = "okay";
|
|
};
|
|
};
|
|
|
|
pinmux@70000014 {
|
|
state_default: pinmux {
|
|
hdint {
|
|
nvidia,tristate = <TEGRA_PIN_DISABLE>;
|
|
};
|
|
|
|
i2cddc {
|
|
nvidia,tristate = <TEGRA_PIN_DISABLE>;
|
|
};
|
|
|
|
sdio4 {
|
|
nvidia,tristate = <TEGRA_PIN_DISABLE>;
|
|
};
|
|
|
|
uarta {
|
|
nvidia,tristate = <TEGRA_PIN_DISABLE>;
|
|
};
|
|
|
|
uartd {
|
|
nvidia,tristate = <TEGRA_PIN_DISABLE>;
|
|
};
|
|
};
|
|
};
|
|
|
|
serial@70006000 {
|
|
status = "okay";
|
|
};
|
|
|
|
serial@70006300 {
|
|
status = "okay";
|
|
};
|
|
|
|
i2c_ddc: i2c@7000c400 {
|
|
status = "okay";
|
|
};
|
|
|
|
usb@c5000000 {
|
|
status = "okay";
|
|
};
|
|
|
|
usb-phy@c5000000 {
|
|
status = "okay";
|
|
};
|
|
|
|
usb@c5008000 {
|
|
status = "okay";
|
|
};
|
|
|
|
usb-phy@c5008000 {
|
|
status = "okay";
|
|
};
|
|
|
|
sdhci@c8000600 {
|
|
status = "okay";
|
|
bus-width = <4>;
|
|
vmmc-supply = <&vcc_sd_reg>;
|
|
vqmmc-supply = <&vcc_sd_reg>;
|
|
};
|
|
|
|
regulators {
|
|
regulator@0 {
|
|
compatible = "regulator-fixed";
|
|
reg = <0>;
|
|
regulator-name = "usb_host_vbus";
|
|
regulator-min-microvolt = <5000000>;
|
|
regulator-max-microvolt = <5000000>;
|
|
regulator-boot-on;
|
|
regulator-always-on;
|
|
gpio = <&gpio TEGRA_GPIO(W, 2) GPIO_ACTIVE_HIGH>;
|
|
};
|
|
|
|
vcc_sd_reg: regulator@1 {
|
|
compatible = "regulator-fixed";
|
|
reg = <1>;
|
|
regulator-name = "vcc_sd";
|
|
regulator-min-microvolt = <3300000>;
|
|
regulator-max-microvolt = <3300000>;
|
|
regulator-boot-on;
|
|
regulator-always-on;
|
|
};
|
|
};
|
|
};
|