blob: bf14c6b960d37ba7c1d6b84e67925970c999d9a8 [file] [log] [blame]
Lucas Stach6bbda882012-10-07 11:36:06 +00001/dts-v1/;
2
Tom Warren6c5be642013-02-21 12:31:27 +00003#include "tegra20.dtsi"
Lucas Stach6bbda882012-10-07 11:36:06 +00004
5/ {
6 model = "Toradex Colibri T20";
Marcel Ziswilera7841e72015-08-06 00:47:01 +02007 compatible = "toradex,colibri_t20", "nvidia,tegra20";
Lucas Stach6bbda882012-10-07 11:36:06 +00008
Simon Glassc3691392014-09-04 16:27:35 -06009 chosen {
10 stdout-path = &uarta;
11 };
12
Lucas Stach6bbda882012-10-07 11:36:06 +000013 aliases {
14 usb0 = "/usb@c5008000";
15 usb1 = "/usb@c5000000";
16 usb2 = "/usb@c5004000";
Tom Warren126685a2013-02-21 12:31:29 +000017 sdhci0 = "/sdhci@c8000600";
Lucas Stach6bbda882012-10-07 11:36:06 +000018 };
19
Marcel Ziswilerb2ea19b2015-08-06 00:47:02 +020020 host1x {
21 status = "okay";
22 dc@54200000 {
23 status = "okay";
24 rgb {
25 status = "okay";
26 nvidia,panel = <&lcd_panel>;
27 };
28 };
29 };
30
Lucas Stach6bbda882012-10-07 11:36:06 +000031 usb@c5000000 {
32 dr_mode = "otg";
33 };
34
35 usb@c5004000 {
Simon Glass2b2b50b2015-01-05 20:05:41 -070036 nvidia,phy-reset-gpio = <&gpio TEGRA_GPIO(V, 1) GPIO_ACTIVE_HIGH>;
37 nvidia,vbus-gpio = <&gpio TEGRA_GPIO(BB, 1) GPIO_ACTIVE_HIGH>;
Lucas Stach6bbda882012-10-07 11:36:06 +000038 };
39
40 usb@c5008000 {
Simon Glass2b2b50b2015-01-05 20:05:41 -070041 nvidia,vbus-gpio = <&gpio TEGRA_GPIO(W, 2) GPIO_ACTIVE_LOW>;
Lucas Stach6bbda882012-10-07 11:36:06 +000042 };
43
44 nand-controller@70008000 {
Simon Glass2b2b50b2015-01-05 20:05:41 -070045 nvidia,wp-gpios = <&gpio TEGRA_GPIO(S, 0) GPIO_ACTIVE_HIGH>;
Lucas Stach6bbda882012-10-07 11:36:06 +000046 nvidia,width = <8>;
47 nvidia,timing = <15 100 25 80 25 10 15 10 100>;
48
49 nand@0 {
50 reg = <0>;
51 compatible = "nand-flash";
52 };
53 };
Tom Warren126685a2013-02-21 12:31:29 +000054
55 sdhci@c8000600 {
56 status = "okay";
Simon Glass2b2b50b2015-01-05 20:05:41 -070057 cd-gpios = <&gpio TEGRA_GPIO(C, 7) GPIO_ACTIVE_LOW>;
Tom Warren126685a2013-02-21 12:31:29 +000058 bus-width = <4>;
59 };
Marcel Ziswilerb2ea19b2015-08-06 00:47:02 +020060
61 lcd_panel: panel {
62 clock = <25175000>;
63 xres = <640>;
64 yres = <480>;
65 left-margin = <48>; /* horizontal back porch */
66 right-margin = <16>; /* horizontal front porch */
67 hsync-len = <96>;
68 lower-margin = <11>; /* vertical front porch */
69 upper-margin = <31>; /* vertical back porch */
70 vsync-len = <2>;
71 hsync-active-high;
72 vsync-active-high;
73 nvidia,bits-per-pixel = <16>;
74 nvidia,pwm = <&pwm 0 0>;
75 nvidia,backlight-enable-gpios = <&gpio TEGRA_GPIO(T, 4) GPIO_ACTIVE_HIGH>;
76 nvidia,panel-timings = <0 0 0 0>;
77 };
Lucas Stach6bbda882012-10-07 11:36:06 +000078};