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";
16 reg = <0x00000000 0x40000000>;
23 vdd-supply = <&hdmi_vdd_reg>;
24 pll-supply = <&hdmi_pll_reg>;
26 nvidia,ddc-i2c-bus = <&hdmi_ddc>;
27 nvidia,hpd-gpio = <&gpio TEGRA_GPIO(N, 7)
33 pinctrl-names = "default";
34 pinctrl-0 = <&state_default>;
36 state_default: pinmux {
39 nvidia,function = "ide";
42 nvidia,pins = "atb", "gma";
43 nvidia,function = "sdio4";
46 nvidia,pins = "atc", "gmb";
47 nvidia,function = "nand";
50 nvidia,pins = "atd", "ate", "gme", "pta";
51 nvidia,function = "gmi";
54 nvidia,pins = "cdev1";
55 nvidia,function = "plla_out";
58 nvidia,pins = "cdev2";
59 nvidia,function = "pllp_out4";
63 nvidia,function = "crt";
67 nvidia,function = "vi_sensor_clk";
71 nvidia,function = "dap1";
75 nvidia,function = "dap2";
79 nvidia,function = "dap3";
83 nvidia,function = "dap4";
87 nvidia,function = "i2c2";
90 nvidia,pins = "dta", "dtb", "dtc", "dtd", "dte";
91 nvidia,function = "vi";
95 nvidia,function = "i2c3";
98 nvidia,pins = "gmc", "gmd";
99 nvidia,function = "sflash";
103 nvidia,function = "uarta";
106 nvidia,pins = "gpu7";
107 nvidia,function = "rtck";
110 nvidia,pins = "gpv", "slxa", "slxk";
111 nvidia,function = "pcie";
114 nvidia,pins = "hdint";
115 nvidia,function = "hdmi";
118 nvidia,pins = "i2cp";
119 nvidia,function = "i2cp";
122 nvidia,pins = "irrx", "irtx";
123 nvidia,function = "uartb";
126 nvidia,pins = "kbca", "kbcb", "kbcc", "kbcd",
128 nvidia,function = "kbc";
131 nvidia,pins = "lcsn", "ld0", "ld1", "ld2",
132 "ld3", "ld4", "ld5", "ld6", "ld7",
133 "ld8", "ld9", "ld10", "ld11", "ld12",
134 "ld13", "ld14", "ld15", "ld16", "ld17",
135 "ldc", "ldi", "lhp0", "lhp1", "lhp2",
136 "lhs", "lm0", "lm1", "lpp", "lpw0",
137 "lpw1", "lpw2", "lsc0", "lsc1", "lsck",
138 "lsda", "lsdi", "lspi", "lvp0", "lvp1",
140 nvidia,function = "displaya";
143 nvidia,pins = "owc", "uac";
144 nvidia,function = "rsvd2";
148 nvidia,function = "pwr_on";
152 nvidia,function = "i2c1";
155 nvidia,pins = "sdb", "sdc", "sdd";
156 nvidia,function = "pwm";
159 nvidia,pins = "sdio1";
160 nvidia,function = "sdio1";
163 nvidia,pins = "slxc", "slxd";
164 nvidia,function = "sdio3";
167 nvidia,pins = "spdi", "spdo";
168 nvidia,function = "spdif";
171 nvidia,pins = "spia", "spib", "spic";
172 nvidia,function = "spi2";
175 nvidia,pins = "spid", "spie", "spif";
176 nvidia,function = "spi1";
179 nvidia,pins = "spig", "spih";
180 nvidia,function = "spi2_alt";
183 nvidia,pins = "uaa", "uab", "uda";
184 nvidia,function = "ulpi";
188 nvidia,function = "irda";
191 nvidia,pins = "uca", "ucb";
192 nvidia,function = "uartc";
195 nvidia,pins = "ata", "atc", "atd", "ate",
196 "crtp", "dap2", "dap3", "dap4", "dta",
197 "dtb", "dtc", "dtd", "dte", "gmb",
198 "gme", "i2cp", "pta", "slxc", "slxd",
199 "spdi", "spdo", "uda";
200 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
201 nvidia,tristate = <TEGRA_PIN_ENABLE>;
204 nvidia,pins = "atb", "cdev1", "cdev2", "dap1",
205 "gma", "gmc", "gmd", "gpu", "gpu7",
206 "gpv", "sdio1", "slxa", "slxk", "uac";
207 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
208 nvidia,tristate = <TEGRA_PIN_DISABLE>;
211 nvidia,pins = "ck32", "ddrc", "pmca", "pmcb",
212 "pmcc", "pmcd", "pmce", "xm2c", "xm2d";
213 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
216 nvidia,pins = "csus", "spia", "spib",
218 nvidia,pull = <TEGRA_PIN_PULL_DOWN>;
219 nvidia,tristate = <TEGRA_PIN_ENABLE>;
222 nvidia,pins = "ddc", "dtf", "rm", "sdc", "sdd";
223 nvidia,pull = <TEGRA_PIN_PULL_UP>;
224 nvidia,tristate = <TEGRA_PIN_DISABLE>;
227 nvidia,pins = "hdint", "lcsn", "ldc", "lm1",
228 "lpw1", "lsc1", "lsck", "lsda", "lsdi",
230 nvidia,tristate = <TEGRA_PIN_ENABLE>;
233 nvidia,pins = "irrx", "irtx", "kbca", "kbcb",
234 "kbcc", "kbcd", "kbce", "kbcf", "owc",
235 "spic", "spie", "spig", "spih", "uaa",
236 "uab", "uad", "uca", "ucb";
237 nvidia,pull = <TEGRA_PIN_PULL_UP>;
238 nvidia,tristate = <TEGRA_PIN_ENABLE>;
241 nvidia,pins = "lc", "ls";
242 nvidia,pull = <TEGRA_PIN_PULL_UP>;
245 nvidia,pins = "ld0", "ld1", "ld2", "ld3", "ld4",
246 "ld5", "ld6", "ld7", "ld8", "ld9",
247 "ld10", "ld11", "ld12", "ld13", "ld14",
248 "ld15", "ld16", "ld17", "ldi", "lhp0",
249 "lhp1", "lhp2", "lhs", "lm0", "lpp",
250 "lpw0", "lpw2", "lsc0", "lspi", "lvp1",
252 nvidia,tristate = <TEGRA_PIN_DISABLE>;
255 nvidia,pins = "ld17_0", "ld19_18", "ld21_20",
257 nvidia,pull = <TEGRA_PIN_PULL_DOWN>;
260 nvidia,pins = "spif";
261 nvidia,pull = <TEGRA_PIN_PULL_DOWN>;
262 nvidia,tristate = <TEGRA_PIN_DISABLE>;
275 dvi_ddc: i2c@7000c000 {
277 clock-frequency = <100000>;
282 spi-max-frequency = <48000000>;
284 compatible = "winbond,w25q80bl";
286 spi-max-frequency = <48000000>;
290 hdmi_ddc: i2c@7000c400 {
292 clock-frequency = <100000>;
297 clock-frequency = <400000>;
300 compatible = "ti,tlv320aic23";
305 compatible = "emmicro,em3027";
311 nvidia,suspend-mode = <1>;
312 nvidia,cpu-pwr-good-time = <5000>;
313 nvidia,cpu-pwr-off-time = <5000>;
314 nvidia,core-pwr-good-time = <3845 3845>;
315 nvidia,core-pwr-off-time = <3875>;
316 nvidia,sys-clock-req-active-high;
319 pcie-controller@80003000 {
321 pex-clk-supply = <&pci_clk_reg>;
322 vdd-supply = <&pci_vdd_reg>;
335 vbus-supply = <&vbus_reg>;
340 nvidia,phy-reset-gpio = <&gpio TEGRA_GPIO(V, 0)
346 nvidia,phy-reset-gpio = <&gpio TEGRA_GPIO(V, 0)
365 cd-gpios = <&gpio TEGRA_GPIO(P, 1) GPIO_ACTIVE_LOW>;
366 wp-gpios = <&gpio TEGRA_GPIO(P, 2) GPIO_ACTIVE_HIGH>;
371 compatible = "simple-bus";
372 #address-cells = <1>;
376 compatible = "fixed-clock";
379 clock-frequency = <32768>;
384 compatible = "gpio-keys";
388 gpios = <&gpio TEGRA_GPIO(X, 6) GPIO_ACTIVE_LOW>;
389 linux,code = <KEY_POWER>;
395 compatible = "gpio-poweroff";
396 gpios = <&gpio TEGRA_GPIO(X, 7) GPIO_ACTIVE_LOW>;
400 compatible = "simple-bus";
401 #address-cells = <1>;
404 hdmi_vdd_reg: regulator@0 {
405 compatible = "regulator-fixed";
407 regulator-name = "avdd_hdmi";
408 regulator-min-microvolt = <3300000>;
409 regulator-max-microvolt = <3300000>;
413 hdmi_pll_reg: regulator@1 {
414 compatible = "regulator-fixed";
416 regulator-name = "avdd_hdmi_pll";
417 regulator-min-microvolt = <1800000>;
418 regulator-max-microvolt = <1800000>;
422 vbus_reg: regulator@2 {
423 compatible = "regulator-fixed";
425 regulator-name = "usb1_vbus";
426 regulator-min-microvolt = <5000000>;
427 regulator-max-microvolt = <5000000>;
429 gpio = <&gpio TEGRA_GPIO(V, 2) 0>;
434 pci_clk_reg: regulator@3 {
435 compatible = "regulator-fixed";
437 regulator-name = "pci_clk";
438 regulator-min-microvolt = <3300000>;
439 regulator-max-microvolt = <3300000>;
443 pci_vdd_reg: regulator@4 {
444 compatible = "regulator-fixed";
446 regulator-name = "pci_vdd";
447 regulator-min-microvolt = <1050000>;
448 regulator-max-microvolt = <1050000>;
454 compatible = "nvidia,tegra-audio-trimslice";
455 nvidia,i2s-controller = <&tegra_i2s1>;
456 nvidia,audio-codec = <&codec>;
458 clocks = <&tegra_car TEGRA20_CLK_PLL_A>,
459 <&tegra_car TEGRA20_CLK_PLL_A_OUT0>,
460 <&tegra_car TEGRA20_CLK_CDEV1>;
461 clock-names = "pll_a", "pll_a_out0", "mclk";