1 /include/ "tegra30.dtsi"
4 * This file contains common DT entry for all fab version of Cardhu.
5 * There is multiple fab version of Cardhu starting from A01 to A07.
6 * Cardhu fab version A01 and A03 are not supported. Cardhu fab version
7 * A02 will have different sets of GPIOs for fixed regulator compare to
8 * Cardhu fab version A04. The Cardhu fab version A05, A06, A07 are
9 * compatible with fab version A04. Based on Cardhu fab version, the
10 * related dts file need to be chosen like for Cardhu fab version A02,
11 * use tegra30-cardhu-a02.dts, Cardhu fab version A04 and later, use
12 * tegra30-cardhu-a04.dts.
13 * The identification of board is done in two ways, by looking the sticker
14 * on PCB and by reading board id eeprom.
15 * The stciker will have number like 600-81291-1000-002 C.3. In this 4th
16 * number is the fab version like here it is 002 and hence fab version A02.
17 * The (downstream internal) U-Boot of Cardhu display the board-id as
19 * BoardID: 0C5B, SKU: 0A01, Fab: 02, Rev: 45.00
20 * In this Fab version is 02 i.e. A02.
21 * The BoardID I2C eeprom is interfaced through i2c5 (pwr_i2c address 0x56).
22 * The location 0x8 of this eeprom contains the Fab version. It is 1 byte
27 model = "NVIDIA Tegra30 Cardhu evaluation board";
28 compatible = "nvidia,cardhu", "nvidia,tegra30";
31 reg = <0x80000000 0x40000000>;
35 pinctrl-names = "default";
36 pinctrl-0 = <&state_default>;
38 state_default: pinmux {
40 nvidia,pins = "sdmmc1_clk_pz0";
41 nvidia,function = "sdmmc1";
43 nvidia,tristate = <0>;
46 nvidia,pins = "sdmmc1_cmd_pz1",
51 nvidia,function = "sdmmc1";
53 nvidia,tristate = <0>;
56 nvidia,pins = "sdmmc3_clk_pa6";
57 nvidia,function = "sdmmc3";
59 nvidia,tristate = <0>;
62 nvidia,pins = "sdmmc3_cmd_pa7",
67 nvidia,function = "sdmmc3";
69 nvidia,tristate = <0>;
72 nvidia,pins = "sdmmc4_clk_pcc4",
74 nvidia,function = "sdmmc4";
76 nvidia,tristate = <0>;
79 nvidia,pins = "sdmmc4_dat0_paa0",
87 nvidia,function = "sdmmc4";
89 nvidia,tristate = <0>;
92 nvidia,pins = "dap2_fs_pa2",
96 nvidia,function = "i2s1";
98 nvidia,tristate = <0>;
101 nvidia,pins = "drive_sdio3";
102 nvidia,high-speed-mode = <0>;
103 nvidia,schmitt = <0>;
104 nvidia,pull-down-strength = <46>;
105 nvidia,pull-up-strength = <42>;
106 nvidia,slew-rate-rising = <1>;
107 nvidia,slew-rate-falling = <1>;
110 nvidia,pins = "uart3_txd_pw6",
114 nvidia,function = "uartc";
116 nvidia,tristate = <0>;
126 compatible = "nvidia,tegra30-hsuart";
132 clock-frequency = <100000>;
137 clock-frequency = <100000>;
142 clock-frequency = <100000>;
144 /* ALS and Proximity sensor */
146 compatible = "isil,isl29028";
148 interrupt-parent = <&gpio>;
149 interrupts = <88 0x04>; /*gpio PL0 */
155 clock-frequency = <100000>;
160 clock-frequency = <100000>;
163 compatible = "wlf,wm8903";
165 interrupt-parent = <&gpio>;
166 interrupts = <179 0x04>; /* gpio PW3 */
172 micdet-delay = <100>;
173 gpio-cfg = <0xffffffff 0xffffffff 0 0xffffffff 0xffffffff>;
177 compatible = "ti,tps62361";
180 regulator-name = "tps62361-vout";
181 regulator-min-microvolt = <500000>;
182 regulator-max-microvolt = <1500000>;
190 compatible = "ti,tps65911";
193 interrupts = <0 86 0x4>;
194 #interrupt-cells = <2>;
195 interrupt-controller;
197 ti,system-power-controller;
202 vcc1-supply = <&vdd_ac_bat_reg>;
203 vcc2-supply = <&vdd_ac_bat_reg>;
204 vcc3-supply = <&vio_reg>;
205 vcc4-supply = <&vdd_5v0_reg>;
206 vcc5-supply = <&vdd_ac_bat_reg>;
207 vcc6-supply = <&vdd2_reg>;
208 vcc7-supply = <&vdd_ac_bat_reg>;
209 vccio-supply = <&vdd_ac_bat_reg>;
213 regulator-name = "vddio_ddr_1v2";
214 regulator-min-microvolt = <1200000>;
215 regulator-max-microvolt = <1200000>;
220 regulator-name = "vdd_1v5_gen";
221 regulator-min-microvolt = <1500000>;
222 regulator-max-microvolt = <1500000>;
226 vddctrl_reg: vddctrl {
227 regulator-name = "vdd_cpu,vdd_sys";
228 regulator-min-microvolt = <1000000>;
229 regulator-max-microvolt = <1000000>;
234 regulator-name = "vdd_1v8_gen";
235 regulator-min-microvolt = <1800000>;
236 regulator-max-microvolt = <1800000>;
241 regulator-name = "vdd_pexa,vdd_pexb";
242 regulator-min-microvolt = <1050000>;
243 regulator-max-microvolt = <1050000>;
247 regulator-name = "vdd_sata,avdd_plle";
248 regulator-min-microvolt = <1050000>;
249 regulator-max-microvolt = <1050000>;
252 /* LDO3 is not connected to anything */
255 regulator-name = "vdd_rtc";
256 regulator-min-microvolt = <1200000>;
257 regulator-max-microvolt = <1200000>;
262 regulator-name = "vddio_sdmmc,avdd_vdac";
263 regulator-min-microvolt = <3300000>;
264 regulator-max-microvolt = <3300000>;
269 regulator-name = "avdd_dsi_csi,pwrdet_mipi";
270 regulator-min-microvolt = <1200000>;
271 regulator-max-microvolt = <1200000>;
275 regulator-name = "vdd_pllm,x,u,a_p_c_s";
276 regulator-min-microvolt = <1200000>;
277 regulator-max-microvolt = <1200000>;
282 regulator-name = "vdd_ddr_hs";
283 regulator-min-microvolt = <1000000>;
284 regulator-max-microvolt = <1000000>;
293 spi-max-frequency = <25000000>;
295 compatible = "winbond,w25q32";
297 spi-max-frequency = <20000000>;
309 nvidia,invert-interrupt;
314 cd-gpios = <&gpio 69 0>; /* gpio PI5 */
315 wp-gpios = <&gpio 155 0>; /* gpio PT3 */
316 power-gpios = <&gpio 31 0>; /* gpio PD7 */
326 compatible = "simple-bus";
327 #address-cells = <1>;
330 vdd_ac_bat_reg: regulator@0 {
331 compatible = "regulator-fixed";
333 regulator-name = "vdd_ac_bat";
334 regulator-min-microvolt = <5000000>;
335 regulator-max-microvolt = <5000000>;
339 cam_1v8_reg: regulator@1 {
340 compatible = "regulator-fixed";
342 regulator-name = "cam_1v8";
343 regulator-min-microvolt = <1800000>;
344 regulator-max-microvolt = <1800000>;
346 gpio = <&gpio 220 0>; /* gpio PBB4 */
347 vin-supply = <&vio_reg>;
350 cp_5v_reg: regulator@2 {
351 compatible = "regulator-fixed";
353 regulator-name = "cp_5v";
354 regulator-min-microvolt = <5000000>;
355 regulator-max-microvolt = <5000000>;
359 gpio = <&pmic 0 0>; /* PMIC TPS65911 GPIO0 */
362 emmc_3v3_reg: regulator@3 {
363 compatible = "regulator-fixed";
365 regulator-name = "emmc_3v3";
366 regulator-min-microvolt = <3300000>;
367 regulator-max-microvolt = <3300000>;
371 gpio = <&gpio 25 0>; /* gpio PD1 */
372 vin-supply = <&sys_3v3_reg>;
375 modem_3v3_reg: regulator@4 {
376 compatible = "regulator-fixed";
378 regulator-name = "modem_3v3";
379 regulator-min-microvolt = <3300000>;
380 regulator-max-microvolt = <3300000>;
382 gpio = <&gpio 30 0>; /* gpio PD6 */
385 pex_hvdd_3v3_reg: regulator@5 {
386 compatible = "regulator-fixed";
388 regulator-name = "pex_hvdd_3v3";
389 regulator-min-microvolt = <3300000>;
390 regulator-max-microvolt = <3300000>;
392 gpio = <&gpio 95 0>; /* gpio PL7 */
393 vin-supply = <&sys_3v3_reg>;
396 vdd_cam1_ldo_reg: regulator@6 {
397 compatible = "regulator-fixed";
399 regulator-name = "vdd_cam1_ldo";
400 regulator-min-microvolt = <2800000>;
401 regulator-max-microvolt = <2800000>;
403 gpio = <&gpio 142 0>; /* gpio PR6 */
404 vin-supply = <&sys_3v3_reg>;
407 vdd_cam2_ldo_reg: regulator@7 {
408 compatible = "regulator-fixed";
410 regulator-name = "vdd_cam2_ldo";
411 regulator-min-microvolt = <2800000>;
412 regulator-max-microvolt = <2800000>;
414 gpio = <&gpio 143 0>; /* gpio PR7 */
415 vin-supply = <&sys_3v3_reg>;
418 vdd_cam3_ldo_reg: regulator@8 {
419 compatible = "regulator-fixed";
421 regulator-name = "vdd_cam3_ldo";
422 regulator-min-microvolt = <3300000>;
423 regulator-max-microvolt = <3300000>;
425 gpio = <&gpio 144 0>; /* gpio PS0 */
426 vin-supply = <&sys_3v3_reg>;
429 vdd_com_reg: regulator@9 {
430 compatible = "regulator-fixed";
432 regulator-name = "vdd_com";
433 regulator-min-microvolt = <3300000>;
434 regulator-max-microvolt = <3300000>;
438 gpio = <&gpio 24 0>; /* gpio PD0 */
439 vin-supply = <&sys_3v3_reg>;
442 vdd_fuse_3v3_reg: regulator@10 {
443 compatible = "regulator-fixed";
445 regulator-name = "vdd_fuse_3v3";
446 regulator-min-microvolt = <3300000>;
447 regulator-max-microvolt = <3300000>;
449 gpio = <&gpio 94 0>; /* gpio PL6 */
450 vin-supply = <&sys_3v3_reg>;
453 vdd_pnl1_reg: regulator@11 {
454 compatible = "regulator-fixed";
456 regulator-name = "vdd_pnl1";
457 regulator-min-microvolt = <3300000>;
458 regulator-max-microvolt = <3300000>;
462 gpio = <&gpio 92 0>; /* gpio PL4 */
463 vin-supply = <&sys_3v3_reg>;
466 vdd_vid_reg: regulator@12 {
467 compatible = "regulator-fixed";
469 regulator-name = "vddio_vid";
470 regulator-min-microvolt = <5000000>;
471 regulator-max-microvolt = <5000000>;
473 gpio = <&gpio 152 0>; /* GPIO PT0 */
475 vin-supply = <&vdd_5v0_reg>;
480 compatible = "nvidia,tegra-audio-wm8903-cardhu",
481 "nvidia,tegra-audio-wm8903";
482 nvidia,model = "NVIDIA Tegra Cardhu";
484 nvidia,audio-routing =
485 "Headphone Jack", "HPOUTR",
486 "Headphone Jack", "HPOUTL",
491 "Mic Jack", "MICBIAS",
494 nvidia,i2s-controller = <&tegra_i2s1>;
495 nvidia,audio-codec = <&wm8903>;
497 nvidia,spkr-en-gpios = <&wm8903 2 0>;
498 nvidia,hp-det-gpios = <&gpio 178 0>; /* gpio PW2 */