mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-08-24 19:08:50 +09:00
![Simon Glass](/assets/img/avatar_default.png)
All boards with a SPI interface have a suitable spi alias except the tegra30 boards. Add these missing aliases. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Jagannadha Sutradharudu Teki <jagannadh.teki@gmail.com>
70 lines
1001 B
Plaintext
70 lines
1001 B
Plaintext
/dts-v1/;
|
|
|
|
#include "tegra20.dtsi"
|
|
|
|
/ {
|
|
model = "Compulab TrimSlice board";
|
|
compatible = "compulab,trimslice", "nvidia,tegra20";
|
|
|
|
chosen {
|
|
stdout-path = &uarta;
|
|
};
|
|
|
|
aliases {
|
|
usb0 = "/usb@c5008000";
|
|
usb1 = "/usb@c5000000";
|
|
sdhci0 = "/sdhci@c8000600";
|
|
sdhci1 = "/sdhci@c8000000";
|
|
spi0 = "/spi@7000c380";
|
|
};
|
|
|
|
memory {
|
|
reg = <0x00000000 0x40000000>;
|
|
};
|
|
|
|
serial@70006000 {
|
|
clock-frequency = <216000000>;
|
|
};
|
|
|
|
i2c@7000c000 {
|
|
status = "disabled";
|
|
};
|
|
|
|
spi@7000c380 {
|
|
status = "okay";
|
|
spi-max-frequency = <25000000>;
|
|
};
|
|
|
|
i2c@7000c400 {
|
|
status = "disabled";
|
|
};
|
|
|
|
i2c@7000c500 {
|
|
status = "disabled";
|
|
};
|
|
|
|
i2c@7000d000 {
|
|
status = "disabled";
|
|
};
|
|
|
|
usb@c5000000 {
|
|
nvidia,vbus-gpio = <&gpio 170 0>; /* PV2 */
|
|
};
|
|
|
|
usb@c5004000 {
|
|
status = "disabled";
|
|
};
|
|
|
|
sdhci@c8000000 {
|
|
status = "okay";
|
|
bus-width = <4>;
|
|
};
|
|
|
|
sdhci@c8000600 {
|
|
status = "okay";
|
|
cd-gpios = <&gpio 121 1>; /* gpio PP1 */
|
|
wp-gpios = <&gpio 122 0>; /* gpio PP2 */
|
|
bus-width = <4>;
|
|
};
|
|
};
|