1/dts-v1/;
2
3#include "tegra20.dtsi"
4
5/ {
6	model = "Compulab TrimSlice board";
7	compatible = "compulab,trimslice", "nvidia,tegra20";
8
9	chosen {
10		stdout-path = &uarta;
11	};
12
13	aliases {
14		usb0 = "/usb@c5008000";
15		usb1 = "/usb@c5000000";
16		sdhci0 = "/sdhci@c8000600";
17		sdhci1 = "/sdhci@c8000000";
18		spi0 = "/spi@7000c380";
19	};
20
21	memory {
22		reg = <0x00000000 0x40000000>;
23	};
24
25	serial@70006000 {
26		clock-frequency = <216000000>;
27	};
28
29	spi@7000c380 {
30		status = "okay";
31		spi-max-frequency = <25000000>;
32	};
33
34	pcie-controller@80003000 {
35		status = "okay";
36
37		avdd-pex-supply = <&pci_vdd_reg>;
38		vdd-pex-supply = <&pci_vdd_reg>;
39		avdd-pex-pll-supply = <&pci_vdd_reg>;
40		avdd-plle-supply = <&pci_vdd_reg>;
41		vddio-pex-clk-supply = <&pci_clk_reg>;
42
43		pci@1,0 {
44			status = "okay";
45		};
46	};
47
48	usb@c5000000 {
49		status = "okay";
50		nvidia,vbus-gpio = <&gpio TEGRA_GPIO(V, 2) GPIO_ACTIVE_HIGH>;
51	};
52
53	sdhci@c8000000 {
54		status = "okay";
55		bus-width = <4>;
56	};
57
58	sdhci@c8000600 {
59		status = "okay";
60		cd-gpios = <&gpio TEGRA_GPIO(P, 1) GPIO_ACTIVE_LOW>;
61		wp-gpios = <&gpio TEGRA_GPIO(P, 2) GPIO_ACTIVE_HIGH>;
62		bus-width = <4>;
63	};
64
65	clocks {
66		compatible = "simple-bus";
67		#address-cells = <1>;
68		#size-cells = <0>;
69
70		clk32k_in: clock@0 {
71			compatible = "fixed-clock";
72			reg=<0>;
73			#clock-cells = <0>;
74			clock-frequency = <32768>;
75		};
76	};
77
78	regulators {
79		compatible = "simple-bus";
80		#address-cells = <1>;
81		#size-cells = <0>;
82
83		hdmi_vdd_reg: regulator@0 {
84			compatible = "regulator-fixed";
85			reg = <0>;
86			regulator-name = "avdd_hdmi";
87			regulator-min-microvolt = <3300000>;
88			regulator-max-microvolt = <3300000>;
89			regulator-always-on;
90		};
91
92		hdmi_pll_reg: regulator@1 {
93			compatible = "regulator-fixed";
94			reg = <1>;
95			regulator-name = "avdd_hdmi_pll";
96			regulator-min-microvolt = <1800000>;
97			regulator-max-microvolt = <1800000>;
98			regulator-always-on;
99		};
100
101		vbus_reg: regulator@2 {
102			compatible = "regulator-fixed";
103			reg = <2>;
104			regulator-name = "usb1_vbus";
105			regulator-min-microvolt = <5000000>;
106			regulator-max-microvolt = <5000000>;
107			enable-active-high;
108			gpio = <&gpio TEGRA_GPIO(V, 2) GPIO_ACTIVE_HIGH>;
109			regulator-always-on;
110			regulator-boot-on;
111		};
112
113		pci_clk_reg: regulator@3 {
114			compatible = "regulator-fixed";
115			reg = <3>;
116			regulator-name = "pci_clk";
117			regulator-min-microvolt = <3300000>;
118			regulator-max-microvolt = <3300000>;
119			regulator-always-on;
120		};
121
122		pci_vdd_reg: regulator@4 {
123			compatible = "regulator-fixed";
124			reg = <4>;
125			regulator-name = "pci_vdd";
126			regulator-min-microvolt = <1050000>;
127			regulator-max-microvolt = <1050000>;
128			regulator-always-on;
129		};
130	};
131
132};
133