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	i2c@7000c000 {
30		status = "disabled";
31	};
32
33	spi@7000c380 {
34		status = "okay";
35		spi-max-frequency = <25000000>;
36	};
37
38	i2c@7000c400 {
39		status = "disabled";
40	};
41
42	i2c@7000c500 {
43		status = "disabled";
44	};
45
46	i2c@7000d000 {
47		status = "disabled";
48	};
49
50	pcie-controller@80003000 {
51		status = "okay";
52
53		avdd-pex-supply = <&pci_vdd_reg>;
54		vdd-pex-supply = <&pci_vdd_reg>;
55		avdd-pex-pll-supply = <&pci_vdd_reg>;
56		avdd-plle-supply = <&pci_vdd_reg>;
57		vddio-pex-clk-supply = <&pci_clk_reg>;
58
59		pci@1,0 {
60			status = "okay";
61		};
62	};
63
64	usb@c5000000 {
65		nvidia,vbus-gpio = <&gpio TEGRA_GPIO(V, 2) GPIO_ACTIVE_HIGH>;
66	};
67
68	usb@c5004000 {
69		status = "disabled";
70	};
71
72	sdhci@c8000000 {
73		status = "okay";
74		bus-width = <4>;
75	};
76
77	sdhci@c8000600 {
78		status = "okay";
79		cd-gpios = <&gpio TEGRA_GPIO(P, 1) GPIO_ACTIVE_LOW>;
80		wp-gpios = <&gpio TEGRA_GPIO(P, 2) GPIO_ACTIVE_HIGH>;
81		bus-width = <4>;
82	};
83
84	regulators {
85		compatible = "simple-bus";
86		#address-cells = <1>;
87		#size-cells = <0>;
88
89		hdmi_vdd_reg: regulator@0 {
90			compatible = "regulator-fixed";
91			reg = <0>;
92			regulator-name = "avdd_hdmi";
93			regulator-min-microvolt = <3300000>;
94			regulator-max-microvolt = <3300000>;
95			regulator-always-on;
96		};
97
98		hdmi_pll_reg: regulator@1 {
99			compatible = "regulator-fixed";
100			reg = <1>;
101			regulator-name = "avdd_hdmi_pll";
102			regulator-min-microvolt = <1800000>;
103			regulator-max-microvolt = <1800000>;
104			regulator-always-on;
105		};
106
107		vbus_reg: regulator@2 {
108			compatible = "regulator-fixed";
109			reg = <2>;
110			regulator-name = "usb1_vbus";
111			regulator-min-microvolt = <5000000>;
112			regulator-max-microvolt = <5000000>;
113			enable-active-high;
114			gpio = <&gpio TEGRA_GPIO(V, 2) GPIO_ACTIVE_HIGH>;
115			regulator-always-on;
116			regulator-boot-on;
117		};
118
119		pci_clk_reg: regulator@3 {
120			compatible = "regulator-fixed";
121			reg = <3>;
122			regulator-name = "pci_clk";
123			regulator-min-microvolt = <3300000>;
124			regulator-max-microvolt = <3300000>;
125			regulator-always-on;
126		};
127
128		pci_vdd_reg: regulator@4 {
129			compatible = "regulator-fixed";
130			reg = <4>;
131			regulator-name = "pci_vdd";
132			regulator-min-microvolt = <1050000>;
133			regulator-max-microvolt = <1050000>;
134			regulator-always-on;
135		};
136	};
137
138};
139