1 // SPDX-License-Identifier: GPL-2.0
2 #include "tegra20.dtsi"
5 model = "Avionic Design Tamonten SOM";
6 compatible = "ad,tamonten", "nvidia,tegra20";
9 rtc0 = "/i2c@7000d000/tps6586x@34";
10 rtc1 = "/rtc@7000e000";
15 stdout-path = "serial0:115200n8";
19 reg = <0x00000000 0x20000000>;
24 vdd-supply = <&hdmi_vdd_reg>;
25 pll-supply = <&hdmi_pll_reg>;
27 nvidia,ddc-i2c-bus = <&hdmi_ddc>;
28 nvidia,hpd-gpio = <&gpio TEGRA_GPIO(N, 7)
34 pinctrl-names = "default";
35 pinctrl-0 = <&state_default>;
37 state_default: pinmux {
40 nvidia,function = "ide";
43 nvidia,pins = "atb", "gma", "gme";
44 nvidia,function = "sdio4";
48 nvidia,function = "nand";
51 nvidia,pins = "atd", "ate", "gmb", "gmd", "gpu",
52 "spia", "spib", "spic";
53 nvidia,function = "gmi";
56 nvidia,pins = "cdev1";
57 nvidia,function = "plla_out";
60 nvidia,pins = "cdev2";
61 nvidia,function = "pllp_out4";
65 nvidia,function = "crt";
69 nvidia,function = "vi_sensor_clk";
73 nvidia,function = "dap1";
77 nvidia,function = "dap2";
81 nvidia,function = "dap3";
85 nvidia,function = "dap4";
88 nvidia,pins = "dta", "dtd";
89 nvidia,function = "sdio2";
92 nvidia,pins = "dtb", "dtc", "dte";
93 nvidia,function = "rsvd1";
97 nvidia,function = "i2c3";
101 nvidia,function = "uartd";
104 nvidia,pins = "gpu7";
105 nvidia,function = "rtck";
108 nvidia,pins = "gpv", "slxa", "slxk";
109 nvidia,function = "pcie";
112 nvidia,pins = "hdint";
113 nvidia,function = "hdmi";
116 nvidia,pins = "i2cp";
117 nvidia,function = "i2cp";
120 nvidia,pins = "irrx", "irtx";
121 nvidia,function = "uarta";
124 nvidia,pins = "kbca", "kbcb", "kbcc", "kbcd",
126 nvidia,function = "kbc";
129 nvidia,pins = "lcsn", "ld0", "ld1", "ld2",
130 "ld3", "ld4", "ld5", "ld6", "ld7",
131 "ld8", "ld9", "ld10", "ld11", "ld12",
132 "ld13", "ld14", "ld15", "ld16", "ld17",
133 "ldc", "ldi", "lhp0", "lhp1", "lhp2",
134 "lhs", "lm0", "lm1", "lpp", "lpw0",
135 "lpw1", "lpw2", "lsc0", "lsc1", "lsck",
136 "lsda", "lsdi", "lspi", "lvp0", "lvp1",
138 nvidia,function = "displaya";
141 nvidia,pins = "owc", "spdi", "spdo", "uac";
142 nvidia,function = "rsvd2";
146 nvidia,function = "pwr_on";
150 nvidia,function = "i2c1";
153 nvidia,pins = "sdb", "sdc", "sdd";
154 nvidia,function = "pwm";
157 nvidia,pins = "sdio1";
158 nvidia,function = "sdio1";
161 nvidia,pins = "slxc", "slxd";
162 nvidia,function = "spdif";
165 nvidia,pins = "spid", "spie", "spif";
166 nvidia,function = "spi1";
169 nvidia,pins = "spig", "spih";
170 nvidia,function = "spi2_alt";
173 nvidia,pins = "uaa", "uab", "uda";
174 nvidia,function = "ulpi";
178 nvidia,function = "irda";
181 nvidia,pins = "uca", "ucb";
182 nvidia,function = "uartc";
185 nvidia,pins = "ata", "atb", "atc", "atd", "ate",
186 "cdev1", "cdev2", "dap1", "dtb", "dtf",
187 "gma", "gmb", "gmc", "gmd", "gme", "gpu7",
188 "gpv", "i2cp", "irrx", "irtx", "pta",
189 "rm", "slxa", "slxk", "spia", "spib",
191 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
192 nvidia,tristate = <TEGRA_PIN_DISABLE>;
195 nvidia,pins = "ck32", "ddrc", "pmca", "pmcb",
196 "pmcc", "pmcd", "pmce", "xm2c", "xm2d";
197 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
200 nvidia,pins = "csus", "spid", "spif";
201 nvidia,pull = <TEGRA_PIN_PULL_DOWN>;
202 nvidia,tristate = <TEGRA_PIN_ENABLE>;
205 nvidia,pins = "crtp", "dap2", "dap3", "dap4",
206 "dtc", "dte", "gpu", "sdio1",
207 "slxc", "slxd", "spdi", "spdo", "spig",
209 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
210 nvidia,tristate = <TEGRA_PIN_ENABLE>;
213 nvidia,pins = "ddc", "dta", "dtd", "kbca",
214 "kbcb", "kbcc", "kbcd", "kbce", "kbcf",
216 nvidia,pull = <TEGRA_PIN_PULL_UP>;
217 nvidia,tristate = <TEGRA_PIN_DISABLE>;
220 nvidia,pins = "hdint", "lcsn", "ldc", "lm1",
221 "lpw1", "lsc1", "lsck", "lsda", "lsdi",
222 "lvp0", "owc", "sdb";
223 nvidia,tristate = <TEGRA_PIN_ENABLE>;
226 nvidia,pins = "sdd", "spic", "spie", "spih",
228 nvidia,pull = <TEGRA_PIN_PULL_UP>;
229 nvidia,tristate = <TEGRA_PIN_ENABLE>;
232 nvidia,pins = "lc", "ls";
233 nvidia,pull = <TEGRA_PIN_PULL_UP>;
236 nvidia,pins = "ld0", "ld1", "ld2", "ld3", "ld4",
237 "ld5", "ld6", "ld7", "ld8", "ld9",
238 "ld10", "ld11", "ld12", "ld13", "ld14",
239 "ld15", "ld16", "ld17", "ldi", "lhp0",
240 "lhp1", "lhp2", "lhs", "lm0", "lpp",
241 "lpw0", "lpw2", "lsc0", "lspi", "lvp1",
243 nvidia,tristate = <TEGRA_PIN_DISABLE>;
246 nvidia,pins = "ld17_0", "ld19_18", "ld21_20",
248 nvidia,pull = <TEGRA_PIN_PULL_DOWN>;
252 state_i2cmux_ddc: pinmux_i2cmux_ddc {
255 nvidia,function = "i2c2";
259 nvidia,function = "rsvd4";
263 state_i2cmux_pta: pinmux_i2cmux_pta {
266 nvidia,function = "rsvd4";
270 nvidia,function = "i2c2";
274 state_i2cmux_idle: pinmux_i2cmux_idle {
277 nvidia,function = "rsvd4";
281 nvidia,function = "rsvd4";
295 clock-frequency = <400000>;
300 clock-frequency = <100000>;
305 compatible = "i2c-mux-pinctrl";
306 #address-cells = <1>;
309 i2c-parent = <&{/i2c@7000c400}>;
311 pinctrl-names = "ddc", "pta", "idle";
312 pinctrl-0 = <&state_i2cmux_ddc>;
313 pinctrl-1 = <&state_i2cmux_pta>;
314 pinctrl-2 = <&state_i2cmux_idle>;
318 #address-cells = <1>;
324 #address-cells = <1>;
330 clock-frequency = <400000>;
334 compatible = "ti,tps6586x";
336 interrupts = <GIC_SPI 86 IRQ_TYPE_LEVEL_HIGH>;
338 ti,system-power-controller;
343 /* vdd_5v0_reg must be provided by the base board */
344 sys-supply = <&vdd_5v0_reg>;
345 vin-sm0-supply = <&sys_reg>;
346 vin-sm1-supply = <&sys_reg>;
347 vin-sm2-supply = <&sys_reg>;
348 vinldo01-supply = <&sm2_reg>;
349 vinldo23-supply = <&sm2_reg>;
350 vinldo4-supply = <&sm2_reg>;
351 vinldo678-supply = <&sm2_reg>;
352 vinldo9-supply = <&sm2_reg>;
356 regulator-name = "vdd_sys";
361 regulator-name = "vdd_sys_sm0,vdd_core";
362 regulator-min-microvolt = <1200000>;
363 regulator-max-microvolt = <1200000>;
368 regulator-name = "vdd_sys_sm1,vdd_cpu";
369 regulator-min-microvolt = <1000000>;
370 regulator-max-microvolt = <1000000>;
375 regulator-name = "vdd_sys_sm2,vin_ldo*";
376 regulator-min-microvolt = <3700000>;
377 regulator-max-microvolt = <3700000>;
382 regulator-name = "vdd_ldo0,vddio_pex_clk";
383 regulator-min-microvolt = <3300000>;
384 regulator-max-microvolt = <3300000>;
388 regulator-name = "vdd_ldo1,avdd_pll*";
389 regulator-min-microvolt = <1100000>;
390 regulator-max-microvolt = <1100000>;
395 regulator-name = "vdd_ldo2,vdd_rtc";
396 regulator-min-microvolt = <1200000>;
397 regulator-max-microvolt = <1200000>;
401 regulator-name = "vdd_ldo3,avdd_usb*";
402 regulator-min-microvolt = <3300000>;
403 regulator-max-microvolt = <3300000>;
408 regulator-name = "vdd_ldo4,avdd_osc,vddio_sys";
409 regulator-min-microvolt = <1800000>;
410 regulator-max-microvolt = <1800000>;
415 regulator-name = "vdd_ldo5,vcore_mmc";
416 regulator-min-microvolt = <2850000>;
417 regulator-max-microvolt = <2850000>;
421 regulator-name = "vdd_ldo6,avdd_vdac";
423 * According to the Tegra 2 Automotive
424 * DataSheet, a typical value for this
425 * would be 2.8V, but the PMIC only
428 regulator-min-microvolt = <2850000>;
429 regulator-max-microvolt = <2850000>;
433 regulator-name = "vdd_ldo7,avdd_hdmi";
434 regulator-min-microvolt = <3300000>;
435 regulator-max-microvolt = <3300000>;
439 regulator-name = "vdd_ldo8,avdd_hdmi_pll";
440 regulator-min-microvolt = <1800000>;
441 regulator-max-microvolt = <1800000>;
445 regulator-name = "vdd_ldo9,vdd_ddr_rx,avdd_cam";
447 * According to the Tegra 2 Automotive
448 * DataSheet, a typical value for this
449 * would be 2.8V, but the PMIC only
452 regulator-min-microvolt = <2850000>;
453 regulator-max-microvolt = <2850000>;
458 regulator-name = "vdd_rtc_out";
459 regulator-min-microvolt = <3300000>;
460 regulator-max-microvolt = <3300000>;
466 temperature-sensor@4c {
467 compatible = "onnn,nct1008";
473 nvidia,invert-interrupt;
474 nvidia,suspend-mode = <1>;
475 nvidia,cpu-pwr-good-time = <5000>;
476 nvidia,cpu-pwr-off-time = <5000>;
477 nvidia,core-pwr-good-time = <3845 3845>;
478 nvidia,core-pwr-off-time = <3875>;
479 nvidia,sys-clock-req-active-high;
483 avdd-pex-supply = <&pci_vdd_reg>;
484 vdd-pex-supply = <&pci_vdd_reg>;
485 avdd-pex-pll-supply = <&pci_vdd_reg>;
486 avdd-plle-supply = <&pci_vdd_reg>;
487 vddio-pex-clk-supply = <&pci_clk_reg>;
499 cd-gpios = <&gpio TEGRA_GPIO(H, 2) GPIO_ACTIVE_LOW>;
500 wp-gpios = <&gpio TEGRA_GPIO(H, 3) GPIO_ACTIVE_HIGH>;
506 compatible = "simple-bus";
507 #address-cells = <1>;
511 compatible = "fixed-clock";
514 clock-frequency = <32768>;
519 compatible = "simple-bus";
521 #address-cells = <1>;
524 pci_vdd_reg: regulator@1 {
525 compatible = "regulator-fixed";
527 regulator-name = "vdd_1v05";
528 regulator-min-microvolt = <1050000>;
529 regulator-max-microvolt = <1050000>;