3 #include <dt-bindings/input/input.h>
4 #include "tegra20.dtsi"
7 model = "Compulab TrimSlice board";
8 compatible = "compulab,trimslice", "nvidia,tegra20";
11 rtc0 = "/i2c@7000c500/rtc@56";
12 rtc1 = "/rtc@7000e000";
17 stdout-path = "serial0:115200n8";
21 reg = <0x00000000 0x40000000>;
28 vdd-supply = <&hdmi_vdd_reg>;
29 pll-supply = <&hdmi_pll_reg>;
31 nvidia,ddc-i2c-bus = <&hdmi_ddc>;
32 nvidia,hpd-gpio = <&gpio TEGRA_GPIO(N, 7)
38 pinctrl-names = "default";
39 pinctrl-0 = <&state_default>;
41 state_default: pinmux {
44 nvidia,function = "ide";
47 nvidia,pins = "atb", "gma";
48 nvidia,function = "sdio4";
51 nvidia,pins = "atc", "gmb";
52 nvidia,function = "nand";
55 nvidia,pins = "atd", "ate", "gme", "pta";
56 nvidia,function = "gmi";
59 nvidia,pins = "cdev1";
60 nvidia,function = "plla_out";
63 nvidia,pins = "cdev2";
64 nvidia,function = "pllp_out4";
68 nvidia,function = "crt";
72 nvidia,function = "vi_sensor_clk";
76 nvidia,function = "dap1";
80 nvidia,function = "dap2";
84 nvidia,function = "dap3";
88 nvidia,function = "dap4";
92 nvidia,function = "i2c2";
95 nvidia,pins = "dta", "dtb", "dtc", "dtd", "dte";
96 nvidia,function = "vi";
100 nvidia,function = "i2c3";
103 nvidia,pins = "gmc", "gmd";
104 nvidia,function = "sflash";
108 nvidia,function = "uarta";
111 nvidia,pins = "gpu7";
112 nvidia,function = "rtck";
115 nvidia,pins = "gpv", "slxa", "slxk";
116 nvidia,function = "pcie";
119 nvidia,pins = "hdint";
120 nvidia,function = "hdmi";
123 nvidia,pins = "i2cp";
124 nvidia,function = "i2cp";
127 nvidia,pins = "irrx", "irtx";
128 nvidia,function = "uartb";
131 nvidia,pins = "kbca", "kbcb", "kbcc", "kbcd",
133 nvidia,function = "kbc";
136 nvidia,pins = "lcsn", "ld0", "ld1", "ld2",
137 "ld3", "ld4", "ld5", "ld6", "ld7",
138 "ld8", "ld9", "ld10", "ld11", "ld12",
139 "ld13", "ld14", "ld15", "ld16", "ld17",
140 "ldc", "ldi", "lhp0", "lhp1", "lhp2",
141 "lhs", "lm0", "lm1", "lpp", "lpw0",
142 "lpw1", "lpw2", "lsc0", "lsc1", "lsck",
143 "lsda", "lsdi", "lspi", "lvp0", "lvp1",
145 nvidia,function = "displaya";
148 nvidia,pins = "owc", "uac";
149 nvidia,function = "rsvd2";
153 nvidia,function = "pwr_on";
157 nvidia,function = "i2c1";
160 nvidia,pins = "sdb", "sdc", "sdd";
161 nvidia,function = "pwm";
164 nvidia,pins = "sdio1";
165 nvidia,function = "sdio1";
168 nvidia,pins = "slxc", "slxd";
169 nvidia,function = "sdio3";
172 nvidia,pins = "spdi", "spdo";
173 nvidia,function = "spdif";
176 nvidia,pins = "spia", "spib", "spic";
177 nvidia,function = "spi2";
180 nvidia,pins = "spid", "spie", "spif";
181 nvidia,function = "spi1";
184 nvidia,pins = "spig", "spih";
185 nvidia,function = "spi2_alt";
188 nvidia,pins = "uaa", "uab", "uda";
189 nvidia,function = "ulpi";
193 nvidia,function = "irda";
196 nvidia,pins = "uca", "ucb";
197 nvidia,function = "uartc";
200 nvidia,pins = "ata", "atc", "atd", "ate",
201 "crtp", "dap2", "dap3", "dap4", "dta",
202 "dtb", "dtc", "dtd", "dte", "gmb",
203 "gme", "i2cp", "pta", "slxc", "slxd",
204 "spdi", "spdo", "uda";
205 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
206 nvidia,tristate = <TEGRA_PIN_ENABLE>;
209 nvidia,pins = "atb", "cdev1", "cdev2", "dap1",
210 "gma", "gmc", "gmd", "gpu", "gpu7",
211 "gpv", "sdio1", "slxa", "slxk", "uac";
212 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
213 nvidia,tristate = <TEGRA_PIN_DISABLE>;
216 nvidia,pins = "ck32", "ddrc", "pmca", "pmcb",
217 "pmcc", "pmcd", "pmce", "xm2c", "xm2d";
218 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
221 nvidia,pins = "csus", "spia", "spib",
223 nvidia,pull = <TEGRA_PIN_PULL_DOWN>;
224 nvidia,tristate = <TEGRA_PIN_ENABLE>;
227 nvidia,pins = "ddc", "dtf", "rm", "sdc", "sdd";
228 nvidia,pull = <TEGRA_PIN_PULL_UP>;
229 nvidia,tristate = <TEGRA_PIN_DISABLE>;
232 nvidia,pins = "hdint", "lcsn", "ldc", "lm1",
233 "lpw1", "lsc1", "lsck", "lsda", "lsdi",
235 nvidia,tristate = <TEGRA_PIN_ENABLE>;
238 nvidia,pins = "irrx", "irtx", "kbca", "kbcb",
239 "kbcc", "kbcd", "kbce", "kbcf", "owc",
240 "spic", "spie", "spig", "spih", "uaa",
241 "uab", "uad", "uca", "ucb";
242 nvidia,pull = <TEGRA_PIN_PULL_UP>;
243 nvidia,tristate = <TEGRA_PIN_ENABLE>;
246 nvidia,pins = "lc", "ls";
247 nvidia,pull = <TEGRA_PIN_PULL_UP>;
250 nvidia,pins = "ld0", "ld1", "ld2", "ld3", "ld4",
251 "ld5", "ld6", "ld7", "ld8", "ld9",
252 "ld10", "ld11", "ld12", "ld13", "ld14",
253 "ld15", "ld16", "ld17", "ldi", "lhp0",
254 "lhp1", "lhp2", "lhs", "lm0", "lpp",
255 "lpw0", "lpw2", "lsc0", "lspi", "lvp1",
257 nvidia,tristate = <TEGRA_PIN_DISABLE>;
260 nvidia,pins = "ld17_0", "ld19_18", "ld21_20",
262 nvidia,pull = <TEGRA_PIN_PULL_DOWN>;
265 nvidia,pins = "spif";
266 nvidia,pull = <TEGRA_PIN_PULL_DOWN>;
267 nvidia,tristate = <TEGRA_PIN_DISABLE>;
280 dvi_ddc: i2c@7000c000 {
282 clock-frequency = <100000>;
287 spi-max-frequency = <48000000>;
289 compatible = "winbond,w25q80bl";
291 spi-max-frequency = <48000000>;
295 hdmi_ddc: i2c@7000c400 {
297 clock-frequency = <100000>;
302 clock-frequency = <400000>;
305 compatible = "ti,tlv320aic23";
310 compatible = "emmicro,em3027";
316 nvidia,suspend-mode = <1>;
317 nvidia,cpu-pwr-good-time = <5000>;
318 nvidia,cpu-pwr-off-time = <5000>;
319 nvidia,core-pwr-good-time = <3845 3845>;
320 nvidia,core-pwr-off-time = <3875>;
321 nvidia,sys-clock-req-active-high;
324 pcie-controller@80003000 {
327 avdd-pex-supply = <&pci_vdd_reg>;
328 vdd-pex-supply = <&pci_vdd_reg>;
329 avdd-pex-pll-supply = <&pci_vdd_reg>;
330 avdd-plle-supply = <&pci_vdd_reg>;
331 vddio-pex-clk-supply = <&pci_clk_reg>;
344 vbus-supply = <&vbus_reg>;
349 nvidia,phy-reset-gpio = <&gpio TEGRA_GPIO(V, 0)
355 nvidia,phy-reset-gpio = <&gpio TEGRA_GPIO(V, 0)
375 cd-gpios = <&gpio TEGRA_GPIO(P, 1) GPIO_ACTIVE_LOW>;
376 wp-gpios = <&gpio TEGRA_GPIO(P, 2) GPIO_ACTIVE_HIGH>;
381 compatible = "simple-bus";
382 #address-cells = <1>;
386 compatible = "fixed-clock";
389 clock-frequency = <32768>;
394 compatible = "gpio-keys";
398 gpios = <&gpio TEGRA_GPIO(X, 6) GPIO_ACTIVE_LOW>;
399 linux,code = <KEY_POWER>;
405 compatible = "gpio-poweroff";
406 gpios = <&gpio TEGRA_GPIO(X, 7) GPIO_ACTIVE_LOW>;
410 compatible = "simple-bus";
411 #address-cells = <1>;
414 hdmi_vdd_reg: regulator@0 {
415 compatible = "regulator-fixed";
417 regulator-name = "avdd_hdmi";
418 regulator-min-microvolt = <3300000>;
419 regulator-max-microvolt = <3300000>;
423 hdmi_pll_reg: regulator@1 {
424 compatible = "regulator-fixed";
426 regulator-name = "avdd_hdmi_pll";
427 regulator-min-microvolt = <1800000>;
428 regulator-max-microvolt = <1800000>;
432 vbus_reg: regulator@2 {
433 compatible = "regulator-fixed";
435 regulator-name = "usb1_vbus";
436 regulator-min-microvolt = <5000000>;
437 regulator-max-microvolt = <5000000>;
439 gpio = <&gpio TEGRA_GPIO(V, 2) 0>;
444 pci_clk_reg: regulator@3 {
445 compatible = "regulator-fixed";
447 regulator-name = "pci_clk";
448 regulator-min-microvolt = <3300000>;
449 regulator-max-microvolt = <3300000>;
453 pci_vdd_reg: regulator@4 {
454 compatible = "regulator-fixed";
456 regulator-name = "pci_vdd";
457 regulator-min-microvolt = <1050000>;
458 regulator-max-microvolt = <1050000>;
464 compatible = "nvidia,tegra-audio-trimslice";
465 nvidia,i2s-controller = <&tegra_i2s1>;
466 nvidia,audio-codec = <&codec>;
468 clocks = <&tegra_car TEGRA20_CLK_PLL_A>,
469 <&tegra_car TEGRA20_CLK_PLL_A_OUT0>,
470 <&tegra_car TEGRA20_CLK_CDEV1>;
471 clock-names = "pll_a", "pll_a_out0", "mclk";