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 rtc0 = "/i2c@7000d000/tps6586x@34";
32 rtc1 = "/rtc@7000e000";
36 reg = <0x80000000 0x40000000>;
39 pcie-controller@00003000 {
41 pex-clk-supply = <&pex_hvdd_3v3_reg>;
42 vdd-supply = <&ldo1_reg>;
43 avdd-supply = <&ldo2_reg>;
46 nvidia,num-lanes = <4>;
50 nvidia,num-lanes = <1>;
55 nvidia,num-lanes = <1>;
64 nvidia,panel = <&panel>;
70 pinctrl-names = "default";
71 pinctrl-0 = <&state_default>;
73 state_default: pinmux {
75 nvidia,pins = "sdmmc1_clk_pz0";
76 nvidia,function = "sdmmc1";
77 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
78 nvidia,tristate = <TEGRA_PIN_DISABLE>;
81 nvidia,pins = "sdmmc1_cmd_pz1",
86 nvidia,function = "sdmmc1";
87 nvidia,pull = <TEGRA_PIN_PULL_UP>;
88 nvidia,tristate = <TEGRA_PIN_DISABLE>;
91 nvidia,pins = "sdmmc3_clk_pa6";
92 nvidia,function = "sdmmc3";
93 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
94 nvidia,tristate = <TEGRA_PIN_DISABLE>;
97 nvidia,pins = "sdmmc3_cmd_pa7",
102 nvidia,function = "sdmmc3";
103 nvidia,pull = <TEGRA_PIN_PULL_UP>;
104 nvidia,tristate = <TEGRA_PIN_DISABLE>;
107 nvidia,pins = "sdmmc4_clk_pcc4",
109 nvidia,function = "sdmmc4";
110 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
111 nvidia,tristate = <TEGRA_PIN_DISABLE>;
114 nvidia,pins = "sdmmc4_dat0_paa0",
122 nvidia,function = "sdmmc4";
123 nvidia,pull = <TEGRA_PIN_PULL_UP>;
124 nvidia,tristate = <TEGRA_PIN_DISABLE>;
127 nvidia,pins = "dap2_fs_pa2",
131 nvidia,function = "i2s1";
132 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
133 nvidia,tristate = <TEGRA_PIN_DISABLE>;
136 nvidia,pins = "drive_sdio3";
137 nvidia,high-speed-mode = <TEGRA_PIN_DISABLE>;
138 nvidia,schmitt = <TEGRA_PIN_DISABLE>;
139 nvidia,pull-down-strength = <46>;
140 nvidia,pull-up-strength = <42>;
141 nvidia,slew-rate-rising = <TEGRA_PIN_SLEW_RATE_FAST>;
142 nvidia,slew-rate-falling = <TEGRA_PIN_SLEW_RATE_FAST>;
145 nvidia,pins = "uart3_txd_pw6",
149 nvidia,function = "uartc";
150 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
151 nvidia,tristate = <TEGRA_PIN_DISABLE>;
161 compatible = "nvidia,tegra30-hsuart";
169 panelddc: i2c@7000c000 {
171 clock-frequency = <100000>;
176 clock-frequency = <100000>;
181 clock-frequency = <100000>;
183 /* ALS and Proximity sensor */
185 compatible = "isil,isl29028";
187 interrupt-parent = <&gpio>;
188 interrupts = <TEGRA_GPIO(L, 0) IRQ_TYPE_LEVEL_HIGH>;
194 clock-frequency = <100000>;
199 clock-frequency = <100000>;
202 compatible = "wlf,wm8903";
204 interrupt-parent = <&gpio>;
205 interrupts = <TEGRA_GPIO(W, 3) IRQ_TYPE_LEVEL_HIGH>;
211 micdet-delay = <100>;
212 gpio-cfg = <0xffffffff 0xffffffff 0 0xffffffff 0xffffffff>;
216 compatible = "ti,tps65911";
219 interrupts = <GIC_SPI 86 IRQ_TYPE_LEVEL_HIGH>;
220 #interrupt-cells = <2>;
221 interrupt-controller;
223 ti,system-power-controller;
228 vcc1-supply = <&vdd_ac_bat_reg>;
229 vcc2-supply = <&vdd_ac_bat_reg>;
230 vcc3-supply = <&vio_reg>;
231 vcc4-supply = <&vdd_5v0_reg>;
232 vcc5-supply = <&vdd_ac_bat_reg>;
233 vcc6-supply = <&vdd2_reg>;
234 vcc7-supply = <&vdd_ac_bat_reg>;
235 vccio-supply = <&vdd_ac_bat_reg>;
239 regulator-name = "vddio_ddr_1v2";
240 regulator-min-microvolt = <1200000>;
241 regulator-max-microvolt = <1200000>;
246 regulator-name = "vdd_1v5_gen";
247 regulator-min-microvolt = <1500000>;
248 regulator-max-microvolt = <1500000>;
252 vddctrl_reg: vddctrl {
253 regulator-name = "vdd_cpu,vdd_sys";
254 regulator-min-microvolt = <1000000>;
255 regulator-max-microvolt = <1000000>;
260 regulator-name = "vdd_1v8_gen";
261 regulator-min-microvolt = <1800000>;
262 regulator-max-microvolt = <1800000>;
267 regulator-name = "vdd_pexa,vdd_pexb";
268 regulator-min-microvolt = <1050000>;
269 regulator-max-microvolt = <1050000>;
273 regulator-name = "vdd_sata,avdd_plle";
274 regulator-min-microvolt = <1050000>;
275 regulator-max-microvolt = <1050000>;
278 /* LDO3 is not connected to anything */
281 regulator-name = "vdd_rtc";
282 regulator-min-microvolt = <1200000>;
283 regulator-max-microvolt = <1200000>;
288 regulator-name = "vddio_sdmmc,avdd_vdac";
289 regulator-min-microvolt = <3300000>;
290 regulator-max-microvolt = <3300000>;
295 regulator-name = "avdd_dsi_csi,pwrdet_mipi";
296 regulator-min-microvolt = <1200000>;
297 regulator-max-microvolt = <1200000>;
301 regulator-name = "vdd_pllm,x,u,a_p_c_s";
302 regulator-min-microvolt = <1200000>;
303 regulator-max-microvolt = <1200000>;
308 regulator-name = "vdd_ddr_hs";
309 regulator-min-microvolt = <1000000>;
310 regulator-max-microvolt = <1000000>;
316 temperature-sensor@4c {
317 compatible = "onnn,nct1008";
319 vcc-supply = <&sys_3v3_reg>;
320 interrupt-parent = <&gpio>;
321 interrupts = <TEGRA_GPIO(CC, 2) IRQ_TYPE_LEVEL_LOW>;
325 compatible = "ti,tps62361";
328 regulator-name = "tps62361-vout";
329 regulator-min-microvolt = <500000>;
330 regulator-max-microvolt = <1500000>;
340 spi-max-frequency = <25000000>;
342 compatible = "winbond,w25q32";
344 spi-max-frequency = <20000000>;
350 nvidia,invert-interrupt;
351 nvidia,suspend-mode = <1>;
352 nvidia,cpu-pwr-good-time = <2000>;
353 nvidia,cpu-pwr-off-time = <200>;
354 nvidia,core-pwr-good-time = <3845 3845>;
355 nvidia,core-pwr-off-time = <0>;
356 nvidia,core-power-req-active-high;
357 nvidia,sys-clock-req-active-high;
368 cd-gpios = <&gpio TEGRA_GPIO(I, 5) GPIO_ACTIVE_LOW>;
369 wp-gpios = <&gpio TEGRA_GPIO(T, 3) GPIO_ACTIVE_HIGH>;
370 power-gpios = <&gpio TEGRA_GPIO(D, 7) GPIO_ACTIVE_HIGH>;
385 vbus-supply = <&usb3_vbus_reg>;
389 backlight: backlight {
390 compatible = "pwm-backlight";
392 enable-gpios = <&gpio TEGRA_GPIO(H, 2) GPIO_ACTIVE_HIGH>;
393 power-supply = <&vdd_bl_reg>;
394 pwms = <&pwm 0 5000000>;
396 brightness-levels = <0 4 8 16 32 64 128 255>;
397 default-brightness-level = <6>;
401 compatible = "simple-bus";
402 #address-cells = <1>;
406 compatible = "fixed-clock";
409 clock-frequency = <32768>;
414 compatible = "chunghwa,claa101wb01", "simple-panel";
415 ddc-i2c-bus = <&panelddc>;
417 power-supply = <&vdd_pnl1_reg>;
418 enable-gpios = <&gpio TEGRA_GPIO(L, 2) GPIO_ACTIVE_HIGH>;
420 backlight = <&backlight>;
424 compatible = "simple-bus";
425 #address-cells = <1>;
428 vdd_ac_bat_reg: regulator@0 {
429 compatible = "regulator-fixed";
431 regulator-name = "vdd_ac_bat";
432 regulator-min-microvolt = <5000000>;
433 regulator-max-microvolt = <5000000>;
437 cam_1v8_reg: regulator@1 {
438 compatible = "regulator-fixed";
440 regulator-name = "cam_1v8";
441 regulator-min-microvolt = <1800000>;
442 regulator-max-microvolt = <1800000>;
444 gpio = <&gpio TEGRA_GPIO(BB, 4) GPIO_ACTIVE_HIGH>;
445 vin-supply = <&vio_reg>;
448 cp_5v_reg: regulator@2 {
449 compatible = "regulator-fixed";
451 regulator-name = "cp_5v";
452 regulator-min-microvolt = <5000000>;
453 regulator-max-microvolt = <5000000>;
457 gpio = <&pmic 0 GPIO_ACTIVE_HIGH>;
460 emmc_3v3_reg: regulator@3 {
461 compatible = "regulator-fixed";
463 regulator-name = "emmc_3v3";
464 regulator-min-microvolt = <3300000>;
465 regulator-max-microvolt = <3300000>;
469 gpio = <&gpio TEGRA_GPIO(D, 1) GPIO_ACTIVE_HIGH>;
470 vin-supply = <&sys_3v3_reg>;
473 modem_3v3_reg: regulator@4 {
474 compatible = "regulator-fixed";
476 regulator-name = "modem_3v3";
477 regulator-min-microvolt = <3300000>;
478 regulator-max-microvolt = <3300000>;
480 gpio = <&gpio TEGRA_GPIO(D, 6) GPIO_ACTIVE_HIGH>;
483 pex_hvdd_3v3_reg: regulator@5 {
484 compatible = "regulator-fixed";
486 regulator-name = "pex_hvdd_3v3";
487 regulator-min-microvolt = <3300000>;
488 regulator-max-microvolt = <3300000>;
490 gpio = <&gpio TEGRA_GPIO(L, 7) GPIO_ACTIVE_HIGH>;
491 vin-supply = <&sys_3v3_reg>;
494 vdd_cam1_ldo_reg: regulator@6 {
495 compatible = "regulator-fixed";
497 regulator-name = "vdd_cam1_ldo";
498 regulator-min-microvolt = <2800000>;
499 regulator-max-microvolt = <2800000>;
501 gpio = <&gpio TEGRA_GPIO(R, 6) GPIO_ACTIVE_HIGH>;
502 vin-supply = <&sys_3v3_reg>;
505 vdd_cam2_ldo_reg: regulator@7 {
506 compatible = "regulator-fixed";
508 regulator-name = "vdd_cam2_ldo";
509 regulator-min-microvolt = <2800000>;
510 regulator-max-microvolt = <2800000>;
512 gpio = <&gpio TEGRA_GPIO(R, 7) GPIO_ACTIVE_HIGH>;
513 vin-supply = <&sys_3v3_reg>;
516 vdd_cam3_ldo_reg: regulator@8 {
517 compatible = "regulator-fixed";
519 regulator-name = "vdd_cam3_ldo";
520 regulator-min-microvolt = <3300000>;
521 regulator-max-microvolt = <3300000>;
523 gpio = <&gpio TEGRA_GPIO(S, 0) GPIO_ACTIVE_HIGH>;
524 vin-supply = <&sys_3v3_reg>;
527 vdd_com_reg: regulator@9 {
528 compatible = "regulator-fixed";
530 regulator-name = "vdd_com";
531 regulator-min-microvolt = <3300000>;
532 regulator-max-microvolt = <3300000>;
536 gpio = <&gpio TEGRA_GPIO(D, 0) GPIO_ACTIVE_HIGH>;
537 vin-supply = <&sys_3v3_reg>;
540 vdd_fuse_3v3_reg: regulator@10 {
541 compatible = "regulator-fixed";
543 regulator-name = "vdd_fuse_3v3";
544 regulator-min-microvolt = <3300000>;
545 regulator-max-microvolt = <3300000>;
547 gpio = <&gpio TEGRA_GPIO(L, 6) GPIO_ACTIVE_HIGH>;
548 vin-supply = <&sys_3v3_reg>;
551 vdd_pnl1_reg: regulator@11 {
552 compatible = "regulator-fixed";
554 regulator-name = "vdd_pnl1";
555 regulator-min-microvolt = <3300000>;
556 regulator-max-microvolt = <3300000>;
560 gpio = <&gpio TEGRA_GPIO(L, 4) GPIO_ACTIVE_HIGH>;
561 vin-supply = <&sys_3v3_reg>;
564 vdd_vid_reg: regulator@12 {
565 compatible = "regulator-fixed";
567 regulator-name = "vddio_vid";
568 regulator-min-microvolt = <5000000>;
569 regulator-max-microvolt = <5000000>;
571 gpio = <&gpio TEGRA_GPIO(T, 0) GPIO_ACTIVE_HIGH>;
573 vin-supply = <&vdd_5v0_reg>;
578 compatible = "nvidia,tegra-audio-wm8903-cardhu",
579 "nvidia,tegra-audio-wm8903";
580 nvidia,model = "NVIDIA Tegra Cardhu";
582 nvidia,audio-routing =
583 "Headphone Jack", "HPOUTR",
584 "Headphone Jack", "HPOUTL",
589 "Mic Jack", "MICBIAS",
592 nvidia,i2s-controller = <&tegra_i2s1>;
593 nvidia,audio-codec = <&wm8903>;
595 nvidia,spkr-en-gpios = <&wm8903 2 GPIO_ACTIVE_HIGH>;
596 nvidia,hp-det-gpios = <&gpio TEGRA_GPIO(W, 2)
599 clocks = <&tegra_car TEGRA30_CLK_PLL_A>,
600 <&tegra_car TEGRA30_CLK_PLL_A_OUT0>,
601 <&tegra_car TEGRA30_CLK_EXTERN1>;
602 clock-names = "pll_a", "pll_a_out0", "mclk";