mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-08-18 16:08:53 +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>
96 lines
1.6 KiB
Plaintext
96 lines
1.6 KiB
Plaintext
/dts-v1/;
|
|
|
|
#include "tegra20.dtsi"
|
|
|
|
/ {
|
|
model = "Toshiba AC100 / Dynabook AZ";
|
|
compatible = "compal,paz00", "nvidia,tegra20";
|
|
|
|
chosen {
|
|
stdout-path = &uarta;
|
|
};
|
|
|
|
aliases {
|
|
usb0 = "/usb@c5008000";
|
|
sdhci0 = "/sdhci@c8000600";
|
|
sdhci1 = "/sdhci@c8000000";
|
|
};
|
|
|
|
memory {
|
|
reg = <0x00000000 0x20000000>;
|
|
};
|
|
|
|
host1x {
|
|
status = "okay";
|
|
dc@54200000 {
|
|
status = "okay";
|
|
rgb {
|
|
status = "okay";
|
|
nvidia,panel = <&lcd_panel>;
|
|
};
|
|
};
|
|
};
|
|
|
|
serial@70006000 {
|
|
clock-frequency = < 216000000 >;
|
|
};
|
|
|
|
i2c@7000c000 {
|
|
status = "disabled";
|
|
};
|
|
|
|
i2c@7000c400 {
|
|
status = "disabled";
|
|
};
|
|
|
|
i2c@7000c500 {
|
|
status = "disabled";
|
|
};
|
|
|
|
i2c@7000d000 {
|
|
status = "disabled";
|
|
};
|
|
|
|
usb@c5000000 {
|
|
status = "disabled";
|
|
};
|
|
|
|
usb@c5004000 {
|
|
status = "disabled";
|
|
};
|
|
|
|
sdhci@c8000000 {
|
|
status = "okay";
|
|
cd-gpios = <&gpio 173 1>; /* gpio PV5 */
|
|
wp-gpios = <&gpio 57 0>; /* gpio PH1 */
|
|
power-gpios = <&gpio 169 0>; /* gpio PV1 */
|
|
bus-width = <4>;
|
|
};
|
|
|
|
sdhci@c8000600 {
|
|
status = "okay";
|
|
bus-width = <8>;
|
|
};
|
|
|
|
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 164 0>; /* PU4 */
|
|
nvidia,lvds-shutdown-gpios = <&gpio 102 0>; /* PM6 */
|
|
nvidia,backlight-vdd-gpios = <&gpio 176 0>; /* PW0 */
|
|
nvidia,panel-vdd-gpios = <&gpio 4 0>; /* PA4 */
|
|
nvidia,panel-timings = <400 4 203 17 15>;
|
|
};
|
|
};
|