1b2441318SGreg Kroah-Hartman// SPDX-License-Identifier: GPL-2.0
2742af7e7SThierry Reding#include <dt-bindings/clock/tegra210-car.h>
3742af7e7SThierry Reding#include <dt-bindings/gpio/tegra-gpio.h>
4742af7e7SThierry Reding#include <dt-bindings/memory/tegra210-mc.h>
5742af7e7SThierry Reding#include <dt-bindings/pinctrl/pinctrl-tegra.h>
66641af7eSAapo Vienamo#include <dt-bindings/pinctrl/pinctrl-tegra-io-pad.h>
72ceed593SJoseph Lo#include <dt-bindings/reset/tegra210-car.h>
8742af7e7SThierry Reding#include <dt-bindings/interrupt-controller/arm-gic.h>
9e2bed1ebSWei Ni#include <dt-bindings/thermal/tegra124-soctherm.h>
10742af7e7SThierry Reding
11742af7e7SThierry Reding/ {
12742af7e7SThierry Reding	compatible = "nvidia,tegra210";
13742af7e7SThierry Reding	interrupt-parent = <&lic>;
14742af7e7SThierry Reding	#address-cells = <2>;
15742af7e7SThierry Reding	#size-cells = <2>;
16742af7e7SThierry Reding
17475d99fcSRob Herring	pcie@1003000 {
18589a2d3fSThierry Reding		compatible = "nvidia,tegra210-pcie";
19589a2d3fSThierry Reding		device_type = "pci";
20589a2d3fSThierry Reding		reg = <0x0 0x01003000 0x0 0x00000800   /* PADS registers */
21589a2d3fSThierry Reding		       0x0 0x01003800 0x0 0x00000800   /* AFI registers */
22589a2d3fSThierry Reding		       0x0 0x02000000 0x0 0x10000000>; /* configuration space */
23589a2d3fSThierry Reding		reg-names = "pads", "afi", "cs";
24589a2d3fSThierry Reding		interrupts = <GIC_SPI 98 IRQ_TYPE_LEVEL_HIGH>, /* controller interrupt */
25589a2d3fSThierry Reding			     <GIC_SPI 99 IRQ_TYPE_LEVEL_HIGH>; /* MSI interrupt */
26589a2d3fSThierry Reding		interrupt-names = "intr", "msi";
27589a2d3fSThierry Reding
28589a2d3fSThierry Reding		#interrupt-cells = <1>;
29589a2d3fSThierry Reding		interrupt-map-mask = <0 0 0 0>;
30589a2d3fSThierry Reding		interrupt-map = <0 0 0 0 &gic GIC_SPI 98 IRQ_TYPE_LEVEL_HIGH>;
31589a2d3fSThierry Reding
32589a2d3fSThierry Reding		bus-range = <0x00 0xff>;
33589a2d3fSThierry Reding		#address-cells = <3>;
34589a2d3fSThierry Reding		#size-cells = <2>;
35589a2d3fSThierry Reding
36589a2d3fSThierry Reding		ranges = <0x82000000 0 0x01000000 0x0 0x01000000 0 0x00001000   /* port 0 configuration space */
37589a2d3fSThierry Reding			  0x82000000 0 0x01001000 0x0 0x01001000 0 0x00001000   /* port 1 configuration space */
38589a2d3fSThierry Reding			  0x81000000 0 0x0        0x0 0x12000000 0 0x00010000   /* downstream I/O (64 KiB) */
39589a2d3fSThierry Reding			  0x82000000 0 0x13000000 0x0 0x13000000 0 0x0d000000   /* non-prefetchable memory (208 MiB) */
40589a2d3fSThierry Reding			  0xc2000000 0 0x20000000 0x0 0x20000000 0 0x20000000>; /* prefetchable memory (512 MiB) */
41589a2d3fSThierry Reding
42589a2d3fSThierry Reding		clocks = <&tegra_car TEGRA210_CLK_PCIE>,
43589a2d3fSThierry Reding			 <&tegra_car TEGRA210_CLK_AFI>,
44589a2d3fSThierry Reding			 <&tegra_car TEGRA210_CLK_PLL_E>,
45589a2d3fSThierry Reding			 <&tegra_car TEGRA210_CLK_CML0>;
46589a2d3fSThierry Reding		clock-names = "pex", "afi", "pll_e", "cml";
47589a2d3fSThierry Reding		resets = <&tegra_car 70>,
48589a2d3fSThierry Reding			 <&tegra_car 72>,
49589a2d3fSThierry Reding			 <&tegra_car 74>;
50589a2d3fSThierry Reding		reset-names = "pex", "afi", "pcie_x";
51871be845SManikanta Maddireddy
52871be845SManikanta Maddireddy		pinctrl-names = "default", "idle";
53871be845SManikanta Maddireddy		pinctrl-0 = <&pex_dpd_disable>;
54871be845SManikanta Maddireddy		pinctrl-1 = <&pex_dpd_enable>;
55871be845SManikanta Maddireddy
56589a2d3fSThierry Reding		status = "disabled";
57589a2d3fSThierry Reding
58589a2d3fSThierry Reding		pci@1,0 {
59589a2d3fSThierry Reding			device_type = "pci";
60589a2d3fSThierry Reding			assigned-addresses = <0x82000800 0 0x01000000 0 0x1000>;
61589a2d3fSThierry Reding			reg = <0x000800 0 0 0 0>;
62475d99fcSRob Herring			bus-range = <0x00 0xff>;
63589a2d3fSThierry Reding			status = "disabled";
64589a2d3fSThierry Reding
65589a2d3fSThierry Reding			#address-cells = <3>;
66589a2d3fSThierry Reding			#size-cells = <2>;
67589a2d3fSThierry Reding			ranges;
68589a2d3fSThierry Reding
69589a2d3fSThierry Reding			nvidia,num-lanes = <4>;
70589a2d3fSThierry Reding		};
71589a2d3fSThierry Reding
72589a2d3fSThierry Reding		pci@2,0 {
73589a2d3fSThierry Reding			device_type = "pci";
74589a2d3fSThierry Reding			assigned-addresses = <0x82001000 0 0x01001000 0 0x1000>;
75589a2d3fSThierry Reding			reg = <0x001000 0 0 0 0>;
76475d99fcSRob Herring			bus-range = <0x00 0xff>;
77589a2d3fSThierry Reding			status = "disabled";
78589a2d3fSThierry Reding
79589a2d3fSThierry Reding			#address-cells = <3>;
80589a2d3fSThierry Reding			#size-cells = <2>;
81589a2d3fSThierry Reding			ranges;
82589a2d3fSThierry Reding
83589a2d3fSThierry Reding			nvidia,num-lanes = <1>;
84589a2d3fSThierry Reding		};
85589a2d3fSThierry Reding	};
86589a2d3fSThierry Reding
87be70771dSThierry Reding	host1x@50000000 {
88742af7e7SThierry Reding		compatible = "nvidia,tegra210-host1x", "simple-bus";
89742af7e7SThierry Reding		reg = <0x0 0x50000000 0x0 0x00034000>;
90742af7e7SThierry Reding		interrupts = <GIC_SPI 65 IRQ_TYPE_LEVEL_HIGH>, /* syncpt */
91742af7e7SThierry Reding			     <GIC_SPI 67 IRQ_TYPE_LEVEL_HIGH>; /* general */
92742af7e7SThierry Reding		clocks = <&tegra_car TEGRA210_CLK_HOST1X>;
93742af7e7SThierry Reding		clock-names = "host1x";
94742af7e7SThierry Reding		resets = <&tegra_car 28>;
95742af7e7SThierry Reding		reset-names = "host1x";
96742af7e7SThierry Reding
97742af7e7SThierry Reding		#address-cells = <2>;
98742af7e7SThierry Reding		#size-cells = <2>;
99742af7e7SThierry Reding
100742af7e7SThierry Reding		ranges = <0x0 0x54000000 0x0 0x54000000 0x0 0x01000000>;
101742af7e7SThierry Reding
102116503a6SMikko Perttunen		iommus = <&mc TEGRA_SWGROUP_HC>;
103116503a6SMikko Perttunen
104be70771dSThierry Reding		dpaux1: dpaux@54040000 {
105742af7e7SThierry Reding			compatible = "nvidia,tegra210-dpaux";
106742af7e7SThierry Reding			reg = <0x0 0x54040000 0x0 0x00040000>;
107742af7e7SThierry Reding			interrupts = <GIC_SPI 11 IRQ_TYPE_LEVEL_HIGH>;
108742af7e7SThierry Reding			clocks = <&tegra_car TEGRA210_CLK_DPAUX1>,
109742af7e7SThierry Reding				 <&tegra_car TEGRA210_CLK_PLL_DP>;
110742af7e7SThierry Reding			clock-names = "dpaux", "parent";
111742af7e7SThierry Reding			resets = <&tegra_car 207>;
112742af7e7SThierry Reding			reset-names = "dpaux";
11396d1f078SJon Hunter			power-domains = <&pd_sor>;
114742af7e7SThierry Reding			status = "disabled";
11566b2d6e9SJon Hunter
11666b2d6e9SJon Hunter			state_dpaux1_aux: pinmux-aux {
11766b2d6e9SJon Hunter				groups = "dpaux-io";
11866b2d6e9SJon Hunter				function = "aux";
11966b2d6e9SJon Hunter			};
12066b2d6e9SJon Hunter
12166b2d6e9SJon Hunter			state_dpaux1_i2c: pinmux-i2c {
12266b2d6e9SJon Hunter				groups = "dpaux-io";
12366b2d6e9SJon Hunter				function = "i2c";
12466b2d6e9SJon Hunter			};
12566b2d6e9SJon Hunter
12666b2d6e9SJon Hunter			state_dpaux1_off: pinmux-off {
12766b2d6e9SJon Hunter				groups = "dpaux-io";
12866b2d6e9SJon Hunter				function = "off";
12966b2d6e9SJon Hunter			};
13066b2d6e9SJon Hunter
13166b2d6e9SJon Hunter			i2c-bus {
13266b2d6e9SJon Hunter				#address-cells = <1>;
13366b2d6e9SJon Hunter				#size-cells = <0>;
13466b2d6e9SJon Hunter			};
135742af7e7SThierry Reding		};
136742af7e7SThierry Reding
137be70771dSThierry Reding		vi@54080000 {
138742af7e7SThierry Reding			compatible = "nvidia,tegra210-vi";
139742af7e7SThierry Reding			reg = <0x0 0x54080000 0x0 0x00040000>;
140742af7e7SThierry Reding			interrupts = <GIC_SPI 69 IRQ_TYPE_LEVEL_HIGH>;
141742af7e7SThierry Reding			status = "disabled";
142742af7e7SThierry Reding		};
143742af7e7SThierry Reding
144be70771dSThierry Reding		tsec@54100000 {
145742af7e7SThierry Reding			compatible = "nvidia,tegra210-tsec";
146742af7e7SThierry Reding			reg = <0x0 0x54100000 0x0 0x00040000>;
147742af7e7SThierry Reding		};
148742af7e7SThierry Reding
149be70771dSThierry Reding		dc@54200000 {
150742af7e7SThierry Reding			compatible = "nvidia,tegra210-dc";
151742af7e7SThierry Reding			reg = <0x0 0x54200000 0x0 0x00040000>;
152742af7e7SThierry Reding			interrupts = <GIC_SPI 73 IRQ_TYPE_LEVEL_HIGH>;
153742af7e7SThierry Reding			clocks = <&tegra_car TEGRA210_CLK_DISP1>,
154742af7e7SThierry Reding				 <&tegra_car TEGRA210_CLK_PLL_P>;
155742af7e7SThierry Reding			clock-names = "dc", "parent";
156742af7e7SThierry Reding			resets = <&tegra_car 27>;
157742af7e7SThierry Reding			reset-names = "dc";
158742af7e7SThierry Reding
159742af7e7SThierry Reding			iommus = <&mc TEGRA_SWGROUP_DC>;
160742af7e7SThierry Reding
161742af7e7SThierry Reding			nvidia,head = <0>;
162742af7e7SThierry Reding		};
163742af7e7SThierry Reding
164be70771dSThierry Reding		dc@54240000 {
165742af7e7SThierry Reding			compatible = "nvidia,tegra210-dc";
166742af7e7SThierry Reding			reg = <0x0 0x54240000 0x0 0x00040000>;
167742af7e7SThierry Reding			interrupts = <GIC_SPI 74 IRQ_TYPE_LEVEL_HIGH>;
168742af7e7SThierry Reding			clocks = <&tegra_car TEGRA210_CLK_DISP2>,
169742af7e7SThierry Reding				 <&tegra_car TEGRA210_CLK_PLL_P>;
170742af7e7SThierry Reding			clock-names = "dc", "parent";
171742af7e7SThierry Reding			resets = <&tegra_car 26>;
172742af7e7SThierry Reding			reset-names = "dc";
173742af7e7SThierry Reding
174742af7e7SThierry Reding			iommus = <&mc TEGRA_SWGROUP_DCB>;
175742af7e7SThierry Reding
176742af7e7SThierry Reding			nvidia,head = <1>;
177742af7e7SThierry Reding		};
178742af7e7SThierry Reding
179be70771dSThierry Reding		dsi@54300000 {
180742af7e7SThierry Reding			compatible = "nvidia,tegra210-dsi";
181742af7e7SThierry Reding			reg = <0x0 0x54300000 0x0 0x00040000>;
182742af7e7SThierry Reding			clocks = <&tegra_car TEGRA210_CLK_DSIA>,
183742af7e7SThierry Reding				 <&tegra_car TEGRA210_CLK_DSIALP>,
184742af7e7SThierry Reding				 <&tegra_car TEGRA210_CLK_PLL_D_OUT0>;
185742af7e7SThierry Reding			clock-names = "dsi", "lp", "parent";
186742af7e7SThierry Reding			resets = <&tegra_car 48>;
187742af7e7SThierry Reding			reset-names = "dsi";
18896d1f078SJon Hunter			power-domains = <&pd_sor>;
189742af7e7SThierry Reding			nvidia,mipi-calibrate = <&mipi 0x0c0>; /* DSIA & DSIB pads */
190742af7e7SThierry Reding
191742af7e7SThierry Reding			status = "disabled";
192742af7e7SThierry Reding
193742af7e7SThierry Reding			#address-cells = <1>;
194742af7e7SThierry Reding			#size-cells = <0>;
195742af7e7SThierry Reding		};
196742af7e7SThierry Reding
197be70771dSThierry Reding		vic@54340000 {
198742af7e7SThierry Reding			compatible = "nvidia,tegra210-vic";
199742af7e7SThierry Reding			reg = <0x0 0x54340000 0x0 0x00040000>;
20024963d1bSMikko Perttunen			interrupts = <GIC_SPI 72 IRQ_TYPE_LEVEL_HIGH>;
20124963d1bSMikko Perttunen			clocks = <&tegra_car TEGRA210_CLK_VIC03>;
20224963d1bSMikko Perttunen			clock-names = "vic";
20324963d1bSMikko Perttunen			resets = <&tegra_car 178>;
20424963d1bSMikko Perttunen			reset-names = "vic";
20524963d1bSMikko Perttunen
20624963d1bSMikko Perttunen			iommus = <&mc TEGRA_SWGROUP_VIC>;
20724963d1bSMikko Perttunen			power-domains = <&pd_vic>;
208742af7e7SThierry Reding		};
209742af7e7SThierry Reding
210be70771dSThierry Reding		nvjpg@54380000 {
211742af7e7SThierry Reding			compatible = "nvidia,tegra210-nvjpg";
212742af7e7SThierry Reding			reg = <0x0 0x54380000 0x0 0x00040000>;
213742af7e7SThierry Reding			status = "disabled";
214742af7e7SThierry Reding		};
215742af7e7SThierry Reding
216be70771dSThierry Reding		dsi@54400000 {
217742af7e7SThierry Reding			compatible = "nvidia,tegra210-dsi";
218742af7e7SThierry Reding			reg = <0x0 0x54400000 0x0 0x00040000>;
219742af7e7SThierry Reding			clocks = <&tegra_car TEGRA210_CLK_DSIB>,
220742af7e7SThierry Reding				 <&tegra_car TEGRA210_CLK_DSIBLP>,
221742af7e7SThierry Reding				 <&tegra_car TEGRA210_CLK_PLL_D_OUT0>;
222742af7e7SThierry Reding			clock-names = "dsi", "lp", "parent";
223742af7e7SThierry Reding			resets = <&tegra_car 82>;
224742af7e7SThierry Reding			reset-names = "dsi";
22596d1f078SJon Hunter			power-domains = <&pd_sor>;
226742af7e7SThierry Reding			nvidia,mipi-calibrate = <&mipi 0x300>; /* DSIC & DSID pads */
227742af7e7SThierry Reding
228742af7e7SThierry Reding			status = "disabled";
229742af7e7SThierry Reding
230742af7e7SThierry Reding			#address-cells = <1>;
231742af7e7SThierry Reding			#size-cells = <0>;
232742af7e7SThierry Reding		};
233742af7e7SThierry Reding
234be70771dSThierry Reding		nvdec@54480000 {
235742af7e7SThierry Reding			compatible = "nvidia,tegra210-nvdec";
236742af7e7SThierry Reding			reg = <0x0 0x54480000 0x0 0x00040000>;
237742af7e7SThierry Reding			status = "disabled";
238742af7e7SThierry Reding		};
239742af7e7SThierry Reding
240be70771dSThierry Reding		nvenc@544c0000 {
241742af7e7SThierry Reding			compatible = "nvidia,tegra210-nvenc";
242742af7e7SThierry Reding			reg = <0x0 0x544c0000 0x0 0x00040000>;
243742af7e7SThierry Reding			status = "disabled";
244742af7e7SThierry Reding		};
245742af7e7SThierry Reding
246be70771dSThierry Reding		tsec@54500000 {
247742af7e7SThierry Reding			compatible = "nvidia,tegra210-tsec";
248742af7e7SThierry Reding			reg = <0x0 0x54500000 0x0 0x00040000>;
249742af7e7SThierry Reding			status = "disabled";
250742af7e7SThierry Reding		};
251742af7e7SThierry Reding
252be70771dSThierry Reding		sor@54540000 {
253742af7e7SThierry Reding			compatible = "nvidia,tegra210-sor";
254742af7e7SThierry Reding			reg = <0x0 0x54540000 0x0 0x00040000>;
255742af7e7SThierry Reding			interrupts = <GIC_SPI 76 IRQ_TYPE_LEVEL_HIGH>;
256742af7e7SThierry Reding			clocks = <&tegra_car TEGRA210_CLK_SOR0>,
257ed93a666SThierry Reding				 <&tegra_car TEGRA210_CLK_SOR0_OUT>,
258742af7e7SThierry Reding				 <&tegra_car TEGRA210_CLK_PLL_D_OUT0>,
259742af7e7SThierry Reding				 <&tegra_car TEGRA210_CLK_PLL_DP>,
260742af7e7SThierry Reding				 <&tegra_car TEGRA210_CLK_SOR_SAFE>;
261ed93a666SThierry Reding			clock-names = "sor", "out", "parent", "dp", "safe";
262742af7e7SThierry Reding			resets = <&tegra_car 182>;
263742af7e7SThierry Reding			reset-names = "sor";
26466b2d6e9SJon Hunter			pinctrl-0 = <&state_dpaux_aux>;
26566b2d6e9SJon Hunter			pinctrl-1 = <&state_dpaux_i2c>;
26666b2d6e9SJon Hunter			pinctrl-2 = <&state_dpaux_off>;
26766b2d6e9SJon Hunter			pinctrl-names = "aux", "i2c", "off";
26896d1f078SJon Hunter			power-domains = <&pd_sor>;
269742af7e7SThierry Reding			status = "disabled";
270742af7e7SThierry Reding		};
271742af7e7SThierry Reding
272be70771dSThierry Reding		sor@54580000 {
273742af7e7SThierry Reding			compatible = "nvidia,tegra210-sor1";
274742af7e7SThierry Reding			reg = <0x0 0x54580000 0x0 0x00040000>;
275742af7e7SThierry Reding			interrupts = <GIC_SPI 75 IRQ_TYPE_LEVEL_HIGH>;
276742af7e7SThierry Reding			clocks = <&tegra_car TEGRA210_CLK_SOR1>,
27750f5b841SThierry Reding				 <&tegra_car TEGRA210_CLK_SOR1_OUT>,
278742af7e7SThierry Reding				 <&tegra_car TEGRA210_CLK_PLL_D2_OUT0>,
279742af7e7SThierry Reding				 <&tegra_car TEGRA210_CLK_PLL_DP>,
280742af7e7SThierry Reding				 <&tegra_car TEGRA210_CLK_SOR_SAFE>;
28150f5b841SThierry Reding			clock-names = "sor", "out", "parent", "dp", "safe";
282742af7e7SThierry Reding			resets = <&tegra_car 183>;
283742af7e7SThierry Reding			reset-names = "sor";
28466b2d6e9SJon Hunter			pinctrl-0 = <&state_dpaux1_aux>;
28566b2d6e9SJon Hunter			pinctrl-1 = <&state_dpaux1_i2c>;
28666b2d6e9SJon Hunter			pinctrl-2 = <&state_dpaux1_off>;
28766b2d6e9SJon Hunter			pinctrl-names = "aux", "i2c", "off";
28896d1f078SJon Hunter			power-domains = <&pd_sor>;
289742af7e7SThierry Reding			status = "disabled";
290742af7e7SThierry Reding		};
291742af7e7SThierry Reding
292be70771dSThierry Reding		dpaux: dpaux@545c0000 {
293742af7e7SThierry Reding			compatible = "nvidia,tegra124-dpaux";
294742af7e7SThierry Reding			reg = <0x0 0x545c0000 0x0 0x00040000>;
295742af7e7SThierry Reding			interrupts = <GIC_SPI 159 IRQ_TYPE_LEVEL_HIGH>;
296742af7e7SThierry Reding			clocks = <&tegra_car TEGRA210_CLK_DPAUX>,
297742af7e7SThierry Reding				 <&tegra_car TEGRA210_CLK_PLL_DP>;
298742af7e7SThierry Reding			clock-names = "dpaux", "parent";
299742af7e7SThierry Reding			resets = <&tegra_car 181>;
300742af7e7SThierry Reding			reset-names = "dpaux";
30196d1f078SJon Hunter			power-domains = <&pd_sor>;
302742af7e7SThierry Reding			status = "disabled";
30366b2d6e9SJon Hunter
30466b2d6e9SJon Hunter			state_dpaux_aux: pinmux-aux {
30566b2d6e9SJon Hunter				groups = "dpaux-io";
30666b2d6e9SJon Hunter				function = "aux";
30766b2d6e9SJon Hunter			};
30866b2d6e9SJon Hunter
30966b2d6e9SJon Hunter			state_dpaux_i2c: pinmux-i2c {
31066b2d6e9SJon Hunter				groups = "dpaux-io";
31166b2d6e9SJon Hunter				function = "i2c";
31266b2d6e9SJon Hunter			};
31366b2d6e9SJon Hunter
31466b2d6e9SJon Hunter			state_dpaux_off: pinmux-off {
31566b2d6e9SJon Hunter				groups = "dpaux-io";
31666b2d6e9SJon Hunter				function = "off";
31766b2d6e9SJon Hunter			};
31866b2d6e9SJon Hunter
31966b2d6e9SJon Hunter			i2c-bus {
32066b2d6e9SJon Hunter				#address-cells = <1>;
32166b2d6e9SJon Hunter				#size-cells = <0>;
32266b2d6e9SJon Hunter			};
323742af7e7SThierry Reding		};
324742af7e7SThierry Reding
325be70771dSThierry Reding		isp@54600000 {
326742af7e7SThierry Reding			compatible = "nvidia,tegra210-isp";
327742af7e7SThierry Reding			reg = <0x0 0x54600000 0x0 0x00040000>;
328742af7e7SThierry Reding			interrupts = <GIC_SPI 71 IRQ_TYPE_LEVEL_HIGH>;
329742af7e7SThierry Reding			status = "disabled";
330742af7e7SThierry Reding		};
331742af7e7SThierry Reding
332be70771dSThierry Reding		isp@54680000 {
333742af7e7SThierry Reding			compatible = "nvidia,tegra210-isp";
334742af7e7SThierry Reding			reg = <0x0 0x54680000 0x0 0x00040000>;
335742af7e7SThierry Reding			interrupts = <GIC_SPI 70 IRQ_TYPE_LEVEL_HIGH>;
336742af7e7SThierry Reding			status = "disabled";
337742af7e7SThierry Reding		};
338742af7e7SThierry Reding
339be70771dSThierry Reding		i2c@546c0000 {
340742af7e7SThierry Reding			compatible = "nvidia,tegra210-i2c-vi";
341742af7e7SThierry Reding			reg = <0x0 0x546c0000 0x0 0x00040000>;
342742af7e7SThierry Reding			interrupts = <GIC_SPI 17 IRQ_TYPE_LEVEL_HIGH>;
343742af7e7SThierry Reding			status = "disabled";
344742af7e7SThierry Reding		};
345742af7e7SThierry Reding	};
346742af7e7SThierry Reding
347be70771dSThierry Reding	gic: interrupt-controller@50041000 {
348742af7e7SThierry Reding		compatible = "arm,gic-400";
349742af7e7SThierry Reding		#interrupt-cells = <3>;
350742af7e7SThierry Reding		interrupt-controller;
351742af7e7SThierry Reding		reg = <0x0 0x50041000 0x0 0x1000>,
352742af7e7SThierry Reding		      <0x0 0x50042000 0x0 0x2000>,
353742af7e7SThierry Reding		      <0x0 0x50044000 0x0 0x2000>,
354742af7e7SThierry Reding		      <0x0 0x50046000 0x0 0x2000>;
355742af7e7SThierry Reding		interrupts = <GIC_PPI 9
356742af7e7SThierry Reding			(GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>;
357742af7e7SThierry Reding		interrupt-parent = <&gic>;
358742af7e7SThierry Reding	};
359742af7e7SThierry Reding
360be70771dSThierry Reding	gpu@57000000 {
361742af7e7SThierry Reding		compatible = "nvidia,gm20b";
362742af7e7SThierry Reding		reg = <0x0 0x57000000 0x0 0x01000000>,
363742af7e7SThierry Reding		      <0x0 0x58000000 0x0 0x01000000>;
364742af7e7SThierry Reding		interrupts = <GIC_SPI 157 IRQ_TYPE_LEVEL_HIGH>,
365742af7e7SThierry Reding			     <GIC_SPI 158 IRQ_TYPE_LEVEL_HIGH>;
366742af7e7SThierry Reding		interrupt-names = "stall", "nonstall";
367742af7e7SThierry Reding		clocks = <&tegra_car TEGRA210_CLK_GPU>,
3684a0778e9SAlexandre Courbot			 <&tegra_car TEGRA210_CLK_PLL_P_OUT5>,
3694a0778e9SAlexandre Courbot			 <&tegra_car TEGRA210_CLK_PLL_G_REF>;
3704a0778e9SAlexandre Courbot		clock-names = "gpu", "pwr", "ref";
371742af7e7SThierry Reding		resets = <&tegra_car 184>;
372742af7e7SThierry Reding		reset-names = "gpu";
37330f949bcSAlexandre Courbot
37430f949bcSAlexandre Courbot		iommus = <&mc TEGRA_SWGROUP_GPU>;
37530f949bcSAlexandre Courbot
376742af7e7SThierry Reding		status = "disabled";
377742af7e7SThierry Reding	};
378742af7e7SThierry Reding
379be70771dSThierry Reding	lic: interrupt-controller@60004000 {
380742af7e7SThierry Reding		compatible = "nvidia,tegra210-ictlr";
381742af7e7SThierry Reding		reg = <0x0 0x60004000 0x0 0x40>, /* primary controller */
382742af7e7SThierry Reding		      <0x0 0x60004100 0x0 0x40>, /* secondary controller */
383742af7e7SThierry Reding		      <0x0 0x60004200 0x0 0x40>, /* tertiary controller */
384742af7e7SThierry Reding		      <0x0 0x60004300 0x0 0x40>, /* quaternary controller */
385742af7e7SThierry Reding		      <0x0 0x60004400 0x0 0x40>, /* quinary controller */
386742af7e7SThierry Reding		      <0x0 0x60004500 0x0 0x40>; /* senary controller */
387742af7e7SThierry Reding		interrupt-controller;
388742af7e7SThierry Reding		#interrupt-cells = <3>;
389742af7e7SThierry Reding		interrupt-parent = <&gic>;
390742af7e7SThierry Reding	};
391742af7e7SThierry Reding
392be70771dSThierry Reding	timer@60005000 {
393d9931a18SJoseph Lo		compatible = "nvidia,tegra210-timer";
394742af7e7SThierry Reding		reg = <0x0 0x60005000 0x0 0x400>;
395d9931a18SJoseph Lo		interrupts = <GIC_SPI 156 IRQ_TYPE_LEVEL_HIGH>,
396d9931a18SJoseph Lo			     <GIC_SPI 0 IRQ_TYPE_LEVEL_HIGH>,
397742af7e7SThierry Reding			     <GIC_SPI 1 IRQ_TYPE_LEVEL_HIGH>,
398742af7e7SThierry Reding			     <GIC_SPI 41 IRQ_TYPE_LEVEL_HIGH>,
399742af7e7SThierry Reding			     <GIC_SPI 42 IRQ_TYPE_LEVEL_HIGH>,
400742af7e7SThierry Reding			     <GIC_SPI 121 IRQ_TYPE_LEVEL_HIGH>,
401d9931a18SJoseph Lo			     <GIC_SPI 152 IRQ_TYPE_LEVEL_HIGH>,
402d9931a18SJoseph Lo			     <GIC_SPI 153 IRQ_TYPE_LEVEL_HIGH>,
403d9931a18SJoseph Lo			     <GIC_SPI 154 IRQ_TYPE_LEVEL_HIGH>,
404d9931a18SJoseph Lo			     <GIC_SPI 155 IRQ_TYPE_LEVEL_HIGH>,
405d9931a18SJoseph Lo			     <GIC_SPI 176 IRQ_TYPE_LEVEL_HIGH>,
406d9931a18SJoseph Lo			     <GIC_SPI 177 IRQ_TYPE_LEVEL_HIGH>,
407d9931a18SJoseph Lo			     <GIC_SPI 178 IRQ_TYPE_LEVEL_HIGH>,
408d9931a18SJoseph Lo			     <GIC_SPI 179 IRQ_TYPE_LEVEL_HIGH>;
409742af7e7SThierry Reding		clocks = <&tegra_car TEGRA210_CLK_TIMER>;
410742af7e7SThierry Reding		clock-names = "timer";
411742af7e7SThierry Reding	};
412742af7e7SThierry Reding
413be70771dSThierry Reding	tegra_car: clock@60006000 {
414742af7e7SThierry Reding		compatible = "nvidia,tegra210-car";
415742af7e7SThierry Reding		reg = <0x0 0x60006000 0x0 0x1000>;
416742af7e7SThierry Reding		#clock-cells = <1>;
417742af7e7SThierry Reding		#reset-cells = <1>;
418742af7e7SThierry Reding	};
419742af7e7SThierry Reding
420be70771dSThierry Reding	flow-controller@60007000 {
421742af7e7SThierry Reding		compatible = "nvidia,tegra210-flowctrl";
422742af7e7SThierry Reding		reg = <0x0 0x60007000 0x0 0x1000>;
423742af7e7SThierry Reding	};
424742af7e7SThierry Reding
425be70771dSThierry Reding	gpio: gpio@6000d000 {
42601665512SStephen Warren		compatible = "nvidia,tegra210-gpio", "nvidia,tegra30-gpio";
427742af7e7SThierry Reding		reg = <0x0 0x6000d000 0x0 0x1000>;
428742af7e7SThierry Reding		interrupts = <GIC_SPI 32 IRQ_TYPE_LEVEL_HIGH>,
429742af7e7SThierry Reding			     <GIC_SPI 33 IRQ_TYPE_LEVEL_HIGH>,
430742af7e7SThierry Reding			     <GIC_SPI 34 IRQ_TYPE_LEVEL_HIGH>,
431742af7e7SThierry Reding			     <GIC_SPI 35 IRQ_TYPE_LEVEL_HIGH>,
432742af7e7SThierry Reding			     <GIC_SPI 55 IRQ_TYPE_LEVEL_HIGH>,
433742af7e7SThierry Reding			     <GIC_SPI 87 IRQ_TYPE_LEVEL_HIGH>,
434742af7e7SThierry Reding			     <GIC_SPI 89 IRQ_TYPE_LEVEL_HIGH>,
435742af7e7SThierry Reding			     <GIC_SPI 125 IRQ_TYPE_LEVEL_HIGH>;
436742af7e7SThierry Reding		#gpio-cells = <2>;
437742af7e7SThierry Reding		gpio-controller;
438742af7e7SThierry Reding		#interrupt-cells = <2>;
439742af7e7SThierry Reding		interrupt-controller;
440742af7e7SThierry Reding	};
441742af7e7SThierry Reding
442be70771dSThierry Reding	apbdma: dma@60020000 {
443742af7e7SThierry Reding		compatible = "nvidia,tegra210-apbdma", "nvidia,tegra148-apbdma";
444742af7e7SThierry Reding		reg = <0x0 0x60020000 0x0 0x1400>;
445742af7e7SThierry Reding		interrupts = <GIC_SPI 104 IRQ_TYPE_LEVEL_HIGH>,
446742af7e7SThierry Reding			     <GIC_SPI 105 IRQ_TYPE_LEVEL_HIGH>,
447742af7e7SThierry Reding			     <GIC_SPI 106 IRQ_TYPE_LEVEL_HIGH>,
448742af7e7SThierry Reding			     <GIC_SPI 107 IRQ_TYPE_LEVEL_HIGH>,
449742af7e7SThierry Reding			     <GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>,
450742af7e7SThierry Reding			     <GIC_SPI 109 IRQ_TYPE_LEVEL_HIGH>,
451742af7e7SThierry Reding			     <GIC_SPI 110 IRQ_TYPE_LEVEL_HIGH>,
452742af7e7SThierry Reding			     <GIC_SPI 111 IRQ_TYPE_LEVEL_HIGH>,
453742af7e7SThierry Reding			     <GIC_SPI 112 IRQ_TYPE_LEVEL_HIGH>,
454742af7e7SThierry Reding			     <GIC_SPI 113 IRQ_TYPE_LEVEL_HIGH>,
455742af7e7SThierry Reding			     <GIC_SPI 114 IRQ_TYPE_LEVEL_HIGH>,
456742af7e7SThierry Reding			     <GIC_SPI 115 IRQ_TYPE_LEVEL_HIGH>,
457742af7e7SThierry Reding			     <GIC_SPI 116 IRQ_TYPE_LEVEL_HIGH>,
458742af7e7SThierry Reding			     <GIC_SPI 117 IRQ_TYPE_LEVEL_HIGH>,
459742af7e7SThierry Reding			     <GIC_SPI 118 IRQ_TYPE_LEVEL_HIGH>,
460742af7e7SThierry Reding			     <GIC_SPI 119 IRQ_TYPE_LEVEL_HIGH>,
461742af7e7SThierry Reding			     <GIC_SPI 128 IRQ_TYPE_LEVEL_HIGH>,
462742af7e7SThierry Reding			     <GIC_SPI 129 IRQ_TYPE_LEVEL_HIGH>,
463742af7e7SThierry Reding			     <GIC_SPI 130 IRQ_TYPE_LEVEL_HIGH>,
464742af7e7SThierry Reding			     <GIC_SPI 131 IRQ_TYPE_LEVEL_HIGH>,
465742af7e7SThierry Reding			     <GIC_SPI 132 IRQ_TYPE_LEVEL_HIGH>,
466742af7e7SThierry Reding			     <GIC_SPI 133 IRQ_TYPE_LEVEL_HIGH>,
467742af7e7SThierry Reding			     <GIC_SPI 134 IRQ_TYPE_LEVEL_HIGH>,
468742af7e7SThierry Reding			     <GIC_SPI 135 IRQ_TYPE_LEVEL_HIGH>,
469742af7e7SThierry Reding			     <GIC_SPI 136 IRQ_TYPE_LEVEL_HIGH>,
470742af7e7SThierry Reding			     <GIC_SPI 137 IRQ_TYPE_LEVEL_HIGH>,
471742af7e7SThierry Reding			     <GIC_SPI 138 IRQ_TYPE_LEVEL_HIGH>,
472742af7e7SThierry Reding			     <GIC_SPI 139 IRQ_TYPE_LEVEL_HIGH>,
473742af7e7SThierry Reding			     <GIC_SPI 140 IRQ_TYPE_LEVEL_HIGH>,
474742af7e7SThierry Reding			     <GIC_SPI 141 IRQ_TYPE_LEVEL_HIGH>,
475742af7e7SThierry Reding			     <GIC_SPI 142 IRQ_TYPE_LEVEL_HIGH>,
476742af7e7SThierry Reding			     <GIC_SPI 143 IRQ_TYPE_LEVEL_HIGH>;
477742af7e7SThierry Reding		clocks = <&tegra_car TEGRA210_CLK_APBDMA>;
478742af7e7SThierry Reding		clock-names = "dma";
479742af7e7SThierry Reding		resets = <&tegra_car 34>;
480742af7e7SThierry Reding		reset-names = "dma";
481742af7e7SThierry Reding		#dma-cells = <1>;
482742af7e7SThierry Reding	};
483742af7e7SThierry Reding
484be70771dSThierry Reding	apbmisc@70000800 {
485742af7e7SThierry Reding		compatible = "nvidia,tegra210-apbmisc", "nvidia,tegra20-apbmisc";
486742af7e7SThierry Reding		reg = <0x0 0x70000800 0x0 0x64>,   /* Chip revision */
48746e4b227SJoseph Lo		      <0x0 0x70000008 0x0 0x04>;   /* Strapping options */
488742af7e7SThierry Reding	};
489742af7e7SThierry Reding
490be70771dSThierry Reding	pinmux: pinmux@700008d4 {
491742af7e7SThierry Reding		compatible = "nvidia,tegra210-pinmux";
492742af7e7SThierry Reding		reg = <0x0 0x700008d4 0x0 0x29c>, /* Pad control registers */
493742af7e7SThierry Reding		      <0x0 0x70003000 0x0 0x294>; /* Mux registers */
4944e0f1229SSowjanya Komatineni		sdmmc1_3v3_drv: sdmmc1-3v3-drv {
4954e0f1229SSowjanya Komatineni			sdmmc1 {
4964e0f1229SSowjanya Komatineni				nvidia,pins = "drive_sdmmc1";
4974e0f1229SSowjanya Komatineni				nvidia,pull-down-strength = <0x8>;
4984e0f1229SSowjanya Komatineni				nvidia,pull-up-strength = <0x8>;
4994e0f1229SSowjanya Komatineni			};
5004e0f1229SSowjanya Komatineni		};
5014e0f1229SSowjanya Komatineni		sdmmc1_1v8_drv: sdmmc1-1v8-drv {
5024e0f1229SSowjanya Komatineni			sdmmc1 {
5034e0f1229SSowjanya Komatineni				nvidia,pins = "drive_sdmmc1";
5044e0f1229SSowjanya Komatineni				nvidia,pull-down-strength = <0x4>;
5054e0f1229SSowjanya Komatineni				nvidia,pull-up-strength = <0x3>;
5064e0f1229SSowjanya Komatineni			};
5074e0f1229SSowjanya Komatineni		};
5084e0f1229SSowjanya Komatineni		sdmmc2_1v8_drv: sdmmc2-1v8-drv {
5094e0f1229SSowjanya Komatineni			sdmmc2 {
5104e0f1229SSowjanya Komatineni				nvidia,pins = "drive_sdmmc2";
5114e0f1229SSowjanya Komatineni				nvidia,pull-down-strength = <0x10>;
5124e0f1229SSowjanya Komatineni				nvidia,pull-up-strength = <0x10>;
5134e0f1229SSowjanya Komatineni			};
5144e0f1229SSowjanya Komatineni		};
5154e0f1229SSowjanya Komatineni		sdmmc3_3v3_drv: sdmmc3-3v3-drv {
5164e0f1229SSowjanya Komatineni			sdmmc3 {
5174e0f1229SSowjanya Komatineni				nvidia,pins = "drive_sdmmc3";
5184e0f1229SSowjanya Komatineni				nvidia,pull-down-strength = <0x8>;
5194e0f1229SSowjanya Komatineni				nvidia,pull-up-strength = <0x8>;
5204e0f1229SSowjanya Komatineni			};
5214e0f1229SSowjanya Komatineni		};
5224e0f1229SSowjanya Komatineni		sdmmc3_1v8_drv: sdmmc3-1v8-drv {
5234e0f1229SSowjanya Komatineni			sdmmc3 {
5244e0f1229SSowjanya Komatineni				nvidia,pins = "drive_sdmmc3";
5254e0f1229SSowjanya Komatineni				nvidia,pull-down-strength = <0x4>;
5264e0f1229SSowjanya Komatineni				nvidia,pull-up-strength = <0x3>;
5274e0f1229SSowjanya Komatineni			};
5284e0f1229SSowjanya Komatineni		};
5294e0f1229SSowjanya Komatineni		sdmmc4_1v8_drv: sdmmc4-1v8-drv {
5304e0f1229SSowjanya Komatineni			sdmmc4 {
5314e0f1229SSowjanya Komatineni				nvidia,pins = "drive_sdmmc4";
5324e0f1229SSowjanya Komatineni				nvidia,pull-down-strength = <0x10>;
5334e0f1229SSowjanya Komatineni				nvidia,pull-up-strength = <0x10>;
5344e0f1229SSowjanya Komatineni			};
5354e0f1229SSowjanya Komatineni		};
536742af7e7SThierry Reding	};
537742af7e7SThierry Reding
538742af7e7SThierry Reding	/*
539742af7e7SThierry Reding	 * There are two serial driver i.e. 8250 based simple serial
540742af7e7SThierry Reding	 * driver and APB DMA based serial driver for higher baudrate
541ef769e32SAdam Buchbinder	 * and performance. To enable the 8250 based driver, the compatible
542742af7e7SThierry Reding	 * is "nvidia,tegra124-uart", "nvidia,tegra20-uart" and to enable
54368cd8b2eSThierry Reding	 * the APB DMA based serial driver, the compatible is
544742af7e7SThierry Reding	 * "nvidia,tegra124-hsuart", "nvidia,tegra30-hsuart".
545742af7e7SThierry Reding	 */
546be70771dSThierry Reding	uarta: serial@70006000 {
547742af7e7SThierry Reding		compatible = "nvidia,tegra210-uart", "nvidia,tegra20-uart";
548742af7e7SThierry Reding		reg = <0x0 0x70006000 0x0 0x40>;
549742af7e7SThierry Reding		reg-shift = <2>;
550742af7e7SThierry Reding		interrupts = <GIC_SPI 36 IRQ_TYPE_LEVEL_HIGH>;
551742af7e7SThierry Reding		clocks = <&tegra_car TEGRA210_CLK_UARTA>;
552742af7e7SThierry Reding		clock-names = "serial";
553742af7e7SThierry Reding		resets = <&tegra_car 6>;
554742af7e7SThierry Reding		reset-names = "serial";
555742af7e7SThierry Reding		dmas = <&apbdma 8>, <&apbdma 8>;
556742af7e7SThierry Reding		dma-names = "rx", "tx";
557742af7e7SThierry Reding		status = "disabled";
558742af7e7SThierry Reding	};
559742af7e7SThierry Reding
560be70771dSThierry Reding	uartb: serial@70006040 {
561742af7e7SThierry Reding		compatible = "nvidia,tegra210-uart", "nvidia,tegra20-uart";
562742af7e7SThierry Reding		reg = <0x0 0x70006040 0x0 0x40>;
563742af7e7SThierry Reding		reg-shift = <2>;
564742af7e7SThierry Reding		interrupts = <GIC_SPI 37 IRQ_TYPE_LEVEL_HIGH>;
565742af7e7SThierry Reding		clocks = <&tegra_car TEGRA210_CLK_UARTB>;
566742af7e7SThierry Reding		clock-names = "serial";
567742af7e7SThierry Reding		resets = <&tegra_car 7>;
568742af7e7SThierry Reding		reset-names = "serial";
569742af7e7SThierry Reding		dmas = <&apbdma 9>, <&apbdma 9>;
570742af7e7SThierry Reding		dma-names = "rx", "tx";
571742af7e7SThierry Reding		status = "disabled";
572742af7e7SThierry Reding	};
573742af7e7SThierry Reding
574be70771dSThierry Reding	uartc: serial@70006200 {
575742af7e7SThierry Reding		compatible = "nvidia,tegra210-uart", "nvidia,tegra20-uart";
576742af7e7SThierry Reding		reg = <0x0 0x70006200 0x0 0x40>;
577742af7e7SThierry Reding		reg-shift = <2>;
578742af7e7SThierry Reding		interrupts = <GIC_SPI 46 IRQ_TYPE_LEVEL_HIGH>;
579742af7e7SThierry Reding		clocks = <&tegra_car TEGRA210_CLK_UARTC>;
580742af7e7SThierry Reding		clock-names = "serial";
581742af7e7SThierry Reding		resets = <&tegra_car 55>;
582742af7e7SThierry Reding		reset-names = "serial";
583742af7e7SThierry Reding		dmas = <&apbdma 10>, <&apbdma 10>;
584742af7e7SThierry Reding		dma-names = "rx", "tx";
585742af7e7SThierry Reding		status = "disabled";
586742af7e7SThierry Reding	};
587742af7e7SThierry Reding
588be70771dSThierry Reding	uartd: serial@70006300 {
589742af7e7SThierry Reding		compatible = "nvidia,tegra210-uart", "nvidia,tegra20-uart";
590742af7e7SThierry Reding		reg = <0x0 0x70006300 0x0 0x40>;
591742af7e7SThierry Reding		reg-shift = <2>;
592742af7e7SThierry Reding		interrupts = <GIC_SPI 90 IRQ_TYPE_LEVEL_HIGH>;
593742af7e7SThierry Reding		clocks = <&tegra_car TEGRA210_CLK_UARTD>;
594742af7e7SThierry Reding		clock-names = "serial";
595742af7e7SThierry Reding		resets = <&tegra_car 65>;
596742af7e7SThierry Reding		reset-names = "serial";
597742af7e7SThierry Reding		dmas = <&apbdma 19>, <&apbdma 19>;
598742af7e7SThierry Reding		dma-names = "rx", "tx";
599742af7e7SThierry Reding		status = "disabled";
600742af7e7SThierry Reding	};
601742af7e7SThierry Reding
602be70771dSThierry Reding	pwm: pwm@7000a000 {
603742af7e7SThierry Reding		compatible = "nvidia,tegra210-pwm", "nvidia,tegra20-pwm";
604742af7e7SThierry Reding		reg = <0x0 0x7000a000 0x0 0x100>;
605742af7e7SThierry Reding		#pwm-cells = <2>;
606742af7e7SThierry Reding		clocks = <&tegra_car TEGRA210_CLK_PWM>;
607742af7e7SThierry Reding		clock-names = "pwm";
608742af7e7SThierry Reding		resets = <&tegra_car 17>;
609742af7e7SThierry Reding		reset-names = "pwm";
610742af7e7SThierry Reding		status = "disabled";
611742af7e7SThierry Reding	};
612742af7e7SThierry Reding
613be70771dSThierry Reding	i2c@7000c000 {
614140723b9SSowjanya Komatineni		compatible = "nvidia,tegra210-i2c", "nvidia,tegra124-i2c";
615742af7e7SThierry Reding		reg = <0x0 0x7000c000 0x0 0x100>;
616742af7e7SThierry Reding		interrupts = <GIC_SPI 38 IRQ_TYPE_LEVEL_HIGH>;
617742af7e7SThierry Reding		#address-cells = <1>;
618742af7e7SThierry Reding		#size-cells = <0>;
619742af7e7SThierry Reding		clocks = <&tegra_car TEGRA210_CLK_I2C1>;
620742af7e7SThierry Reding		clock-names = "div-clk";
621742af7e7SThierry Reding		resets = <&tegra_car 12>;
622742af7e7SThierry Reding		reset-names = "i2c";
623742af7e7SThierry Reding		dmas = <&apbdma 21>, <&apbdma 21>;
624742af7e7SThierry Reding		dma-names = "rx", "tx";
625742af7e7SThierry Reding		status = "disabled";
626742af7e7SThierry Reding	};
627742af7e7SThierry Reding
628be70771dSThierry Reding	i2c@7000c400 {
629140723b9SSowjanya Komatineni		compatible = "nvidia,tegra210-i2c", "nvidia,tegra124-i2c";
630742af7e7SThierry Reding		reg = <0x0 0x7000c400 0x0 0x100>;
631742af7e7SThierry Reding		interrupts = <GIC_SPI 84 IRQ_TYPE_LEVEL_HIGH>;
632742af7e7SThierry Reding		#address-cells = <1>;
633742af7e7SThierry Reding		#size-cells = <0>;
634742af7e7SThierry Reding		clocks = <&tegra_car TEGRA210_CLK_I2C2>;
635742af7e7SThierry Reding		clock-names = "div-clk";
636742af7e7SThierry Reding		resets = <&tegra_car 54>;
637742af7e7SThierry Reding		reset-names = "i2c";
638742af7e7SThierry Reding		dmas = <&apbdma 22>, <&apbdma 22>;
639742af7e7SThierry Reding		dma-names = "rx", "tx";
640742af7e7SThierry Reding		status = "disabled";
641742af7e7SThierry Reding	};
642742af7e7SThierry Reding
643be70771dSThierry Reding	i2c@7000c500 {
644140723b9SSowjanya Komatineni		compatible = "nvidia,tegra210-i2c", "nvidia,tegra124-i2c";
645742af7e7SThierry Reding		reg = <0x0 0x7000c500 0x0 0x100>;
646742af7e7SThierry Reding		interrupts = <GIC_SPI 92 IRQ_TYPE_LEVEL_HIGH>;
647742af7e7SThierry Reding		#address-cells = <1>;
648742af7e7SThierry Reding		#size-cells = <0>;
649742af7e7SThierry Reding		clocks = <&tegra_car TEGRA210_CLK_I2C3>;
650742af7e7SThierry Reding		clock-names = "div-clk";
651742af7e7SThierry Reding		resets = <&tegra_car 67>;
652742af7e7SThierry Reding		reset-names = "i2c";
653742af7e7SThierry Reding		dmas = <&apbdma 23>, <&apbdma 23>;
654742af7e7SThierry Reding		dma-names = "rx", "tx";
655742af7e7SThierry Reding		status = "disabled";
656742af7e7SThierry Reding	};
657742af7e7SThierry Reding
658be70771dSThierry Reding	i2c@7000c700 {
659140723b9SSowjanya Komatineni		compatible = "nvidia,tegra210-i2c", "nvidia,tegra124-i2c";
660742af7e7SThierry Reding		reg = <0x0 0x7000c700 0x0 0x100>;
661742af7e7SThierry Reding		interrupts = <GIC_SPI 120 IRQ_TYPE_LEVEL_HIGH>;
662742af7e7SThierry Reding		#address-cells = <1>;
663742af7e7SThierry Reding		#size-cells = <0>;
664742af7e7SThierry Reding		clocks = <&tegra_car TEGRA210_CLK_I2C4>;
665742af7e7SThierry Reding		clock-names = "div-clk";
666742af7e7SThierry Reding		resets = <&tegra_car 103>;
667742af7e7SThierry Reding		reset-names = "i2c";
668742af7e7SThierry Reding		dmas = <&apbdma 26>, <&apbdma 26>;
669742af7e7SThierry Reding		dma-names = "rx", "tx";
67066b2d6e9SJon Hunter		pinctrl-0 = <&state_dpaux1_i2c>;
67166b2d6e9SJon Hunter		pinctrl-1 = <&state_dpaux1_off>;
67266b2d6e9SJon Hunter		pinctrl-names = "default", "idle";
673742af7e7SThierry Reding		status = "disabled";
674742af7e7SThierry Reding	};
675742af7e7SThierry Reding
676be70771dSThierry Reding	i2c@7000d000 {
677140723b9SSowjanya Komatineni		compatible = "nvidia,tegra210-i2c", "nvidia,tegra124-i2c";
678742af7e7SThierry Reding		reg = <0x0 0x7000d000 0x0 0x100>;
679742af7e7SThierry Reding		interrupts = <GIC_SPI 53 IRQ_TYPE_LEVEL_HIGH>;
680742af7e7SThierry Reding		#address-cells = <1>;
681742af7e7SThierry Reding		#size-cells = <0>;
682742af7e7SThierry Reding		clocks = <&tegra_car TEGRA210_CLK_I2C5>;
683742af7e7SThierry Reding		clock-names = "div-clk";
684742af7e7SThierry Reding		resets = <&tegra_car 47>;
685742af7e7SThierry Reding		reset-names = "i2c";
686742af7e7SThierry Reding		dmas = <&apbdma 24>, <&apbdma 24>;
687742af7e7SThierry Reding		dma-names = "rx", "tx";
688742af7e7SThierry Reding		status = "disabled";
689742af7e7SThierry Reding	};
690742af7e7SThierry Reding
691be70771dSThierry Reding	i2c@7000d100 {
692140723b9SSowjanya Komatineni		compatible = "nvidia,tegra210-i2c", "nvidia,tegra124-i2c";
693742af7e7SThierry Reding		reg = <0x0 0x7000d100 0x0 0x100>;
694742af7e7SThierry Reding		interrupts = <GIC_SPI 63 IRQ_TYPE_LEVEL_HIGH>;
695742af7e7SThierry Reding		#address-cells = <1>;
696742af7e7SThierry Reding		#size-cells = <0>;
697742af7e7SThierry Reding		clocks = <&tegra_car TEGRA210_CLK_I2C6>;
698742af7e7SThierry Reding		clock-names = "div-clk";
699742af7e7SThierry Reding		resets = <&tegra_car 166>;
700742af7e7SThierry Reding		reset-names = "i2c";
701742af7e7SThierry Reding		dmas = <&apbdma 30>, <&apbdma 30>;
702742af7e7SThierry Reding		dma-names = "rx", "tx";
70366b2d6e9SJon Hunter		pinctrl-0 = <&state_dpaux_i2c>;
70466b2d6e9SJon Hunter		pinctrl-1 = <&state_dpaux_off>;
70566b2d6e9SJon Hunter		pinctrl-names = "default", "idle";
706742af7e7SThierry Reding		status = "disabled";
707742af7e7SThierry Reding	};
708742af7e7SThierry Reding
709be70771dSThierry Reding	spi@7000d400 {
710742af7e7SThierry Reding		compatible = "nvidia,tegra210-spi", "nvidia,tegra114-spi";
711742af7e7SThierry Reding		reg = <0x0 0x7000d400 0x0 0x200>;
712742af7e7SThierry Reding		interrupts = <GIC_SPI 59 IRQ_TYPE_LEVEL_HIGH>;
713742af7e7SThierry Reding		#address-cells = <1>;
714742af7e7SThierry Reding		#size-cells = <0>;
715742af7e7SThierry Reding		clocks = <&tegra_car TEGRA210_CLK_SBC1>;
716742af7e7SThierry Reding		clock-names = "spi";
717742af7e7SThierry Reding		resets = <&tegra_car 41>;
718742af7e7SThierry Reding		reset-names = "spi";
719742af7e7SThierry Reding		dmas = <&apbdma 15>, <&apbdma 15>;
720742af7e7SThierry Reding		dma-names = "rx", "tx";
721742af7e7SThierry Reding		status = "disabled";
722742af7e7SThierry Reding	};
723742af7e7SThierry Reding
724be70771dSThierry Reding	spi@7000d600 {
725742af7e7SThierry Reding		compatible = "nvidia,tegra210-spi", "nvidia,tegra114-spi";
726742af7e7SThierry Reding		reg = <0x0 0x7000d600 0x0 0x200>;
727742af7e7SThierry Reding		interrupts = <GIC_SPI 82 IRQ_TYPE_LEVEL_HIGH>;
728742af7e7SThierry Reding		#address-cells = <1>;
729742af7e7SThierry Reding		#size-cells = <0>;
730742af7e7SThierry Reding		clocks = <&tegra_car TEGRA210_CLK_SBC2>;
731742af7e7SThierry Reding		clock-names = "spi";
732742af7e7SThierry Reding		resets = <&tegra_car 44>;
733742af7e7SThierry Reding		reset-names = "spi";
734742af7e7SThierry Reding		dmas = <&apbdma 16>, <&apbdma 16>;
735742af7e7SThierry Reding		dma-names = "rx", "tx";
736742af7e7SThierry Reding		status = "disabled";
737742af7e7SThierry Reding	};
738742af7e7SThierry Reding
739be70771dSThierry Reding	spi@7000d800 {
740742af7e7SThierry Reding		compatible = "nvidia,tegra210-spi", "nvidia,tegra114-spi";
741742af7e7SThierry Reding		reg = <0x0 0x7000d800 0x0 0x200>;
742742af7e7SThierry Reding		interrupts = <GIC_SPI 83 IRQ_TYPE_LEVEL_HIGH>;
743742af7e7SThierry Reding		#address-cells = <1>;
744742af7e7SThierry Reding		#size-cells = <0>;
745742af7e7SThierry Reding		clocks = <&tegra_car TEGRA210_CLK_SBC3>;
746742af7e7SThierry Reding		clock-names = "spi";
747742af7e7SThierry Reding		resets = <&tegra_car 46>;
748742af7e7SThierry Reding		reset-names = "spi";
749742af7e7SThierry Reding		dmas = <&apbdma 17>, <&apbdma 17>;
750742af7e7SThierry Reding		dma-names = "rx", "tx";
751742af7e7SThierry Reding		status = "disabled";
752742af7e7SThierry Reding	};
753742af7e7SThierry Reding
754be70771dSThierry Reding	spi@7000da00 {
755742af7e7SThierry Reding		compatible = "nvidia,tegra210-spi", "nvidia,tegra114-spi";
756742af7e7SThierry Reding		reg = <0x0 0x7000da00 0x0 0x200>;
757742af7e7SThierry Reding		interrupts = <GIC_SPI 93 IRQ_TYPE_LEVEL_HIGH>;
758742af7e7SThierry Reding		#address-cells = <1>;
759742af7e7SThierry Reding		#size-cells = <0>;
760742af7e7SThierry Reding		clocks = <&tegra_car TEGRA210_CLK_SBC4>;
761742af7e7SThierry Reding		clock-names = "spi";
762742af7e7SThierry Reding		resets = <&tegra_car 68>;
763742af7e7SThierry Reding		reset-names = "spi";
764742af7e7SThierry Reding		dmas = <&apbdma 18>, <&apbdma 18>;
765742af7e7SThierry Reding		dma-names = "rx", "tx";
766742af7e7SThierry Reding		status = "disabled";
767742af7e7SThierry Reding	};
768742af7e7SThierry Reding
769be70771dSThierry Reding	rtc@7000e000 {
770742af7e7SThierry Reding		compatible = "nvidia,tegra210-rtc", "nvidia,tegra20-rtc";
771742af7e7SThierry Reding		reg = <0x0 0x7000e000 0x0 0x100>;
772d13c13f4SSowjanya Komatineni		interrupts = <16 IRQ_TYPE_LEVEL_HIGH>;
773d13c13f4SSowjanya Komatineni		interrupt-parent = <&pmc>;
774742af7e7SThierry Reding		clocks = <&tegra_car TEGRA210_CLK_RTC>;
775742af7e7SThierry Reding		clock-names = "rtc";
776742af7e7SThierry Reding	};
777742af7e7SThierry Reding
778be70771dSThierry Reding	pmc: pmc@7000e400 {
779742af7e7SThierry Reding		compatible = "nvidia,tegra210-pmc";
780742af7e7SThierry Reding		reg = <0x0 0x7000e400 0x0 0x400>;
781742af7e7SThierry Reding		clocks = <&tegra_car TEGRA210_CLK_PCLK>, <&clk32k_in>;
782742af7e7SThierry Reding		clock-names = "pclk", "clk32k_in";
783d13c13f4SSowjanya Komatineni		#interrupt-cells = <2>;
784d13c13f4SSowjanya Komatineni		interrupt-controller;
785c2b82445SJon Hunter
786c2b82445SJon Hunter		powergates {
787c2b82445SJon Hunter			pd_audio: aud {
788c2b82445SJon Hunter				clocks = <&tegra_car TEGRA210_CLK_APE>,
789c2b82445SJon Hunter					 <&tegra_car TEGRA210_CLK_APB2APE>;
790c2b82445SJon Hunter				resets = <&tegra_car 198>;
791c2b82445SJon Hunter				#power-domain-cells = <0>;
792c2b82445SJon Hunter			};
793241f02baSJon Hunter
79496d1f078SJon Hunter			pd_sor: sor {
79596d1f078SJon Hunter				clocks = <&tegra_car TEGRA210_CLK_SOR0>,
79696d1f078SJon Hunter					 <&tegra_car TEGRA210_CLK_SOR1>,
79796d1f078SJon Hunter					 <&tegra_car TEGRA210_CLK_CSI>,
79896d1f078SJon Hunter					 <&tegra_car TEGRA210_CLK_DSIA>,
79996d1f078SJon Hunter					 <&tegra_car TEGRA210_CLK_DSIB>,
80096d1f078SJon Hunter					 <&tegra_car TEGRA210_CLK_DPAUX>,
80196d1f078SJon Hunter					 <&tegra_car TEGRA210_CLK_DPAUX1>,
80296d1f078SJon Hunter					 <&tegra_car TEGRA210_CLK_MIPI_CAL>;
80396d1f078SJon Hunter				resets = <&tegra_car TEGRA210_CLK_SOR0>,
80496d1f078SJon Hunter					 <&tegra_car TEGRA210_CLK_SOR1>,
80596d1f078SJon Hunter					 <&tegra_car TEGRA210_CLK_CSI>,
80696d1f078SJon Hunter					 <&tegra_car TEGRA210_CLK_DSIA>,
80796d1f078SJon Hunter					 <&tegra_car TEGRA210_CLK_DSIB>,
80896d1f078SJon Hunter					 <&tegra_car TEGRA210_CLK_DPAUX>,
80996d1f078SJon Hunter					 <&tegra_car TEGRA210_CLK_DPAUX1>,
81096d1f078SJon Hunter					 <&tegra_car TEGRA210_CLK_MIPI_CAL>;
81196d1f078SJon Hunter				#power-domain-cells = <0>;
81296d1f078SJon Hunter			};
81396d1f078SJon Hunter
814241f02baSJon Hunter			pd_xusbss: xusba {
815241f02baSJon Hunter				clocks = <&tegra_car TEGRA210_CLK_XUSB_SS>;
816241f02baSJon Hunter				resets = <&tegra_car TEGRA210_CLK_XUSB_SS>;
817241f02baSJon Hunter				#power-domain-cells = <0>;
818241f02baSJon Hunter			};
819241f02baSJon Hunter
820241f02baSJon Hunter			pd_xusbdev: xusbb {
821241f02baSJon Hunter				clocks = <&tegra_car TEGRA210_CLK_XUSB_DEV>;
822241f02baSJon Hunter				resets = <&tegra_car 95>;
823241f02baSJon Hunter				#power-domain-cells = <0>;
824241f02baSJon Hunter			};
825241f02baSJon Hunter
826241f02baSJon Hunter			pd_xusbhost: xusbc {
827241f02baSJon Hunter				clocks = <&tegra_car TEGRA210_CLK_XUSB_HOST>;
828241f02baSJon Hunter				resets = <&tegra_car TEGRA210_CLK_XUSB_HOST>;
829241f02baSJon Hunter				#power-domain-cells = <0>;
830241f02baSJon Hunter			};
83124963d1bSMikko Perttunen
83224963d1bSMikko Perttunen			pd_vic: vic {
83324963d1bSMikko Perttunen				clocks = <&tegra_car TEGRA210_CLK_VIC03>;
83424963d1bSMikko Perttunen				clock-names = "vic";
83524963d1bSMikko Perttunen				resets = <&tegra_car 178>;
83624963d1bSMikko Perttunen				reset-names = "vic";
83724963d1bSMikko Perttunen				#power-domain-cells = <0>;
83824963d1bSMikko Perttunen			};
839c2b82445SJon Hunter		};
8406641af7eSAapo Vienamo
8416641af7eSAapo Vienamo		sdmmc1_3v3: sdmmc1-3v3 {
8426641af7eSAapo Vienamo			pins = "sdmmc1";
8436641af7eSAapo Vienamo			power-source = <TEGRA_IO_PAD_VOLTAGE_3V3>;
8446641af7eSAapo Vienamo		};
8456641af7eSAapo Vienamo
8466641af7eSAapo Vienamo		sdmmc1_1v8: sdmmc1-1v8 {
8476641af7eSAapo Vienamo			pins = "sdmmc1";
8486641af7eSAapo Vienamo			power-source = <TEGRA_IO_PAD_VOLTAGE_1V8>;
8496641af7eSAapo Vienamo		};
8506641af7eSAapo Vienamo
8516641af7eSAapo Vienamo		sdmmc3_3v3: sdmmc3-3v3 {
8526641af7eSAapo Vienamo			pins = "sdmmc3";
8536641af7eSAapo Vienamo			power-source = <TEGRA_IO_PAD_VOLTAGE_3V3>;
8546641af7eSAapo Vienamo		};
8556641af7eSAapo Vienamo
8566641af7eSAapo Vienamo		sdmmc3_1v8: sdmmc3-1v8 {
8576641af7eSAapo Vienamo			pins = "sdmmc3";
8586641af7eSAapo Vienamo			power-source = <TEGRA_IO_PAD_VOLTAGE_1V8>;
8596641af7eSAapo Vienamo		};
860871be845SManikanta Maddireddy
861871be845SManikanta Maddireddy		pex_dpd_disable: pex_en {
862871be845SManikanta Maddireddy			pex-dpd-disable {
863871be845SManikanta Maddireddy				pins = "pex-bias", "pex-clk1", "pex-clk2";
864871be845SManikanta Maddireddy				low-power-disable;
865871be845SManikanta Maddireddy			};
866871be845SManikanta Maddireddy		};
867871be845SManikanta Maddireddy
868871be845SManikanta Maddireddy		pex_dpd_enable: pex_dis {
869871be845SManikanta Maddireddy			pex-dpd-enable {
870871be845SManikanta Maddireddy				pins = "pex-bias", "pex-clk1", "pex-clk2";
871871be845SManikanta Maddireddy				low-power-enable;
872871be845SManikanta Maddireddy			};
873871be845SManikanta Maddireddy		};
874742af7e7SThierry Reding	};
875742af7e7SThierry Reding
876be70771dSThierry Reding	fuse@7000f800 {
877742af7e7SThierry Reding		compatible = "nvidia,tegra210-efuse";
878742af7e7SThierry Reding		reg = <0x0 0x7000f800 0x0 0x400>;
879742af7e7SThierry Reding		clocks = <&tegra_car TEGRA210_CLK_FUSE>;
880742af7e7SThierry Reding		clock-names = "fuse";
881742af7e7SThierry Reding		resets = <&tegra_car 39>;
882742af7e7SThierry Reding		reset-names = "fuse";
883742af7e7SThierry Reding	};
884742af7e7SThierry Reding
885be70771dSThierry Reding	mc: memory-controller@70019000 {
886742af7e7SThierry Reding		compatible = "nvidia,tegra210-mc";
887742af7e7SThierry Reding		reg = <0x0 0x70019000 0x0 0x1000>;
888742af7e7SThierry Reding		clocks = <&tegra_car TEGRA210_CLK_MC>;
889742af7e7SThierry Reding		clock-names = "mc";
890742af7e7SThierry Reding
891742af7e7SThierry Reding		interrupts = <GIC_SPI 77 IRQ_TYPE_LEVEL_HIGH>;
892742af7e7SThierry Reding
893742af7e7SThierry Reding		#iommu-cells = <1>;
894742af7e7SThierry Reding	};
895742af7e7SThierry Reding
8966cb60ec4SPreetham Ramchandra	sata@70020000 {
8976cb60ec4SPreetham Ramchandra		compatible = "nvidia,tegra210-ahci";
8986cb60ec4SPreetham Ramchandra		reg = <0x0 0x70027000 0x0 0x2000>, /* AHCI */
8996cb60ec4SPreetham Ramchandra		      <0x0 0x70020000 0x0 0x7000>, /* SATA */
9006cb60ec4SPreetham Ramchandra		      <0x0 0x70001100 0x0 0x1000>; /* SATA AUX */
9016cb60ec4SPreetham Ramchandra		interrupts = <GIC_SPI 23 IRQ_TYPE_LEVEL_HIGH>;
9026cb60ec4SPreetham Ramchandra		clocks = <&tegra_car TEGRA210_CLK_SATA>,
9036cb60ec4SPreetham Ramchandra			 <&tegra_car TEGRA210_CLK_SATA_OOB>;
9046cb60ec4SPreetham Ramchandra		clock-names = "sata", "sata-oob";
9056cb60ec4SPreetham Ramchandra		resets = <&tegra_car 124>,
9066cb60ec4SPreetham Ramchandra			 <&tegra_car 123>,
9076cb60ec4SPreetham Ramchandra			 <&tegra_car 129>;
9086cb60ec4SPreetham Ramchandra		reset-names = "sata", "sata-oob", "sata-cold";
9096cb60ec4SPreetham Ramchandra		status = "disabled";
9106cb60ec4SPreetham Ramchandra	};
9116cb60ec4SPreetham Ramchandra
912be70771dSThierry Reding	hda@70030000 {
913742af7e7SThierry Reding		compatible = "nvidia,tegra210-hda", "nvidia,tegra30-hda";
914742af7e7SThierry Reding		reg = <0x0 0x70030000 0x0 0x10000>;
915742af7e7SThierry Reding		interrupts = <GIC_SPI 81 IRQ_TYPE_LEVEL_HIGH>;
916742af7e7SThierry Reding		clocks = <&tegra_car TEGRA210_CLK_HDA>,
917742af7e7SThierry Reding		         <&tegra_car TEGRA210_CLK_HDA2HDMI>,
918742af7e7SThierry Reding			 <&tegra_car TEGRA210_CLK_HDA2CODEC_2X>;
919742af7e7SThierry Reding		clock-names = "hda", "hda2hdmi", "hda2codec_2x";
920742af7e7SThierry Reding		resets = <&tegra_car 125>, /* hda */
921742af7e7SThierry Reding			 <&tegra_car 128>, /* hda2hdmi */
922742af7e7SThierry Reding			 <&tegra_car 111>; /* hda2codec_2x */
923742af7e7SThierry Reding		reset-names = "hda", "hda2hdmi", "hda2codec_2x";
924742af7e7SThierry Reding		status = "disabled";
925742af7e7SThierry Reding	};
926742af7e7SThierry Reding
927e7a99ac2SThierry Reding	usb@70090000 {
928e7a99ac2SThierry Reding		compatible = "nvidia,tegra210-xusb";
929e7a99ac2SThierry Reding		reg = <0x0 0x70090000 0x0 0x8000>,
930e7a99ac2SThierry Reding		      <0x0 0x70098000 0x0 0x1000>,
931e7a99ac2SThierry Reding		      <0x0 0x70099000 0x0 0x1000>;
932e7a99ac2SThierry Reding		reg-names = "hcd", "fpci", "ipfs";
933e7a99ac2SThierry Reding
934e7a99ac2SThierry Reding		interrupts = <GIC_SPI 39 IRQ_TYPE_LEVEL_HIGH>,
9359168e1dbSJon Hunter			     <GIC_SPI 40 IRQ_TYPE_LEVEL_HIGH>;
936e7a99ac2SThierry Reding
937e7a99ac2SThierry Reding		clocks = <&tegra_car TEGRA210_CLK_XUSB_HOST>,
938e7a99ac2SThierry Reding			 <&tegra_car TEGRA210_CLK_XUSB_HOST_SRC>,
939e7a99ac2SThierry Reding			 <&tegra_car TEGRA210_CLK_XUSB_FALCON_SRC>,
940e7a99ac2SThierry Reding			 <&tegra_car TEGRA210_CLK_XUSB_SS>,
941e7a99ac2SThierry Reding			 <&tegra_car TEGRA210_CLK_XUSB_SS_DIV2>,
942e7a99ac2SThierry Reding			 <&tegra_car TEGRA210_CLK_XUSB_SS_SRC>,
943e7a99ac2SThierry Reding			 <&tegra_car TEGRA210_CLK_XUSB_HS_SRC>,
944e7a99ac2SThierry Reding			 <&tegra_car TEGRA210_CLK_XUSB_FS_SRC>,
945e7a99ac2SThierry Reding			 <&tegra_car TEGRA210_CLK_PLL_U_480M>,
946e7a99ac2SThierry Reding			 <&tegra_car TEGRA210_CLK_CLK_M>,
947e7a99ac2SThierry Reding			 <&tegra_car TEGRA210_CLK_PLL_E>;
948e7a99ac2SThierry Reding		clock-names = "xusb_host", "xusb_host_src",
949e7a99ac2SThierry Reding			      "xusb_falcon_src", "xusb_ss",
950e7a99ac2SThierry Reding			      "xusb_ss_div2", "xusb_ss_src",
951e7a99ac2SThierry Reding			      "xusb_hs_src", "xusb_fs_src",
952e7a99ac2SThierry Reding			      "pll_u_480m", "clk_m", "pll_e";
953e7a99ac2SThierry Reding		resets = <&tegra_car 89>, <&tegra_car 156>,
954e7a99ac2SThierry Reding			 <&tegra_car 143>;
955e7a99ac2SThierry Reding		reset-names = "xusb_host", "xusb_ss", "xusb_src";
95636ec29f7SJon Hunter		power-domains = <&pd_xusbhost>, <&pd_xusbss>;
95736ec29f7SJon Hunter		power-domain-names = "xusb_host", "xusb_ss";
958e7a99ac2SThierry Reding
959e7a99ac2SThierry Reding		nvidia,xusb-padctl = <&padctl>;
960e7a99ac2SThierry Reding
961e7a99ac2SThierry Reding		status = "disabled";
962e7a99ac2SThierry Reding	};
963e7a99ac2SThierry Reding
9644e07ac90SThierry Reding	padctl: padctl@7009f000 {
9654e07ac90SThierry Reding		compatible = "nvidia,tegra210-xusb-padctl";
9664e07ac90SThierry Reding		reg = <0x0 0x7009f000 0x0 0x1000>;
9674e07ac90SThierry Reding		resets = <&tegra_car 142>;
9684e07ac90SThierry Reding		reset-names = "padctl";
9694e07ac90SThierry Reding
9704e07ac90SThierry Reding		status = "disabled";
9714e07ac90SThierry Reding
9724e07ac90SThierry Reding		pads {
9734e07ac90SThierry Reding			usb2 {
9744e07ac90SThierry Reding				clocks = <&tegra_car TEGRA210_CLK_USB2_TRK>;
9754e07ac90SThierry Reding				clock-names = "trk";
9764e07ac90SThierry Reding				status = "disabled";
9774e07ac90SThierry Reding
9784e07ac90SThierry Reding				lanes {
9794e07ac90SThierry Reding					usb2-0 {
9804e07ac90SThierry Reding						status = "disabled";
9814e07ac90SThierry Reding						#phy-cells = <0>;
9824e07ac90SThierry Reding					};
9834e07ac90SThierry Reding
9844e07ac90SThierry Reding					usb2-1 {
9854e07ac90SThierry Reding						status = "disabled";
9864e07ac90SThierry Reding						#phy-cells = <0>;
9874e07ac90SThierry Reding					};
9884e07ac90SThierry Reding
9894e07ac90SThierry Reding					usb2-2 {
9904e07ac90SThierry Reding						status = "disabled";
9914e07ac90SThierry Reding						#phy-cells = <0>;
9924e07ac90SThierry Reding					};
9934e07ac90SThierry Reding
9944e07ac90SThierry Reding					usb2-3 {
9954e07ac90SThierry Reding						status = "disabled";
9964e07ac90SThierry Reding						#phy-cells = <0>;
9974e07ac90SThierry Reding					};
9984e07ac90SThierry Reding				};
9994e07ac90SThierry Reding			};
10004e07ac90SThierry Reding
10014e07ac90SThierry Reding			hsic {
10024e07ac90SThierry Reding				clocks = <&tegra_car TEGRA210_CLK_HSIC_TRK>;
10034e07ac90SThierry Reding				clock-names = "trk";
10044e07ac90SThierry Reding				status = "disabled";
10054e07ac90SThierry Reding
10064e07ac90SThierry Reding				lanes {
10074e07ac90SThierry Reding					hsic-0 {
10084e07ac90SThierry Reding						status = "disabled";
10094e07ac90SThierry Reding						#phy-cells = <0>;
10104e07ac90SThierry Reding					};
10114e07ac90SThierry Reding
10124e07ac90SThierry Reding					hsic-1 {
10134e07ac90SThierry Reding						status = "disabled";
10144e07ac90SThierry Reding						#phy-cells = <0>;
10154e07ac90SThierry Reding					};
10164e07ac90SThierry Reding				};
10174e07ac90SThierry Reding			};
10184e07ac90SThierry Reding
10194e07ac90SThierry Reding			pcie {
10204e07ac90SThierry Reding				clocks = <&tegra_car TEGRA210_CLK_PLL_E>;
10214e07ac90SThierry Reding				clock-names = "pll";
10224e07ac90SThierry Reding				resets = <&tegra_car 205>;
10234e07ac90SThierry Reding				reset-names = "phy";
10244e07ac90SThierry Reding				status = "disabled";
10254e07ac90SThierry Reding
10264e07ac90SThierry Reding				lanes {
10274e07ac90SThierry Reding					pcie-0 {
10284e07ac90SThierry Reding						status = "disabled";
10294e07ac90SThierry Reding						#phy-cells = <0>;
10304e07ac90SThierry Reding					};
10314e07ac90SThierry Reding
10324e07ac90SThierry Reding					pcie-1 {
10334e07ac90SThierry Reding						status = "disabled";
10344e07ac90SThierry Reding						#phy-cells = <0>;
10354e07ac90SThierry Reding					};
10364e07ac90SThierry Reding
10374e07ac90SThierry Reding					pcie-2 {
10384e07ac90SThierry Reding						status = "disabled";
10394e07ac90SThierry Reding						#phy-cells = <0>;
10404e07ac90SThierry Reding					};
10414e07ac90SThierry Reding
10424e07ac90SThierry Reding					pcie-3 {
10434e07ac90SThierry Reding						status = "disabled";
10444e07ac90SThierry Reding						#phy-cells = <0>;
10454e07ac90SThierry Reding					};
10464e07ac90SThierry Reding
10474e07ac90SThierry Reding					pcie-4 {
10484e07ac90SThierry Reding						status = "disabled";
10494e07ac90SThierry Reding						#phy-cells = <0>;
10504e07ac90SThierry Reding					};
10514e07ac90SThierry Reding
10524e07ac90SThierry Reding					pcie-5 {
10534e07ac90SThierry Reding						status = "disabled";
10544e07ac90SThierry Reding						#phy-cells = <0>;
10554e07ac90SThierry Reding					};
10564e07ac90SThierry Reding
10574e07ac90SThierry Reding					pcie-6 {
10584e07ac90SThierry Reding						status = "disabled";
10594e07ac90SThierry Reding						#phy-cells = <0>;
10604e07ac90SThierry Reding					};
10614e07ac90SThierry Reding				};
10624e07ac90SThierry Reding			};
10634e07ac90SThierry Reding
10644e07ac90SThierry Reding			sata {
10654e07ac90SThierry Reding				clocks = <&tegra_car TEGRA210_CLK_PLL_E>;
10664e07ac90SThierry Reding				clock-names = "pll";
10674e07ac90SThierry Reding				resets = <&tegra_car 204>;
10684e07ac90SThierry Reding				reset-names = "phy";
10694e07ac90SThierry Reding				status = "disabled";
10704e07ac90SThierry Reding
10714e07ac90SThierry Reding				lanes {
10724e07ac90SThierry Reding					sata-0 {
10734e07ac90SThierry Reding						status = "disabled";
10744e07ac90SThierry Reding						#phy-cells = <0>;
10754e07ac90SThierry Reding					};
10764e07ac90SThierry Reding				};
10774e07ac90SThierry Reding			};
10784e07ac90SThierry Reding		};
10794e07ac90SThierry Reding
10804e07ac90SThierry Reding		ports {
10814e07ac90SThierry Reding			usb2-0 {
10824e07ac90SThierry Reding				status = "disabled";
10834e07ac90SThierry Reding			};
10844e07ac90SThierry Reding
10854e07ac90SThierry Reding			usb2-1 {
10864e07ac90SThierry Reding				status = "disabled";
10874e07ac90SThierry Reding			};
10884e07ac90SThierry Reding
10894e07ac90SThierry Reding			usb2-2 {
10904e07ac90SThierry Reding				status = "disabled";
10914e07ac90SThierry Reding			};
10924e07ac90SThierry Reding
10934e07ac90SThierry Reding			usb2-3 {
10944e07ac90SThierry Reding				status = "disabled";
10954e07ac90SThierry Reding			};
10964e07ac90SThierry Reding
10974e07ac90SThierry Reding			hsic-0 {
10984e07ac90SThierry Reding				status = "disabled";
10994e07ac90SThierry Reding			};
11004e07ac90SThierry Reding
11014e07ac90SThierry Reding			usb3-0 {
11024e07ac90SThierry Reding				status = "disabled";
11034e07ac90SThierry Reding			};
11044e07ac90SThierry Reding
11054e07ac90SThierry Reding			usb3-1 {
11064e07ac90SThierry Reding				status = "disabled";
11074e07ac90SThierry Reding			};
11084e07ac90SThierry Reding
11094e07ac90SThierry Reding			usb3-2 {
11104e07ac90SThierry Reding				status = "disabled";
11114e07ac90SThierry Reding			};
11124e07ac90SThierry Reding
11134e07ac90SThierry Reding			usb3-3 {
11144e07ac90SThierry Reding				status = "disabled";
11154e07ac90SThierry Reding			};
11164e07ac90SThierry Reding		};
11174e07ac90SThierry Reding	};
11184e07ac90SThierry Reding
1119be70771dSThierry Reding	sdhci@700b0000 {
1120742af7e7SThierry Reding		compatible = "nvidia,tegra210-sdhci", "nvidia,tegra124-sdhci";
1121742af7e7SThierry Reding		reg = <0x0 0x700b0000 0x0 0x200>;
1122742af7e7SThierry Reding		interrupts = <GIC_SPI 14 IRQ_TYPE_LEVEL_HIGH>;
1123742af7e7SThierry Reding		clocks = <&tegra_car TEGRA210_CLK_SDMMC1>;
1124742af7e7SThierry Reding		clock-names = "sdhci";
1125742af7e7SThierry Reding		resets = <&tegra_car 14>;
1126742af7e7SThierry Reding		reset-names = "sdhci";
11274e0f1229SSowjanya Komatineni		pinctrl-names = "sdmmc-3v3", "sdmmc-1v8",
11284e0f1229SSowjanya Komatineni				"sdmmc-3v3-drv", "sdmmc-1v8-drv";
11296641af7eSAapo Vienamo		pinctrl-0 = <&sdmmc1_3v3>;
11306641af7eSAapo Vienamo		pinctrl-1 = <&sdmmc1_1v8>;
11314e0f1229SSowjanya Komatineni		pinctrl-2 = <&sdmmc1_3v3_drv>;
11324e0f1229SSowjanya Komatineni		pinctrl-3 = <&sdmmc1_1v8_drv>;
11331ea06718SAapo Vienamo		nvidia,pad-autocal-pull-up-offset-3v3 = <0x00>;
11341ea06718SAapo Vienamo		nvidia,pad-autocal-pull-down-offset-3v3 = <0x7d>;
11351ea06718SAapo Vienamo		nvidia,pad-autocal-pull-up-offset-1v8 = <0x7b>;
11361ea06718SAapo Vienamo		nvidia,pad-autocal-pull-down-offset-1v8 = <0x7b>;
113763af8bcdSAapo Vienamo		nvidia,default-tap = <0x2>;
113863af8bcdSAapo Vienamo		nvidia,default-trim = <0x4>;
1139918f9671SAapo Vienamo		assigned-clocks = <&tegra_car TEGRA210_CLK_SDMMC4>,
1140918f9671SAapo Vienamo				  <&tegra_car TEGRA210_CLK_PLL_C4_OUT0>,
1141918f9671SAapo Vienamo				  <&tegra_car TEGRA210_CLK_PLL_C4>;
1142918f9671SAapo Vienamo		assigned-clock-parents = <&tegra_car TEGRA210_CLK_PLL_C4_OUT0>;
1143918f9671SAapo Vienamo		assigned-clock-rates = <200000000>, <1000000000>, <1000000000>;
1144742af7e7SThierry Reding		status = "disabled";
1145742af7e7SThierry Reding	};
1146742af7e7SThierry Reding
1147be70771dSThierry Reding	sdhci@700b0200 {
1148742af7e7SThierry Reding		compatible = "nvidia,tegra210-sdhci", "nvidia,tegra124-sdhci";
1149742af7e7SThierry Reding		reg = <0x0 0x700b0200 0x0 0x200>;
1150742af7e7SThierry Reding		interrupts = <GIC_SPI 15 IRQ_TYPE_LEVEL_HIGH>;
1151742af7e7SThierry Reding		clocks = <&tegra_car TEGRA210_CLK_SDMMC2>;
1152742af7e7SThierry Reding		clock-names = "sdhci";
1153742af7e7SThierry Reding		resets = <&tegra_car 9>;
1154742af7e7SThierry Reding		reset-names = "sdhci";
11554e0f1229SSowjanya Komatineni		pinctrl-names = "sdmmc-1v8-drv";
11564e0f1229SSowjanya Komatineni		pinctrl-0 = <&sdmmc2_1v8_drv>;
11571ea06718SAapo Vienamo		nvidia,pad-autocal-pull-up-offset-1v8 = <0x05>;
11581ea06718SAapo Vienamo		nvidia,pad-autocal-pull-down-offset-1v8 = <0x05>;
115963af8bcdSAapo Vienamo		nvidia,default-tap = <0x8>;
116063af8bcdSAapo Vienamo		nvidia,default-trim = <0x0>;
1161742af7e7SThierry Reding		status = "disabled";
1162742af7e7SThierry Reding	};
1163742af7e7SThierry Reding
1164be70771dSThierry Reding	sdhci@700b0400 {
1165742af7e7SThierry Reding		compatible = "nvidia,tegra210-sdhci", "nvidia,tegra124-sdhci";
1166742af7e7SThierry Reding		reg = <0x0 0x700b0400 0x0 0x200>;
1167742af7e7SThierry Reding		interrupts = <GIC_SPI 19 IRQ_TYPE_LEVEL_HIGH>;
1168742af7e7SThierry Reding		clocks = <&tegra_car TEGRA210_CLK_SDMMC3>;
1169742af7e7SThierry Reding		clock-names = "sdhci";
1170742af7e7SThierry Reding		resets = <&tegra_car 69>;
1171742af7e7SThierry Reding		reset-names = "sdhci";
11724e0f1229SSowjanya Komatineni		pinctrl-names = "sdmmc-3v3", "sdmmc-1v8",
11734e0f1229SSowjanya Komatineni				"sdmmc-3v3-drv", "sdmmc-1v8-drv";
11746641af7eSAapo Vienamo		pinctrl-0 = <&sdmmc3_3v3>;
11756641af7eSAapo Vienamo		pinctrl-1 = <&sdmmc3_1v8>;
11764e0f1229SSowjanya Komatineni		pinctrl-2 = <&sdmmc3_3v3_drv>;
11774e0f1229SSowjanya Komatineni		pinctrl-3 = <&sdmmc3_1v8_drv>;
11781ea06718SAapo Vienamo		nvidia,pad-autocal-pull-up-offset-3v3 = <0x00>;
11791ea06718SAapo Vienamo		nvidia,pad-autocal-pull-down-offset-3v3 = <0x7d>;
11801ea06718SAapo Vienamo		nvidia,pad-autocal-pull-up-offset-1v8 = <0x7b>;
11811ea06718SAapo Vienamo		nvidia,pad-autocal-pull-down-offset-1v8 = <0x7b>;
118263af8bcdSAapo Vienamo		nvidia,default-tap = <0x3>;
118363af8bcdSAapo Vienamo		nvidia,default-trim = <0x3>;
1184742af7e7SThierry Reding		status = "disabled";
1185742af7e7SThierry Reding	};
1186742af7e7SThierry Reding
1187be70771dSThierry Reding	sdhci@700b0600 {
1188742af7e7SThierry Reding		compatible = "nvidia,tegra210-sdhci", "nvidia,tegra124-sdhci";
1189742af7e7SThierry Reding		reg = <0x0 0x700b0600 0x0 0x200>;
1190742af7e7SThierry Reding		interrupts = <GIC_SPI 31 IRQ_TYPE_LEVEL_HIGH>;
1191742af7e7SThierry Reding		clocks = <&tegra_car TEGRA210_CLK_SDMMC4>;
1192742af7e7SThierry Reding		clock-names = "sdhci";
1193742af7e7SThierry Reding		resets = <&tegra_car 15>;
1194742af7e7SThierry Reding		reset-names = "sdhci";
11954e0f1229SSowjanya Komatineni		pinctrl-names = "sdmmc-3v3-drv", "sdmmc-1v8-drv";
11964e0f1229SSowjanya Komatineni		pinctrl-0 = <&sdmmc4_1v8_drv>;
11974e0f1229SSowjanya Komatineni		pinctrl-1 = <&sdmmc4_1v8_drv>;
11981ea06718SAapo Vienamo		nvidia,pad-autocal-pull-up-offset-1v8 = <0x05>;
11991ea06718SAapo Vienamo		nvidia,pad-autocal-pull-down-offset-1v8 = <0x05>;
120063af8bcdSAapo Vienamo		nvidia,default-tap = <0x8>;
120163af8bcdSAapo Vienamo		nvidia,default-trim = <0x0>;
1202918f9671SAapo Vienamo		assigned-clocks = <&tegra_car TEGRA210_CLK_SDMMC4>,
1203918f9671SAapo Vienamo				  <&tegra_car TEGRA210_CLK_PLL_C4_OUT0>;
1204918f9671SAapo Vienamo		assigned-clock-parents = <&tegra_car TEGRA210_CLK_PLL_C4_OUT0>;
12055879600aSAapo Vienamo		nvidia,dqs-trim = <40>;
1206d5d6b468SAapo Vienamo		mmc-hs400-1_8v;
1207742af7e7SThierry Reding		status = "disabled";
1208742af7e7SThierry Reding	};
1209742af7e7SThierry Reding
1210be70771dSThierry Reding	mipi: mipi@700e3000 {
1211742af7e7SThierry Reding		compatible = "nvidia,tegra210-mipi";
1212742af7e7SThierry Reding		reg = <0x0 0x700e3000 0x0 0x100>;
1213742af7e7SThierry Reding		clocks = <&tegra_car TEGRA210_CLK_MIPI_CAL>;
1214742af7e7SThierry Reding		clock-names = "mipi-cal";
121596d1f078SJon Hunter		power-domains = <&pd_sor>;
1216742af7e7SThierry Reding		#nvidia,mipi-calibrate-cells = <1>;
1217742af7e7SThierry Reding	};
1218742af7e7SThierry Reding
12192ceed593SJoseph Lo	dfll: clock@70110000 {
12202ceed593SJoseph Lo		compatible = "nvidia,tegra210-dfll";
12212ceed593SJoseph Lo		reg = <0 0x70110000 0 0x100>, /* DFLL control */
12222ceed593SJoseph Lo		      <0 0x70110000 0 0x100>, /* I2C output control */
12232ceed593SJoseph Lo		      <0 0x70110100 0 0x100>, /* Integrated I2C controller */
12242ceed593SJoseph Lo		      <0 0x70110200 0 0x100>; /* Look-up table RAM */
12252ceed593SJoseph Lo		interrupts = <GIC_SPI 62 IRQ_TYPE_LEVEL_HIGH>;
12262ceed593SJoseph Lo		clocks = <&tegra_car TEGRA210_CLK_DFLL_SOC>,
12272ceed593SJoseph Lo			 <&tegra_car TEGRA210_CLK_DFLL_REF>,
12282ceed593SJoseph Lo			 <&tegra_car TEGRA210_CLK_I2C5>;
12292ceed593SJoseph Lo		clock-names = "soc", "ref", "i2c";
12302ceed593SJoseph Lo		resets = <&tegra_car TEGRA210_RST_DFLL_DVCO>;
12312ceed593SJoseph Lo		reset-names = "dvco";
12322ceed593SJoseph Lo		#clock-cells = <0>;
12332ceed593SJoseph Lo		clock-output-names = "dfllCPU_out";
12342ceed593SJoseph Lo		status = "disabled";
12352ceed593SJoseph Lo	};
12362ceed593SJoseph Lo
12370f133090SJon Hunter	aconnect@702c0000 {
12380f133090SJon Hunter		compatible = "nvidia,tegra210-aconnect";
12390f133090SJon Hunter		clocks = <&tegra_car TEGRA210_CLK_APE>,
12400f133090SJon Hunter			 <&tegra_car TEGRA210_CLK_APB2APE>;
12410f133090SJon Hunter		clock-names = "ape", "apb2ape";
12420f133090SJon Hunter		power-domains = <&pd_audio>;
12430f133090SJon Hunter		#address-cells = <1>;
12440f133090SJon Hunter		#size-cells = <1>;
12450f133090SJon Hunter		ranges = <0x702c0000 0x0 0x702c0000 0x00040000>;
12460f133090SJon Hunter		status = "disabled";
1247bcdbde43SJon Hunter
124819e61213SJon Hunter		adma: dma@702e2000 {
124919e61213SJon Hunter			compatible = "nvidia,tegra210-adma";
125019e61213SJon Hunter			reg = <0x702e2000 0x2000>;
125119e61213SJon Hunter			interrupt-parent = <&agic>;
125219e61213SJon Hunter			interrupts = <GIC_SPI 24 IRQ_TYPE_LEVEL_HIGH>,
125319e61213SJon Hunter				     <GIC_SPI 25 IRQ_TYPE_LEVEL_HIGH>,
125419e61213SJon Hunter				     <GIC_SPI 26 IRQ_TYPE_LEVEL_HIGH>,
125519e61213SJon Hunter				     <GIC_SPI 27 IRQ_TYPE_LEVEL_HIGH>,
125619e61213SJon Hunter				     <GIC_SPI 28 IRQ_TYPE_LEVEL_HIGH>,
125719e61213SJon Hunter				     <GIC_SPI 29 IRQ_TYPE_LEVEL_HIGH>,
125819e61213SJon Hunter				     <GIC_SPI 30 IRQ_TYPE_LEVEL_HIGH>,
125919e61213SJon Hunter				     <GIC_SPI 31 IRQ_TYPE_LEVEL_HIGH>,
126019e61213SJon Hunter				     <GIC_SPI 32 IRQ_TYPE_LEVEL_HIGH>,
126119e61213SJon Hunter				     <GIC_SPI 33 IRQ_TYPE_LEVEL_HIGH>,
126219e61213SJon Hunter				     <GIC_SPI 34 IRQ_TYPE_LEVEL_HIGH>,
126319e61213SJon Hunter				     <GIC_SPI 35 IRQ_TYPE_LEVEL_HIGH>,
126419e61213SJon Hunter				     <GIC_SPI 36 IRQ_TYPE_LEVEL_HIGH>,
126519e61213SJon Hunter				     <GIC_SPI 37 IRQ_TYPE_LEVEL_HIGH>,
126619e61213SJon Hunter				     <GIC_SPI 38 IRQ_TYPE_LEVEL_HIGH>,
126719e61213SJon Hunter				     <GIC_SPI 39 IRQ_TYPE_LEVEL_HIGH>,
126819e61213SJon Hunter				     <GIC_SPI 40 IRQ_TYPE_LEVEL_HIGH>,
126919e61213SJon Hunter				     <GIC_SPI 41 IRQ_TYPE_LEVEL_HIGH>,
127019e61213SJon Hunter				     <GIC_SPI 42 IRQ_TYPE_LEVEL_HIGH>,
127119e61213SJon Hunter				     <GIC_SPI 43 IRQ_TYPE_LEVEL_HIGH>,
127219e61213SJon Hunter				     <GIC_SPI 44 IRQ_TYPE_LEVEL_HIGH>,
127319e61213SJon Hunter				     <GIC_SPI 45 IRQ_TYPE_LEVEL_HIGH>;
127419e61213SJon Hunter			#dma-cells = <1>;
127519e61213SJon Hunter			clocks = <&tegra_car TEGRA210_CLK_D_AUDIO>;
127619e61213SJon Hunter			clock-names = "d_audio";
127719e61213SJon Hunter			status = "disabled";
127819e61213SJon Hunter		};
127919e61213SJon Hunter
1280bcdbde43SJon Hunter		agic: agic@702f9000 {
1281bcdbde43SJon Hunter			compatible = "nvidia,tegra210-agic";
1282bcdbde43SJon Hunter			#interrupt-cells = <3>;
1283bcdbde43SJon Hunter			interrupt-controller;
1284ba24eee6SJon Hunter			reg = <0x702f9000 0x1000>,
1285bcdbde43SJon Hunter			      <0x702fa000 0x2000>;
1286bcdbde43SJon Hunter			interrupts = <GIC_SPI 102 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>;
1287bcdbde43SJon Hunter			clocks = <&tegra_car TEGRA210_CLK_APE>;
1288bcdbde43SJon Hunter			clock-names = "clk";
1289bcdbde43SJon Hunter			status = "disabled";
1290bcdbde43SJon Hunter		};
12910f133090SJon Hunter	};
12920f133090SJon Hunter
1293be70771dSThierry Reding	spi@70410000 {
1294742af7e7SThierry Reding		compatible = "nvidia,tegra210-qspi";
1295742af7e7SThierry Reding		reg = <0x0 0x70410000 0x0 0x1000>;
1296742af7e7SThierry Reding		interrupts = <GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>;
1297742af7e7SThierry Reding		#address-cells = <1>;
1298742af7e7SThierry Reding		#size-cells = <0>;
1299742af7e7SThierry Reding		clocks = <&tegra_car TEGRA210_CLK_QSPI>;
1300742af7e7SThierry Reding		clock-names = "qspi";
1301742af7e7SThierry Reding		resets = <&tegra_car 211>;
1302742af7e7SThierry Reding		reset-names = "qspi";
1303742af7e7SThierry Reding		dmas = <&apbdma 5>, <&apbdma 5>;
1304742af7e7SThierry Reding		dma-names = "rx", "tx";
1305742af7e7SThierry Reding		status = "disabled";
1306742af7e7SThierry Reding	};
1307742af7e7SThierry Reding
1308be70771dSThierry Reding	usb@7d000000 {
1309742af7e7SThierry Reding		compatible = "nvidia,tegra210-ehci", "nvidia,tegra30-ehci", "usb-ehci";
1310742af7e7SThierry Reding		reg = <0x0 0x7d000000 0x0 0x4000>;
1311742af7e7SThierry Reding		interrupts = <GIC_SPI 20 IRQ_TYPE_LEVEL_HIGH>;
1312742af7e7SThierry Reding		phy_type = "utmi";
1313742af7e7SThierry Reding		clocks = <&tegra_car TEGRA210_CLK_USBD>;
1314742af7e7SThierry Reding		clock-names = "usb";
1315742af7e7SThierry Reding		resets = <&tegra_car 22>;
1316742af7e7SThierry Reding		reset-names = "usb";
1317742af7e7SThierry Reding		nvidia,phy = <&phy1>;
1318742af7e7SThierry Reding		status = "disabled";
1319742af7e7SThierry Reding	};
1320742af7e7SThierry Reding
1321be70771dSThierry Reding	phy1: usb-phy@7d000000 {
1322742af7e7SThierry Reding		compatible = "nvidia,tegra210-usb-phy", "nvidia,tegra30-usb-phy";
1323742af7e7SThierry Reding		reg = <0x0 0x7d000000 0x0 0x4000>,
1324742af7e7SThierry Reding		      <0x0 0x7d000000 0x0 0x4000>;
1325742af7e7SThierry Reding		phy_type = "utmi";
1326742af7e7SThierry Reding		clocks = <&tegra_car TEGRA210_CLK_USBD>,
1327742af7e7SThierry Reding			 <&tegra_car TEGRA210_CLK_PLL_U>,
1328742af7e7SThierry Reding			 <&tegra_car TEGRA210_CLK_USBD>;
1329742af7e7SThierry Reding		clock-names = "reg", "pll_u", "utmi-pads";
1330742af7e7SThierry Reding		resets = <&tegra_car 22>, <&tegra_car 22>;
1331742af7e7SThierry Reding		reset-names = "usb", "utmi-pads";
1332742af7e7SThierry Reding		nvidia,hssync-start-delay = <0>;
1333742af7e7SThierry Reding		nvidia,idle-wait-delay = <17>;
1334742af7e7SThierry Reding		nvidia,elastic-limit = <16>;
1335742af7e7SThierry Reding		nvidia,term-range-adj = <6>;
1336742af7e7SThierry Reding		nvidia,xcvr-setup = <9>;
1337742af7e7SThierry Reding		nvidia,xcvr-lsfslew = <0>;
1338742af7e7SThierry Reding		nvidia,xcvr-lsrslew = <3>;
1339742af7e7SThierry Reding		nvidia,hssquelch-level = <2>;
1340742af7e7SThierry Reding		nvidia,hsdiscon-level = <5>;
1341742af7e7SThierry Reding		nvidia,xcvr-hsslew = <12>;
1342742af7e7SThierry Reding		nvidia,has-utmi-pad-registers;
1343742af7e7SThierry Reding		status = "disabled";
1344742af7e7SThierry Reding	};
1345742af7e7SThierry Reding
1346be70771dSThierry Reding	usb@7d004000 {
1347742af7e7SThierry Reding		compatible = "nvidia,tegra210-ehci", "nvidia,tegra30-ehci", "usb-ehci";
1348742af7e7SThierry Reding		reg = <0x0 0x7d004000 0x0 0x4000>;
1349742af7e7SThierry Reding		interrupts = <GIC_SPI 21 IRQ_TYPE_LEVEL_HIGH>;
1350742af7e7SThierry Reding		phy_type = "utmi";
1351742af7e7SThierry Reding		clocks = <&tegra_car TEGRA210_CLK_USB2>;
1352742af7e7SThierry Reding		clock-names = "usb";
1353742af7e7SThierry Reding		resets = <&tegra_car 58>;
1354742af7e7SThierry Reding		reset-names = "usb";
1355742af7e7SThierry Reding		nvidia,phy = <&phy2>;
1356742af7e7SThierry Reding		status = "disabled";
1357742af7e7SThierry Reding	};
1358742af7e7SThierry Reding
1359be70771dSThierry Reding	phy2: usb-phy@7d004000 {
1360742af7e7SThierry Reding		compatible = "nvidia,tegra210-usb-phy", "nvidia,tegra30-usb-phy";
1361742af7e7SThierry Reding		reg = <0x0 0x7d004000 0x0 0x4000>,
1362742af7e7SThierry Reding		      <0x0 0x7d000000 0x0 0x4000>;
1363742af7e7SThierry Reding		phy_type = "utmi";
1364742af7e7SThierry Reding		clocks = <&tegra_car TEGRA210_CLK_USB2>,
1365742af7e7SThierry Reding			 <&tegra_car TEGRA210_CLK_PLL_U>,
1366742af7e7SThierry Reding			 <&tegra_car TEGRA210_CLK_USBD>;
1367742af7e7SThierry Reding		clock-names = "reg", "pll_u", "utmi-pads";
1368742af7e7SThierry Reding		resets = <&tegra_car 58>, <&tegra_car 22>;
1369742af7e7SThierry Reding		reset-names = "usb", "utmi-pads";
1370742af7e7SThierry Reding		nvidia,hssync-start-delay = <0>;
1371742af7e7SThierry Reding		nvidia,idle-wait-delay = <17>;
1372742af7e7SThierry Reding		nvidia,elastic-limit = <16>;
1373742af7e7SThierry Reding		nvidia,term-range-adj = <6>;
1374742af7e7SThierry Reding		nvidia,xcvr-setup = <9>;
1375742af7e7SThierry Reding		nvidia,xcvr-lsfslew = <0>;
1376742af7e7SThierry Reding		nvidia,xcvr-lsrslew = <3>;
1377742af7e7SThierry Reding		nvidia,hssquelch-level = <2>;
1378742af7e7SThierry Reding		nvidia,hsdiscon-level = <5>;
1379742af7e7SThierry Reding		nvidia,xcvr-hsslew = <12>;
1380742af7e7SThierry Reding		status = "disabled";
1381742af7e7SThierry Reding	};
1382742af7e7SThierry Reding
1383742af7e7SThierry Reding	cpus {
1384742af7e7SThierry Reding		#address-cells = <1>;
1385742af7e7SThierry Reding		#size-cells = <0>;
1386742af7e7SThierry Reding
1387742af7e7SThierry Reding		cpu@0 {
1388742af7e7SThierry Reding			device_type = "cpu";
1389742af7e7SThierry Reding			compatible = "arm,cortex-a57";
1390742af7e7SThierry Reding			reg = <0>;
139143b9b402SJoseph Lo			clocks = <&tegra_car TEGRA210_CLK_CCLK_G>,
139243b9b402SJoseph Lo				 <&tegra_car TEGRA210_CLK_PLL_X>,
139343b9b402SJoseph Lo				 <&tegra_car TEGRA210_CLK_PLL_P_OUT4>,
139443b9b402SJoseph Lo				 <&dfll>;
139543b9b402SJoseph Lo			clock-names = "cpu_g", "pll_x", "pll_p", "dfll";
139643b9b402SJoseph Lo			clock-latency = <300000>;
1397da77c6d9SJoseph Lo			cpu-idle-states = <&CPU_SLEEP>;
13986c00cac1SJoseph Lo			next-level-cache = <&L2>;
1399742af7e7SThierry Reding		};
1400742af7e7SThierry Reding
1401742af7e7SThierry Reding		cpu@1 {
1402742af7e7SThierry Reding			device_type = "cpu";
1403742af7e7SThierry Reding			compatible = "arm,cortex-a57";
1404742af7e7SThierry Reding			reg = <1>;
1405da77c6d9SJoseph Lo			cpu-idle-states = <&CPU_SLEEP>;
14066c00cac1SJoseph Lo			next-level-cache = <&L2>;
1407742af7e7SThierry Reding		};
1408742af7e7SThierry Reding
1409742af7e7SThierry Reding		cpu@2 {
1410742af7e7SThierry Reding			device_type = "cpu";
1411742af7e7SThierry Reding			compatible = "arm,cortex-a57";
1412742af7e7SThierry Reding			reg = <2>;
1413da77c6d9SJoseph Lo			cpu-idle-states = <&CPU_SLEEP>;
14146c00cac1SJoseph Lo			next-level-cache = <&L2>;
1415742af7e7SThierry Reding		};
1416742af7e7SThierry Reding
1417742af7e7SThierry Reding		cpu@3 {
1418742af7e7SThierry Reding			device_type = "cpu";
1419742af7e7SThierry Reding			compatible = "arm,cortex-a57";
1420742af7e7SThierry Reding			reg = <3>;
1421da77c6d9SJoseph Lo			cpu-idle-states = <&CPU_SLEEP>;
14226c00cac1SJoseph Lo			next-level-cache = <&L2>;
1423da77c6d9SJoseph Lo		};
1424da77c6d9SJoseph Lo
1425da77c6d9SJoseph Lo		idle-states {
1426da77c6d9SJoseph Lo			entry-method = "psci";
1427da77c6d9SJoseph Lo
1428da77c6d9SJoseph Lo			CPU_SLEEP: cpu-sleep {
1429da77c6d9SJoseph Lo				compatible = "arm,idle-state";
1430da77c6d9SJoseph Lo				arm,psci-suspend-param = <0x40000007>;
1431da77c6d9SJoseph Lo				entry-latency-us = <100>;
1432da77c6d9SJoseph Lo				exit-latency-us = <30>;
1433da77c6d9SJoseph Lo				min-residency-us = <1000>;
1434da77c6d9SJoseph Lo				wakeup-latency-us = <130>;
1435da77c6d9SJoseph Lo				idle-state-name = "cpu-sleep";
1436da77c6d9SJoseph Lo				status = "disabled";
1437da77c6d9SJoseph Lo			};
1438742af7e7SThierry Reding		};
14396c00cac1SJoseph Lo
14406c00cac1SJoseph Lo		L2: l2-cache {
14416c00cac1SJoseph Lo			compatible = "cache";
14426c00cac1SJoseph Lo		};
1443742af7e7SThierry Reding	};
1444742af7e7SThierry Reding
1445264064abSThierry Reding	pmu {
1446264064abSThierry Reding		compatible = "arm,armv8-pmuv3";
1447264064abSThierry Reding		interrupts = <GIC_SPI 144 IRQ_TYPE_LEVEL_HIGH>,
1448264064abSThierry Reding			     <GIC_SPI 145 IRQ_TYPE_LEVEL_HIGH>,
1449264064abSThierry Reding			     <GIC_SPI 146 IRQ_TYPE_LEVEL_HIGH>,
1450264064abSThierry Reding			     <GIC_SPI 147 IRQ_TYPE_LEVEL_HIGH>;
1451264064abSThierry Reding		interrupt-affinity = <&{/cpus/cpu@0} &{/cpus/cpu@1}
1452264064abSThierry Reding				      &{/cpus/cpu@2} &{/cpus/cpu@3}>;
1453264064abSThierry Reding	};
1454264064abSThierry Reding
1455742af7e7SThierry Reding	timer {
1456742af7e7SThierry Reding		compatible = "arm,armv8-timer";
1457742af7e7SThierry Reding		interrupts = <GIC_PPI 13
1458742af7e7SThierry Reding				(GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>,
1459742af7e7SThierry Reding			     <GIC_PPI 14
1460742af7e7SThierry Reding				(GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>,
1461742af7e7SThierry Reding			     <GIC_PPI 11
1462742af7e7SThierry Reding				(GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>,
1463742af7e7SThierry Reding			     <GIC_PPI 10
1464742af7e7SThierry Reding				(GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>;
1465742af7e7SThierry Reding		interrupt-parent = <&gic>;
14666b9e263bSThierry Reding		arm,no-tick-in-suspend;
1467742af7e7SThierry Reding	};
1468e2bed1ebSWei Ni
1469e2bed1ebSWei Ni	soctherm: thermal-sensor@700e2000 {
1470e2bed1ebSWei Ni		compatible = "nvidia,tegra210-soctherm";
1471cbd0f000SWei Ni		reg = <0x0 0x700e2000 0x0 0x600 /* SOC_THERM reg_base */
1472cbd0f000SWei Ni			0x0 0x60006000 0x0 0x400>; /* CAR reg_base */
1473cbd0f000SWei Ni		reg-names = "soctherm-reg", "car-reg";
147444ff822cSThierry Reding		interrupts = <GIC_SPI 48 IRQ_TYPE_LEVEL_HIGH>,
147544ff822cSThierry Reding			     <GIC_SPI 51 IRQ_TYPE_LEVEL_HIGH>;
147644ff822cSThierry Reding		interrupt-names = "thermal", "edp";
1477e2bed1ebSWei Ni		clocks = <&tegra_car TEGRA210_CLK_TSENSOR>,
1478e2bed1ebSWei Ni			<&tegra_car TEGRA210_CLK_SOC_THERM>;
1479e2bed1ebSWei Ni		clock-names = "tsensor", "soctherm";
1480e2bed1ebSWei Ni		resets = <&tegra_car 78>;
1481e2bed1ebSWei Ni		reset-names = "soctherm";
1482e2bed1ebSWei Ni		#thermal-sensor-cells = <1>;
1483cbd0f000SWei Ni
1484cbd0f000SWei Ni		throttle-cfgs {
1485cbd0f000SWei Ni			throttle_heavy: heavy {
1486cbd0f000SWei Ni				nvidia,priority = <100>;
1487cbd0f000SWei Ni				nvidia,cpu-throt-percent = <85>;
1488cbd0f000SWei Ni
1489cbd0f000SWei Ni				#cooling-cells = <2>;
1490cbd0f000SWei Ni			};
1491cbd0f000SWei Ni		};
1492e2bed1ebSWei Ni	};
1493e2bed1ebSWei Ni
1494e2bed1ebSWei Ni	thermal-zones {
1495e2bed1ebSWei Ni		cpu {
1496e2bed1ebSWei Ni			polling-delay-passive = <1000>;
1497e2bed1ebSWei Ni			polling-delay = <0>;
1498e2bed1ebSWei Ni
1499e2bed1ebSWei Ni			thermal-sensors =
1500e2bed1ebSWei Ni				<&soctherm TEGRA124_SOCTHERM_SENSOR_CPU>;
15015e03f663SWei Ni
15025e03f663SWei Ni			trips {
15035e03f663SWei Ni				cpu-shutdown-trip {
15045e03f663SWei Ni					temperature = <102500>;
15055e03f663SWei Ni					hysteresis = <0>;
15065e03f663SWei Ni					type = "critical";
15075e03f663SWei Ni				};
1508cbd0f000SWei Ni
1509cbd0f000SWei Ni				cpu_throttle_trip: throttle-trip {
1510cbd0f000SWei Ni					temperature = <98500>;
1511cbd0f000SWei Ni					hysteresis = <1000>;
1512cbd0f000SWei Ni					type = "hot";
1513cbd0f000SWei Ni				};
15145e03f663SWei Ni			};
15155e03f663SWei Ni
15165e03f663SWei Ni			cooling-maps {
1517cbd0f000SWei Ni				map0 {
1518cbd0f000SWei Ni					trip = <&cpu_throttle_trip>;
1519cbd0f000SWei Ni					cooling-device = <&throttle_heavy 1 1>;
1520cbd0f000SWei Ni				};
15215e03f663SWei Ni			};
1522e2bed1ebSWei Ni		};
152324fc3363SThierry Reding
1524e2bed1ebSWei Ni		mem {
1525e2bed1ebSWei Ni			polling-delay-passive = <0>;
1526e2bed1ebSWei Ni			polling-delay = <0>;
1527e2bed1ebSWei Ni
1528e2bed1ebSWei Ni			thermal-sensors =
1529e2bed1ebSWei Ni				<&soctherm TEGRA124_SOCTHERM_SENSOR_MEM>;
15305e03f663SWei Ni
15315e03f663SWei Ni			trips {
15325e03f663SWei Ni				mem-shutdown-trip {
15335e03f663SWei Ni					temperature = <103000>;
15345e03f663SWei Ni					hysteresis = <0>;
15355e03f663SWei Ni					type = "critical";
15365e03f663SWei Ni				};
15375e03f663SWei Ni			};
15385e03f663SWei Ni
15395e03f663SWei Ni			cooling-maps {
15405e03f663SWei Ni				/*
15415e03f663SWei Ni				 * There are currently no cooling maps,
15425e03f663SWei Ni				 * because there are no cooling devices.
15435e03f663SWei Ni				 */
15445e03f663SWei Ni			};
1545e2bed1ebSWei Ni		};
154624fc3363SThierry Reding
1547e2bed1ebSWei Ni		gpu {
1548e2bed1ebSWei Ni			polling-delay-passive = <1000>;
1549e2bed1ebSWei Ni			polling-delay = <0>;
1550e2bed1ebSWei Ni
1551e2bed1ebSWei Ni			thermal-sensors =
1552e2bed1ebSWei Ni				<&soctherm TEGRA124_SOCTHERM_SENSOR_GPU>;
15535e03f663SWei Ni
15545e03f663SWei Ni			trips {
15555e03f663SWei Ni				gpu-shutdown-trip {
15565e03f663SWei Ni					temperature = <103000>;
15575e03f663SWei Ni					hysteresis = <0>;
15585e03f663SWei Ni					type = "critical";
15595e03f663SWei Ni				};
1560cbd0f000SWei Ni
1561cbd0f000SWei Ni				gpu_throttle_trip: throttle-trip {
1562cbd0f000SWei Ni					temperature = <100000>;
1563cbd0f000SWei Ni					hysteresis = <1000>;
1564cbd0f000SWei Ni					type = "hot";
1565cbd0f000SWei Ni				};
15665e03f663SWei Ni			};
15675e03f663SWei Ni
15685e03f663SWei Ni			cooling-maps {
1569cbd0f000SWei Ni				map0 {
1570cbd0f000SWei Ni					trip = <&gpu_throttle_trip>;
1571cbd0f000SWei Ni					cooling-device = <&throttle_heavy 1 1>;
1572cbd0f000SWei Ni				};
15735e03f663SWei Ni			};
1574e2bed1ebSWei Ni		};
157524fc3363SThierry Reding
1576e2bed1ebSWei Ni		pllx {
1577e2bed1ebSWei Ni			polling-delay-passive = <0>;
1578e2bed1ebSWei Ni			polling-delay = <0>;
1579e2bed1ebSWei Ni
1580e2bed1ebSWei Ni			thermal-sensors =
1581e2bed1ebSWei Ni				<&soctherm TEGRA124_SOCTHERM_SENSOR_PLLX>;
15825e03f663SWei Ni
15835e03f663SWei Ni			trips {
15845e03f663SWei Ni				pllx-shutdown-trip {
15855e03f663SWei Ni					temperature = <103000>;
15865e03f663SWei Ni					hysteresis = <0>;
15875e03f663SWei Ni					type = "critical";
15885e03f663SWei Ni				};
15895e03f663SWei Ni			};
15905e03f663SWei Ni
15915e03f663SWei Ni			cooling-maps {
15925e03f663SWei Ni				/*
15935e03f663SWei Ni				 * There are currently no cooling maps,
15945e03f663SWei Ni				 * because there are no cooling devices.
15955e03f663SWei Ni				 */
15965e03f663SWei Ni			};
1597e2bed1ebSWei Ni		};
1598e2bed1ebSWei Ni	};
1599742af7e7SThierry Reding};
1600