1 // SPDX-License-Identifier: GPL-2.0
4 #include <dt-bindings/input/input.h>
5 #include "tegra20.dtsi"
6 #include "tegra20-cpu-opp.dtsi"
9 model = "Compulab TrimSlice board";
10 compatible = "compulab,trimslice", "nvidia,tegra20";
13 rtc0 = "/i2c@7000c500/rtc@56";
14 rtc1 = "/rtc@7000e000";
19 stdout-path = "serial0:115200n8";
23 reg = <0x00000000 0x40000000>;
30 vdd-supply = <&hdmi_vdd_reg>;
31 pll-supply = <&hdmi_pll_reg>;
33 nvidia,ddc-i2c-bus = <&hdmi_ddc>;
34 nvidia,hpd-gpio = <&gpio TEGRA_GPIO(N, 7)
40 pinctrl-names = "default";
41 pinctrl-0 = <&state_default>;
43 state_default: pinmux {
46 nvidia,function = "ide";
49 nvidia,pins = "atb", "gma";
50 nvidia,function = "sdio4";
53 nvidia,pins = "atc", "gmb";
54 nvidia,function = "nand";
57 nvidia,pins = "atd", "ate", "gme", "pta";
58 nvidia,function = "gmi";
61 nvidia,pins = "cdev1";
62 nvidia,function = "plla_out";
65 nvidia,pins = "cdev2";
66 nvidia,function = "pllp_out4";
70 nvidia,function = "crt";
74 nvidia,function = "vi_sensor_clk";
78 nvidia,function = "dap1";
82 nvidia,function = "dap2";
86 nvidia,function = "dap3";
90 nvidia,function = "dap4";
94 nvidia,function = "i2c2";
97 nvidia,pins = "dta", "dtb", "dtc", "dtd", "dte";
98 nvidia,function = "vi";
102 nvidia,function = "i2c3";
105 nvidia,pins = "gmc", "gmd";
106 nvidia,function = "sflash";
110 nvidia,function = "uarta";
113 nvidia,pins = "gpu7";
114 nvidia,function = "rtck";
117 nvidia,pins = "gpv", "slxa", "slxk";
118 nvidia,function = "pcie";
121 nvidia,pins = "hdint";
122 nvidia,function = "hdmi";
125 nvidia,pins = "i2cp";
126 nvidia,function = "i2cp";
129 nvidia,pins = "irrx", "irtx";
130 nvidia,function = "uartb";
133 nvidia,pins = "kbca", "kbcb", "kbcc", "kbcd",
135 nvidia,function = "kbc";
138 nvidia,pins = "lcsn", "ld0", "ld1", "ld2",
139 "ld3", "ld4", "ld5", "ld6", "ld7",
140 "ld8", "ld9", "ld10", "ld11", "ld12",
141 "ld13", "ld14", "ld15", "ld16", "ld17",
142 "ldc", "ldi", "lhp0", "lhp1", "lhp2",
143 "lhs", "lm0", "lm1", "lpp", "lpw0",
144 "lpw1", "lpw2", "lsc0", "lsc1", "lsck",
145 "lsda", "lsdi", "lspi", "lvp0", "lvp1",
147 nvidia,function = "displaya";
150 nvidia,pins = "owc", "uac";
151 nvidia,function = "rsvd2";
155 nvidia,function = "pwr_on";
159 nvidia,function = "i2c1";
162 nvidia,pins = "sdb", "sdc", "sdd";
163 nvidia,function = "pwm";
166 nvidia,pins = "sdio1";
167 nvidia,function = "sdio1";
170 nvidia,pins = "slxc", "slxd";
171 nvidia,function = "sdio3";
174 nvidia,pins = "spdi", "spdo";
175 nvidia,function = "spdif";
178 nvidia,pins = "spia", "spib", "spic";
179 nvidia,function = "spi2";
182 nvidia,pins = "spid", "spie", "spif";
183 nvidia,function = "spi1";
186 nvidia,pins = "spig", "spih";
187 nvidia,function = "spi2_alt";
190 nvidia,pins = "uaa", "uab", "uda";
191 nvidia,function = "ulpi";
195 nvidia,function = "irda";
198 nvidia,pins = "uca", "ucb";
199 nvidia,function = "uartc";
202 nvidia,pins = "ata", "atc", "atd", "ate",
203 "crtp", "dap2", "dap3", "dap4", "dta",
204 "dtb", "dtc", "dtd", "dte", "gmb",
205 "gme", "i2cp", "pta", "slxc", "slxd",
206 "spdi", "spdo", "uda";
207 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
208 nvidia,tristate = <TEGRA_PIN_ENABLE>;
211 nvidia,pins = "atb", "cdev1", "cdev2", "dap1",
212 "gma", "gmc", "gmd", "gpu", "gpu7",
213 "gpv", "sdio1", "slxa", "slxk", "uac";
214 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
215 nvidia,tristate = <TEGRA_PIN_DISABLE>;
218 nvidia,pins = "ck32", "ddrc", "pmca", "pmcb",
219 "pmcc", "pmcd", "pmce", "xm2c", "xm2d";
220 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
223 nvidia,pins = "csus", "spia", "spib",
225 nvidia,pull = <TEGRA_PIN_PULL_DOWN>;
226 nvidia,tristate = <TEGRA_PIN_ENABLE>;
229 nvidia,pins = "ddc", "dtf", "rm", "sdc", "sdd";
230 nvidia,pull = <TEGRA_PIN_PULL_UP>;
231 nvidia,tristate = <TEGRA_PIN_DISABLE>;
234 nvidia,pins = "hdint", "lcsn", "ldc", "lm1",
235 "lpw1", "lsc1", "lsck", "lsda", "lsdi",
237 nvidia,tristate = <TEGRA_PIN_ENABLE>;
240 nvidia,pins = "irrx", "irtx", "kbca", "kbcb",
241 "kbcc", "kbcd", "kbce", "kbcf", "owc",
242 "spic", "spie", "spig", "spih", "uaa",
243 "uab", "uad", "uca", "ucb";
244 nvidia,pull = <TEGRA_PIN_PULL_UP>;
245 nvidia,tristate = <TEGRA_PIN_ENABLE>;
248 nvidia,pins = "lc", "ls";
249 nvidia,pull = <TEGRA_PIN_PULL_UP>;
252 nvidia,pins = "ld0", "ld1", "ld2", "ld3", "ld4",
253 "ld5", "ld6", "ld7", "ld8", "ld9",
254 "ld10", "ld11", "ld12", "ld13", "ld14",
255 "ld15", "ld16", "ld17", "ldi", "lhp0",
256 "lhp1", "lhp2", "lhs", "lm0", "lpp",
257 "lpw0", "lpw2", "lsc0", "lspi", "lvp1",
259 nvidia,tristate = <TEGRA_PIN_DISABLE>;
262 nvidia,pins = "ld17_0", "ld19_18", "ld21_20",
264 nvidia,pull = <TEGRA_PIN_PULL_DOWN>;
267 nvidia,pins = "spif";
268 nvidia,pull = <TEGRA_PIN_PULL_DOWN>;
269 nvidia,tristate = <TEGRA_PIN_DISABLE>;
282 dvi_ddc: i2c@7000c000 {
284 clock-frequency = <100000>;
289 spi-max-frequency = <48000000>;
291 compatible = "winbond,w25q80bl", "jedec,spi-nor";
293 spi-max-frequency = <48000000>;
297 hdmi_ddc: i2c@7000c400 {
299 clock-frequency = <100000>;
304 clock-frequency = <400000>;
307 compatible = "ti,tlv320aic23";
312 compatible = "emmicro,em3027";
318 nvidia,suspend-mode = <1>;
319 nvidia,cpu-pwr-good-time = <5000>;
320 nvidia,cpu-pwr-off-time = <5000>;
321 nvidia,core-pwr-good-time = <3845 3845>;
322 nvidia,core-pwr-off-time = <3875>;
323 nvidia,sys-clock-req-active-high;
329 avdd-pex-supply = <&pci_vdd_reg>;
330 vdd-pex-supply = <&pci_vdd_reg>;
331 avdd-pex-pll-supply = <&pci_vdd_reg>;
332 avdd-plle-supply = <&pci_vdd_reg>;
333 vddio-pex-clk-supply = <&pci_clk_reg>;
346 vbus-supply = <&vbus_reg>;
351 nvidia,phy-reset-gpio = <&gpio TEGRA_GPIO(V, 0)
357 nvidia,phy-reset-gpio = <&gpio TEGRA_GPIO(V, 0)
377 cd-gpios = <&gpio TEGRA_GPIO(P, 1) GPIO_ACTIVE_LOW>;
378 wp-gpios = <&gpio TEGRA_GPIO(P, 2) GPIO_ACTIVE_HIGH>;
383 compatible = "simple-bus";
384 #address-cells = <1>;
388 compatible = "fixed-clock";
391 clock-frequency = <32768>;
396 compatible = "gpio-keys";
400 gpios = <&gpio TEGRA_GPIO(X, 6) GPIO_ACTIVE_LOW>;
401 linux,code = <KEY_POWER>;
407 compatible = "gpio-poweroff";
408 gpios = <&gpio TEGRA_GPIO(X, 7) GPIO_ACTIVE_LOW>;
412 compatible = "simple-bus";
413 #address-cells = <1>;
416 hdmi_vdd_reg: regulator@0 {
417 compatible = "regulator-fixed";
419 regulator-name = "avdd_hdmi";
420 regulator-min-microvolt = <3300000>;
421 regulator-max-microvolt = <3300000>;
425 hdmi_pll_reg: regulator@1 {
426 compatible = "regulator-fixed";
428 regulator-name = "avdd_hdmi_pll";
429 regulator-min-microvolt = <1800000>;
430 regulator-max-microvolt = <1800000>;
434 vbus_reg: regulator@2 {
435 compatible = "regulator-fixed";
437 regulator-name = "usb1_vbus";
438 regulator-min-microvolt = <5000000>;
439 regulator-max-microvolt = <5000000>;
441 gpio = <&gpio TEGRA_GPIO(V, 2) 0>;
446 pci_clk_reg: regulator@3 {
447 compatible = "regulator-fixed";
449 regulator-name = "pci_clk";
450 regulator-min-microvolt = <3300000>;
451 regulator-max-microvolt = <3300000>;
455 pci_vdd_reg: regulator@4 {
456 compatible = "regulator-fixed";
458 regulator-name = "pci_vdd";
459 regulator-min-microvolt = <1050000>;
460 regulator-max-microvolt = <1050000>;
466 compatible = "nvidia,tegra-audio-trimslice";
467 nvidia,i2s-controller = <&tegra_i2s1>;
468 nvidia,audio-codec = <&codec>;
470 clocks = <&tegra_car TEGRA20_CLK_PLL_A>,
471 <&tegra_car TEGRA20_CLK_PLL_A_OUT0>,
472 <&tegra_car TEGRA20_CLK_CDEV1>;
473 clock-names = "pll_a", "pll_a_out0", "mclk";
478 operating-points-v2 = <&cpu0_opp_table>;
482 operating-points-v2 = <&cpu0_opp_table>;