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>;
36 pex-clk-supply = <&pex_hvdd_3v3_reg>;
37 vdd-supply = <&ldo1_reg>;
38 avdd-supply = <&ldo2_reg>;
41 nvidia,num-lanes = <4>;
45 nvidia,num-lanes = <1>;
50 nvidia,num-lanes = <1>;
55 pinctrl-names = "default";
56 pinctrl-0 = <&state_default>;
58 state_default: pinmux {
60 nvidia,pins = "sdmmc1_clk_pz0";
61 nvidia,function = "sdmmc1";
63 nvidia,tristate = <0>;
66 nvidia,pins = "sdmmc1_cmd_pz1",
71 nvidia,function = "sdmmc1";
73 nvidia,tristate = <0>;
76 nvidia,pins = "sdmmc3_clk_pa6";
77 nvidia,function = "sdmmc3";
79 nvidia,tristate = <0>;
82 nvidia,pins = "sdmmc3_cmd_pa7",
87 nvidia,function = "sdmmc3";
89 nvidia,tristate = <0>;
92 nvidia,pins = "sdmmc4_clk_pcc4",
94 nvidia,function = "sdmmc4";
96 nvidia,tristate = <0>;
99 nvidia,pins = "sdmmc4_dat0_paa0",
107 nvidia,function = "sdmmc4";
109 nvidia,tristate = <0>;
112 nvidia,pins = "dap2_fs_pa2",
116 nvidia,function = "i2s1";
118 nvidia,tristate = <0>;
121 nvidia,pins = "drive_sdio3";
122 nvidia,high-speed-mode = <0>;
123 nvidia,schmitt = <0>;
124 nvidia,pull-down-strength = <46>;
125 nvidia,pull-up-strength = <42>;
126 nvidia,slew-rate-rising = <1>;
127 nvidia,slew-rate-falling = <1>;
130 nvidia,pins = "uart3_txd_pw6",
134 nvidia,function = "uartc";
136 nvidia,tristate = <0>;
146 compatible = "nvidia,tegra30-hsuart";
152 clock-frequency = <100000>;
157 clock-frequency = <100000>;
162 clock-frequency = <100000>;
164 /* ALS and Proximity sensor */
166 compatible = "isil,isl29028";
168 interrupt-parent = <&gpio>;
169 interrupts = <TEGRA_GPIO(L, 0) IRQ_TYPE_LEVEL_HIGH>;
175 clock-frequency = <100000>;
180 clock-frequency = <100000>;
183 compatible = "wlf,wm8903";
185 interrupt-parent = <&gpio>;
186 interrupts = <TEGRA_GPIO(W, 3) IRQ_TYPE_LEVEL_HIGH>;
192 micdet-delay = <100>;
193 gpio-cfg = <0xffffffff 0xffffffff 0 0xffffffff 0xffffffff>;
197 compatible = "ti,tps65911";
200 interrupts = <GIC_SPI 86 IRQ_TYPE_LEVEL_HIGH>;
201 #interrupt-cells = <2>;
202 interrupt-controller;
204 ti,system-power-controller;
209 vcc1-supply = <&vdd_ac_bat_reg>;
210 vcc2-supply = <&vdd_ac_bat_reg>;
211 vcc3-supply = <&vio_reg>;
212 vcc4-supply = <&vdd_5v0_reg>;
213 vcc5-supply = <&vdd_ac_bat_reg>;
214 vcc6-supply = <&vdd2_reg>;
215 vcc7-supply = <&vdd_ac_bat_reg>;
216 vccio-supply = <&vdd_ac_bat_reg>;
220 regulator-name = "vddio_ddr_1v2";
221 regulator-min-microvolt = <1200000>;
222 regulator-max-microvolt = <1200000>;
227 regulator-name = "vdd_1v5_gen";
228 regulator-min-microvolt = <1500000>;
229 regulator-max-microvolt = <1500000>;
233 vddctrl_reg: vddctrl {
234 regulator-name = "vdd_cpu,vdd_sys";
235 regulator-min-microvolt = <1000000>;
236 regulator-max-microvolt = <1000000>;
241 regulator-name = "vdd_1v8_gen";
242 regulator-min-microvolt = <1800000>;
243 regulator-max-microvolt = <1800000>;
248 regulator-name = "vdd_pexa,vdd_pexb";
249 regulator-min-microvolt = <1050000>;
250 regulator-max-microvolt = <1050000>;
254 regulator-name = "vdd_sata,avdd_plle";
255 regulator-min-microvolt = <1050000>;
256 regulator-max-microvolt = <1050000>;
259 /* LDO3 is not connected to anything */
262 regulator-name = "vdd_rtc";
263 regulator-min-microvolt = <1200000>;
264 regulator-max-microvolt = <1200000>;
269 regulator-name = "vddio_sdmmc,avdd_vdac";
270 regulator-min-microvolt = <3300000>;
271 regulator-max-microvolt = <3300000>;
276 regulator-name = "avdd_dsi_csi,pwrdet_mipi";
277 regulator-min-microvolt = <1200000>;
278 regulator-max-microvolt = <1200000>;
282 regulator-name = "vdd_pllm,x,u,a_p_c_s";
283 regulator-min-microvolt = <1200000>;
284 regulator-max-microvolt = <1200000>;
289 regulator-name = "vdd_ddr_hs";
290 regulator-min-microvolt = <1000000>;
291 regulator-max-microvolt = <1000000>;
298 compatible = "onnn,nct1008";
300 interrupt-parent = <&gpio>;
301 interrupts = <TEGRA_GPIO(CC, 2) IRQ_TYPE_LEVEL_LOW>;
305 compatible = "ti,tps62361";
308 regulator-name = "tps62361-vout";
309 regulator-min-microvolt = <500000>;
310 regulator-max-microvolt = <1500000>;
320 spi-max-frequency = <25000000>;
322 compatible = "winbond,w25q32";
324 spi-max-frequency = <20000000>;
336 nvidia,invert-interrupt;
337 nvidia,suspend-mode = <1>;
338 nvidia,cpu-pwr-good-time = <2000>;
339 nvidia,cpu-pwr-off-time = <200>;
340 nvidia,core-pwr-good-time = <3845 3845>;
341 nvidia,core-pwr-off-time = <0>;
342 nvidia,core-power-req-active-high;
343 nvidia,sys-clock-req-active-high;
348 cd-gpios = <&gpio TEGRA_GPIO(I, 5) GPIO_ACTIVE_LOW>;
349 wp-gpios = <&gpio TEGRA_GPIO(T, 3) GPIO_ACTIVE_HIGH>;
350 power-gpios = <&gpio TEGRA_GPIO(D, 7) GPIO_ACTIVE_HIGH>;
365 vbus-supply = <&usb3_vbus_reg>;
370 compatible = "simple-bus";
371 #address-cells = <1>;
375 compatible = "fixed-clock";
378 clock-frequency = <32768>;
383 compatible = "simple-bus";
384 #address-cells = <1>;
387 vdd_ac_bat_reg: regulator@0 {
388 compatible = "regulator-fixed";
390 regulator-name = "vdd_ac_bat";
391 regulator-min-microvolt = <5000000>;
392 regulator-max-microvolt = <5000000>;
396 cam_1v8_reg: regulator@1 {
397 compatible = "regulator-fixed";
399 regulator-name = "cam_1v8";
400 regulator-min-microvolt = <1800000>;
401 regulator-max-microvolt = <1800000>;
403 gpio = <&gpio TEGRA_GPIO(BB, 4) GPIO_ACTIVE_HIGH>;
404 vin-supply = <&vio_reg>;
407 cp_5v_reg: regulator@2 {
408 compatible = "regulator-fixed";
410 regulator-name = "cp_5v";
411 regulator-min-microvolt = <5000000>;
412 regulator-max-microvolt = <5000000>;
416 gpio = <&pmic 0 GPIO_ACTIVE_HIGH>;
419 emmc_3v3_reg: regulator@3 {
420 compatible = "regulator-fixed";
422 regulator-name = "emmc_3v3";
423 regulator-min-microvolt = <3300000>;
424 regulator-max-microvolt = <3300000>;
428 gpio = <&gpio TEGRA_GPIO(D, 1) GPIO_ACTIVE_HIGH>;
429 vin-supply = <&sys_3v3_reg>;
432 modem_3v3_reg: regulator@4 {
433 compatible = "regulator-fixed";
435 regulator-name = "modem_3v3";
436 regulator-min-microvolt = <3300000>;
437 regulator-max-microvolt = <3300000>;
439 gpio = <&gpio TEGRA_GPIO(D, 6) GPIO_ACTIVE_HIGH>;
442 pex_hvdd_3v3_reg: regulator@5 {
443 compatible = "regulator-fixed";
445 regulator-name = "pex_hvdd_3v3";
446 regulator-min-microvolt = <3300000>;
447 regulator-max-microvolt = <3300000>;
449 gpio = <&gpio TEGRA_GPIO(L, 7) GPIO_ACTIVE_HIGH>;
450 vin-supply = <&sys_3v3_reg>;
453 vdd_cam1_ldo_reg: regulator@6 {
454 compatible = "regulator-fixed";
456 regulator-name = "vdd_cam1_ldo";
457 regulator-min-microvolt = <2800000>;
458 regulator-max-microvolt = <2800000>;
460 gpio = <&gpio TEGRA_GPIO(R, 6) GPIO_ACTIVE_HIGH>;
461 vin-supply = <&sys_3v3_reg>;
464 vdd_cam2_ldo_reg: regulator@7 {
465 compatible = "regulator-fixed";
467 regulator-name = "vdd_cam2_ldo";
468 regulator-min-microvolt = <2800000>;
469 regulator-max-microvolt = <2800000>;
471 gpio = <&gpio TEGRA_GPIO(R, 7) GPIO_ACTIVE_HIGH>;
472 vin-supply = <&sys_3v3_reg>;
475 vdd_cam3_ldo_reg: regulator@8 {
476 compatible = "regulator-fixed";
478 regulator-name = "vdd_cam3_ldo";
479 regulator-min-microvolt = <3300000>;
480 regulator-max-microvolt = <3300000>;
482 gpio = <&gpio TEGRA_GPIO(S, 0) GPIO_ACTIVE_HIGH>;
483 vin-supply = <&sys_3v3_reg>;
486 vdd_com_reg: regulator@9 {
487 compatible = "regulator-fixed";
489 regulator-name = "vdd_com";
490 regulator-min-microvolt = <3300000>;
491 regulator-max-microvolt = <3300000>;
495 gpio = <&gpio TEGRA_GPIO(D, 0) GPIO_ACTIVE_HIGH>;
496 vin-supply = <&sys_3v3_reg>;
499 vdd_fuse_3v3_reg: regulator@10 {
500 compatible = "regulator-fixed";
502 regulator-name = "vdd_fuse_3v3";
503 regulator-min-microvolt = <3300000>;
504 regulator-max-microvolt = <3300000>;
506 gpio = <&gpio TEGRA_GPIO(L, 6) GPIO_ACTIVE_HIGH>;
507 vin-supply = <&sys_3v3_reg>;
510 vdd_pnl1_reg: regulator@11 {
511 compatible = "regulator-fixed";
513 regulator-name = "vdd_pnl1";
514 regulator-min-microvolt = <3300000>;
515 regulator-max-microvolt = <3300000>;
519 gpio = <&gpio TEGRA_GPIO(L, 4) GPIO_ACTIVE_HIGH>;
520 vin-supply = <&sys_3v3_reg>;
523 vdd_vid_reg: regulator@12 {
524 compatible = "regulator-fixed";
526 regulator-name = "vddio_vid";
527 regulator-min-microvolt = <5000000>;
528 regulator-max-microvolt = <5000000>;
530 gpio = <&gpio TEGRA_GPIO(T, 0) GPIO_ACTIVE_HIGH>;
532 vin-supply = <&vdd_5v0_reg>;
537 compatible = "nvidia,tegra-audio-wm8903-cardhu",
538 "nvidia,tegra-audio-wm8903";
539 nvidia,model = "NVIDIA Tegra Cardhu";
541 nvidia,audio-routing =
542 "Headphone Jack", "HPOUTR",
543 "Headphone Jack", "HPOUTL",
548 "Mic Jack", "MICBIAS",
551 nvidia,i2s-controller = <&tegra_i2s1>;
552 nvidia,audio-codec = <&wm8903>;
554 nvidia,spkr-en-gpios = <&wm8903 2 GPIO_ACTIVE_HIGH>;
555 nvidia,hp-det-gpios = <&gpio TEGRA_GPIO(W, 2)
558 clocks = <&tegra_car TEGRA30_CLK_PLL_A>,
559 <&tegra_car TEGRA30_CLK_PLL_A_OUT0>,
560 <&tegra_car TEGRA30_CLK_EXTERN1>;
561 clock-names = "pll_a", "pll_a_out0", "mclk";