blob: 9a39a8001f7845fb75572e97a7a8554399af9d81 [file] [log] [blame]
Marc Dietrichcc2afa42011-11-01 10:37:05 +00001/dts-v1/;
2
Laxman Dewangan6bccbd52013-12-02 18:39:57 +05303#include <dt-bindings/input/input.h>
Stephen Warren1bd0bd42012-10-17 16:38:21 -06004#include "tegra20.dtsi"
Marc Dietrichcc2afa42011-11-01 10:37:05 +00005
6/ {
7 model = "Toshiba AC100 / Dynabook AZ";
8 compatible = "compal,paz00", "nvidia,tegra20";
9
Stephen Warren553c0a22013-12-09 14:43:59 -070010 aliases {
11 rtc0 = "/i2c@7000d000/tps6586x@34";
12 rtc1 = "/rtc@7000e000";
13 };
14
Stephen Warrenf9eb26a2012-05-11 16:17:47 -060015 memory {
Marc Dietrichcc2afa42011-11-01 10:37:05 +000016 reg = <0x00000000 0x20000000>;
17 };
18
Stephen Warren58ecb232013-11-25 17:53:16 -070019 host1x@50000000 {
Marc Dietrich58168982013-12-21 21:38:13 +010020 dc@54200000 {
21 rgb {
22 status = "okay";
23
24 nvidia,panel = <&panel>;
25 };
26 };
27
Stephen Warren58ecb232013-11-25 17:53:16 -070028 hdmi@54280000 {
Stephen Warren11a3c862013-01-02 14:53:22 -070029 status = "okay";
30
31 vdd-supply = <&hdmi_vdd_reg>;
32 pll-supply = <&hdmi_pll_reg>;
33
34 nvidia,ddc-i2c-bus = <&hdmi_ddc>;
Stephen Warren3325f1b2013-02-12 17:25:15 -070035 nvidia,hpd-gpio = <&gpio TEGRA_GPIO(N, 7)
36 GPIO_ACTIVE_HIGH>;
Stephen Warren11a3c862013-01-02 14:53:22 -070037 };
38 };
39
Stephen Warren58ecb232013-11-25 17:53:16 -070040 pinmux@70000014 {
Stephen Warrenecc295b2012-03-15 16:27:36 -060041 pinctrl-names = "default";
42 pinctrl-0 = <&state_default>;
43
44 state_default: pinmux {
45 ata {
46 nvidia,pins = "ata", "atc", "atd", "ate",
47 "dap2", "gmb", "gmc", "gmd", "spia",
48 "spib", "spic", "spid", "spie";
49 nvidia,function = "gmi";
50 };
51 atb {
52 nvidia,pins = "atb", "gma", "gme";
53 nvidia,function = "sdio4";
54 };
55 cdev1 {
56 nvidia,pins = "cdev1";
57 nvidia,function = "plla_out";
58 };
59 cdev2 {
60 nvidia,pins = "cdev2";
61 nvidia,function = "pllp_out4";
62 };
63 crtp {
64 nvidia,pins = "crtp";
65 nvidia,function = "crt";
66 };
67 csus {
68 nvidia,pins = "csus";
69 nvidia,function = "pllc_out1";
70 };
71 dap1 {
72 nvidia,pins = "dap1";
73 nvidia,function = "dap1";
74 };
75 dap3 {
76 nvidia,pins = "dap3";
77 nvidia,function = "dap3";
78 };
79 dap4 {
80 nvidia,pins = "dap4";
81 nvidia,function = "dap4";
82 };
83 ddc {
84 nvidia,pins = "ddc";
85 nvidia,function = "i2c2";
86 };
87 dta {
88 nvidia,pins = "dta", "dtb", "dtc", "dtd", "dte";
89 nvidia,function = "rsvd1";
90 };
91 dtf {
92 nvidia,pins = "dtf";
93 nvidia,function = "i2c3";
94 };
95 gpu {
96 nvidia,pins = "gpu", "sdb", "sdd";
97 nvidia,function = "pwm";
98 };
99 gpu7 {
100 nvidia,pins = "gpu7";
101 nvidia,function = "rtck";
102 };
103 gpv {
104 nvidia,pins = "gpv", "slxa", "slxk";
105 nvidia,function = "pcie";
106 };
107 hdint {
108 nvidia,pins = "hdint", "pta";
109 nvidia,function = "hdmi";
110 };
111 i2cp {
112 nvidia,pins = "i2cp";
113 nvidia,function = "i2cp";
114 };
115 irrx {
116 nvidia,pins = "irrx", "irtx";
117 nvidia,function = "uarta";
118 };
119 kbca {
120 nvidia,pins = "kbca", "kbcc", "kbce", "kbcf";
121 nvidia,function = "kbc";
122 };
123 kbcb {
124 nvidia,pins = "kbcb", "kbcd";
125 nvidia,function = "sdio2";
126 };
127 lcsn {
128 nvidia,pins = "lcsn", "ld0", "ld1", "ld2",
129 "ld3", "ld4", "ld5", "ld6", "ld7",
130 "ld8", "ld9", "ld10", "ld11", "ld12",
131 "ld13", "ld14", "ld15", "ld16", "ld17",
132 "ldc", "ldi", "lhp0", "lhp1", "lhp2",
133 "lhs", "lm0", "lm1", "lpp", "lpw0",
134 "lpw1", "lpw2", "lsc0", "lsc1", "lsck",
135 "lsda", "lsdi", "lspi", "lvp0", "lvp1",
136 "lvs";
137 nvidia,function = "displaya";
138 };
139 owc {
140 nvidia,pins = "owc";
141 nvidia,function = "owr";
142 };
143 pmc {
144 nvidia,pins = "pmc";
145 nvidia,function = "pwr_on";
146 };
147 rm {
148 nvidia,pins = "rm";
149 nvidia,function = "i2c1";
150 };
151 sdc {
152 nvidia,pins = "sdc";
153 nvidia,function = "twc";
154 };
155 sdio1 {
156 nvidia,pins = "sdio1";
157 nvidia,function = "sdio1";
158 };
159 slxc {
160 nvidia,pins = "slxc", "slxd";
161 nvidia,function = "spi4";
162 };
163 spdi {
164 nvidia,pins = "spdi", "spdo";
165 nvidia,function = "rsvd2";
166 };
167 spif {
168 nvidia,pins = "spif", "uac";
169 nvidia,function = "rsvd4";
170 };
171 spig {
172 nvidia,pins = "spig", "spih";
173 nvidia,function = "spi2_alt";
174 };
175 uaa {
176 nvidia,pins = "uaa", "uab", "uda";
177 nvidia,function = "ulpi";
178 };
179 uad {
180 nvidia,pins = "uad";
181 nvidia,function = "spdif";
182 };
183 uca {
184 nvidia,pins = "uca", "ucb";
185 nvidia,function = "uartc";
186 };
187 conf_ata {
188 nvidia,pins = "ata", "atb", "atc", "atd", "ate",
Stephen Warren563da212012-04-13 16:35:20 -0600189 "cdev1", "cdev2", "dap1", "dap2", "dtf",
190 "gma", "gmb", "gmc", "gmd", "gme",
191 "gpu", "gpu7", "gpv", "i2cp", "pta",
192 "rm", "sdio1", "slxk", "spdo", "uac",
193 "uda";
Laxman Dewanganba4104e2013-12-05 16:14:08 +0530194 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
195 nvidia,tristate = <TEGRA_PIN_DISABLE>;
Stephen Warrenecc295b2012-03-15 16:27:36 -0600196 };
Stephen Warrenecc295b2012-03-15 16:27:36 -0600197 conf_ck32 {
198 nvidia,pins = "ck32", "ddrc", "pmca", "pmcb",
199 "pmcc", "pmcd", "pmce", "xm2c", "xm2d";
Laxman Dewanganba4104e2013-12-05 16:14:08 +0530200 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
Stephen Warrenecc295b2012-03-15 16:27:36 -0600201 };
202 conf_crtp {
203 nvidia,pins = "crtp", "dap3", "dap4", "dtb",
204 "dtc", "dte", "slxa", "slxc", "slxd",
205 "spdi";
Laxman Dewanganba4104e2013-12-05 16:14:08 +0530206 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
207 nvidia,tristate = <TEGRA_PIN_ENABLE>;
Stephen Warrenecc295b2012-03-15 16:27:36 -0600208 };
209 conf_csus {
210 nvidia,pins = "csus", "spia", "spib", "spid",
211 "spif";
Laxman Dewanganba4104e2013-12-05 16:14:08 +0530212 nvidia,pull = <TEGRA_PIN_PULL_DOWN>;
213 nvidia,tristate = <TEGRA_PIN_ENABLE>;
Stephen Warrenecc295b2012-03-15 16:27:36 -0600214 };
215 conf_ddc {
216 nvidia,pins = "ddc", "irrx", "irtx", "kbca",
217 "kbcb", "kbcc", "kbcd", "kbce", "kbcf",
218 "spic", "spig", "uaa", "uab";
Laxman Dewanganba4104e2013-12-05 16:14:08 +0530219 nvidia,pull = <TEGRA_PIN_PULL_UP>;
220 nvidia,tristate = <TEGRA_PIN_DISABLE>;
Stephen Warrenecc295b2012-03-15 16:27:36 -0600221 };
222 conf_dta {
223 nvidia,pins = "dta", "dtd", "owc", "sdc", "sdd",
224 "spie", "spih", "uad", "uca", "ucb";
Laxman Dewanganba4104e2013-12-05 16:14:08 +0530225 nvidia,pull = <TEGRA_PIN_PULL_UP>;
226 nvidia,tristate = <TEGRA_PIN_ENABLE>;
Stephen Warrenecc295b2012-03-15 16:27:36 -0600227 };
228 conf_hdint {
229 nvidia,pins = "hdint", "ld0", "ld1", "ld2",
230 "ld3", "ld4", "ld5", "ld6", "ld7",
231 "ld8", "ld9", "ld10", "ld11", "ld12",
232 "ld13", "ld14", "ld15", "ld16", "ld17",
233 "ldc", "ldi", "lhs", "lsc0", "lspi",
234 "lvs", "pmc";
Laxman Dewanganba4104e2013-12-05 16:14:08 +0530235 nvidia,tristate = <TEGRA_PIN_DISABLE>;
Stephen Warrenecc295b2012-03-15 16:27:36 -0600236 };
237 conf_lc {
238 nvidia,pins = "lc", "ls";
Laxman Dewanganba4104e2013-12-05 16:14:08 +0530239 nvidia,pull = <TEGRA_PIN_PULL_UP>;
Stephen Warrenecc295b2012-03-15 16:27:36 -0600240 };
241 conf_lcsn {
242 nvidia,pins = "lcsn", "lhp0", "lhp1", "lhp2",
243 "lm0", "lm1", "lpp", "lpw0", "lpw1",
244 "lpw2", "lsc1", "lsck", "lsda", "lsdi",
245 "lvp0", "lvp1", "sdb";
Laxman Dewanganba4104e2013-12-05 16:14:08 +0530246 nvidia,tristate = <TEGRA_PIN_ENABLE>;
Stephen Warrenecc295b2012-03-15 16:27:36 -0600247 };
248 conf_ld17_0 {
249 nvidia,pins = "ld17_0", "ld19_18", "ld21_20",
250 "ld23_22";
Laxman Dewanganba4104e2013-12-05 16:14:08 +0530251 nvidia,pull = <TEGRA_PIN_PULL_DOWN>;
Stephen Warrenecc295b2012-03-15 16:27:36 -0600252 };
253 };
254 };
255
Stephen Warren2a5fdc92012-05-11 17:32:56 -0600256 i2s@70002800 {
257 status = "okay";
Stephen Warrenc04abb32012-05-11 17:03:26 -0600258 };
259
260 serial@70006000 {
Stephen Warren2a5fdc92012-05-11 17:32:56 -0600261 status = "okay";
Stephen Warrenc04abb32012-05-11 17:03:26 -0600262 };
263
Stephen Warrenc04abb32012-05-11 17:03:26 -0600264 serial@70006200 {
Stephen Warren2a5fdc92012-05-11 17:32:56 -0600265 status = "okay";
Stephen Warrenc04abb32012-05-11 17:03:26 -0600266 };
267
Marc Dietrich58168982013-12-21 21:38:13 +0100268 pwm: pwm@7000a000 {
269 status = "okay";
270 };
271
272 lvds_ddc: i2c@7000c000 {
Stephen Warren2a5fdc92012-05-11 17:32:56 -0600273 status = "okay";
Marc Dietrichcc2afa42011-11-01 10:37:05 +0000274 clock-frequency = <400000>;
Leon Romanovsky613e9652012-02-02 22:13:35 +0200275
276 alc5632: alc5632@1e {
277 compatible = "realtek,alc5632";
278 reg = <0x1e>;
279 gpio-controller;
280 #gpio-cells = <2>;
281 };
Marc Dietrichcc2afa42011-11-01 10:37:05 +0000282 };
283
Stephen Warren11a3c862013-01-02 14:53:22 -0700284 hdmi_ddc: i2c@7000c400 {
Stephen Warren2a5fdc92012-05-11 17:32:56 -0600285 status = "okay";
Stephen Warren11a3c862013-01-02 14:53:22 -0700286 clock-frequency = <100000>;
Marc Dietrichcc2afa42011-11-01 10:37:05 +0000287 };
288
Stephen Warren58ecb232013-11-25 17:53:16 -0700289 nvec@7000c500 {
Marc Dietrichcc2afa42011-11-01 10:37:05 +0000290 compatible = "nvidia,nvec";
Stephen Warrenba04c282012-05-11 16:28:59 -0600291 reg = <0x7000c500 0x100>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700292 interrupts = <GIC_SPI 92 IRQ_TYPE_LEVEL_HIGH>;
Stephen Warren2eaab062012-05-11 17:12:52 -0600293 #address-cells = <1>;
294 #size-cells = <0>;
Marc Dietrichcc2afa42011-11-01 10:37:05 +0000295 clock-frequency = <80000>;
Stephen Warren3325f1b2013-02-12 17:25:15 -0700296 request-gpios = <&gpio TEGRA_GPIO(V, 2) GPIO_ACTIVE_HIGH>;
Marc Dietrichcc2afa42011-11-01 10:37:05 +0000297 slave-addr = <138>;
Hiroshi Doyu885a8cf2013-05-22 19:45:32 +0300298 clocks = <&tegra_car TEGRA20_CLK_I2C3>,
299 <&tegra_car TEGRA20_CLK_PLL_P_OUT3>;
Prashant Gaikwadd409b3a2013-01-11 13:31:23 +0530300 clock-names = "div-clk", "fast-clk";
Stephen Warren3393d422013-11-06 14:01:16 -0700301 resets = <&tegra_car 67>;
302 reset-names = "i2c";
Marc Dietrichcc2afa42011-11-01 10:37:05 +0000303 };
304
305 i2c@7000d000 {
Stephen Warren2a5fdc92012-05-11 17:32:56 -0600306 status = "okay";
Marc Dietrichcc2afa42011-11-01 10:37:05 +0000307 clock-frequency = <400000>;
Marc Dietrich1266f892012-01-31 19:53:21 +0100308
Stephen Warren217b8f02012-06-21 14:24:57 -0600309 pmic: tps6586x@34 {
310 compatible = "ti,tps6586x";
311 reg = <0x34>;
Stephen Warren6cecf912013-02-13 12:51:51 -0700312 interrupts = <GIC_SPI 86 IRQ_TYPE_LEVEL_HIGH>;
Stephen Warren217b8f02012-06-21 14:24:57 -0600313
314 #gpio-cells = <2>;
315 gpio-controller;
316
317 sys-supply = <&p5valw_reg>;
318 vin-sm0-supply = <&sys_reg>;
319 vin-sm1-supply = <&sys_reg>;
320 vin-sm2-supply = <&sys_reg>;
321 vinldo01-supply = <&sm2_reg>;
322 vinldo23-supply = <&sm2_reg>;
323 vinldo4-supply = <&sm2_reg>;
324 vinldo678-supply = <&sm2_reg>;
325 vinldo9-supply = <&sm2_reg>;
326
327 regulators {
Stephen Warrenb9c665d2012-09-20 17:04:06 -0600328 sys_reg: sys {
Stephen Warren217b8f02012-06-21 14:24:57 -0600329 regulator-name = "vdd_sys";
330 regulator-always-on;
331 };
332
Stephen Warrenb9c665d2012-09-20 17:04:06 -0600333 sm0 {
Stephen Warren217b8f02012-06-21 14:24:57 -0600334 regulator-name = "+1.2vs_sm0,vdd_core";
335 regulator-min-microvolt = <1200000>;
336 regulator-max-microvolt = <1200000>;
337 regulator-always-on;
338 };
339
Stephen Warrenb9c665d2012-09-20 17:04:06 -0600340 sm1 {
Stephen Warren217b8f02012-06-21 14:24:57 -0600341 regulator-name = "+1.0vs_sm1,vdd_cpu";
342 regulator-min-microvolt = <1000000>;
343 regulator-max-microvolt = <1000000>;
344 regulator-always-on;
345 };
346
Stephen Warrenb9c665d2012-09-20 17:04:06 -0600347 sm2_reg: sm2 {
Stephen Warren217b8f02012-06-21 14:24:57 -0600348 regulator-name = "+3.7vs_sm2,vin_ldo*";
349 regulator-min-microvolt = <3700000>;
350 regulator-max-microvolt = <3700000>;
351 regulator-always-on;
352 };
353
354 /* LDO0 is not connected to anything */
355
Stephen Warrenb9c665d2012-09-20 17:04:06 -0600356 ldo1 {
Stephen Warren217b8f02012-06-21 14:24:57 -0600357 regulator-name = "+1.1vs_ldo1,avdd_pll*";
358 regulator-min-microvolt = <1100000>;
359 regulator-max-microvolt = <1100000>;
360 regulator-always-on;
361 };
362
Stephen Warrenb9c665d2012-09-20 17:04:06 -0600363 ldo2 {
Stephen Warren217b8f02012-06-21 14:24:57 -0600364 regulator-name = "+1.2vs_ldo2,vdd_rtc";
365 regulator-min-microvolt = <1200000>;
366 regulator-max-microvolt = <1200000>;
367 };
368
Stephen Warrenb9c665d2012-09-20 17:04:06 -0600369 ldo3 {
Stephen Warren217b8f02012-06-21 14:24:57 -0600370 regulator-name = "+3.3vs_ldo3,avdd_usb*";
371 regulator-min-microvolt = <3300000>;
372 regulator-max-microvolt = <3300000>;
373 regulator-always-on;
374 };
375
Stephen Warrenb9c665d2012-09-20 17:04:06 -0600376 ldo4 {
Stephen Warren217b8f02012-06-21 14:24:57 -0600377 regulator-name = "+1.8vs_ldo4,avdd_osc,vddio_sys";
378 regulator-min-microvolt = <1800000>;
379 regulator-max-microvolt = <1800000>;
380 regulator-always-on;
381 };
382
Stephen Warrenb9c665d2012-09-20 17:04:06 -0600383 ldo5 {
Stephen Warren217b8f02012-06-21 14:24:57 -0600384 regulator-name = "+2.85vs_ldo5,vcore_mmc";
385 regulator-min-microvolt = <2850000>;
386 regulator-max-microvolt = <2850000>;
387 regulator-always-on;
388 };
389
Stephen Warrenb9c665d2012-09-20 17:04:06 -0600390 ldo6 {
Stephen Warren217b8f02012-06-21 14:24:57 -0600391 /*
392 * Research indicates this should be
393 * 1.8v; other boards that use this
394 * rail for the same purpose need it
395 * set to 1.8v. The schematic signal
396 * name is incorrect; perhaps copied
397 * from an incorrect NVIDIA reference.
398 */
399 regulator-name = "+2.85vs_ldo6,avdd_vdac";
400 regulator-min-microvolt = <1800000>;
401 regulator-max-microvolt = <1800000>;
402 };
403
Stephen Warren11a3c862013-01-02 14:53:22 -0700404 hdmi_vdd_reg: ldo7 {
Stephen Warren217b8f02012-06-21 14:24:57 -0600405 regulator-name = "+3.3vs_ldo7,avdd_hdmi";
406 regulator-min-microvolt = <3300000>;
407 regulator-max-microvolt = <3300000>;
408 };
409
Stephen Warren11a3c862013-01-02 14:53:22 -0700410 hdmi_pll_reg: ldo8 {
Stephen Warren217b8f02012-06-21 14:24:57 -0600411 regulator-name = "+1.8vs_ldo8,avdd_hdmi_pll";
412 regulator-min-microvolt = <1800000>;
413 regulator-max-microvolt = <1800000>;
414 };
415
Stephen Warrenb9c665d2012-09-20 17:04:06 -0600416 ldo9 {
Stephen Warren217b8f02012-06-21 14:24:57 -0600417 regulator-name = "+2.85vs_ldo9,vdd_ddr_rx";
418 regulator-min-microvolt = <2850000>;
419 regulator-max-microvolt = <2850000>;
420 regulator-always-on;
421 };
422
Stephen Warrenb9c665d2012-09-20 17:04:06 -0600423 ldo_rtc {
Stephen Warren217b8f02012-06-21 14:24:57 -0600424 regulator-name = "+3.3vs_rtc";
425 regulator-min-microvolt = <3300000>;
426 regulator-max-microvolt = <3300000>;
427 regulator-always-on;
428 };
429 };
430 };
431
Marc Dietrich1266f892012-01-31 19:53:21 +0100432 adt7461@4c {
433 compatible = "adi,adt7461";
434 reg = <0x4c>;
435 };
Marc Dietrichcc2afa42011-11-01 10:37:05 +0000436 };
437
Stephen Warren58ecb232013-11-25 17:53:16 -0700438 pmc@7000e400 {
Stephen Warren217b8f02012-06-21 14:24:57 -0600439 nvidia,invert-interrupt;
Joseph Lo47d2d632013-08-12 17:40:07 +0800440 nvidia,suspend-mode = <1>;
Joseph Loa44a0192013-04-03 19:31:52 +0800441 nvidia,cpu-pwr-good-time = <2000>;
442 nvidia,cpu-pwr-off-time = <0>;
443 nvidia,core-pwr-good-time = <3845 3845>;
444 nvidia,core-pwr-off-time = <0>;
445 nvidia,sys-clock-req-active-high;
Stephen Warren217b8f02012-06-21 14:24:57 -0600446 };
447
Stephen Warren2a5fdc92012-05-11 17:32:56 -0600448 usb@c5000000 {
449 status = "okay";
450 };
451
Venu Byravarasu4c94c8b2013-05-16 19:42:57 +0530452 usb-phy@c5000000 {
453 status = "okay";
454 };
455
Stephen Warrenc04abb32012-05-11 17:03:26 -0600456 usb@c5004000 {
Stephen Warren2a5fdc92012-05-11 17:32:56 -0600457 status = "okay";
Stephen Warren3325f1b2013-02-12 17:25:15 -0700458 nvidia,phy-reset-gpio = <&gpio TEGRA_GPIO(V, 0)
459 GPIO_ACTIVE_LOW>;
Venu Byravarasu9dffe3b2013-05-16 19:42:56 +0530460 };
461
462 usb-phy@c5004000 {
Venu Byravarasu4c94c8b2013-05-16 19:42:57 +0530463 status = "okay";
Stephen Warren3325f1b2013-02-12 17:25:15 -0700464 nvidia,phy-reset-gpio = <&gpio TEGRA_GPIO(V, 0)
465 GPIO_ACTIVE_LOW>;
Marc Dietrichcc2afa42011-11-01 10:37:05 +0000466 };
467
Stephen Warren2a5fdc92012-05-11 17:32:56 -0600468 usb@c5008000 {
469 status = "okay";
470 };
471
Venu Byravarasu4c94c8b2013-05-16 19:42:57 +0530472 usb-phy@c5008000 {
473 status = "okay";
474 };
475
Marc Dietrichcc2afa42011-11-01 10:37:05 +0000476 sdhci@c8000000 {
Stephen Warren2a5fdc92012-05-11 17:32:56 -0600477 status = "okay";
Stephen Warren3325f1b2013-02-12 17:25:15 -0700478 cd-gpios = <&gpio TEGRA_GPIO(V, 5) GPIO_ACTIVE_LOW>;
479 wp-gpios = <&gpio TEGRA_GPIO(H, 1) GPIO_ACTIVE_HIGH>;
480 power-gpios = <&gpio TEGRA_GPIO(V, 1) GPIO_ACTIVE_HIGH>;
Arnd Bergmann7f217792012-05-13 00:14:24 -0400481 bus-width = <4>;
Marc Dietrichcc2afa42011-11-01 10:37:05 +0000482 };
483
Marc Dietrichcc2afa42011-11-01 10:37:05 +0000484 sdhci@c8000600 {
Stephen Warren2a5fdc92012-05-11 17:32:56 -0600485 status = "okay";
Arnd Bergmann7f217792012-05-13 00:14:24 -0400486 bus-width = <8>;
Joseph Lo7a2617a2013-04-03 14:34:39 -0600487 non-removable;
Marc Dietrichcc2afa42011-11-01 10:37:05 +0000488 };
Marc Dietrichd8d56c82012-01-28 20:03:07 +0100489
Marc Dietrich58168982013-12-21 21:38:13 +0100490 backlight: backlight {
491 compatible = "pwm-backlight";
492
493 enable-gpios = <&gpio TEGRA_GPIO(U, 4) GPIO_ACTIVE_HIGH>;
494 pwms = <&pwm 0 5000000>;
495
496 brightness-levels = <0 16 32 48 64 80 96 112 128 144 160 176 192 208 224 240 255>;
497 default-brightness-level = <10>;
498
499 backlight-boot-off;
500 };
501
Joseph Lo7021d122013-04-03 19:31:27 +0800502 clocks {
503 compatible = "simple-bus";
504 #address-cells = <1>;
505 #size-cells = <0>;
506
Stephen Warren58ecb232013-11-25 17:53:16 -0700507 clk32k_in: clock@0 {
Joseph Lo7021d122013-04-03 19:31:27 +0800508 compatible = "fixed-clock";
509 reg=<0>;
510 #clock-cells = <0>;
511 clock-frequency = <32768>;
512 };
513 };
514
Marc Dietrichd8d56c82012-01-28 20:03:07 +0100515 gpio-keys {
516 compatible = "gpio-keys";
517
518 power {
519 label = "Power";
Stephen Warren3325f1b2013-02-12 17:25:15 -0700520 gpios = <&gpio TEGRA_GPIO(J, 7) GPIO_ACTIVE_LOW>;
Laxman Dewangan6bccbd52013-12-02 18:39:57 +0530521 linux,code = <KEY_POWER>;
Marc Dietrichd8d56c82012-01-28 20:03:07 +0100522 gpio-key,wakeup;
523 };
524 };
Marc Dietrich80c94732012-01-28 20:03:08 +0100525
526 gpio-leds {
527 compatible = "gpio-leds";
528
529 wifi {
530 label = "wifi-led";
Stephen Warren3325f1b2013-02-12 17:25:15 -0700531 gpios = <&gpio TEGRA_GPIO(D, 0) GPIO_ACTIVE_HIGH>;
Marc Dietrich80c94732012-01-28 20:03:08 +0100532 linux,default-trigger = "rfkill0";
533 };
534 };
Stephen Warrenaa607eb2012-04-12 15:46:49 -0600535
Marc Dietrich58168982013-12-21 21:38:13 +0100536 panel: panel {
537 compatible = "samsung,ltn101nt05", "simple-panel";
538
539 ddc-i2c-bus = <&lvds_ddc>;
540 power-supply = <&vdd_pnl_reg>;
541 enable-gpios = <&gpio TEGRA_GPIO(M, 6) GPIO_ACTIVE_HIGH>;
542
543 backlight = <&backlight>;
544 };
545
Stephen Warren217b8f02012-06-21 14:24:57 -0600546 regulators {
547 compatible = "simple-bus";
548 #address-cells = <1>;
549 #size-cells = <0>;
550
551 p5valw_reg: regulator@0 {
552 compatible = "regulator-fixed";
553 reg = <0>;
554 regulator-name = "+5valw";
555 regulator-min-microvolt = <5000000>;
556 regulator-max-microvolt = <5000000>;
557 regulator-always-on;
558 };
Marc Dietrich58168982013-12-21 21:38:13 +0100559
560 vdd_pnl_reg: regulator@1 {
561 compatible = "regulator-fixed";
562 reg = <1>;
563 regulator-name = "+3VS,vdd_pnl";
564 regulator-min-microvolt = <3300000>;
565 regulator-max-microvolt = <3300000>;
566 gpio = <&gpio TEGRA_GPIO(A, 4) GPIO_ACTIVE_HIGH>;
567 enable-active-high;
568 };
Stephen Warren217b8f02012-06-21 14:24:57 -0600569 };
570
Stephen Warrenc04abb32012-05-11 17:03:26 -0600571 sound {
572 compatible = "nvidia,tegra-audio-alc5632-paz00",
573 "nvidia,tegra-audio-alc5632";
574
575 nvidia,model = "Compal PAZ00";
576
577 nvidia,audio-routing =
578 "Int Spk", "SPKOUT",
579 "Int Spk", "SPKOUTN",
580 "Headset Mic", "MICBIAS1",
581 "MIC1", "Headset Mic",
582 "Headset Stereophone", "HPR",
583 "Headset Stereophone", "HPL",
584 "DMICDAT", "Digital Mic";
585
586 nvidia,audio-codec = <&alc5632>;
587 nvidia,i2s-controller = <&tegra_i2s1>;
Stephen Warren3325f1b2013-02-12 17:25:15 -0700588 nvidia,hp-det-gpios = <&gpio TEGRA_GPIO(W, 2)
589 GPIO_ACTIVE_HIGH>;
Stephen Warrenf9cd2b32013-03-26 16:45:52 -0600590
Hiroshi Doyu885a8cf2013-05-22 19:45:32 +0300591 clocks = <&tegra_car TEGRA20_CLK_PLL_A>,
592 <&tegra_car TEGRA20_CLK_PLL_A_OUT0>,
593 <&tegra_car TEGRA20_CLK_CDEV1>;
Stephen Warrenf9cd2b32013-03-26 16:45:52 -0600594 clock-names = "pll_a", "pll_a_out0", "mclk";
Stephen Warrenaa607eb2012-04-12 15:46:49 -0600595 };
Marc Dietrichcc2afa42011-11-01 10:37:05 +0000596};