blob: 89adfb6041740e579c5efa96f5b3915b5282cac3 [file] [log] [blame]
Lucas Stach85990a92012-10-07 11:36:06 +00001/dts-v1/;
2
Tom Warrenf6236152013-02-21 12:31:27 +00003#include "tegra20.dtsi"
Lucas Stach85990a92012-10-07 11:36:06 +00004
5/ {
6 model = "Toradex Colibri T20";
Marcel Ziswiler2ec89a82015-08-06 00:47:01 +02007 compatible = "toradex,colibri_t20", "nvidia,tegra20";
Lucas Stach85990a92012-10-07 11:36:06 +00008
Simon Glass0c24f372014-09-04 16:27:35 -06009 chosen {
10 stdout-path = &uarta;
11 };
12
Lucas Stach85990a92012-10-07 11:36:06 +000013 aliases {
Marcel Ziswiler9a520202015-08-06 00:47:03 +020014 i2c0 = "/i2c@7000d000";
15 i2c1 = "/i2c@7000c000";
16 i2c2 = "/i2c@7000c400";
Stephen Warrend55aadc2016-09-13 10:45:43 -060017 mmc0 = "/sdhci@c8000600";
Marcel Ziswilercd873872016-09-28 11:24:09 +020018 usb0 = "/usb@c5000000";
19 usb1 = "/usb@c5004000"; /* on-module only, for ASIX */
20 usb2 = "/usb@c5008000";
Lucas Stach85990a92012-10-07 11:36:06 +000021 };
22
Simon Glasse31a2a52016-01-30 16:37:52 -070023 host1x@50000000 {
Marcel Ziswilercbd2b512015-08-06 00:47:02 +020024 dc@54200000 {
Marcel Ziswilercbd2b512015-08-06 00:47:02 +020025 rgb {
26 status = "okay";
27 nvidia,panel = <&lcd_panel>;
Marcel Ziswiler6a3abf02016-09-28 11:24:08 +020028 display-timings {
29 timing@0 {
30 /* VESA VGA */
31 clock-frequency = <25175000>;
32 hactive = <640>;
33 vactive = <480>;
34 hback-porch = <48>;
35 hfront-porch = <16>;
36 hsync-len = <96>;
37 vback-porch = <31>;
38 vfront-porch = <11>;
39 vsync-len = <2>;
40 };
41 };
Marcel Ziswilercbd2b512015-08-06 00:47:02 +020042 };
43 };
44 };
45
Lucas Stach85990a92012-10-07 11:36:06 +000046 nand-controller@70008000 {
Simon Glass3112fd52015-01-05 20:05:41 -070047 nvidia,wp-gpios = <&gpio TEGRA_GPIO(S, 0) GPIO_ACTIVE_HIGH>;
Lucas Stach85990a92012-10-07 11:36:06 +000048 nvidia,width = <8>;
49 nvidia,timing = <15 100 25 80 25 10 15 10 100>;
50
51 nand@0 {
52 reg = <0>;
53 compatible = "nand-flash";
54 };
55 };
Tom Warrened955272013-02-21 12:31:29 +000056
Marcel Ziswiler6a3abf02016-09-28 11:24:08 +020057 pwm@7000a000 {
58 status = "okay";
59 };
60
Marcel Ziswiler9a520202015-08-06 00:47:03 +020061 /*
62 * GEN1_I2C: I2C_SDA/SCL on SODIMM pin 194/196 (e.g. RTC on carrier
63 * board)
64 */
65 i2c@7000c000 {
66 status = "okay";
67 clock-frequency = <100000>;
68 };
69
70 /* GEN2_I2C: unused */
71
72 /* DDC_CLOCK/DATA on X3 pin 15/16 (e.g. display EDID) */
73 i2c@7000c400 {
74 status = "okay";
75 clock-frequency = <100000>;
76 };
77
78 /*
79 * PWR_I2C: power I2C to PMIC and temperature sensor
80 */
81 i2c@7000d000 {
82 status = "okay";
83 clock-frequency = <100000>;
84 };
85
Marcel Ziswilercd873872016-09-28 11:24:09 +020086 /* EHCI instance 0: USB1_DP/N -> USBC_P/N */
87 usb@c5000000 {
88 status = "okay";
89 dr_mode = "otg";
90 };
91
92 /* EHCI instance 1: ULPI -> USB3340 -> AX88772B */
93 usb@c5004000 {
94 status = "okay";
95 /* VBUS_LAN */
96 nvidia,phy-reset-gpio = <&gpio TEGRA_GPIO(V, 1) GPIO_ACTIVE_HIGH>;
97 nvidia,vbus-gpio = <&gpio TEGRA_GPIO(BB, 1) GPIO_ACTIVE_HIGH>;
98 };
99
100 /* EHCI instance 2: USB3_DP/N -> USBH_P/N */
101 usb@c5008000 {
102 status = "okay";
103 /* USBH_PEN */
104 nvidia,vbus-gpio = <&gpio TEGRA_GPIO(W, 2) GPIO_ACTIVE_LOW>;
105 };
106
Tom Warrened955272013-02-21 12:31:29 +0000107 sdhci@c8000600 {
108 status = "okay";
Tom Warrened955272013-02-21 12:31:29 +0000109 bus-width = <4>;
Marcel Ziswiler764d4122015-08-06 00:47:10 +0200110 cd-gpios = <&gpio TEGRA_GPIO(C, 7) GPIO_ACTIVE_LOW>;
Tom Warrened955272013-02-21 12:31:29 +0000111 };
Marcel Ziswilercbd2b512015-08-06 00:47:02 +0200112
Marcel Ziswiler6a3abf02016-09-28 11:24:08 +0200113 backlight: backlight {
114 compatible = "pwm-backlight";
115
116 brightness-levels = <255 128 64 32 16 8 4 0>;
117 default-brightness-level = <6>;
118 /* BL_ON */
119 enable-gpios = <&gpio TEGRA_GPIO(T, 4) GPIO_ACTIVE_HIGH>;
120 power-supply = <&reg_3v3>;
121 /* PWM<A> */
122 pwms = <&pwm 0 5000000>;
123 };
124
Simon Glasse31a2a52016-01-30 16:37:52 -0700125 clocks {
126 compatible = "simple-bus";
127 #address-cells = <1>;
128 #size-cells = <0>;
129
130 clk32k_in: clock@0 {
131 compatible = "fixed-clock";
132 reg=<0>;
133 #clock-cells = <0>;
134 clock-frequency = <32768>;
135 };
136 };
137
Marcel Ziswiler6a3abf02016-09-28 11:24:08 +0200138 lcd_panel: panel {
139 /*
140 * edt,et057090dhu: EDT 5.7" LCD TFT
141 * edt,et070080dh6: EDT 7.0" LCD TFT
142 */
143 compatible = "edt,et057090dhu", "simple-panel";
144
145 backlight = <&backlight>;
Simon Glassd8af3c92016-01-30 16:38:01 -0700146 };
147
Marcel Ziswiler6a3abf02016-09-28 11:24:08 +0200148 regulators {
149 compatible = "simple-bus";
150 #address-cells = <1>;
151 #size-cells = <0>;
152
153 reg_3v3: regulator@0 {
154 compatible = "regulator-fixed";
155 reg = <0>;
156 regulator-name = "+V3.3";
157 regulator-min-microvolt = <3300000>;
158 regulator-max-microvolt = <3300000>;
159 regulator-always-on;
160 };
Marcel Ziswilercbd2b512015-08-06 00:47:02 +0200161 };
Lucas Stach85990a92012-10-07 11:36:06 +0000162};