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 reg = <0x00000000 0x40000000>;
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";
44 nvidia,function = "sdio4";
47 nvidia,pins = "atc", "gmb";
48 nvidia,function = "nand";
51 nvidia,pins = "atd", "ate", "gme", "pta";
52 nvidia,function = "gmi";
55 nvidia,pins = "cdev1";
56 nvidia,function = "plla_out";
59 nvidia,pins = "cdev2";
60 nvidia,function = "pllp_out4";
64 nvidia,function = "crt";
68 nvidia,function = "vi_sensor_clk";
72 nvidia,function = "dap1";
76 nvidia,function = "dap2";
80 nvidia,function = "dap3";
84 nvidia,function = "dap4";
88 nvidia,function = "i2c2";
91 nvidia,pins = "dta", "dtb", "dtc", "dtd", "dte";
92 nvidia,function = "vi";
96 nvidia,function = "i2c3";
99 nvidia,pins = "gmc", "gmd";
100 nvidia,function = "sflash";
104 nvidia,function = "uarta";
107 nvidia,pins = "gpu7";
108 nvidia,function = "rtck";
111 nvidia,pins = "gpv", "slxa", "slxk";
112 nvidia,function = "pcie";
115 nvidia,pins = "hdint";
116 nvidia,function = "hdmi";
119 nvidia,pins = "i2cp";
120 nvidia,function = "i2cp";
123 nvidia,pins = "irrx", "irtx";
124 nvidia,function = "uartb";
127 nvidia,pins = "kbca", "kbcb", "kbcc", "kbcd",
129 nvidia,function = "kbc";
132 nvidia,pins = "lcsn", "ld0", "ld1", "ld2",
133 "ld3", "ld4", "ld5", "ld6", "ld7",
134 "ld8", "ld9", "ld10", "ld11", "ld12",
135 "ld13", "ld14", "ld15", "ld16", "ld17",
136 "ldc", "ldi", "lhp0", "lhp1", "lhp2",
137 "lhs", "lm0", "lm1", "lpp", "lpw0",
138 "lpw1", "lpw2", "lsc0", "lsc1", "lsck",
139 "lsda", "lsdi", "lspi", "lvp0", "lvp1",
141 nvidia,function = "displaya";
144 nvidia,pins = "owc", "uac";
145 nvidia,function = "rsvd2";
149 nvidia,function = "pwr_on";
153 nvidia,function = "i2c1";
156 nvidia,pins = "sdb", "sdc", "sdd";
157 nvidia,function = "pwm";
160 nvidia,pins = "sdio1";
161 nvidia,function = "sdio1";
164 nvidia,pins = "slxc", "slxd";
165 nvidia,function = "sdio3";
168 nvidia,pins = "spdi", "spdo";
169 nvidia,function = "spdif";
172 nvidia,pins = "spia", "spib", "spic";
173 nvidia,function = "spi2";
176 nvidia,pins = "spid", "spie", "spif";
177 nvidia,function = "spi1";
180 nvidia,pins = "spig", "spih";
181 nvidia,function = "spi2_alt";
184 nvidia,pins = "uaa", "uab", "uda";
185 nvidia,function = "ulpi";
189 nvidia,function = "irda";
192 nvidia,pins = "uca", "ucb";
193 nvidia,function = "uartc";
196 nvidia,pins = "ata", "atc", "atd", "ate",
197 "crtp", "dap2", "dap3", "dap4", "dta",
198 "dtb", "dtc", "dtd", "dte", "gmb",
199 "gme", "i2cp", "pta", "slxc", "slxd",
200 "spdi", "spdo", "uda";
201 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
202 nvidia,tristate = <TEGRA_PIN_ENABLE>;
205 nvidia,pins = "atb", "cdev1", "cdev2", "dap1",
206 "gma", "gmc", "gmd", "gpu", "gpu7",
207 "gpv", "sdio1", "slxa", "slxk", "uac";
208 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
209 nvidia,tristate = <TEGRA_PIN_DISABLE>;
212 nvidia,pins = "ck32", "ddrc", "pmca", "pmcb",
213 "pmcc", "pmcd", "pmce", "xm2c", "xm2d";
214 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
217 nvidia,pins = "csus", "spia", "spib",
219 nvidia,pull = <TEGRA_PIN_PULL_DOWN>;
220 nvidia,tristate = <TEGRA_PIN_ENABLE>;
223 nvidia,pins = "ddc", "dtf", "rm", "sdc", "sdd";
224 nvidia,pull = <TEGRA_PIN_PULL_UP>;
225 nvidia,tristate = <TEGRA_PIN_DISABLE>;
228 nvidia,pins = "hdint", "lcsn", "ldc", "lm1",
229 "lpw1", "lsc1", "lsck", "lsda", "lsdi",
231 nvidia,tristate = <TEGRA_PIN_ENABLE>;
234 nvidia,pins = "irrx", "irtx", "kbca", "kbcb",
235 "kbcc", "kbcd", "kbce", "kbcf", "owc",
236 "spic", "spie", "spig", "spih", "uaa",
237 "uab", "uad", "uca", "ucb";
238 nvidia,pull = <TEGRA_PIN_PULL_UP>;
239 nvidia,tristate = <TEGRA_PIN_ENABLE>;
242 nvidia,pins = "lc", "ls";
243 nvidia,pull = <TEGRA_PIN_PULL_UP>;
246 nvidia,pins = "ld0", "ld1", "ld2", "ld3", "ld4",
247 "ld5", "ld6", "ld7", "ld8", "ld9",
248 "ld10", "ld11", "ld12", "ld13", "ld14",
249 "ld15", "ld16", "ld17", "ldi", "lhp0",
250 "lhp1", "lhp2", "lhs", "lm0", "lpp",
251 "lpw0", "lpw2", "lsc0", "lspi", "lvp1",
253 nvidia,tristate = <TEGRA_PIN_DISABLE>;
256 nvidia,pins = "ld17_0", "ld19_18", "ld21_20",
258 nvidia,pull = <TEGRA_PIN_PULL_DOWN>;
261 nvidia,pins = "spif";
262 nvidia,pull = <TEGRA_PIN_PULL_DOWN>;
263 nvidia,tristate = <TEGRA_PIN_DISABLE>;
276 dvi_ddc: i2c@7000c000 {
278 clock-frequency = <100000>;
283 spi-max-frequency = <48000000>;
285 compatible = "winbond,w25q80bl";
287 spi-max-frequency = <48000000>;
291 hdmi_ddc: i2c@7000c400 {
293 clock-frequency = <100000>;
298 clock-frequency = <400000>;
301 compatible = "ti,tlv320aic23";
306 compatible = "emmicro,em3027";
312 nvidia,suspend-mode = <1>;
313 nvidia,cpu-pwr-good-time = <5000>;
314 nvidia,cpu-pwr-off-time = <5000>;
315 nvidia,core-pwr-good-time = <3845 3845>;
316 nvidia,core-pwr-off-time = <3875>;
317 nvidia,sys-clock-req-active-high;
320 pcie-controller@80003000 {
323 avdd-pex-supply = <&pci_vdd_reg>;
324 vdd-pex-supply = <&pci_vdd_reg>;
325 avdd-pex-pll-supply = <&pci_vdd_reg>;
326 avdd-plle-supply = <&pci_vdd_reg>;
327 vddio-pex-clk-supply = <&pci_clk_reg>;
340 vbus-supply = <&vbus_reg>;
345 nvidia,phy-reset-gpio = <&gpio TEGRA_GPIO(V, 0)
351 nvidia,phy-reset-gpio = <&gpio TEGRA_GPIO(V, 0)
370 cd-gpios = <&gpio TEGRA_GPIO(P, 1) GPIO_ACTIVE_LOW>;
371 wp-gpios = <&gpio TEGRA_GPIO(P, 2) GPIO_ACTIVE_HIGH>;
376 compatible = "simple-bus";
377 #address-cells = <1>;
381 compatible = "fixed-clock";
384 clock-frequency = <32768>;
389 compatible = "gpio-keys";
393 gpios = <&gpio TEGRA_GPIO(X, 6) GPIO_ACTIVE_LOW>;
394 linux,code = <KEY_POWER>;
400 compatible = "gpio-poweroff";
401 gpios = <&gpio TEGRA_GPIO(X, 7) GPIO_ACTIVE_LOW>;
405 compatible = "simple-bus";
406 #address-cells = <1>;
409 hdmi_vdd_reg: regulator@0 {
410 compatible = "regulator-fixed";
412 regulator-name = "avdd_hdmi";
413 regulator-min-microvolt = <3300000>;
414 regulator-max-microvolt = <3300000>;
418 hdmi_pll_reg: regulator@1 {
419 compatible = "regulator-fixed";
421 regulator-name = "avdd_hdmi_pll";
422 regulator-min-microvolt = <1800000>;
423 regulator-max-microvolt = <1800000>;
427 vbus_reg: regulator@2 {
428 compatible = "regulator-fixed";
430 regulator-name = "usb1_vbus";
431 regulator-min-microvolt = <5000000>;
432 regulator-max-microvolt = <5000000>;
434 gpio = <&gpio TEGRA_GPIO(V, 2) 0>;
439 pci_clk_reg: regulator@3 {
440 compatible = "regulator-fixed";
442 regulator-name = "pci_clk";
443 regulator-min-microvolt = <3300000>;
444 regulator-max-microvolt = <3300000>;
448 pci_vdd_reg: regulator@4 {
449 compatible = "regulator-fixed";
451 regulator-name = "pci_vdd";
452 regulator-min-microvolt = <1050000>;
453 regulator-max-microvolt = <1050000>;
459 compatible = "nvidia,tegra-audio-trimslice";
460 nvidia,i2s-controller = <&tegra_i2s1>;
461 nvidia,audio-codec = <&codec>;
463 clocks = <&tegra_car TEGRA20_CLK_PLL_A>,
464 <&tegra_car TEGRA20_CLK_PLL_A_OUT0>,
465 <&tegra_car TEGRA20_CLK_CDEV1>;
466 clock-names = "pll_a", "pll_a_out0", "mclk";