xref: /linux/scripts/dtc/include-prefixes/arm/nvidia/tegra20-asus-tf101.dts (revision 0ea5c948cb64bab5bc7a5516774eb8536f05aa0d)
1724ba675SRob Herring// SPDX-License-Identifier: GPL-2.0
2724ba675SRob Herring/dts-v1/;
3724ba675SRob Herring
4724ba675SRob Herring#include <dt-bindings/input/atmel-maxtouch.h>
5724ba675SRob Herring#include <dt-bindings/input/gpio-keys.h>
6724ba675SRob Herring#include <dt-bindings/input/input.h>
7724ba675SRob Herring#include <dt-bindings/thermal/thermal.h>
8724ba675SRob Herring
9724ba675SRob Herring#include "tegra20.dtsi"
10724ba675SRob Herring#include "tegra20-cpu-opp.dtsi"
11724ba675SRob Herring#include "tegra20-cpu-opp-microvolt.dtsi"
12724ba675SRob Herring
13724ba675SRob Herring/ {
14724ba675SRob Herring	model = "ASUS EeePad Transformer TF101";
15724ba675SRob Herring	compatible = "asus,tf101", "nvidia,tegra20";
16724ba675SRob Herring	chassis-type = "convertible";
17724ba675SRob Herring
18724ba675SRob Herring	aliases {
19724ba675SRob Herring		mmc0 = &sdmmc4; /* eMMC */
20724ba675SRob Herring		mmc1 = &sdmmc3; /* MicroSD */
21724ba675SRob Herring		mmc2 = &sdmmc1; /* WiFi */
22724ba675SRob Herring
23724ba675SRob Herring		rtc0 = &pmic;
24724ba675SRob Herring		rtc1 = "/rtc@7000e000";
25724ba675SRob Herring
26724ba675SRob Herring		serial0 = &uartd;
27724ba675SRob Herring		serial1 = &uartc; /* Bluetooth */
28724ba675SRob Herring		serial2 = &uartb; /* GPS */
29724ba675SRob Herring	};
30724ba675SRob Herring
31724ba675SRob Herring	/*
32724ba675SRob Herring	 * The decompressor and also some bootloaders rely on a
33724ba675SRob Herring	 * pre-existing /chosen node to be available to insert the
34724ba675SRob Herring	 * command line and merge other ATAGS info.
35724ba675SRob Herring	 */
36724ba675SRob Herring	chosen {};
37724ba675SRob Herring
38724ba675SRob Herring	memory@0 {
39724ba675SRob Herring		reg = <0x00000000 0x40000000>;
40724ba675SRob Herring	};
41724ba675SRob Herring
42724ba675SRob Herring	reserved-memory {
43724ba675SRob Herring		#address-cells = <1>;
44724ba675SRob Herring		#size-cells = <1>;
45724ba675SRob Herring		ranges;
46724ba675SRob Herring
47724ba675SRob Herring		ramoops@2ffe0000 {
48724ba675SRob Herring			compatible = "ramoops";
49724ba675SRob Herring			reg = <0x2ffe0000 0x10000>;	/* 64kB */
50724ba675SRob Herring			console-size = <0x8000>;	/* 32kB */
51724ba675SRob Herring			record-size = <0x400>;		/*  1kB */
52724ba675SRob Herring			ecc-size = <16>;
53724ba675SRob Herring		};
54724ba675SRob Herring
55724ba675SRob Herring		linux,cma@30000000 {
56724ba675SRob Herring			compatible = "shared-dma-pool";
57724ba675SRob Herring			alloc-ranges = <0x30000000 0x10000000>;
58724ba675SRob Herring			size = <0x10000000>; /* 256MiB */
59724ba675SRob Herring			linux,cma-default;
60724ba675SRob Herring			reusable;
61724ba675SRob Herring		};
62724ba675SRob Herring	};
63724ba675SRob Herring
64724ba675SRob Herring	host1x@50000000 {
65724ba675SRob Herring		dc@54200000 {
66724ba675SRob Herring			rgb {
67724ba675SRob Herring				status = "okay";
68724ba675SRob Herring
69*3c2508d3SMaxim Schwalm				port {
70724ba675SRob Herring					lcd_output: endpoint {
71724ba675SRob Herring						remote-endpoint = <&lvds_encoder_input>;
72724ba675SRob Herring						bus-width = <18>;
73724ba675SRob Herring					};
74724ba675SRob Herring				};
75724ba675SRob Herring			};
76724ba675SRob Herring		};
77724ba675SRob Herring
78724ba675SRob Herring		hdmi@54280000 {
79724ba675SRob Herring			status = "okay";
80724ba675SRob Herring
81724ba675SRob Herring			vdd-supply = <&hdmi_vdd_reg>;
82724ba675SRob Herring			pll-supply = <&hdmi_pll_reg>;
83724ba675SRob Herring			hdmi-supply = <&vdd_hdmi_en>;
84724ba675SRob Herring
85724ba675SRob Herring			nvidia,ddc-i2c-bus = <&hdmi_ddc>;
86724ba675SRob Herring			nvidia,hpd-gpio = <&gpio TEGRA_GPIO(N, 7)
87724ba675SRob Herring				GPIO_ACTIVE_HIGH>;
88724ba675SRob Herring		};
89724ba675SRob Herring	};
90724ba675SRob Herring
91724ba675SRob Herring	gpio@6000d000 {
92724ba675SRob Herring		charging-enable-hog {
93724ba675SRob Herring			gpio-hog;
94724ba675SRob Herring			gpios = <TEGRA_GPIO(R, 6) GPIO_ACTIVE_HIGH>;
95724ba675SRob Herring			output-low;
96724ba675SRob Herring		};
97724ba675SRob Herring	};
98724ba675SRob Herring
99724ba675SRob Herring	pinmux@70000014 {
100724ba675SRob Herring		pinctrl-names = "default";
101724ba675SRob Herring		pinctrl-0 = <&state_default>;
102724ba675SRob Herring
103724ba675SRob Herring		state_default: pinmux {
104724ba675SRob Herring			ata {
105724ba675SRob Herring				nvidia,pins = "ata";
106724ba675SRob Herring				nvidia,function = "ide";
107724ba675SRob Herring			};
108724ba675SRob Herring
109724ba675SRob Herring			atb {
110724ba675SRob Herring				nvidia,pins = "atb", "gma", "gme";
111724ba675SRob Herring				nvidia,function = "sdio4";
112724ba675SRob Herring			};
113724ba675SRob Herring
114724ba675SRob Herring			atc {
115724ba675SRob Herring				nvidia,pins = "atc";
116724ba675SRob Herring				nvidia,function = "nand";
117724ba675SRob Herring			};
118724ba675SRob Herring
119724ba675SRob Herring			atd {
120724ba675SRob Herring				nvidia,pins = "atd", "ate", "gmb", "spia",
121724ba675SRob Herring					"spib", "spic";
122724ba675SRob Herring				nvidia,function = "gmi";
123724ba675SRob Herring			};
124724ba675SRob Herring
125724ba675SRob Herring			cdev1 {
126724ba675SRob Herring				nvidia,pins = "cdev1";
127724ba675SRob Herring				nvidia,function = "plla_out";
128724ba675SRob Herring			};
129724ba675SRob Herring
130724ba675SRob Herring			cdev2 {
131724ba675SRob Herring				nvidia,pins = "cdev2";
132724ba675SRob Herring				nvidia,function = "pllp_out4";
133724ba675SRob Herring			};
134724ba675SRob Herring
135724ba675SRob Herring			crtp {
136724ba675SRob Herring				nvidia,pins = "crtp";
137724ba675SRob Herring				nvidia,function = "crt";
138724ba675SRob Herring			};
139724ba675SRob Herring
140724ba675SRob Herring			lm1 {
141724ba675SRob Herring				nvidia,pins = "lm1";
142724ba675SRob Herring				nvidia,function = "rsvd3";
143724ba675SRob Herring			};
144724ba675SRob Herring
145724ba675SRob Herring			csus {
146724ba675SRob Herring				nvidia,pins = "csus";
147724ba675SRob Herring				nvidia,function = "vi_sensor_clk";
148724ba675SRob Herring			};
149724ba675SRob Herring
150724ba675SRob Herring			dap1 {
151724ba675SRob Herring				nvidia,pins = "dap1";
152724ba675SRob Herring				nvidia,function = "dap1";
153724ba675SRob Herring			};
154724ba675SRob Herring
155724ba675SRob Herring			dap2 {
156724ba675SRob Herring				nvidia,pins = "dap2";
157724ba675SRob Herring				nvidia,function = "dap2";
158724ba675SRob Herring			};
159724ba675SRob Herring
160724ba675SRob Herring			dap3 {
161724ba675SRob Herring				nvidia,pins = "dap3";
162724ba675SRob Herring				nvidia,function = "dap3";
163724ba675SRob Herring			};
164724ba675SRob Herring
165724ba675SRob Herring			dap4 {
166724ba675SRob Herring				nvidia,pins = "dap4";
167724ba675SRob Herring				nvidia,function = "dap4";
168724ba675SRob Herring			};
169724ba675SRob Herring
170724ba675SRob Herring			dta {
171724ba675SRob Herring				nvidia,pins = "dta", "dtb", "dtc", "dtd", "dte";
172724ba675SRob Herring				nvidia,function = "vi";
173724ba675SRob Herring			};
174724ba675SRob Herring
175724ba675SRob Herring			dtf {
176724ba675SRob Herring				nvidia,pins = "dtf";
177724ba675SRob Herring				nvidia,function = "i2c3";
178724ba675SRob Herring			};
179724ba675SRob Herring
180724ba675SRob Herring			gmc {
181724ba675SRob Herring				nvidia,pins = "gmc";
182724ba675SRob Herring				nvidia,function = "uartd";
183724ba675SRob Herring			};
184724ba675SRob Herring
185724ba675SRob Herring			gmd {
186724ba675SRob Herring				nvidia,pins = "gmd";
187724ba675SRob Herring				nvidia,function = "sflash";
188724ba675SRob Herring			};
189724ba675SRob Herring
190724ba675SRob Herring			gpu {
191724ba675SRob Herring				nvidia,pins = "gpu";
192724ba675SRob Herring				nvidia,function = "pwm";
193724ba675SRob Herring			};
194724ba675SRob Herring
195724ba675SRob Herring			gpu7 {
196724ba675SRob Herring				nvidia,pins = "gpu7";
197724ba675SRob Herring				nvidia,function = "rtck";
198724ba675SRob Herring			};
199724ba675SRob Herring
200724ba675SRob Herring			gpv {
201724ba675SRob Herring				nvidia,pins = "gpv", "slxa";
202724ba675SRob Herring				nvidia,function = "pcie";
203724ba675SRob Herring			};
204724ba675SRob Herring
205724ba675SRob Herring			hdint {
206724ba675SRob Herring				nvidia,pins = "hdint";
207724ba675SRob Herring				nvidia,function = "hdmi";
208724ba675SRob Herring			};
209724ba675SRob Herring
210724ba675SRob Herring			i2cp {
211724ba675SRob Herring				nvidia,pins = "i2cp";
212724ba675SRob Herring				nvidia,function = "i2cp";
213724ba675SRob Herring			};
214724ba675SRob Herring
215724ba675SRob Herring			irrx {
216724ba675SRob Herring				nvidia,pins = "irrx", "irtx";
217724ba675SRob Herring				nvidia,function = "uartb";
218724ba675SRob Herring			};
219724ba675SRob Herring
220724ba675SRob Herring			kbca {
221724ba675SRob Herring				nvidia,pins = "kbca", "kbcb", "kbcc", "kbcd",
222724ba675SRob Herring					"kbce", "kbcf";
223724ba675SRob Herring				nvidia,function = "kbc";
224724ba675SRob Herring			};
225724ba675SRob Herring
226724ba675SRob Herring			lcsn {
227724ba675SRob Herring				nvidia,pins = "lcsn", "ldc", "lm0", "lpw1",
228724ba675SRob Herring					"lsdi", "lvp0";
229724ba675SRob Herring				nvidia,function = "rsvd4";
230724ba675SRob Herring			};
231724ba675SRob Herring
232724ba675SRob Herring			ld0 {
233724ba675SRob Herring				nvidia,pins = "ld0", "ld1", "ld2", "ld3", "ld4",
234724ba675SRob Herring					"ld5", "ld6", "ld7", "ld8", "ld9",
235724ba675SRob Herring					"ld10", "ld11", "ld12", "ld13", "ld14",
236724ba675SRob Herring					"ld15", "ld16", "ld17", "ldi", "lhp0",
237724ba675SRob Herring					"lhp1", "lhp2", "lhs", "lpp", "lpw0",
238724ba675SRob Herring					"lpw2", "lsc0", "lsc1", "lsck", "lsda",
239724ba675SRob Herring					"lspi", "lvp1", "lvs";
240724ba675SRob Herring				nvidia,function = "displaya";
241724ba675SRob Herring			};
242724ba675SRob Herring
243724ba675SRob Herring			owc {
244724ba675SRob Herring				nvidia,pins = "owc", "spdi", "spdo", "uac";
245724ba675SRob Herring				nvidia,function = "rsvd2";
246724ba675SRob Herring			};
247724ba675SRob Herring
248724ba675SRob Herring			pmc {
249724ba675SRob Herring				nvidia,pins = "pmc";
250724ba675SRob Herring				nvidia,function = "pwr_on";
251724ba675SRob Herring			};
252724ba675SRob Herring
253724ba675SRob Herring			rm {
254724ba675SRob Herring				nvidia,pins = "rm";
255724ba675SRob Herring				nvidia,function = "i2c1";
256724ba675SRob Herring			};
257724ba675SRob Herring
258724ba675SRob Herring			sdb {
259724ba675SRob Herring				nvidia,pins = "sdb", "sdc", "sdd", "slxc", "slxk";
260724ba675SRob Herring				nvidia,function = "sdio3";
261724ba675SRob Herring			};
262724ba675SRob Herring
263724ba675SRob Herring			sdio1 {
264724ba675SRob Herring				nvidia,pins = "sdio1";
265724ba675SRob Herring				nvidia,function = "sdio1";
266724ba675SRob Herring			};
267724ba675SRob Herring
268724ba675SRob Herring			slxd {
269724ba675SRob Herring				nvidia,pins = "slxd";
270724ba675SRob Herring				nvidia,function = "spdif";
271724ba675SRob Herring			};
272724ba675SRob Herring
273724ba675SRob Herring			spid {
274724ba675SRob Herring				nvidia,pins = "spid", "spie", "spif";
275724ba675SRob Herring				nvidia,function = "spi1";
276724ba675SRob Herring			};
277724ba675SRob Herring
278724ba675SRob Herring			spig {
279724ba675SRob Herring				nvidia,pins = "spig", "spih";
280724ba675SRob Herring				nvidia,function = "spi2_alt";
281724ba675SRob Herring			};
282724ba675SRob Herring
283724ba675SRob Herring			uaa {
284724ba675SRob Herring				nvidia,pins = "uaa", "uab", "uda";
285724ba675SRob Herring				nvidia,function = "ulpi";
286724ba675SRob Herring			};
287724ba675SRob Herring
288724ba675SRob Herring			uad {
289724ba675SRob Herring				nvidia,pins = "uad";
290724ba675SRob Herring				nvidia,function = "irda";
291724ba675SRob Herring			};
292724ba675SRob Herring
293724ba675SRob Herring			uca {
294724ba675SRob Herring				nvidia,pins = "uca", "ucb";
295724ba675SRob Herring				nvidia,function = "uartc";
296724ba675SRob Herring			};
297724ba675SRob Herring
298724ba675SRob Herring			conf_ata {
299724ba675SRob Herring				nvidia,pins = "ata", "atb", "atc", "atd",
300724ba675SRob Herring					"cdev1", "cdev2", "dap1", "dap4",
301724ba675SRob Herring					"dte", "ddc", "dtf", "gma", "gmc",
302724ba675SRob Herring					"gme", "gpu", "gpu7", "gpv", "i2cp",
303724ba675SRob Herring					"irrx", "irtx", "pta", "rm", "sdc",
304724ba675SRob Herring					"sdd", "slxc", "slxd", "slxk", "spdi",
305724ba675SRob Herring					"spdo", "uac", "uad",
306724ba675SRob Herring					"uda", "csus";
307724ba675SRob Herring				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
308724ba675SRob Herring				nvidia,tristate = <TEGRA_PIN_DISABLE>;
309724ba675SRob Herring			};
310724ba675SRob Herring
311724ba675SRob Herring			conf_ate {
312724ba675SRob Herring				nvidia,pins = "ate", "dap2", "dap3", "gmb", "gmd",
313724ba675SRob Herring					"owc", "spia", "spib", "spic",
314724ba675SRob Herring					"spid", "spie", "spig", "slxa";
315724ba675SRob Herring				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
316724ba675SRob Herring				nvidia,tristate = <TEGRA_PIN_ENABLE>;
317724ba675SRob Herring			};
318724ba675SRob Herring
319724ba675SRob Herring			conf_ck32 {
320724ba675SRob Herring				nvidia,pins = "ck32", "ddrc", "pmca", "pmcb",
321724ba675SRob Herring					"pmcc", "pmcd", "pmce", "xm2c", "xm2d";
322724ba675SRob Herring				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
323724ba675SRob Herring			};
324724ba675SRob Herring
325724ba675SRob Herring			conf_crtp {
326724ba675SRob Herring				nvidia,pins = "crtp", "spih";
327724ba675SRob Herring				nvidia,pull = <TEGRA_PIN_PULL_UP>;
328724ba675SRob Herring				nvidia,tristate = <TEGRA_PIN_ENABLE>;
329724ba675SRob Herring			};
330724ba675SRob Herring
331724ba675SRob Herring			conf_dta {
332724ba675SRob Herring				nvidia,pins = "dta", "dtb", "dtc", "dtd";
333724ba675SRob Herring				nvidia,pull = <TEGRA_PIN_PULL_DOWN>;
334724ba675SRob Herring				nvidia,tristate = <TEGRA_PIN_DISABLE>;
335724ba675SRob Herring			};
336724ba675SRob Herring
337724ba675SRob Herring			conf_spif {
338724ba675SRob Herring				nvidia,pins = "spif";
339724ba675SRob Herring				nvidia,pull = <TEGRA_PIN_PULL_DOWN>;
340724ba675SRob Herring				nvidia,tristate = <TEGRA_PIN_ENABLE>;
341724ba675SRob Herring			};
342724ba675SRob Herring
343724ba675SRob Herring			conf_hdint {
344724ba675SRob Herring				nvidia,pins = "hdint", "lcsn", "ldc", "lm1",
345724ba675SRob Herring					"lpw1", "lsck", "lsda", "lsdi", "lvp0";
346724ba675SRob Herring				nvidia,tristate = <TEGRA_PIN_ENABLE>;
347724ba675SRob Herring			};
348724ba675SRob Herring
349724ba675SRob Herring			conf_kbca {
350724ba675SRob Herring				nvidia,pins = "kbca", "kbcb", "kbcc", "kbcd",
351724ba675SRob Herring					"kbce", "kbcf", "sdio1", "uaa", "uab",
352724ba675SRob Herring					"uca", "ucb";
353724ba675SRob Herring				nvidia,pull = <TEGRA_PIN_PULL_UP>;
354724ba675SRob Herring				nvidia,tristate = <TEGRA_PIN_DISABLE>;
355724ba675SRob Herring			};
356724ba675SRob Herring
357724ba675SRob Herring			conf_lc {
358724ba675SRob Herring				nvidia,pins = "lc", "ls";
359724ba675SRob Herring				nvidia,pull = <TEGRA_PIN_PULL_UP>;
360724ba675SRob Herring			};
361724ba675SRob Herring
362724ba675SRob Herring			conf_ld0 {
363724ba675SRob Herring				nvidia,pins = "ld0", "ld1", "ld2", "ld3", "ld4",
364724ba675SRob Herring					"ld5", "ld6", "ld7", "ld8", "ld9",
365724ba675SRob Herring					"ld10", "ld11", "ld12", "ld13", "ld14",
366724ba675SRob Herring					"ld15", "ld16", "ld17", "ldi", "lhp0",
367724ba675SRob Herring					"lhp1", "lhp2", "lhs", "lm0", "lpp",
368724ba675SRob Herring					"lpw0", "lpw2", "lsc0", "lsc1", "lspi",
369724ba675SRob Herring					"lvp1", "lvs", "pmc", "sdb";
370724ba675SRob Herring				nvidia,tristate = <TEGRA_PIN_DISABLE>;
371724ba675SRob Herring			};
372724ba675SRob Herring
373724ba675SRob Herring			conf_ld17_0 {
374724ba675SRob Herring				nvidia,pins = "ld17_0", "ld19_18", "ld21_20",
375724ba675SRob Herring					"ld23_22";
376724ba675SRob Herring				nvidia,pull = <TEGRA_PIN_PULL_DOWN>;
377724ba675SRob Herring			};
378724ba675SRob Herring
379724ba675SRob Herring			drive_sdio1 {
380724ba675SRob Herring				nvidia,pins = "drive_sdio1", "drive_ddc", "drive_vi1";
381724ba675SRob Herring				nvidia,high-speed-mode = <TEGRA_PIN_DISABLE>;
382724ba675SRob Herring				nvidia,schmitt = <TEGRA_PIN_ENABLE>;
383724ba675SRob Herring				nvidia,low-power-mode = <TEGRA_PIN_LP_DRIVE_DIV_1>;
384724ba675SRob Herring				nvidia,pull-down-strength = <31>;
385724ba675SRob Herring				nvidia,pull-up-strength = <31>;
386724ba675SRob Herring				nvidia,slew-rate-rising = <TEGRA_PIN_SLEW_RATE_SLOWEST>;
387724ba675SRob Herring				nvidia,slew-rate-falling = <TEGRA_PIN_SLEW_RATE_SLOWEST>;
388724ba675SRob Herring			};
389724ba675SRob Herring
390724ba675SRob Herring			drive_csus {
391724ba675SRob Herring				nvidia,pins = "drive_csus";
392724ba675SRob Herring				nvidia,high-speed-mode = <TEGRA_PIN_DISABLE>;
393724ba675SRob Herring				nvidia,schmitt = <TEGRA_PIN_DISABLE>;
394724ba675SRob Herring				nvidia,low-power-mode = <TEGRA_PIN_LP_DRIVE_DIV_1>;
395724ba675SRob Herring				nvidia,pull-down-strength = <31>;
396724ba675SRob Herring				nvidia,pull-up-strength = <31>;
397724ba675SRob Herring				nvidia,slew-rate-rising = <TEGRA_PIN_SLEW_RATE_SLOWEST>;
398724ba675SRob Herring				nvidia,slew-rate-falling = <TEGRA_PIN_SLEW_RATE_SLOWEST>;
399724ba675SRob Herring			};
400724ba675SRob Herring		};
401724ba675SRob Herring
402724ba675SRob Herring		state_i2cmux_ddc: pinmux-i2cmux-ddc {
403724ba675SRob Herring			ddc {
404724ba675SRob Herring				nvidia,pins = "ddc";
405724ba675SRob Herring				nvidia,function = "i2c2";
406724ba675SRob Herring			};
407724ba675SRob Herring
408724ba675SRob Herring			pta {
409724ba675SRob Herring				nvidia,pins = "pta";
410724ba675SRob Herring				nvidia,function = "rsvd4";
411724ba675SRob Herring			};
412724ba675SRob Herring		};
413724ba675SRob Herring
414724ba675SRob Herring		state_i2cmux_idle: pinmux-i2cmux-idle {
415724ba675SRob Herring			ddc {
416724ba675SRob Herring				nvidia,pins = "ddc";
417724ba675SRob Herring				nvidia,function = "rsvd4";
418724ba675SRob Herring			};
419724ba675SRob Herring
420724ba675SRob Herring			pta {
421724ba675SRob Herring				nvidia,pins = "pta";
422724ba675SRob Herring				nvidia,function = "rsvd4";
423724ba675SRob Herring			};
424724ba675SRob Herring		};
425724ba675SRob Herring
426724ba675SRob Herring		state_i2cmux_pta: pinmux-i2cmux-pta {
427724ba675SRob Herring			ddc {
428724ba675SRob Herring				nvidia,pins = "ddc";
429724ba675SRob Herring				nvidia,function = "rsvd4";
430724ba675SRob Herring			};
431724ba675SRob Herring
432724ba675SRob Herring			pta {
433724ba675SRob Herring				nvidia,pins = "pta";
434724ba675SRob Herring				nvidia,function = "i2c2";
435724ba675SRob Herring			};
436724ba675SRob Herring		};
437724ba675SRob Herring	};
438724ba675SRob Herring
439724ba675SRob Herring	spdif@70002400 {
440724ba675SRob Herring		status = "okay";
441724ba675SRob Herring
442724ba675SRob Herring		nvidia,fixed-parent-rate;
443724ba675SRob Herring	};
444724ba675SRob Herring
445724ba675SRob Herring	i2s@70002800 {
446724ba675SRob Herring		status = "okay";
447724ba675SRob Herring
448724ba675SRob Herring		nvidia,fixed-parent-rate;
449724ba675SRob Herring	};
450724ba675SRob Herring
451724ba675SRob Herring	serial@70006040 {
452724ba675SRob Herring		compatible = "nvidia,tegra20-hsuart";
453500b861dSThierry Reding		reset-names = "serial";
454724ba675SRob Herring		/delete-property/ reg-shift;
455724ba675SRob Herring		/* GPS BCM4751 */
456724ba675SRob Herring	};
457724ba675SRob Herring
458724ba675SRob Herring	serial@70006200 {
459724ba675SRob Herring		compatible = "nvidia,tegra20-hsuart";
460500b861dSThierry Reding		reset-names = "serial";
461724ba675SRob Herring		/delete-property/ reg-shift;
462724ba675SRob Herring		status = "okay";
463724ba675SRob Herring
464724ba675SRob Herring		/* Azurewave AW-NH615 BCM4329B1 */
465724ba675SRob Herring		bluetooth {
466724ba675SRob Herring			compatible = "brcm,bcm4329-bt";
467724ba675SRob Herring
468724ba675SRob Herring			interrupt-parent = <&gpio>;
469724ba675SRob Herring			interrupts = <TEGRA_GPIO(U, 6) IRQ_TYPE_EDGE_RISING>;
470724ba675SRob Herring			interrupt-names = "host-wakeup";
471724ba675SRob Herring
472724ba675SRob Herring			/* PLLP 216MHz / 16 / 4 */
473724ba675SRob Herring			max-speed = <3375000>;
474724ba675SRob Herring
475724ba675SRob Herring			clocks = <&tegra_pmc TEGRA_PMC_CLK_BLINK>;
476724ba675SRob Herring			clock-names = "txco";
477724ba675SRob Herring
478724ba675SRob Herring			vbat-supply  = <&vdd_3v3_sys>;
479724ba675SRob Herring			vddio-supply = <&vdd_1v8_sys>;
480724ba675SRob Herring
481724ba675SRob Herring			device-wakeup-gpios = <&gpio TEGRA_GPIO(U, 1) GPIO_ACTIVE_HIGH>;
482724ba675SRob Herring			shutdown-gpios = <&gpio TEGRA_GPIO(U, 0) GPIO_ACTIVE_HIGH>;
483724ba675SRob Herring		};
484724ba675SRob Herring	};
485724ba675SRob Herring
486724ba675SRob Herring	serial@70006300 {
4879766116aSThierry Reding		/delete-property/ dmas;
4889766116aSThierry Reding		/delete-property/ dma-names;
489724ba675SRob Herring		status = "okay";
490724ba675SRob Herring	};
491724ba675SRob Herring
492724ba675SRob Herring	pwm@7000a000 {
493724ba675SRob Herring		status = "okay";
494724ba675SRob Herring	};
495724ba675SRob Herring
496724ba675SRob Herring	i2c@7000c000 {
497724ba675SRob Herring		status = "okay";
498724ba675SRob Herring		clock-frequency = <400000>;
499724ba675SRob Herring
500724ba675SRob Herring		/* Aichi AMI306 digital compass */
501724ba675SRob Herring		magnetometer@e {
502724ba675SRob Herring			compatible = "asahi-kasei,ak8974";
503724ba675SRob Herring			reg = <0xe>;
504724ba675SRob Herring
505724ba675SRob Herring			avdd-supply = <&vdd_3v3_sys>;
506724ba675SRob Herring			dvdd-supply = <&vdd_1v8_sys>;
507724ba675SRob Herring
508724ba675SRob Herring			mount-matrix = "-1",  "0",  "0",
509724ba675SRob Herring					"0",  "1",  "0",
510724ba675SRob Herring					"0",  "0", "-1";
511724ba675SRob Herring		};
512724ba675SRob Herring
513724ba675SRob Herring		wm8903: audio-codec@1a {
514724ba675SRob Herring			compatible = "wlf,wm8903";
515724ba675SRob Herring			reg = <0x1a>;
516724ba675SRob Herring
517724ba675SRob Herring			interrupt-parent = <&gpio>;
518724ba675SRob Herring			interrupts = <TEGRA_GPIO(X, 1) IRQ_TYPE_EDGE_BOTH>;
519724ba675SRob Herring
520724ba675SRob Herring			gpio-controller;
521724ba675SRob Herring			#gpio-cells = <2>;
522724ba675SRob Herring
523724ba675SRob Herring			micdet-cfg = <0x83>;
524724ba675SRob Herring			micdet-delay = <100>;
525724ba675SRob Herring
526724ba675SRob Herring			gpio-cfg = <
527724ba675SRob Herring				0x00000600 /* DMIC_LR, output */
528724ba675SRob Herring				0x00000680 /* DMIC_DAT, input */
529724ba675SRob Herring				0x00000000 /* Speaker-enable GPIO, output, low */
530724ba675SRob Herring				0xffffffff /* don't touch */
531724ba675SRob Herring				0xffffffff /* don't touch */
532724ba675SRob Herring			>;
533724ba675SRob Herring
534724ba675SRob Herring			AVDD-supply  = <&vdd_1v8_sys>;
535724ba675SRob Herring			CPVDD-supply = <&vdd_1v8_sys>;
536724ba675SRob Herring			DBVDD-supply = <&vdd_1v8_sys>;
537724ba675SRob Herring			DCVDD-supply = <&vdd_1v8_sys>;
538724ba675SRob Herring		};
539724ba675SRob Herring
540724ba675SRob Herring		/* Atmel MXT1386 Touchscreen */
541724ba675SRob Herring		touchscreen@5b {
542724ba675SRob Herring			compatible = "atmel,maxtouch";
543724ba675SRob Herring			reg = <0x5b>;
544724ba675SRob Herring
545724ba675SRob Herring			interrupt-parent = <&gpio>;
546724ba675SRob Herring			interrupts = <TEGRA_GPIO(V, 6) IRQ_TYPE_LEVEL_LOW>;
547724ba675SRob Herring
548724ba675SRob Herring			reset-gpios = <&gpio TEGRA_GPIO(Q, 7) GPIO_ACTIVE_LOW>;
549724ba675SRob Herring
550724ba675SRob Herring			vdda-supply = <&vdd_3v3_sys>;
551724ba675SRob Herring			vdd-supply  = <&vdd_3v3_sys>;
552724ba675SRob Herring
553724ba675SRob Herring			atmel,wakeup-method = <ATMEL_MXT_WAKEUP_I2C_SCL>;
554724ba675SRob Herring		};
555724ba675SRob Herring
556724ba675SRob Herring		gyroscope@68 {
557724ba675SRob Herring			compatible = "invensense,mpu3050";
558724ba675SRob Herring			reg = <0x68>;
559724ba675SRob Herring
560724ba675SRob Herring			interrupt-parent = <&gpio>;
561724ba675SRob Herring			interrupts = <TEGRA_GPIO(Z, 4) IRQ_TYPE_EDGE_RISING>;
562724ba675SRob Herring
563724ba675SRob Herring			vdd-supply    = <&vdd_3v3_sys>;
564724ba675SRob Herring			vlogic-supply = <&vdd_1v8_sys>;
565724ba675SRob Herring
566724ba675SRob Herring			mount-matrix =	 "0",  "1",  "0",
567724ba675SRob Herring					"-1",  "0",  "0",
568724ba675SRob Herring					 "0",  "0",  "1";
569724ba675SRob Herring
570724ba675SRob Herring			i2c-gate {
571724ba675SRob Herring				#address-cells = <1>;
572724ba675SRob Herring				#size-cells = <0>;
573724ba675SRob Herring
574724ba675SRob Herring				accelerometer@f {
575724ba675SRob Herring					compatible = "kionix,kxtf9";
576724ba675SRob Herring					reg = <0xf>;
577724ba675SRob Herring
578724ba675SRob Herring					interrupt-parent = <&gpio>;
579724ba675SRob Herring					interrupts = <TEGRA_GPIO(N, 4) IRQ_TYPE_EDGE_RISING>;
580724ba675SRob Herring
581724ba675SRob Herring					vdd-supply = <&vdd_1v8_sys>;
582724ba675SRob Herring					vddio-supply = <&vdd_1v8_sys>;
583724ba675SRob Herring
584724ba675SRob Herring					mount-matrix =	"-1",  "0",  "0",
585724ba675SRob Herring							 "0", "-1",  "0",
586724ba675SRob Herring							 "0",  "0", "-1";
587724ba675SRob Herring				};
588724ba675SRob Herring			};
589724ba675SRob Herring		};
590724ba675SRob Herring	};
591724ba675SRob Herring
592724ba675SRob Herring	i2c2: i2c@7000c400 {
593724ba675SRob Herring		status = "okay";
594724ba675SRob Herring		clock-frequency = <100000>;
595724ba675SRob Herring	};
596724ba675SRob Herring
597724ba675SRob Herring	i2c@7000c500 {
598724ba675SRob Herring		status = "okay";
599724ba675SRob Herring		clock-frequency = <400000>;
600724ba675SRob Herring	};
601724ba675SRob Herring
602724ba675SRob Herring	i2c@7000d000 {
603724ba675SRob Herring		status = "okay";
604724ba675SRob Herring		clock-frequency = <400000>;
605724ba675SRob Herring
606724ba675SRob Herring		pmic: pmic@34 {
607724ba675SRob Herring			compatible = "ti,tps6586x";
608724ba675SRob Herring			reg = <0x34>;
609724ba675SRob Herring			interrupts = <GIC_SPI 86 IRQ_TYPE_LEVEL_HIGH>;
610724ba675SRob Herring
611724ba675SRob Herring			ti,system-power-controller;
612724ba675SRob Herring
613724ba675SRob Herring			#gpio-cells = <2>;
614724ba675SRob Herring			gpio-controller;
615724ba675SRob Herring
616724ba675SRob Herring			sys-supply = <&vdd_5v0_sys>;
617724ba675SRob Herring			vin-sm0-supply = <&sys_reg>;
618724ba675SRob Herring			vin-sm1-supply = <&sys_reg>;
619724ba675SRob Herring			vin-sm2-supply = <&sys_reg>;
620724ba675SRob Herring			vinldo01-supply = <&sm2_reg>;
621724ba675SRob Herring			vinldo23-supply = <&sm2_reg>;
622724ba675SRob Herring			vinldo4-supply = <&sm2_reg>;
623724ba675SRob Herring			vinldo678-supply = <&sm2_reg>;
624724ba675SRob Herring			vinldo9-supply = <&sm2_reg>;
625724ba675SRob Herring
626724ba675SRob Herring			regulators {
627724ba675SRob Herring				sys_reg: sys {
628724ba675SRob Herring					regulator-name = "vdd_sys";
629724ba675SRob Herring					regulator-always-on;
630724ba675SRob Herring				};
631724ba675SRob Herring
632724ba675SRob Herring				vdd_core: sm0 {
633724ba675SRob Herring					regulator-name = "vdd_sm0,vdd_core";
634724ba675SRob Herring					regulator-min-microvolt = <950000>;
635724ba675SRob Herring					regulator-max-microvolt = <1300000>;
636724ba675SRob Herring					regulator-coupled-with = <&rtc_vdd &vdd_cpu>;
637724ba675SRob Herring					regulator-coupled-max-spread = <170000 550000>;
638724ba675SRob Herring					regulator-always-on;
639724ba675SRob Herring					regulator-boot-on;
640724ba675SRob Herring
641724ba675SRob Herring					nvidia,tegra-core-regulator;
642724ba675SRob Herring				};
643724ba675SRob Herring
644724ba675SRob Herring				vdd_cpu: sm1 {
645724ba675SRob Herring					regulator-name = "vdd_sm1,vdd_cpu";
646724ba675SRob Herring					regulator-min-microvolt = <750000>;
647724ba675SRob Herring					regulator-max-microvolt = <1125000>;
648724ba675SRob Herring					regulator-coupled-with = <&vdd_core &rtc_vdd>;
649724ba675SRob Herring					regulator-coupled-max-spread = <550000 550000>;
650724ba675SRob Herring					regulator-always-on;
651724ba675SRob Herring					regulator-boot-on;
652724ba675SRob Herring
653724ba675SRob Herring					nvidia,tegra-cpu-regulator;
654724ba675SRob Herring				};
655724ba675SRob Herring
656724ba675SRob Herring				sm2_reg: sm2 {
657724ba675SRob Herring					regulator-name = "vdd_sm2,vin_ldo*";
658724ba675SRob Herring					regulator-min-microvolt = <3700000>;
659724ba675SRob Herring					regulator-max-microvolt = <3700000>;
660724ba675SRob Herring					regulator-always-on;
661724ba675SRob Herring				};
662724ba675SRob Herring
663724ba675SRob Herring				/* LDO0 is not connected to anything */
664724ba675SRob Herring
665724ba675SRob Herring				ldo1 {
666724ba675SRob Herring					regulator-name = "vdd_ldo1,avdd_pll*";
667724ba675SRob Herring					regulator-min-microvolt = <1100000>;
668724ba675SRob Herring					regulator-max-microvolt = <1100000>;
669724ba675SRob Herring					regulator-always-on;
670724ba675SRob Herring				};
671724ba675SRob Herring
672724ba675SRob Herring				rtc_vdd: ldo2 {
673724ba675SRob Herring					regulator-name = "vdd_ldo2,vdd_rtc";
674724ba675SRob Herring					regulator-min-microvolt = <950000>;
675724ba675SRob Herring					regulator-max-microvolt = <1300000>;
676724ba675SRob Herring					regulator-coupled-with = <&vdd_core &vdd_cpu>;
677724ba675SRob Herring					regulator-coupled-max-spread = <170000 550000>;
678724ba675SRob Herring					regulator-always-on;
679724ba675SRob Herring					regulator-boot-on;
680724ba675SRob Herring
681724ba675SRob Herring					nvidia,tegra-rtc-regulator;
682724ba675SRob Herring				};
683724ba675SRob Herring
684724ba675SRob Herring				ldo3 {
685724ba675SRob Herring					regulator-name = "vdd_ldo3,avdd_usb*";
686724ba675SRob Herring					regulator-min-microvolt = <3300000>;
687724ba675SRob Herring					regulator-max-microvolt = <3300000>;
688724ba675SRob Herring					regulator-always-on;
689724ba675SRob Herring				};
690724ba675SRob Herring
691724ba675SRob Herring				ldo4 {
692724ba675SRob Herring					regulator-name = "vdd_ldo4,avdd_osc,vddio_sys";
693724ba675SRob Herring					regulator-min-microvolt = <1800000>;
694724ba675SRob Herring					regulator-max-microvolt = <1800000>;
695724ba675SRob Herring					regulator-always-on;
696724ba675SRob Herring				};
697724ba675SRob Herring
698724ba675SRob Herring				vcore_emmc: ldo5 {
699724ba675SRob Herring					regulator-name = "vdd_ldo5,vcore_mmc";
700724ba675SRob Herring					regulator-min-microvolt = <2850000>;
701724ba675SRob Herring					regulator-max-microvolt = <2850000>;
702724ba675SRob Herring					regulator-always-on;
703724ba675SRob Herring				};
704724ba675SRob Herring
705724ba675SRob Herring				ldo6 {
706724ba675SRob Herring					regulator-name = "vdd_ldo6,avdd_vdac";
707724ba675SRob Herring					regulator-min-microvolt = <1800000>;
708724ba675SRob Herring					regulator-max-microvolt = <1800000>;
709724ba675SRob Herring				};
710724ba675SRob Herring
711724ba675SRob Herring				hdmi_vdd_reg: ldo7 {
712724ba675SRob Herring					regulator-name = "vdd_ldo7,avdd_hdmi,vdd_fuse";
713724ba675SRob Herring					regulator-min-microvolt = <3300000>;
714724ba675SRob Herring					regulator-max-microvolt = <3300000>;
715724ba675SRob Herring				};
716724ba675SRob Herring
717724ba675SRob Herring				hdmi_pll_reg: ldo8 {
718724ba675SRob Herring					regulator-name = "vdd_ldo8,avdd_hdmi_pll";
719724ba675SRob Herring					regulator-min-microvolt = <1800000>;
720724ba675SRob Herring					regulator-max-microvolt = <1800000>;
721724ba675SRob Herring				};
722724ba675SRob Herring
723724ba675SRob Herring				ldo9 {
724724ba675SRob Herring					regulator-name = "vdd_ldo9,avdd_2v85,vdd_ddr_rx";
725724ba675SRob Herring					regulator-min-microvolt = <2850000>;
726724ba675SRob Herring					regulator-max-microvolt = <2850000>;
727724ba675SRob Herring					regulator-always-on;
728724ba675SRob Herring				};
729724ba675SRob Herring
730724ba675SRob Herring				ldo_rtc {
731724ba675SRob Herring					regulator-name = "vdd_rtc_out,vdd_cell";
732724ba675SRob Herring					regulator-min-microvolt = <3300000>;
733724ba675SRob Herring					regulator-max-microvolt = <3300000>;
734724ba675SRob Herring					regulator-always-on;
735724ba675SRob Herring				};
736724ba675SRob Herring			};
737724ba675SRob Herring		};
738724ba675SRob Herring
739724ba675SRob Herring		nct1008: temperature-sensor@4c {
740724ba675SRob Herring			compatible = "onnn,nct1008";
741724ba675SRob Herring			reg = <0x4c>;
742724ba675SRob Herring			vcc-supply = <&vdd_3v3_sys>;
743724ba675SRob Herring
744724ba675SRob Herring			interrupt-parent = <&gpio>;
745724ba675SRob Herring			interrupts = <TEGRA_GPIO(N, 6) IRQ_TYPE_EDGE_FALLING>;
746724ba675SRob Herring
747724ba675SRob Herring			#thermal-sensor-cells = <1>;
748724ba675SRob Herring		};
749724ba675SRob Herring	};
750724ba675SRob Herring
751724ba675SRob Herring	pmc@7000e400 {
752724ba675SRob Herring		nvidia,invert-interrupt;
753724ba675SRob Herring		nvidia,suspend-mode = <1>;
754724ba675SRob Herring		nvidia,cpu-pwr-good-time = <2000>;
755724ba675SRob Herring		nvidia,cpu-pwr-off-time = <100>;
756724ba675SRob Herring		nvidia,core-pwr-good-time = <3845 3845>;
757724ba675SRob Herring		nvidia,core-pwr-off-time = <458>;
758724ba675SRob Herring		nvidia,sys-clock-req-active-high;
759724ba675SRob Herring		core-supply = <&vdd_core>;
760724ba675SRob Herring	};
761724ba675SRob Herring
762724ba675SRob Herring	memory-controller@7000f400 {
763724ba675SRob Herring		nvidia,use-ram-code;
764724ba675SRob Herring
765724ba675SRob Herring		emc-tables@3 {
766724ba675SRob Herring			reg = <0x3>;
767724ba675SRob Herring
768724ba675SRob Herring			#address-cells = <1>;
769724ba675SRob Herring			#size-cells = <0>;
770724ba675SRob Herring
771724ba675SRob Herring			emc-table@25000 {
772724ba675SRob Herring				reg = <25000>;
773724ba675SRob Herring				compatible = "nvidia,tegra20-emc-table";
774724ba675SRob Herring				clock-frequency = <25000>;
775724ba675SRob Herring				nvidia,emc-registers = <0x00000002 0x00000006
776724ba675SRob Herring					0x00000003 0x00000003 0x00000006 0x00000004
777724ba675SRob Herring					0x00000002 0x00000009 0x00000003 0x00000003
778724ba675SRob Herring					0x00000002 0x00000002 0x00000002 0x00000004
779724ba675SRob Herring					0x00000003 0x00000008 0x0000000b 0x0000004d
780724ba675SRob Herring					0x00000000 0x00000003 0x00000003 0x00000003
781724ba675SRob Herring					0x00000008 0x00000001 0x0000000a 0x00000004
782724ba675SRob Herring					0x00000003 0x00000008 0x00000004 0x00000006
783724ba675SRob Herring					0x00000002 0x00000068 0x00000000 0x00000003
784724ba675SRob Herring					0x00000000 0x00000000 0x00000282 0xa0ae04ae
785724ba675SRob Herring					0x00070000 0x00000000 0x00000000 0x00000003
786724ba675SRob Herring					0x00000000 0x00000000 0x00000000 0x00000000>;
787724ba675SRob Herring			};
788724ba675SRob Herring
789724ba675SRob Herring			emc-table@50000 {
790724ba675SRob Herring				reg = <50000>;
791724ba675SRob Herring				compatible = "nvidia,tegra20-emc-table";
792724ba675SRob Herring				clock-frequency = <50000>;
793724ba675SRob Herring				nvidia,emc-registers = <0x00000003 0x00000007
794724ba675SRob Herring					0x00000003 0x00000003 0x00000006 0x00000004
795724ba675SRob Herring					0x00000002 0x00000009 0x00000003 0x00000003
796724ba675SRob Herring					0x00000002 0x00000002 0x00000002 0x00000005
797724ba675SRob Herring					0x00000003 0x00000008 0x0000000b 0x0000009f
798724ba675SRob Herring					0x00000000 0x00000003 0x00000003 0x00000003
799724ba675SRob Herring					0x00000008 0x00000001 0x0000000a 0x00000007
800724ba675SRob Herring					0x00000003 0x00000008 0x00000004 0x00000006
801724ba675SRob Herring					0x00000002 0x000000d0 0x00000000 0x00000000
802724ba675SRob Herring					0x00000000 0x00000000 0x00000282 0xa0ae04ae
803724ba675SRob Herring					0x00070000 0x00000000 0x00000000 0x00000005
804724ba675SRob Herring					0x00000000 0x00000000 0x00000000 0x00000000>;
805724ba675SRob Herring			};
806724ba675SRob Herring
807724ba675SRob Herring			emc-table@75000 {
808724ba675SRob Herring				reg = <75000>;
809724ba675SRob Herring				compatible = "nvidia,tegra20-emc-table";
810724ba675SRob Herring				clock-frequency = <75000>;
811724ba675SRob Herring				nvidia,emc-registers = <0x00000005 0x0000000a
812724ba675SRob Herring					0x00000004 0x00000003 0x00000006 0x00000004
813724ba675SRob Herring					0x00000002 0x00000009 0x00000003 0x00000003
814724ba675SRob Herring					0x00000002 0x00000002 0x00000002 0x00000005
815724ba675SRob Herring					0x00000003 0x00000008 0x0000000b 0x000000ff
816724ba675SRob Herring					0x00000000 0x00000003 0x00000003 0x00000003
817724ba675SRob Herring					0x00000008 0x00000001 0x0000000a 0x0000000b
818724ba675SRob Herring					0x00000003 0x00000008 0x00000004 0x00000006
819724ba675SRob Herring					0x00000002 0x00000138 0x00000000 0x00000000
820724ba675SRob Herring					0x00000000 0x00000000 0x00000282 0xa0ae04ae
821724ba675SRob Herring					0x00070000 0x00000000 0x00000000 0x00000007
822724ba675SRob Herring					0x00000000 0x00000000 0x00000000 0x00000000>;
823724ba675SRob Herring			};
824724ba675SRob Herring
825724ba675SRob Herring			emc-table@150000 {
826724ba675SRob Herring				reg = <150000>;
827724ba675SRob Herring				compatible = "nvidia,tegra20-emc-table";
828724ba675SRob Herring				clock-frequency = <150000>;
829724ba675SRob Herring				nvidia,emc-registers = <0x00000009 0x00000014
830724ba675SRob Herring					0x00000007 0x00000003 0x00000006 0x00000004
831724ba675SRob Herring					0x00000002 0x00000009 0x00000003 0x00000003
832724ba675SRob Herring					0x00000002 0x00000002 0x00000002 0x00000005
833724ba675SRob Herring					0x00000003 0x00000008 0x0000000b 0x0000021f
834724ba675SRob Herring					0x00000000 0x00000003 0x00000003 0x00000003
835724ba675SRob Herring					0x00000008 0x00000001 0x0000000a 0x00000015
836724ba675SRob Herring					0x00000003 0x00000008 0x00000004 0x00000006
837724ba675SRob Herring					0x00000002 0x00000270 0x00000000 0x00000001
838724ba675SRob Herring					0x00000000 0x00000000 0x00000282 0xa07c04ae
839724ba675SRob Herring					0x007dc010 0x00000000 0x00000000 0x0000000e
840724ba675SRob Herring					0x00000000 0x00000000 0x00000000 0x00000000>;
841724ba675SRob Herring			};
842724ba675SRob Herring
843724ba675SRob Herring			emc-table@300000 {
844724ba675SRob Herring				reg = <300000>;
845724ba675SRob Herring				compatible = "nvidia,tegra20-emc-table";
846724ba675SRob Herring				clock-frequency = <300000>;
847724ba675SRob Herring				nvidia,emc-registers = <0x00000012 0x00000027
848724ba675SRob Herring					0x0000000d 0x00000006 0x00000007 0x00000005
849724ba675SRob Herring					0x00000003 0x00000009 0x00000006 0x00000006
850724ba675SRob Herring					0x00000003 0x00000003 0x00000002 0x00000006
851724ba675SRob Herring					0x00000003 0x00000009 0x0000000c 0x0000045f
852724ba675SRob Herring					0x00000000 0x00000004 0x00000004 0x00000006
853724ba675SRob Herring					0x00000008 0x00000001 0x0000000e 0x0000002a
854724ba675SRob Herring					0x00000003 0x0000000f 0x00000007 0x00000005
855724ba675SRob Herring					0x00000002 0x000004e0 0x00000005 0x00000002
856724ba675SRob Herring					0x00000000 0x00000000 0x00000282 0xe059048b
857724ba675SRob Herring					0x007e0010 0x00000000 0x00000000 0x0000001b
858724ba675SRob Herring					0x00000000 0x00000000 0x00000000 0x00000000>;
859724ba675SRob Herring			};
860724ba675SRob Herring
861724ba675SRob Herring			lpddr2 {
862724ba675SRob Herring				compatible = "elpida,B8132B2PB-6D-F", "jedec,lpddr2-s4";
863724ba675SRob Herring				revision-id = <1 0>;
864724ba675SRob Herring				density = <2048>;
865724ba675SRob Herring				io-width = <16>;
866724ba675SRob Herring			};
867724ba675SRob Herring		};
868724ba675SRob Herring	};
869724ba675SRob Herring
870724ba675SRob Herring	/* Peripheral USB via ASUS connector */
871724ba675SRob Herring	usb@c5000000 {
872724ba675SRob Herring		compatible = "nvidia,tegra20-udc";
873724ba675SRob Herring		status = "okay";
874724ba675SRob Herring		dr_mode = "peripheral";
875724ba675SRob Herring	};
876724ba675SRob Herring
877724ba675SRob Herring	usb-phy@c5000000 {
878724ba675SRob Herring		status = "okay";
879724ba675SRob Herring		dr_mode = "peripheral";
880724ba675SRob Herring		nvidia,xcvr-setup-use-fuses;
881724ba675SRob Herring		nvidia,xcvr-lsfslew = <2>;
882724ba675SRob Herring		nvidia,xcvr-lsrslew = <2>;
883724ba675SRob Herring		vbus-supply = <&vdd_5v0_sys>;
884724ba675SRob Herring	};
885724ba675SRob Herring
886724ba675SRob Herring	/* Dock's USB port */
887724ba675SRob Herring	usb@c5008000 {
888724ba675SRob Herring		status = "okay";
889724ba675SRob Herring	};
890724ba675SRob Herring
891724ba675SRob Herring	usb-phy@c5008000 {
892724ba675SRob Herring		status = "okay";
893724ba675SRob Herring		nvidia,xcvr-setup-use-fuses;
894724ba675SRob Herring		vbus-supply = <&vdd_5v0_sys>;
895724ba675SRob Herring	};
896724ba675SRob Herring
897724ba675SRob Herring	sdmmc1: mmc@c8000000 {
898724ba675SRob Herring		status = "okay";
899724ba675SRob Herring
900724ba675SRob Herring		#address-cells = <1>;
901724ba675SRob Herring		#size-cells = <0>;
902724ba675SRob Herring
903724ba675SRob Herring		assigned-clocks = <&tegra_car TEGRA20_CLK_SDMMC1>;
904724ba675SRob Herring		assigned-clock-parents = <&tegra_car TEGRA20_CLK_PLL_C>;
905724ba675SRob Herring		assigned-clock-rates = <40000000>;
906724ba675SRob Herring
907724ba675SRob Herring		max-frequency = <40000000>;
908724ba675SRob Herring		keep-power-in-suspend;
909724ba675SRob Herring		bus-width = <4>;
910724ba675SRob Herring		non-removable;
911724ba675SRob Herring
912724ba675SRob Herring		mmc-pwrseq = <&brcm_wifi_pwrseq>;
913724ba675SRob Herring		vmmc-supply = <&vdd_3v3_sys>;
914724ba675SRob Herring		vqmmc-supply = <&vdd_3v3_sys>;
915724ba675SRob Herring
916724ba675SRob Herring		/* Azurewave AW-NH615 BCM4329B1 */
917724ba675SRob Herring		wifi@1 {
918724ba675SRob Herring			compatible = "brcm,bcm4329-fmac";
919724ba675SRob Herring			reg = <1>;
920724ba675SRob Herring
921724ba675SRob Herring			interrupt-parent = <&gpio>;
922724ba675SRob Herring			interrupts = <TEGRA_GPIO(S, 0) IRQ_TYPE_LEVEL_HIGH>;
923724ba675SRob Herring			interrupt-names = "host-wake";
924724ba675SRob Herring		};
925724ba675SRob Herring	};
926724ba675SRob Herring
927724ba675SRob Herring	sdmmc3: mmc@c8000400 {
928724ba675SRob Herring		status = "okay";
929724ba675SRob Herring		bus-width = <4>;
930724ba675SRob Herring		cd-gpios = <&gpio TEGRA_GPIO(I, 5) GPIO_ACTIVE_LOW>;
931724ba675SRob Herring		wp-gpios = <&gpio TEGRA_GPIO(H, 1) GPIO_ACTIVE_HIGH>;
932724ba675SRob Herring		power-gpios = <&gpio TEGRA_GPIO(I, 6) GPIO_ACTIVE_HIGH>;
933724ba675SRob Herring		vmmc-supply = <&vdd_3v3_sys>;
934724ba675SRob Herring		vqmmc-supply = <&vdd_3v3_sys>;
935724ba675SRob Herring	};
936724ba675SRob Herring
937724ba675SRob Herring	sdmmc4: mmc@c8000600 {
938724ba675SRob Herring		status = "okay";
939724ba675SRob Herring		bus-width = <8>;
940724ba675SRob Herring		vmmc-supply = <&vcore_emmc>;
941724ba675SRob Herring		vqmmc-supply = <&vdd_3v3_sys>;
942724ba675SRob Herring		non-removable;
943724ba675SRob Herring	};
944724ba675SRob Herring
945724ba675SRob Herring	mains: ac-adapter-detect {
946724ba675SRob Herring		compatible = "gpio-charger";
947724ba675SRob Herring		charger-type = "mains";
948724ba675SRob Herring		gpios = <&gpio TEGRA_GPIO(V, 3) GPIO_ACTIVE_LOW>;
949724ba675SRob Herring	};
950724ba675SRob Herring
951724ba675SRob Herring	backlight: backlight {
952724ba675SRob Herring		compatible = "pwm-backlight";
953724ba675SRob Herring
954724ba675SRob Herring		enable-gpios = <&gpio TEGRA_GPIO(D, 4) GPIO_ACTIVE_HIGH>;
955724ba675SRob Herring		power-supply = <&vdd_3v3_sys>;
956724ba675SRob Herring		pwms = <&pwm 2 4000000>;
957724ba675SRob Herring
958724ba675SRob Herring		brightness-levels = <7 255>;
959724ba675SRob Herring		num-interpolated-steps = <248>;
960724ba675SRob Herring		default-brightness-level = <20>;
961724ba675SRob Herring	};
962724ba675SRob Herring
963724ba675SRob Herring	/* PMIC has a built-in 32KHz oscillator which is used by PMC */
964724ba675SRob Herring	clk32k_in: clock-32k-in {
965724ba675SRob Herring		compatible = "fixed-clock";
966724ba675SRob Herring		clock-frequency = <32768>;
967724ba675SRob Herring		#clock-cells = <0>;
968724ba675SRob Herring	};
969724ba675SRob Herring
970724ba675SRob Herring	cpus {
971724ba675SRob Herring		cpu0: cpu@0 {
972724ba675SRob Herring			cpu-supply = <&vdd_cpu>;
973724ba675SRob Herring			operating-points-v2 = <&cpu0_opp_table>;
974724ba675SRob Herring			#cooling-cells = <2>;
975724ba675SRob Herring		};
976724ba675SRob Herring
977724ba675SRob Herring		cpu1: cpu@1 {
978724ba675SRob Herring			cpu-supply = <&vdd_cpu>;
979724ba675SRob Herring			operating-points-v2 = <&cpu0_opp_table>;
980724ba675SRob Herring			#cooling-cells = <2>;
981724ba675SRob Herring		};
982724ba675SRob Herring	};
983724ba675SRob Herring
984724ba675SRob Herring	display-panel {
985724ba675SRob Herring		compatible = "auo,b101ew05", "panel-lvds";
986724ba675SRob Herring
987724ba675SRob Herring		/* AUO B101EW05 using custom timings */
988724ba675SRob Herring
989724ba675SRob Herring		backlight = <&backlight>;
990724ba675SRob Herring		ddc-i2c-bus = <&lvds_ddc>;
991724ba675SRob Herring		power-supply = <&vdd_pnl_reg>;
992724ba675SRob Herring
993724ba675SRob Herring		width-mm = <218>;
994724ba675SRob Herring		height-mm = <135>;
995724ba675SRob Herring
996724ba675SRob Herring		data-mapping = "jeida-18";
997724ba675SRob Herring
998724ba675SRob Herring		panel-timing {
999724ba675SRob Herring			clock-frequency = <71200000>;
1000724ba675SRob Herring			hactive = <1280>;
1001724ba675SRob Herring			vactive = <800>;
1002724ba675SRob Herring			hfront-porch = <8>;
1003724ba675SRob Herring			hback-porch = <18>;
1004724ba675SRob Herring			hsync-len = <184>;
1005724ba675SRob Herring			vsync-len = <3>;
1006724ba675SRob Herring			vfront-porch = <4>;
1007724ba675SRob Herring			vback-porch = <8>;
1008724ba675SRob Herring		};
1009724ba675SRob Herring
1010724ba675SRob Herring		port {
1011724ba675SRob Herring			panel_input: endpoint {
1012724ba675SRob Herring				remote-endpoint = <&lvds_encoder_output>;
1013724ba675SRob Herring			};
1014724ba675SRob Herring		};
1015724ba675SRob Herring	};
1016724ba675SRob Herring
1017724ba675SRob Herring	gpio-keys {
1018724ba675SRob Herring		compatible = "gpio-keys";
1019724ba675SRob Herring
1020724ba675SRob Herring		key-power {
1021724ba675SRob Herring			label = "Power";
1022724ba675SRob Herring			gpios = <&gpio TEGRA_GPIO(V, 2) GPIO_ACTIVE_LOW>;
1023724ba675SRob Herring			linux,code = <KEY_POWER>;
1024724ba675SRob Herring			debounce-interval = <10>;
1025724ba675SRob Herring			wakeup-event-action = <EV_ACT_ASSERTED>;
1026724ba675SRob Herring			wakeup-source;
1027724ba675SRob Herring		};
1028724ba675SRob Herring
1029724ba675SRob Herring		key-volume-down {
1030724ba675SRob Herring			label = "Volume Down";
1031724ba675SRob Herring			gpios = <&gpio TEGRA_GPIO(Q, 4) GPIO_ACTIVE_LOW>;
1032724ba675SRob Herring			linux,code = <KEY_VOLUMEDOWN>;
1033724ba675SRob Herring			debounce-interval = <10>;
1034724ba675SRob Herring			wakeup-event-action = <EV_ACT_ASSERTED>;
1035724ba675SRob Herring			wakeup-source;
1036724ba675SRob Herring		};
1037724ba675SRob Herring
1038724ba675SRob Herring		key-volume-up {
1039724ba675SRob Herring			label = "Volume Up";
1040724ba675SRob Herring			gpios = <&gpio TEGRA_GPIO(Q, 5) GPIO_ACTIVE_LOW>;
1041724ba675SRob Herring			linux,code = <KEY_VOLUMEUP>;
1042724ba675SRob Herring			debounce-interval = <10>;
1043724ba675SRob Herring			wakeup-event-action = <EV_ACT_ASSERTED>;
1044724ba675SRob Herring			wakeup-source;
1045724ba675SRob Herring		};
1046724ba675SRob Herring
1047724ba675SRob Herring		switch-dock-hall-sensor {
1048724ba675SRob Herring			label = "Lid";
1049724ba675SRob Herring			gpios = <&gpio TEGRA_GPIO(S, 4) GPIO_ACTIVE_LOW>;
1050724ba675SRob Herring			linux,input-type = <EV_SW>;
1051724ba675SRob Herring			linux,code = <SW_LID>;
1052724ba675SRob Herring			debounce-interval = <500>;
1053724ba675SRob Herring			wakeup-event-action = <EV_ACT_ASSERTED>;
1054724ba675SRob Herring			wakeup-source;
1055724ba675SRob Herring		};
1056724ba675SRob Herring	};
1057724ba675SRob Herring
1058724ba675SRob Herring	i2cmux {
1059724ba675SRob Herring		compatible = "i2c-mux-pinctrl";
1060724ba675SRob Herring		#address-cells = <1>;
1061724ba675SRob Herring		#size-cells = <0>;
1062724ba675SRob Herring
1063724ba675SRob Herring		i2c-parent = <&i2c2>;
1064724ba675SRob Herring
1065724ba675SRob Herring		pinctrl-names = "ddc", "pta", "idle";
1066724ba675SRob Herring		pinctrl-0 = <&state_i2cmux_ddc>;
1067724ba675SRob Herring		pinctrl-1 = <&state_i2cmux_pta>;
1068724ba675SRob Herring		pinctrl-2 = <&state_i2cmux_idle>;
1069724ba675SRob Herring
1070724ba675SRob Herring		hdmi_ddc: i2c@0 {
1071724ba675SRob Herring			reg = <0>;
1072724ba675SRob Herring			#address-cells = <1>;
1073724ba675SRob Herring			#size-cells = <0>;
1074724ba675SRob Herring		};
1075724ba675SRob Herring
1076724ba675SRob Herring		lvds_ddc: i2c@1 {
1077724ba675SRob Herring			reg = <1>;
1078724ba675SRob Herring			#address-cells = <1>;
1079724ba675SRob Herring			#size-cells = <0>;
1080724ba675SRob Herring
1081724ba675SRob Herring			smart-battery@b {
1082724ba675SRob Herring				compatible = "ti,bq20z75", "sbs,sbs-battery";
1083724ba675SRob Herring				reg = <0xb>;
1084724ba675SRob Herring				sbs,i2c-retry-count = <2>;
1085724ba675SRob Herring				sbs,poll-retry-count = <10>;
1086724ba675SRob Herring				power-supplies = <&mains>;
1087724ba675SRob Herring			};
1088724ba675SRob Herring		};
1089724ba675SRob Herring	};
1090724ba675SRob Herring
1091724ba675SRob Herring	lvds-encoder {
1092724ba675SRob Herring		compatible = "ti,sn75lvds83", "lvds-encoder";
1093724ba675SRob Herring
1094724ba675SRob Herring		powerdown-gpios = <&gpio TEGRA_GPIO(B, 2) GPIO_ACTIVE_LOW>;
1095724ba675SRob Herring		power-supply = <&vdd_3v3_sys>;
1096724ba675SRob Herring
1097724ba675SRob Herring		ports {
1098724ba675SRob Herring			#address-cells = <1>;
1099724ba675SRob Herring			#size-cells = <0>;
1100724ba675SRob Herring
1101724ba675SRob Herring			port@0 {
1102724ba675SRob Herring				reg = <0>;
1103724ba675SRob Herring
1104724ba675SRob Herring				lvds_encoder_input: endpoint {
1105724ba675SRob Herring					remote-endpoint = <&lcd_output>;
1106724ba675SRob Herring				};
1107724ba675SRob Herring			};
1108724ba675SRob Herring
1109724ba675SRob Herring			port@1 {
1110724ba675SRob Herring				reg = <1>;
1111724ba675SRob Herring
1112724ba675SRob Herring				lvds_encoder_output: endpoint {
1113724ba675SRob Herring					remote-endpoint = <&panel_input>;
1114724ba675SRob Herring				};
1115724ba675SRob Herring			};
1116724ba675SRob Herring		};
1117724ba675SRob Herring	};
1118724ba675SRob Herring
1119724ba675SRob Herring	opp-table-emc {
1120724ba675SRob Herring		/delete-node/ opp-666000000;
1121724ba675SRob Herring		/delete-node/ opp-760000000;
1122724ba675SRob Herring	};
1123724ba675SRob Herring
1124724ba675SRob Herring	vdd_5v0_sys: regulator-5v0 {
1125724ba675SRob Herring		compatible = "regulator-fixed";
1126724ba675SRob Herring		regulator-name = "vdd_5v0";
1127724ba675SRob Herring		regulator-min-microvolt = <5000000>;
1128724ba675SRob Herring		regulator-max-microvolt = <5000000>;
1129724ba675SRob Herring		regulator-always-on;
1130724ba675SRob Herring	};
1131724ba675SRob Herring
1132724ba675SRob Herring	vdd_3v3_sys: regulator-3v3 {
1133724ba675SRob Herring		compatible = "regulator-fixed";
1134724ba675SRob Herring		regulator-name = "vdd_3v3_vs";
1135724ba675SRob Herring		regulator-min-microvolt = <3300000>;
1136724ba675SRob Herring		regulator-max-microvolt = <3300000>;
1137724ba675SRob Herring		regulator-always-on;
1138724ba675SRob Herring		vin-supply = <&vdd_5v0_sys>;
1139724ba675SRob Herring	};
1140724ba675SRob Herring
1141724ba675SRob Herring	regulator-pcie {
1142724ba675SRob Herring		compatible = "regulator-fixed";
1143724ba675SRob Herring		regulator-name = "pcie_vdd";
1144724ba675SRob Herring		regulator-min-microvolt = <1500000>;
1145724ba675SRob Herring		regulator-max-microvolt = <1500000>;
1146724ba675SRob Herring		gpio = <&pmic 0 GPIO_ACTIVE_HIGH>;
1147724ba675SRob Herring		regulator-always-on;
1148724ba675SRob Herring	};
1149724ba675SRob Herring
1150724ba675SRob Herring	vdd_pnl_reg: regulator-panel {
1151724ba675SRob Herring		compatible = "regulator-fixed";
1152724ba675SRob Herring		regulator-name = "vdd_pnl";
1153724ba675SRob Herring		regulator-min-microvolt = <2800000>;
1154724ba675SRob Herring		regulator-max-microvolt = <2800000>;
1155724ba675SRob Herring		gpio = <&gpio TEGRA_GPIO(C, 6) GPIO_ACTIVE_HIGH>;
1156724ba675SRob Herring		enable-active-high;
1157724ba675SRob Herring	};
1158724ba675SRob Herring
1159724ba675SRob Herring	vdd_1v8_sys: regulator-1v8 {
1160724ba675SRob Herring		compatible = "regulator-fixed";
1161724ba675SRob Herring		regulator-name = "vdd_1v8_vs";
1162724ba675SRob Herring		regulator-min-microvolt = <1800000>;
1163724ba675SRob Herring		regulator-max-microvolt = <1800000>;
1164724ba675SRob Herring		regulator-always-on;
1165724ba675SRob Herring		vin-supply = <&vdd_5v0_sys>;
1166724ba675SRob Herring	};
1167724ba675SRob Herring
1168724ba675SRob Herring	vdd_hdmi_en: regulator-hdmi {
1169724ba675SRob Herring		compatible = "regulator-fixed";
1170724ba675SRob Herring		regulator-name = "vdd_5v0_hdmi_en";
1171724ba675SRob Herring		regulator-min-microvolt = <5000000>;
1172724ba675SRob Herring		regulator-max-microvolt = <5000000>;
1173724ba675SRob Herring		regulator-always-on;
1174724ba675SRob Herring		vin-supply = <&vdd_5v0_sys>;
1175724ba675SRob Herring		gpio = <&gpio TEGRA_GPIO(V, 5) GPIO_ACTIVE_HIGH>;
1176724ba675SRob Herring		enable-active-high;
1177724ba675SRob Herring	};
1178724ba675SRob Herring
1179724ba675SRob Herring	sound {
1180724ba675SRob Herring		compatible = "asus,tegra-audio-wm8903-tf101",
1181724ba675SRob Herring			     "nvidia,tegra-audio-wm8903";
1182724ba675SRob Herring		nvidia,model = "Asus EeePad Transformer WM8903";
1183724ba675SRob Herring
1184724ba675SRob Herring		nvidia,audio-routing =
1185724ba675SRob Herring			"Headphone Jack", "HPOUTR",
1186724ba675SRob Herring			"Headphone Jack", "HPOUTL",
1187724ba675SRob Herring			"Int Spk", "ROP",
1188724ba675SRob Herring			"Int Spk", "RON",
1189724ba675SRob Herring			"Int Spk", "LOP",
1190724ba675SRob Herring			"Int Spk", "LON",
1191724ba675SRob Herring			"IN2L", "Mic Jack",
1192724ba675SRob Herring			"DMICDAT", "Int Mic";
1193724ba675SRob Herring
1194724ba675SRob Herring		nvidia,i2s-controller = <&tegra_i2s1>;
1195724ba675SRob Herring		nvidia,audio-codec = <&wm8903>;
1196724ba675SRob Herring
1197724ba675SRob Herring		nvidia,spkr-en-gpios = <&wm8903 2 GPIO_ACTIVE_HIGH>;
1198724ba675SRob Herring		nvidia,hp-det-gpios = <&gpio TEGRA_GPIO(W, 2) GPIO_ACTIVE_LOW>;
1199724ba675SRob Herring		nvidia,mic-det-gpios = <&gpio TEGRA_GPIO(X, 1) GPIO_ACTIVE_LOW>;
1200724ba675SRob Herring		nvidia,coupled-mic-hp-det;
1201724ba675SRob Herring
1202724ba675SRob Herring		clocks = <&tegra_car TEGRA20_CLK_PLL_A>,
1203724ba675SRob Herring			 <&tegra_car TEGRA20_CLK_PLL_A_OUT0>,
1204724ba675SRob Herring			 <&tegra_car TEGRA20_CLK_CDEV1>;
1205724ba675SRob Herring		clock-names = "pll_a", "pll_a_out0", "mclk";
1206724ba675SRob Herring	};
1207724ba675SRob Herring
1208724ba675SRob Herring	thermal-zones {
1209724ba675SRob Herring		/*
1210724ba675SRob Herring		 * NCT1008 has two sensors:
1211724ba675SRob Herring		 *
1212724ba675SRob Herring		 *	0: internal that monitors ambient/skin temperature
1213724ba675SRob Herring		 *	1: external that is connected to the CPU's diode
1214724ba675SRob Herring		 *
1215724ba675SRob Herring		 * Ideally we should use userspace thermal governor,
1216724ba675SRob Herring		 * but it's a much more complex solution.  The "skin"
1217724ba675SRob Herring		 * zone is a simpler solution which prevents TF101 from
1218724ba675SRob Herring		 * getting too hot from a user's tactile perspective.
1219724ba675SRob Herring		 * The CPU zone is intended to protect silicon from damage.
1220724ba675SRob Herring		 */
1221724ba675SRob Herring
1222724ba675SRob Herring		skin-thermal {
1223724ba675SRob Herring			polling-delay-passive = <1000>; /* milliseconds */
1224724ba675SRob Herring			polling-delay = <5000>; /* milliseconds */
1225724ba675SRob Herring
1226724ba675SRob Herring			thermal-sensors = <&nct1008 0>;
1227724ba675SRob Herring
1228724ba675SRob Herring			trips {
1229724ba675SRob Herring				trip0: skin-alert {
1230724ba675SRob Herring					/* start throttling at 60C */
1231724ba675SRob Herring					temperature = <60000>;
1232724ba675SRob Herring					hysteresis = <200>;
1233724ba675SRob Herring					type = "passive";
1234724ba675SRob Herring				};
1235724ba675SRob Herring
1236724ba675SRob Herring				trip1: skin-crit {
1237724ba675SRob Herring					/* shut down at 70C */
1238724ba675SRob Herring					temperature = <70000>;
1239724ba675SRob Herring					hysteresis = <2000>;
1240724ba675SRob Herring					type = "critical";
1241724ba675SRob Herring				};
1242724ba675SRob Herring			};
1243724ba675SRob Herring
1244724ba675SRob Herring			cooling-maps {
1245724ba675SRob Herring				map0 {
1246724ba675SRob Herring					trip = <&trip0>;
1247724ba675SRob Herring					cooling-device = <&cpu0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
1248724ba675SRob Herring							 <&cpu1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
1249724ba675SRob Herring				};
1250724ba675SRob Herring			};
1251724ba675SRob Herring		};
1252724ba675SRob Herring
1253724ba675SRob Herring		cpu-thermal {
1254724ba675SRob Herring			polling-delay-passive = <1000>; /* milliseconds */
1255724ba675SRob Herring			polling-delay = <5000>; /* milliseconds */
1256724ba675SRob Herring
1257724ba675SRob Herring			thermal-sensors = <&nct1008 1>;
1258724ba675SRob Herring
1259724ba675SRob Herring			trips {
1260724ba675SRob Herring				trip2: cpu-alert {
1261724ba675SRob Herring					/* throttle at 85C until temperature drops to 84.8C */
1262724ba675SRob Herring					temperature = <85000>;
1263724ba675SRob Herring					hysteresis = <200>;
1264724ba675SRob Herring					type = "passive";
1265724ba675SRob Herring				};
1266724ba675SRob Herring
1267724ba675SRob Herring				trip3: cpu-crit {
1268724ba675SRob Herring					/* shut down at 90C */
1269724ba675SRob Herring					temperature = <90000>;
1270724ba675SRob Herring					hysteresis = <2000>;
1271724ba675SRob Herring					type = "critical";
1272724ba675SRob Herring				};
1273724ba675SRob Herring			};
1274724ba675SRob Herring
1275724ba675SRob Herring			cooling-maps {
1276724ba675SRob Herring				map1 {
1277724ba675SRob Herring					trip = <&trip2>;
1278724ba675SRob Herring					cooling-device = <&cpu0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
1279724ba675SRob Herring							 <&cpu1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
1280724ba675SRob Herring				};
1281724ba675SRob Herring			};
1282724ba675SRob Herring		};
1283724ba675SRob Herring	};
1284724ba675SRob Herring
1285724ba675SRob Herring	brcm_wifi_pwrseq: wifi-pwrseq {
1286724ba675SRob Herring		compatible = "mmc-pwrseq-simple";
1287724ba675SRob Herring
1288724ba675SRob Herring		clocks = <&tegra_pmc TEGRA_PMC_CLK_BLINK>;
1289724ba675SRob Herring		clock-names = "ext_clock";
1290724ba675SRob Herring
1291724ba675SRob Herring		reset-gpios = <&gpio TEGRA_GPIO(K, 6) GPIO_ACTIVE_LOW>;
1292724ba675SRob Herring		post-power-on-delay-ms = <200>;
1293724ba675SRob Herring		power-off-delay-us = <200>;
1294724ba675SRob Herring	};
1295724ba675SRob Herring};
1296