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 = "sdmmc4_clk_pcc4",
58 nvidia,function = "sdmmc4";
60 nvidia,tristate = <0>;
63 nvidia,pins = "sdmmc4_dat0_paa0",
71 nvidia,function = "sdmmc4";
73 nvidia,tristate = <0>;
76 nvidia,pins = "dap2_fs_pa2",
80 nvidia,function = "i2s1";
82 nvidia,tristate = <0>;
89 clock-frequency = <408000000>;
94 clock-frequency = <100000>;
99 clock-frequency = <100000>;
104 clock-frequency = <100000>;
106 /* ALS and Proximity sensor */
108 compatible = "isil,isl29028";
110 interrupt-parent = <&gpio>;
111 interrupts = <88 0x04>; /*gpio PL0 */
117 clock-frequency = <100000>;
122 clock-frequency = <100000>;
125 compatible = "wlf,wm8903";
127 interrupt-parent = <&gpio>;
128 interrupts = <179 0x04>; /* gpio PW3 */
134 micdet-delay = <100>;
135 gpio-cfg = <0xffffffff 0xffffffff 0 0xffffffff 0xffffffff>;
139 compatible = "ti,tps62361";
142 regulator-name = "tps62361-vout";
143 regulator-min-microvolt = <500000>;
144 regulator-max-microvolt = <1500000>;
152 compatible = "ti,tps65911";
155 interrupts = <0 86 0x4>;
156 #interrupt-cells = <2>;
157 interrupt-controller;
159 ti,system-power-controller;
164 vcc1-supply = <&vdd_ac_bat_reg>;
165 vcc2-supply = <&vdd_ac_bat_reg>;
166 vcc3-supply = <&vio_reg>;
167 vcc4-supply = <&vdd_5v0_reg>;
168 vcc5-supply = <&vdd_ac_bat_reg>;
169 vcc6-supply = <&vdd2_reg>;
170 vcc7-supply = <&vdd_ac_bat_reg>;
171 vccio-supply = <&vdd_ac_bat_reg>;
175 regulator-name = "vddio_ddr_1v2";
176 regulator-min-microvolt = <1200000>;
177 regulator-max-microvolt = <1200000>;
182 regulator-name = "vdd_1v5_gen";
183 regulator-min-microvolt = <1500000>;
184 regulator-max-microvolt = <1500000>;
188 vddctrl_reg: vddctrl {
189 regulator-name = "vdd_cpu,vdd_sys";
190 regulator-min-microvolt = <1000000>;
191 regulator-max-microvolt = <1000000>;
196 regulator-name = "vdd_1v8_gen";
197 regulator-min-microvolt = <1800000>;
198 regulator-max-microvolt = <1800000>;
203 regulator-name = "vdd_pexa,vdd_pexb";
204 regulator-min-microvolt = <1050000>;
205 regulator-max-microvolt = <1050000>;
209 regulator-name = "vdd_sata,avdd_plle";
210 regulator-min-microvolt = <1050000>;
211 regulator-max-microvolt = <1050000>;
214 /* LDO3 is not connected to anything */
217 regulator-name = "vdd_rtc";
218 regulator-min-microvolt = <1200000>;
219 regulator-max-microvolt = <1200000>;
224 regulator-name = "vddio_sdmmc,avdd_vdac";
225 regulator-min-microvolt = <3300000>;
226 regulator-max-microvolt = <3300000>;
231 regulator-name = "avdd_dsi_csi,pwrdet_mipi";
232 regulator-min-microvolt = <1200000>;
233 regulator-max-microvolt = <1200000>;
237 regulator-name = "vdd_pllm,x,u,a_p_c_s";
238 regulator-min-microvolt = <1200000>;
239 regulator-max-microvolt = <1200000>;
244 regulator-name = "vdd_ddr_hs";
245 regulator-min-microvolt = <1000000>;
246 regulator-max-microvolt = <1000000>;
261 nvidia,invert-interrupt;
266 cd-gpios = <&gpio 69 0>; /* gpio PI5 */
267 wp-gpios = <&gpio 155 0>; /* gpio PT3 */
268 power-gpios = <&gpio 31 0>; /* gpio PD7 */
278 compatible = "simple-bus";
279 #address-cells = <1>;
282 vdd_ac_bat_reg: regulator@0 {
283 compatible = "regulator-fixed";
285 regulator-name = "vdd_ac_bat";
286 regulator-min-microvolt = <5000000>;
287 regulator-max-microvolt = <5000000>;
291 cam_1v8_reg: regulator@1 {
292 compatible = "regulator-fixed";
294 regulator-name = "cam_1v8";
295 regulator-min-microvolt = <1800000>;
296 regulator-max-microvolt = <1800000>;
298 gpio = <&gpio 220 0>; /* gpio PBB4 */
299 vin-supply = <&vio_reg>;
302 cp_5v_reg: regulator@2 {
303 compatible = "regulator-fixed";
305 regulator-name = "cp_5v";
306 regulator-min-microvolt = <5000000>;
307 regulator-max-microvolt = <5000000>;
311 gpio = <&pmic 0 0>; /* PMIC TPS65911 GPIO0 */
314 emmc_3v3_reg: regulator@3 {
315 compatible = "regulator-fixed";
317 regulator-name = "emmc_3v3";
318 regulator-min-microvolt = <3300000>;
319 regulator-max-microvolt = <3300000>;
323 gpio = <&gpio 25 0>; /* gpio PD1 */
324 vin-supply = <&sys_3v3_reg>;
327 modem_3v3_reg: regulator@4 {
328 compatible = "regulator-fixed";
330 regulator-name = "modem_3v3";
331 regulator-min-microvolt = <3300000>;
332 regulator-max-microvolt = <3300000>;
334 gpio = <&gpio 30 0>; /* gpio PD6 */
337 pex_hvdd_3v3_reg: regulator@5 {
338 compatible = "regulator-fixed";
340 regulator-name = "pex_hvdd_3v3";
341 regulator-min-microvolt = <3300000>;
342 regulator-max-microvolt = <3300000>;
344 gpio = <&gpio 95 0>; /* gpio PL7 */
345 vin-supply = <&sys_3v3_reg>;
348 vdd_cam1_ldo_reg: regulator@6 {
349 compatible = "regulator-fixed";
351 regulator-name = "vdd_cam1_ldo";
352 regulator-min-microvolt = <2800000>;
353 regulator-max-microvolt = <2800000>;
355 gpio = <&gpio 142 0>; /* gpio PR6 */
356 vin-supply = <&sys_3v3_reg>;
359 vdd_cam2_ldo_reg: regulator@7 {
360 compatible = "regulator-fixed";
362 regulator-name = "vdd_cam2_ldo";
363 regulator-min-microvolt = <2800000>;
364 regulator-max-microvolt = <2800000>;
366 gpio = <&gpio 143 0>; /* gpio PR7 */
367 vin-supply = <&sys_3v3_reg>;
370 vdd_cam3_ldo_reg: regulator@8 {
371 compatible = "regulator-fixed";
373 regulator-name = "vdd_cam3_ldo";
374 regulator-min-microvolt = <3300000>;
375 regulator-max-microvolt = <3300000>;
377 gpio = <&gpio 144 0>; /* gpio PS0 */
378 vin-supply = <&sys_3v3_reg>;
381 vdd_com_reg: regulator@9 {
382 compatible = "regulator-fixed";
384 regulator-name = "vdd_com";
385 regulator-min-microvolt = <3300000>;
386 regulator-max-microvolt = <3300000>;
388 gpio = <&gpio 24 0>; /* gpio PD0 */
389 vin-supply = <&sys_3v3_reg>;
392 vdd_fuse_3v3_reg: regulator@10 {
393 compatible = "regulator-fixed";
395 regulator-name = "vdd_fuse_3v3";
396 regulator-min-microvolt = <3300000>;
397 regulator-max-microvolt = <3300000>;
399 gpio = <&gpio 94 0>; /* gpio PL6 */
400 vin-supply = <&sys_3v3_reg>;
403 vdd_pnl1_reg: regulator@11 {
404 compatible = "regulator-fixed";
406 regulator-name = "vdd_pnl1";
407 regulator-min-microvolt = <3300000>;
408 regulator-max-microvolt = <3300000>;
412 gpio = <&gpio 92 0>; /* gpio PL4 */
413 vin-supply = <&sys_3v3_reg>;
416 vdd_vid_reg: regulator@12 {
417 compatible = "regulator-fixed";
419 regulator-name = "vddio_vid";
420 regulator-min-microvolt = <5000000>;
421 regulator-max-microvolt = <5000000>;
423 gpio = <&gpio 152 0>; /* GPIO PT0 */
425 vin-supply = <&vdd_5v0_reg>;
430 compatible = "nvidia,tegra-audio-wm8903-cardhu",
431 "nvidia,tegra-audio-wm8903";
432 nvidia,model = "NVIDIA Tegra Cardhu";
434 nvidia,audio-routing =
435 "Headphone Jack", "HPOUTR",
436 "Headphone Jack", "HPOUTL",
441 "Mic Jack", "MICBIAS",
444 nvidia,i2s-controller = <&tegra_i2s1>;
445 nvidia,audio-codec = <&wm8903>;
447 nvidia,spkr-en-gpios = <&wm8903 2 0>;
448 nvidia,hp-det-gpios = <&gpio 178 0>; /* gpio PW2 */