1 #include <dt-bindings/input/input.h>
2 #include "tegra30.dtsi"
5 * Toradex Colibri T30 Module Device Tree
6 * Compatible for Revisions V1.1B, V1.1C, V1.1D, V1.1E; IT: V1.1A
9 model = "Toradex Colibri T30";
10 compatible = "toradex,colibri_t30", "nvidia,tegra30";
13 reg = <0x80000000 0x40000000>;
18 vdd-supply = <&avdd_hdmi_3v3_reg>;
19 pll-supply = <&avdd_hdmi_pll_1v8_reg>;
22 <&gpio TEGRA_GPIO(N, 7) GPIO_ACTIVE_HIGH>;
23 nvidia,ddc-i2c-bus = <&hdmiddc>;
28 pinctrl-names = "default";
29 pinctrl-0 = <&state_default>;
31 state_default: pinmux {
35 nvidia,function = "rsvd4";
36 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
37 nvidia,tristate = <TEGRA_PIN_DISABLE>;
40 /* Colibri Backlight PWM<A> */
42 nvidia,pins = "sdmmc3_dat3_pb4";
43 nvidia,function = "pwm0";
44 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
45 nvidia,tristate = <TEGRA_PIN_DISABLE>;
50 nvidia,pins = "kb_row8_ps0";
51 nvidia,function = "kbc";
52 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
53 nvidia,tristate = <TEGRA_PIN_DISABLE>;
54 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
58 * Colibri L_BIAS, LCD_M1 is muxed with LCD_DE
59 * todays display need DE, disable LCD_M1
62 nvidia,pins = "lcd_m1_pw1";
63 nvidia,function = "rsvd3";
64 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
65 nvidia,tristate = <TEGRA_PIN_DISABLE>;
66 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
71 nvidia,pins = "kb_row10_ps2";
72 nvidia,function = "sdmmc2";
73 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
74 nvidia,tristate = <TEGRA_PIN_DISABLE>;
77 nvidia,pins = "kb_row11_ps3",
82 nvidia,function = "sdmmc2";
83 nvidia,pull = <TEGRA_PIN_PULL_UP>;
84 nvidia,tristate = <TEGRA_PIN_DISABLE>;
89 nvidia,pins = "ulpi_clk_py0",
93 nvidia,function = "spi1";
94 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
95 nvidia,tristate = <TEGRA_PIN_DISABLE>;
98 nvidia,pins = "sdmmc3_dat6_pd3",
100 nvidia,function = "spdif";
101 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
102 nvidia,tristate = <TEGRA_PIN_ENABLE>;
107 nvidia,pins = "ulpi_data0_po1",
115 nvidia,function = "uarta";
116 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
117 nvidia,tristate = <TEGRA_PIN_DISABLE>;
122 nvidia,pins = "gmi_a16_pj7",
126 nvidia,function = "uartd";
127 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
128 nvidia,tristate = <TEGRA_PIN_DISABLE>;
133 nvidia,pins = "uart2_rxd_pc3",
135 nvidia,function = "uartb";
136 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
137 nvidia,tristate = <TEGRA_PIN_DISABLE>;
142 nvidia,pins = "sdmmc4_clk_pcc4",
144 nvidia,function = "sdmmc4";
145 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
146 nvidia,tristate = <TEGRA_PIN_DISABLE>;
149 nvidia,pins = "sdmmc4_dat0_paa0",
157 nvidia,function = "sdmmc4";
158 nvidia,pull = <TEGRA_PIN_PULL_UP>;
159 nvidia,tristate = <TEGRA_PIN_DISABLE>;
162 /* Power I2C (On-module) */
164 nvidia,pins = "pwr_i2c_scl_pz6",
166 nvidia,function = "i2cpwr";
167 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
168 nvidia,tristate = <TEGRA_PIN_DISABLE>;
169 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
170 nvidia,lock = <TEGRA_PIN_DISABLE>;
171 nvidia,open-drain = <TEGRA_PIN_ENABLE>;
175 * THERMD_ALERT#, unlatched I2C address pin of LM95245
176 * temperature sensor therefore requires disabling for
180 nvidia,pins = "lcd_dc1_pd2";
181 nvidia,function = "rsvd3";
182 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
183 nvidia,tristate = <TEGRA_PIN_DISABLE>;
184 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
190 nvidia,function = "rsvd1";
191 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
192 nvidia,tristate = <TEGRA_PIN_DISABLE>;
193 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
198 hdmiddc: i2c@7000c700 {
199 clock-frequency = <100000>;
203 * PWR_I2C: power I2C to audio codec, PMIC, temperature sensor and
204 * touch screen controller
208 clock-frequency = <100000>;
211 compatible = "ti,tps65911";
214 interrupts = <GIC_SPI 86 IRQ_TYPE_LEVEL_HIGH>;
215 #interrupt-cells = <2>;
216 interrupt-controller;
218 ti,system-power-controller;
223 vcc1-supply = <&sys_3v3_reg>;
224 vcc2-supply = <&sys_3v3_reg>;
225 vcc3-supply = <&vio_reg>;
226 vcc4-supply = <&sys_3v3_reg>;
227 vcc5-supply = <&sys_3v3_reg>;
228 vcc6-supply = <&vio_reg>;
229 vcc7-supply = <&charge_pump_5v0_reg>;
230 vccio-supply = <&sys_3v3_reg>;
233 /* SW1: +V1.35_VDDIO_DDR */
235 regulator-name = "vddio_ddr_1v35";
236 regulator-min-microvolt = <1350000>;
237 regulator-max-microvolt = <1350000>;
243 /* SW CTRL: +V1.0_VDD_CPU */
244 vddctrl_reg: vddctrl {
245 regulator-name = "vdd_cpu,vdd_sys";
246 regulator-min-microvolt = <1150000>;
247 regulator-max-microvolt = <1150000>;
253 regulator-name = "vdd_1v8_gen";
254 regulator-min-microvolt = <1800000>;
255 regulator-max-microvolt = <1800000>;
262 * EN_+V3.3 switching via FET:
263 * +V3.3_AUDIO_AVDD_S, +V3.3 and +V1.8_VDD_LAN
264 * see also 3v3 fixed supply
267 regulator-name = "en_3v3";
268 regulator-min-microvolt = <3300000>;
269 regulator-max-microvolt = <3300000>;
277 regulator-name = "vdd_rtc";
278 regulator-min-microvolt = <1200000>;
279 regulator-max-microvolt = <1200000>;
285 * only required for analog RGB
288 regulator-name = "avdd_vdac";
289 regulator-min-microvolt = <2800000>;
290 regulator-max-microvolt = <2800000>;
295 * +V1.05_AVDD_PLLE: avdd_plle should be 1.05V
296 * but LDO6 can't set voltage in 50mV
300 regulator-name = "avdd_plle";
301 regulator-min-microvolt = <1100000>;
302 regulator-max-microvolt = <1100000>;
307 regulator-name = "avdd_pll";
308 regulator-min-microvolt = <1200000>;
309 regulator-max-microvolt = <1200000>;
313 /* +V1.0_VDD_DDR_HS */
315 regulator-name = "vdd_ddr_hs";
316 regulator-min-microvolt = <1000000>;
317 regulator-max-microvolt = <1000000>;
323 /* STMPE811 touch screen controller */
325 compatible = "st,stmpe811";
326 #address-cells = <1>;
329 interrupts = <TEGRA_GPIO(V, 0) IRQ_TYPE_LEVEL_LOW>;
330 interrupt-parent = <&gpio>;
331 interrupt-controller;
337 compatible = "st,stmpe-ts";
339 /* 3.25 MHz ADC clock speed */
341 /* 8 sample average control */
343 /* 7 length fractional part in z */
346 * 50 mA typical 80 mA max touchscreen drivers
347 * current limit value
352 /* internal ADC reference */
354 /* ADC converstion time: 80 clocks */
355 st,sample-time = <4>;
356 /* 1 ms panel driver settling time */
358 /* 5 ms touch detect interrupt delay */
359 st,touch-det-delay = <5>;
364 * LM95245 temperature sensor
365 * Note: OVERT_N directly connected to PMIC PWRDN
368 compatible = "national,lm95245";
372 /* SW: +V1.2_VDD_CORE */
374 compatible = "ti,tps62362";
377 regulator-name = "tps62362-vout";
378 regulator-min-microvolt = <900000>;
379 regulator-max-microvolt = <1400000>;
383 /* VSEL1: EN_CORE_DVFS_N low for DVFS */
389 nvidia,invert-interrupt;
390 nvidia,suspend-mode = <1>;
391 nvidia,cpu-pwr-good-time = <5000>;
392 nvidia,cpu-pwr-off-time = <5000>;
393 nvidia,core-pwr-good-time = <3845 3845>;
394 nvidia,core-pwr-off-time = <0>;
395 nvidia,core-power-req-active-high;
396 nvidia,sys-clock-req-active-high;
406 /* EHCI instance 1: USB2_DP/N -> AX88772B */
413 nvidia,is-wired = <1>;
417 compatible = "simple-bus";
418 #address-cells = <1>;
422 compatible = "fixed-clock";
425 clock-frequency = <32768>;
430 compatible = "simple-bus";
431 #address-cells = <1>;
434 avdd_hdmi_pll_1v8_reg: regulator@100 {
435 compatible = "regulator-fixed";
437 regulator-name = "+V1.8_AVDD_HDMI_PLL";
438 regulator-min-microvolt = <1800000>;
439 regulator-max-microvolt = <1800000>;
441 gpio = <&pmic 6 GPIO_ACTIVE_HIGH>;
442 vin-supply = <&vio_reg>;
445 sys_3v3_reg: regulator@101 {
446 compatible = "regulator-fixed";
448 regulator-name = "3v3";
449 regulator-min-microvolt = <3300000>;
450 regulator-max-microvolt = <3300000>;
454 avdd_hdmi_3v3_reg: regulator@102 {
455 compatible = "regulator-fixed";
457 regulator-name = "+V3.3_AVDD_HDMI";
458 regulator-min-microvolt = <3300000>;
459 regulator-max-microvolt = <3300000>;
461 gpio = <&pmic 6 GPIO_ACTIVE_HIGH>;
462 vin-supply = <&sys_3v3_reg>;
465 charge_pump_5v0_reg: regulator@103 {
466 compatible = "regulator-fixed";
468 regulator-name = "5v0";
469 regulator-min-microvolt = <5000000>;
470 regulator-max-microvolt = <5000000>;