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>
50 lines
836 B
Plaintext
50 lines
836 B
Plaintext
/dts-v1/;
|
|
|
|
#include "tegra20.dtsi"
|
|
|
|
/ {
|
|
model = "Toradex Colibri T20";
|
|
compatible = "toradex,t20", "nvidia,tegra20";
|
|
|
|
chosen {
|
|
stdout-path = &uarta;
|
|
};
|
|
|
|
aliases {
|
|
usb0 = "/usb@c5008000";
|
|
usb1 = "/usb@c5000000";
|
|
usb2 = "/usb@c5004000";
|
|
sdhci0 = "/sdhci@c8000600";
|
|
};
|
|
|
|
usb@c5000000 {
|
|
dr_mode = "otg";
|
|
};
|
|
|
|
usb@c5004000 {
|
|
nvidia,phy-reset-gpio = <&gpio 169 0>; /* PV1 */
|
|
nvidia,vbus-gpio = <&gpio 217 0>; /* PBB1 */
|
|
};
|
|
|
|
usb@c5008000 {
|
|
nvidia,vbus-gpio = <&gpio 178 1>; /* PW2 low-active */
|
|
};
|
|
|
|
nand-controller@70008000 {
|
|
nvidia,wp-gpios = <&gpio 144 0>; /* PS0 */
|
|
nvidia,width = <8>;
|
|
nvidia,timing = <15 100 25 80 25 10 15 10 100>;
|
|
|
|
nand@0 {
|
|
reg = <0>;
|
|
compatible = "nand-flash";
|
|
};
|
|
};
|
|
|
|
sdhci@c8000600 {
|
|
status = "okay";
|
|
cd-gpios = <&gpio 23 1>; /* gpio PC7 */
|
|
bus-width = <4>;
|
|
};
|
|
};
|