mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-08-28 04:48:52 +09:00
![Simon Glass](/assets/img/avatar_default.png)
Some Tegra device tree files do not include information about the serial ports. Add this and also add information about the input clock speed. The console alias needs to be set up to indicate which port is used for the console. Also add a binding file since this is missing. Series-changes; 5 - Add full serial port nodes from Linux tree (commit fc9d4dbe) - Use /chosen/stdout-path instead of /aliases/console to specify the console Signed-off-by: Simon Glass <sjg@chromium.org>
78 lines
1.1 KiB
Plaintext
78 lines
1.1 KiB
Plaintext
/dts-v1/;
|
|
|
|
#include "tegra20.dtsi"
|
|
|
|
/ {
|
|
model = "NVIDIA Tegra20 Whistler evaluation board";
|
|
compatible = "nvidia,whistler", "nvidia,tegra20";
|
|
|
|
chosen {
|
|
stdout-path = &uarta;
|
|
};
|
|
|
|
aliases {
|
|
i2c0 = "/i2c@7000d000";
|
|
usb0 = "/usb@c5008000";
|
|
sdhci0 = "/sdhci@c8000600";
|
|
sdhci1 = "/sdhci@c8000400";
|
|
};
|
|
|
|
memory {
|
|
device_type = "memory";
|
|
reg = < 0x00000000 0x20000000 >;
|
|
};
|
|
|
|
serial@70006000 {
|
|
clock-frequency = < 216000000 >;
|
|
};
|
|
|
|
i2c@7000c000 {
|
|
status = "disabled";
|
|
};
|
|
|
|
i2c@7000c400 {
|
|
status = "disabled";
|
|
};
|
|
|
|
i2c@7000c500 {
|
|
status = "disabled";
|
|
};
|
|
|
|
i2c@7000d000 {
|
|
clock-frequency = <100000>;
|
|
|
|
pmic@3c {
|
|
compatible = "maxim,max8907b";
|
|
reg = <0x3c>;
|
|
|
|
clk_32k: clock {
|
|
compatible = "fixed-clock";
|
|
/*
|
|
* leave out for now due to CPP:
|
|
* #clock-cells = <0>;
|
|
*/
|
|
clock-frequency = <32768>;
|
|
};
|
|
};
|
|
};
|
|
|
|
usb@c5000000 {
|
|
status = "disabled";
|
|
};
|
|
|
|
usb@c5004000 {
|
|
status = "disabled";
|
|
};
|
|
|
|
sdhci@c8000400 {
|
|
status = "okay";
|
|
wp-gpios = <&gpio 173 0>; /* gpio PV5 */
|
|
bus-width = <8>;
|
|
};
|
|
|
|
sdhci@c8000600 {
|
|
status = "okay";
|
|
bus-width = <8>;
|
|
};
|
|
};
|