1 // SPDX-License-Identifier: GPL-2.0
4 #include <dt-bindings/input/input.h>
5 #include "tegra20.dtsi"
8 model = "Compulab TrimSlice board";
9 compatible = "compulab,trimslice", "nvidia,tegra20";
12 rtc0 = "/i2c@7000c500/rtc@56";
13 rtc1 = "/rtc@7000e000";
18 stdout-path = "serial0:115200n8";
22 reg = <0x00000000 0x40000000>;
29 vdd-supply = <&hdmi_vdd_reg>;
30 pll-supply = <&hdmi_pll_reg>;
32 nvidia,ddc-i2c-bus = <&hdmi_ddc>;
33 nvidia,hpd-gpio = <&gpio TEGRA_GPIO(N, 7)
39 pinctrl-names = "default";
40 pinctrl-0 = <&state_default>;
42 state_default: pinmux {
45 nvidia,function = "ide";
48 nvidia,pins = "atb", "gma";
49 nvidia,function = "sdio4";
52 nvidia,pins = "atc", "gmb";
53 nvidia,function = "nand";
56 nvidia,pins = "atd", "ate", "gme", "pta";
57 nvidia,function = "gmi";
60 nvidia,pins = "cdev1";
61 nvidia,function = "plla_out";
64 nvidia,pins = "cdev2";
65 nvidia,function = "pllp_out4";
69 nvidia,function = "crt";
73 nvidia,function = "vi_sensor_clk";
77 nvidia,function = "dap1";
81 nvidia,function = "dap2";
85 nvidia,function = "dap3";
89 nvidia,function = "dap4";
93 nvidia,function = "i2c2";
96 nvidia,pins = "dta", "dtb", "dtc", "dtd", "dte";
97 nvidia,function = "vi";
101 nvidia,function = "i2c3";
104 nvidia,pins = "gmc", "gmd";
105 nvidia,function = "sflash";
109 nvidia,function = "uarta";
112 nvidia,pins = "gpu7";
113 nvidia,function = "rtck";
116 nvidia,pins = "gpv", "slxa", "slxk";
117 nvidia,function = "pcie";
120 nvidia,pins = "hdint";
121 nvidia,function = "hdmi";
124 nvidia,pins = "i2cp";
125 nvidia,function = "i2cp";
128 nvidia,pins = "irrx", "irtx";
129 nvidia,function = "uartb";
132 nvidia,pins = "kbca", "kbcb", "kbcc", "kbcd",
134 nvidia,function = "kbc";
137 nvidia,pins = "lcsn", "ld0", "ld1", "ld2",
138 "ld3", "ld4", "ld5", "ld6", "ld7",
139 "ld8", "ld9", "ld10", "ld11", "ld12",
140 "ld13", "ld14", "ld15", "ld16", "ld17",
141 "ldc", "ldi", "lhp0", "lhp1", "lhp2",
142 "lhs", "lm0", "lm1", "lpp", "lpw0",
143 "lpw1", "lpw2", "lsc0", "lsc1", "lsck",
144 "lsda", "lsdi", "lspi", "lvp0", "lvp1",
146 nvidia,function = "displaya";
149 nvidia,pins = "owc", "uac";
150 nvidia,function = "rsvd2";
154 nvidia,function = "pwr_on";
158 nvidia,function = "i2c1";
161 nvidia,pins = "sdb", "sdc", "sdd";
162 nvidia,function = "pwm";
165 nvidia,pins = "sdio1";
166 nvidia,function = "sdio1";
169 nvidia,pins = "slxc", "slxd";
170 nvidia,function = "sdio3";
173 nvidia,pins = "spdi", "spdo";
174 nvidia,function = "spdif";
177 nvidia,pins = "spia", "spib", "spic";
178 nvidia,function = "spi2";
181 nvidia,pins = "spid", "spie", "spif";
182 nvidia,function = "spi1";
185 nvidia,pins = "spig", "spih";
186 nvidia,function = "spi2_alt";
189 nvidia,pins = "uaa", "uab", "uda";
190 nvidia,function = "ulpi";
194 nvidia,function = "irda";
197 nvidia,pins = "uca", "ucb";
198 nvidia,function = "uartc";
201 nvidia,pins = "ata", "atc", "atd", "ate",
202 "crtp", "dap2", "dap3", "dap4", "dta",
203 "dtb", "dtc", "dtd", "dte", "gmb",
204 "gme", "i2cp", "pta", "slxc", "slxd",
205 "spdi", "spdo", "uda";
206 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
207 nvidia,tristate = <TEGRA_PIN_ENABLE>;
210 nvidia,pins = "atb", "cdev1", "cdev2", "dap1",
211 "gma", "gmc", "gmd", "gpu", "gpu7",
212 "gpv", "sdio1", "slxa", "slxk", "uac";
213 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
214 nvidia,tristate = <TEGRA_PIN_DISABLE>;
217 nvidia,pins = "ck32", "ddrc", "pmca", "pmcb",
218 "pmcc", "pmcd", "pmce", "xm2c", "xm2d";
219 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
222 nvidia,pins = "csus", "spia", "spib",
224 nvidia,pull = <TEGRA_PIN_PULL_DOWN>;
225 nvidia,tristate = <TEGRA_PIN_ENABLE>;
228 nvidia,pins = "ddc", "dtf", "rm", "sdc", "sdd";
229 nvidia,pull = <TEGRA_PIN_PULL_UP>;
230 nvidia,tristate = <TEGRA_PIN_DISABLE>;
233 nvidia,pins = "hdint", "lcsn", "ldc", "lm1",
234 "lpw1", "lsc1", "lsck", "lsda", "lsdi",
236 nvidia,tristate = <TEGRA_PIN_ENABLE>;
239 nvidia,pins = "irrx", "irtx", "kbca", "kbcb",
240 "kbcc", "kbcd", "kbce", "kbcf", "owc",
241 "spic", "spie", "spig", "spih", "uaa",
242 "uab", "uad", "uca", "ucb";
243 nvidia,pull = <TEGRA_PIN_PULL_UP>;
244 nvidia,tristate = <TEGRA_PIN_ENABLE>;
247 nvidia,pins = "lc", "ls";
248 nvidia,pull = <TEGRA_PIN_PULL_UP>;
251 nvidia,pins = "ld0", "ld1", "ld2", "ld3", "ld4",
252 "ld5", "ld6", "ld7", "ld8", "ld9",
253 "ld10", "ld11", "ld12", "ld13", "ld14",
254 "ld15", "ld16", "ld17", "ldi", "lhp0",
255 "lhp1", "lhp2", "lhs", "lm0", "lpp",
256 "lpw0", "lpw2", "lsc0", "lspi", "lvp1",
258 nvidia,tristate = <TEGRA_PIN_DISABLE>;
261 nvidia,pins = "ld17_0", "ld19_18", "ld21_20",
263 nvidia,pull = <TEGRA_PIN_PULL_DOWN>;
266 nvidia,pins = "spif";
267 nvidia,pull = <TEGRA_PIN_PULL_DOWN>;
268 nvidia,tristate = <TEGRA_PIN_DISABLE>;
281 dvi_ddc: i2c@7000c000 {
283 clock-frequency = <100000>;
288 spi-max-frequency = <48000000>;
290 compatible = "winbond,w25q80bl";
292 spi-max-frequency = <48000000>;
296 hdmi_ddc: i2c@7000c400 {
298 clock-frequency = <100000>;
303 clock-frequency = <400000>;
306 compatible = "ti,tlv320aic23";
311 compatible = "emmicro,em3027";
317 nvidia,suspend-mode = <1>;
318 nvidia,cpu-pwr-good-time = <5000>;
319 nvidia,cpu-pwr-off-time = <5000>;
320 nvidia,core-pwr-good-time = <3845 3845>;
321 nvidia,core-pwr-off-time = <3875>;
322 nvidia,sys-clock-req-active-high;
328 avdd-pex-supply = <&pci_vdd_reg>;
329 vdd-pex-supply = <&pci_vdd_reg>;
330 avdd-pex-pll-supply = <&pci_vdd_reg>;
331 avdd-plle-supply = <&pci_vdd_reg>;
332 vddio-pex-clk-supply = <&pci_clk_reg>;
345 vbus-supply = <&vbus_reg>;
350 nvidia,phy-reset-gpio = <&gpio TEGRA_GPIO(V, 0)
356 nvidia,phy-reset-gpio = <&gpio TEGRA_GPIO(V, 0)
376 cd-gpios = <&gpio TEGRA_GPIO(P, 1) GPIO_ACTIVE_LOW>;
377 wp-gpios = <&gpio TEGRA_GPIO(P, 2) GPIO_ACTIVE_HIGH>;
382 compatible = "simple-bus";
383 #address-cells = <1>;
387 compatible = "fixed-clock";
390 clock-frequency = <32768>;
395 compatible = "gpio-keys";
399 gpios = <&gpio TEGRA_GPIO(X, 6) GPIO_ACTIVE_LOW>;
400 linux,code = <KEY_POWER>;
406 compatible = "gpio-poweroff";
407 gpios = <&gpio TEGRA_GPIO(X, 7) GPIO_ACTIVE_LOW>;
411 compatible = "simple-bus";
412 #address-cells = <1>;
415 hdmi_vdd_reg: regulator@0 {
416 compatible = "regulator-fixed";
418 regulator-name = "avdd_hdmi";
419 regulator-min-microvolt = <3300000>;
420 regulator-max-microvolt = <3300000>;
424 hdmi_pll_reg: regulator@1 {
425 compatible = "regulator-fixed";
427 regulator-name = "avdd_hdmi_pll";
428 regulator-min-microvolt = <1800000>;
429 regulator-max-microvolt = <1800000>;
433 vbus_reg: regulator@2 {
434 compatible = "regulator-fixed";
436 regulator-name = "usb1_vbus";
437 regulator-min-microvolt = <5000000>;
438 regulator-max-microvolt = <5000000>;
440 gpio = <&gpio TEGRA_GPIO(V, 2) 0>;
445 pci_clk_reg: regulator@3 {
446 compatible = "regulator-fixed";
448 regulator-name = "pci_clk";
449 regulator-min-microvolt = <3300000>;
450 regulator-max-microvolt = <3300000>;
454 pci_vdd_reg: regulator@4 {
455 compatible = "regulator-fixed";
457 regulator-name = "pci_vdd";
458 regulator-min-microvolt = <1050000>;
459 regulator-max-microvolt = <1050000>;
465 compatible = "nvidia,tegra-audio-trimslice";
466 nvidia,i2s-controller = <&tegra_i2s1>;
467 nvidia,audio-codec = <&codec>;
469 clocks = <&tegra_car TEGRA20_CLK_PLL_A>,
470 <&tegra_car TEGRA20_CLK_PLL_A_OUT0>,
471 <&tegra_car TEGRA20_CLK_CDEV1>;
472 clock-names = "pll_a", "pll_a_out0", "mclk";