xref: /linux/arch/arm/boot/dts/nvidia/tegra124-xiaomi-mocha.dts (revision 0cac5ce06e524755b3dac1e0a060b05992076d93)
1// SPDX-License-Identifier: GPL-2.0
2/dts-v1/;
3
4#include <dt-bindings/input/gpio-keys.h>
5#include <dt-bindings/input/input.h>
6#include <dt-bindings/input/ti-drv260x.h>
7#include <dt-bindings/leds/common.h>
8#include <dt-bindings/thermal/thermal.h>
9
10#include "tegra124.dtsi"
11
12/ {
13	model = "Xiaomi Mi Pad A0101";
14	compatible = "xiaomi,mocha", "nvidia,tegra124";
15	chassis-type = "tablet";
16
17	aliases {
18		mmc0 = &sdmmc4; /* eMMC */
19		mmc1 = &sdmmc3; /* uSD slot */
20		mmc2 = &sdmmc1; /* WiFi */
21
22		rtc0 = &palmas;
23		rtc1 = "/rtc@7000e000";
24
25		serial0 = &uartd; /* Console */
26		serial1 = &uartc; /* Bluetooth */
27	};
28
29	chosen {
30		stdout-path = "serial0:115200n8";
31	};
32
33	memory@80000000 {
34		reg = <0 0x80000000 0 0x80000000>;
35	};
36
37	host1x@50000000 {
38		dsia: dsi@54300000 {
39			status = "okay";
40
41			avdd-dsi-csi-supply = <&avdd_dsi_csi>;
42			nvidia,ganged-mode = <&dsib>;
43
44			panel@0 {
45				compatible = "sharp,lq079l1sx01";
46				reg = <0>;
47
48				reset-gpios = <&gpio TEGRA_GPIO(H, 3) GPIO_ACTIVE_LOW>;
49
50				avdd-supply = <&avdd_lcd>;
51				vddio-supply = <&vdd_lcd_io>;
52
53				vsp-supply = <&vsp_5v5_lcd>;
54				vsn-supply = <&vsn_5v5_lcd>;
55
56				backlight = <&lp8556>;
57
58				ports {
59					#address-cells = <1>;
60					#size-cells = <0>;
61
62					port@0 {
63						reg = <0>;
64
65						panel_link0: endpoint {
66							remote-endpoint = <&dsia_out>;
67						};
68					};
69
70					port@1 {
71						reg = <1>;
72
73						panel_link1: endpoint {
74							remote-endpoint = <&dsib_out>;
75						};
76					};
77				};
78			};
79
80			port {
81				dsia_out: endpoint {
82					remote-endpoint = <&panel_link0>;
83				};
84			};
85		};
86
87		dsib: dsi@54400000 {
88			status = "okay";
89
90			avdd-dsi-csi-supply = <&avdd_dsi_csi>;
91
92			port {
93				dsib_out: endpoint {
94					remote-endpoint = <&panel_link1>;
95				};
96			};
97		};
98	};
99
100	gpu@57000000 {
101		vdd-supply = <&vdd_gpu>;
102	};
103
104	clock@60006000 {
105		emc-timings-0 {
106			nvidia,ram-code = <0>;
107
108			timing-12750000 {
109				clock-frequency = <12750000>;
110				nvidia,parent-clock-frequency = <408000000>;
111				clocks = <&tegra_car TEGRA124_CLK_PLL_P>;
112				clock-names = "emc-parent";
113			};
114
115			timing-20400000 {
116				clock-frequency = <20400000>;
117				nvidia,parent-clock-frequency = <408000000>;
118				clocks = <&tegra_car TEGRA124_CLK_PLL_P>;
119				clock-names = "emc-parent";
120			};
121
122			timing-40800000 {
123				clock-frequency = <40800000>;
124				nvidia,parent-clock-frequency = <408000000>;
125				clocks = <&tegra_car TEGRA124_CLK_PLL_P>;
126				clock-names = "emc-parent";
127			};
128
129			timing-68000000 {
130				clock-frequency = <68000000>;
131				nvidia,parent-clock-frequency = <408000000>;
132				clocks = <&tegra_car TEGRA124_CLK_PLL_P>;
133				clock-names = "emc-parent";
134			};
135
136			timing-102000000 {
137				clock-frequency = <102000000>;
138				nvidia,parent-clock-frequency = <408000000>;
139				clocks = <&tegra_car TEGRA124_CLK_PLL_P>;
140				clock-names = "emc-parent";
141			};
142
143			timing-204000000 {
144				clock-frequency = <204000000>;
145				nvidia,parent-clock-frequency = <408000000>;
146				clocks = <&tegra_car TEGRA124_CLK_PLL_P>;
147				clock-names = "emc-parent";
148			};
149
150			timing-300000000 {
151				clock-frequency = <300000000>;
152				nvidia,parent-clock-frequency = <600000000>;
153				clocks = <&tegra_car TEGRA124_CLK_PLL_C>;
154				clock-names = "emc-parent";
155			};
156
157			timing-396000000 {
158				clock-frequency = <396000000>;
159				nvidia,parent-clock-frequency = <792000000>;
160				clocks = <&tegra_car TEGRA124_CLK_PLL_M>;
161				clock-names = "emc-parent";
162			};
163
164			timing-528000000 {
165				clock-frequency = <528000000>;
166				nvidia,parent-clock-frequency = <528000000>;
167				clocks = <&tegra_car TEGRA124_CLK_PLL_M_UD>;
168				clock-names = "emc-parent";
169			};
170
171			timing-600000000 {
172				clock-frequency = <600000000>;
173				nvidia,parent-clock-frequency = <600000000>;
174				clocks = <&tegra_car TEGRA124_CLK_PLL_C_UD>;
175				clock-names = "emc-parent";
176			};
177
178			timing-792000000 {
179				clock-frequency = <792000000>;
180				nvidia,parent-clock-frequency = <792000000>;
181				clocks = <&tegra_car TEGRA124_CLK_PLL_M_UD>;
182				clock-names = "emc-parent";
183			};
184
185			timing-924000000 {
186				clock-frequency = <924000000>;
187				nvidia,parent-clock-frequency = <924000000>;
188				clocks = <&tegra_car TEGRA124_CLK_PLL_M_UD>;
189				clock-names = "emc-parent";
190			};
191		};
192	};
193
194	pinmux@70000868 {
195		pinctrl-names = "default";
196		pinctrl-0 = <&state_default>;
197
198		state_default: pinmux {
199			/* Keys pinmux */
200			keys {
201				nvidia,pins = "kb_col0_pq0",
202					      "kb_col6_pq6",
203					      "kb_col7_pq7";
204				nvidia,function = "rsvd2";
205				nvidia,pull = <TEGRA_PIN_PULL_UP>;
206				nvidia,tristate = <TEGRA_PIN_DISABLE>;
207				nvidia,enable-input = <TEGRA_PIN_ENABLE>;
208			};
209
210			hall-front {
211				nvidia,pins = "pi5";
212				nvidia,function = "gmi";
213				nvidia,pull = <TEGRA_PIN_PULL_UP>;
214				nvidia,tristate = <TEGRA_PIN_DISABLE>;
215				nvidia,enable-input = <TEGRA_PIN_ENABLE>;
216			};
217
218			hall-back {
219				nvidia,pins = "gpio_w3_aud_pw3";
220				nvidia,function = "spi1";
221				nvidia,pull = <TEGRA_PIN_PULL_UP>;
222				nvidia,tristate = <TEGRA_PIN_DISABLE>;
223				nvidia,enable-input = <TEGRA_PIN_ENABLE>;
224			};
225
226			/* Leds pinmux */
227			bl-en {
228				nvidia,pins = "pbb4";
229				nvidia,function = "vgp4";
230				nvidia,pull = <TEGRA_PIN_PULL_DOWN>;
231				nvidia,tristate = <TEGRA_PIN_DISABLE>;
232				nvidia,enable-input = <TEGRA_PIN_DISABLE>;
233			};
234
235			keys-led {
236				nvidia,pins = "ph1";
237				nvidia,function = "pwm1";
238				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
239				nvidia,tristate = <TEGRA_PIN_DISABLE>;
240				nvidia,enable-input = <TEGRA_PIN_DISABLE>;
241			};
242
243			rgb-led-en {
244				nvidia,pins = "pg7";
245				nvidia,function = "rsvd1";
246				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
247				nvidia,tristate = <TEGRA_PIN_DISABLE>;
248				nvidia,enable-input = <TEGRA_PIN_DISABLE>;
249			};
250
251			/* Panel pinmux */
252			lcd-rst {
253				nvidia,pins = "ph3";
254				nvidia,function = "gmi";
255				nvidia,pull = <TEGRA_PIN_PULL_UP>;
256				nvidia,tristate = <TEGRA_PIN_DISABLE>;
257				nvidia,enable-input = <TEGRA_PIN_DISABLE>;
258			};
259
260			lcd-vsp-en {
261				nvidia,pins = "pi4";
262				nvidia,function = "gmi";
263				nvidia,pull = <TEGRA_PIN_PULL_DOWN>;
264				nvidia,tristate = <TEGRA_PIN_DISABLE>;
265				nvidia,enable-input = <TEGRA_PIN_DISABLE>;
266			};
267
268			lcd-vsn-en {
269				nvidia,pins = "kb_row10_ps2";
270				nvidia,function = "kbc";
271				nvidia,pull = <TEGRA_PIN_PULL_DOWN>;
272				nvidia,tristate = <TEGRA_PIN_DISABLE>;
273				nvidia,enable-input = <TEGRA_PIN_DISABLE>;
274			};
275
276			lcd-id {
277				nvidia,pins = "kb_row6_pr6";
278				nvidia,function = "displaya_alt";
279				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
280				nvidia,tristate = <TEGRA_PIN_DISABLE>;
281				nvidia,enable-input = <TEGRA_PIN_ENABLE>;
282			};
283
284			lcd-pwm {
285				nvidia,pins = "ph2";
286				nvidia,function = "pwm2";
287				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
288				nvidia,tristate = <TEGRA_PIN_DISABLE>;
289				nvidia,enable-input = <TEGRA_PIN_DISABLE>;
290			};
291
292			/* SDMMC1 pinmux */
293			sdmmc1-clk {
294				nvidia,pins = "sdmmc1_clk_pz0";
295				nvidia,function = "sdmmc1";
296				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
297				nvidia,tristate = <TEGRA_PIN_DISABLE>;
298				nvidia,enable-input = <TEGRA_PIN_ENABLE>;
299			};
300
301			sdmmc1-cmd {
302				nvidia,pins = "sdmmc1_cmd_pz1",
303					      "sdmmc1_dat0_py7",
304					      "sdmmc1_dat1_py6",
305					      "sdmmc1_dat2_py5",
306					      "sdmmc1_dat3_py4";
307				nvidia,function = "sdmmc1";
308				nvidia,pull = <TEGRA_PIN_PULL_UP>;
309				nvidia,tristate = <TEGRA_PIN_DISABLE>;
310				nvidia,enable-input = <TEGRA_PIN_ENABLE>;
311			};
312
313			/* SDMMC3 pinmux */
314			sdmmc3-clk {
315				nvidia,pins = "sdmmc3_clk_pa6";
316				nvidia,function = "sdmmc3";
317				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
318				nvidia,tristate = <TEGRA_PIN_DISABLE>;
319				nvidia,enable-input = <TEGRA_PIN_ENABLE>;
320			};
321
322			sdmmc3-cmd {
323				nvidia,pins = "sdmmc3_cmd_pa7",
324					      "sdmmc3_dat0_pb7",
325					      "sdmmc3_dat1_pb6",
326					      "sdmmc3_dat2_pb5",
327					      "sdmmc3_dat3_pb4",
328					      "sdmmc3_clk_lb_out_pee4",
329					      "sdmmc3_clk_lb_in_pee5";
330				nvidia,function = "sdmmc3";
331				nvidia,pull = <TEGRA_PIN_PULL_UP>;
332				nvidia,tristate = <TEGRA_PIN_DISABLE>;
333				nvidia,enable-input = <TEGRA_PIN_ENABLE>;
334			};
335
336			sdmmc3-cd {
337				nvidia,pins = "sdmmc3_cd_n_pv2";
338				nvidia,function = "sdmmc3";
339				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
340				nvidia,tristate = <TEGRA_PIN_DISABLE>;
341				nvidia,enable-input = <TEGRA_PIN_ENABLE>;
342			};
343
344			usd-pwr {
345				nvidia,pins = "kb_row0_pr0";
346				nvidia,function = "rsvd4";
347				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
348				nvidia,tristate = <TEGRA_PIN_DISABLE>;
349				nvidia,enable-input = <TEGRA_PIN_DISABLE>;
350			};
351
352			/* SDMMC4 pinmux */
353			sdmmc4-clk {
354				nvidia,pins = "sdmmc4_clk_pcc4";
355				nvidia,function = "sdmmc4";
356				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
357				nvidia,tristate = <TEGRA_PIN_DISABLE>;
358				nvidia,enable-input = <TEGRA_PIN_ENABLE>;
359			};
360
361			sdmmc4-cmd {
362				nvidia,pins = "sdmmc4_cmd_pt7",
363					      "sdmmc4_dat0_paa0",
364					      "sdmmc4_dat1_paa1",
365					      "sdmmc4_dat2_paa2",
366					      "sdmmc4_dat3_paa3",
367					      "sdmmc4_dat4_paa4",
368					      "sdmmc4_dat5_paa5",
369					      "sdmmc4_dat6_paa6",
370					      "sdmmc4_dat7_paa7";
371				nvidia,function = "sdmmc4";
372				nvidia,pull = <TEGRA_PIN_PULL_UP>;
373				nvidia,tristate = <TEGRA_PIN_DISABLE>;
374				nvidia,enable-input = <TEGRA_PIN_ENABLE>;
375			};
376
377			/* UART-B pinmux */
378			uartb-cts {
379				nvidia,pins = "uart2_cts_n_pj5";
380				nvidia,function = "uartb";
381				nvidia,pull = <TEGRA_PIN_PULL_UP>;
382				nvidia,tristate = <TEGRA_PIN_DISABLE>;
383				nvidia,enable-input = <TEGRA_PIN_ENABLE>;
384			};
385
386			uartb-rts {
387				nvidia,pins = "uart2_rts_n_pj6";
388				nvidia,function = "uartb";
389				nvidia,pull = <TEGRA_PIN_PULL_UP>;
390				nvidia,tristate = <TEGRA_PIN_DISABLE>;
391				nvidia,enable-input = <TEGRA_PIN_DISABLE>;
392			};
393
394			uartb-rxd {
395				nvidia,pins = "uart2_rxd_pc3";
396				nvidia,function = "irda";
397				nvidia,pull = <TEGRA_PIN_PULL_UP>;
398				nvidia,tristate = <TEGRA_PIN_DISABLE>;
399				nvidia,enable-input = <TEGRA_PIN_ENABLE>;
400			};
401
402			uartb-txd {
403				nvidia,pins = "uart2_txd_pc2";
404				nvidia,function = "irda";
405				nvidia,pull = <TEGRA_PIN_PULL_UP>;
406				nvidia,tristate = <TEGRA_PIN_DISABLE>;
407				nvidia,enable-input = <TEGRA_PIN_DISABLE>;
408			};
409
410			/* UART-C pinmux */
411			uartc-cts-rxd {
412				nvidia,pins = "uart3_cts_n_pa1",
413					      "uart3_rxd_pw7";
414				nvidia,function = "uartc";
415				nvidia,pull = <TEGRA_PIN_PULL_UP>;
416				nvidia,tristate = <TEGRA_PIN_DISABLE>;
417				nvidia,enable-input = <TEGRA_PIN_ENABLE>;
418			};
419
420			uartc-rts-txd {
421				nvidia,pins = "uart3_rts_n_pc0",
422					      "uart3_txd_pw6";
423				nvidia,function = "uartc";
424				nvidia,pull = <TEGRA_PIN_PULL_UP>;
425				nvidia,tristate = <TEGRA_PIN_DISABLE>;
426				nvidia,enable-input = <TEGRA_PIN_DISABLE>;
427			};
428
429			/* UART-D pinmux */
430			uartd-txd {
431				nvidia,pins = "pj7";
432				nvidia,function = "uartd";
433				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
434				nvidia,tristate = <TEGRA_PIN_DISABLE>;
435				nvidia,enable-input = <TEGRA_PIN_DISABLE>;
436			};
437
438			uartd-rxd {
439				nvidia,pins = "pb0";
440				nvidia,function = "uartd";
441				nvidia,pull = <TEGRA_PIN_PULL_UP>;
442				nvidia,tristate = <TEGRA_PIN_ENABLE>;
443				nvidia,enable-input = <TEGRA_PIN_ENABLE>;
444			};
445
446			/* I2C pinmux */
447			gen1-i2c {
448				nvidia,pins = "gen1_i2c_sda_pc5",
449					      "gen1_i2c_scl_pc4";
450				nvidia,function = "i2c1";
451				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
452				nvidia,tristate = <TEGRA_PIN_DISABLE>;
453				nvidia,enable-input = <TEGRA_PIN_ENABLE>;
454				nvidia,lock = <TEGRA_PIN_DISABLE>;
455				nvidia,open-drain = <TEGRA_PIN_DISABLE>;
456			};
457
458			gen2-i2c {
459				nvidia,pins = "gen2_i2c_scl_pt5",
460					      "gen2_i2c_sda_pt6";
461				nvidia,function = "i2c2";
462				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
463				nvidia,tristate = <TEGRA_PIN_DISABLE>;
464				nvidia,enable-input = <TEGRA_PIN_ENABLE>;
465				nvidia,lock = <TEGRA_PIN_DISABLE>;
466				nvidia,open-drain = <TEGRA_PIN_DISABLE>;
467			};
468
469			cam-i2c {
470				nvidia,pins = "cam_i2c_scl_pbb1",
471					      "cam_i2c_sda_pbb2";
472				nvidia,function = "i2c3";
473				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
474				nvidia,tristate = <TEGRA_PIN_DISABLE>;
475				nvidia,enable-input = <TEGRA_PIN_ENABLE>;
476				nvidia,lock = <TEGRA_PIN_DISABLE>;
477				nvidia,open-drain = <TEGRA_PIN_DISABLE>;
478			};
479
480			ddc-i2c {
481				nvidia,pins = "ddc_scl_pv4",
482					      "ddc_sda_pv5";
483				nvidia,function = "i2c4";
484				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
485				nvidia,tristate = <TEGRA_PIN_DISABLE>;
486				nvidia,enable-input = <TEGRA_PIN_ENABLE>;
487			};
488
489			pwr-i2c {
490				nvidia,pins = "pwr_i2c_scl_pz6",
491					      "pwr_i2c_sda_pz7";
492				nvidia,function = "i2cpwr";
493				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
494				nvidia,tristate = <TEGRA_PIN_DISABLE>;
495				nvidia,enable-input = <TEGRA_PIN_ENABLE>;
496				nvidia,open-drain = <TEGRA_PIN_DISABLE>;
497			};
498
499			ts-irq {
500				nvidia,pins = "kb_row7_pr7";
501				nvidia,function = "rsvd2";
502				nvidia,pull = <TEGRA_PIN_PULL_UP>;
503				nvidia,tristate = <TEGRA_PIN_DISABLE>;
504				nvidia,enable-input = <TEGRA_PIN_ENABLE>;
505			};
506
507			ts-rst {
508				nvidia,pins = "pk4";
509				nvidia,function = "gmi";
510				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
511				nvidia,tristate = <TEGRA_PIN_DISABLE>;
512				nvidia,enable-input = <TEGRA_PIN_DISABLE>;
513			};
514
515			ts-en {
516				nvidia,pins = "pk1";
517				nvidia,function = "gmi";
518				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
519				nvidia,tristate = <TEGRA_PIN_DISABLE>;
520				nvidia,enable-input = <TEGRA_PIN_DISABLE>;
521			};
522
523			hapt-en {
524				nvidia,pins = "pg6";
525				nvidia,function = "rsvd1";
526				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
527				nvidia,tristate = <TEGRA_PIN_DISABLE>;
528				nvidia,enable-input = <TEGRA_PIN_DISABLE>;
529			};
530
531			charger-irq {
532				nvidia,pins = "pj0";
533				nvidia,function = "rsvd1";
534				nvidia,pull = <TEGRA_PIN_PULL_UP>;
535				nvidia,tristate = <TEGRA_PIN_DISABLE>;
536				nvidia,enable-input = <TEGRA_PIN_ENABLE>;
537			};
538
539			bat-irq {
540				nvidia,pins = "kb_col5_pq5";
541				nvidia,function = "rsvd4";
542				nvidia,pull = <TEGRA_PIN_PULL_UP>;
543				nvidia,tristate = <TEGRA_PIN_DISABLE>;
544				nvidia,enable-input = <TEGRA_PIN_ENABLE>;
545			};
546
547			compass-rst {
548				nvidia,pins = "kb_col4_pq4";
549				nvidia,function = "kbc";
550				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
551				nvidia,tristate = <TEGRA_PIN_DISABLE>;
552				nvidia,enable-input = <TEGRA_PIN_DISABLE>;
553			};
554
555			als-irq {
556				nvidia,pins = "gpio_x3_aud_px3";
557				nvidia,function = "rsvd4";
558				nvidia,pull = <TEGRA_PIN_PULL_UP>;
559				nvidia,tristate = <TEGRA_PIN_DISABLE>;
560				nvidia,enable-input = <TEGRA_PIN_ENABLE>;
561			};
562
563			therm-irq {
564				nvidia,pins = "pi6";
565				nvidia,function = "rsvd1";
566				nvidia,pull = <TEGRA_PIN_PULL_UP>;
567				nvidia,tristate = <TEGRA_PIN_DISABLE>;
568				nvidia,enable-input = <TEGRA_PIN_ENABLE>;
569			};
570
571			wlan-reg-on {
572				nvidia,pins = "gpio_x7_aud_px7";
573				nvidia,function = "rsvd1";
574				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
575				nvidia,tristate = <TEGRA_PIN_DISABLE>;
576				nvidia,enable-input = <TEGRA_PIN_DISABLE>;
577			};
578
579			wlan-host-wake {
580				nvidia,pins = "pu5";
581				nvidia,function = "pwm2";
582				nvidia,pull = <TEGRA_PIN_PULL_UP>;
583				nvidia,tristate = <TEGRA_PIN_DISABLE>;
584				nvidia,enable-input = <TEGRA_PIN_ENABLE>;
585			};
586
587			bt-reg-on {
588				nvidia,pins = "kb_row1_pr1";
589				nvidia,function = "rsvd4";
590				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
591				nvidia,tristate = <TEGRA_PIN_DISABLE>;
592				nvidia,enable-input = <TEGRA_PIN_DISABLE>;
593			};
594
595			bt-host-wake {
596				nvidia,pins = "pu6";
597				nvidia,function = "rsvd3";
598				nvidia,pull = <TEGRA_PIN_PULL_UP>;
599				nvidia,tristate = <TEGRA_PIN_DISABLE>;
600				nvidia,enable-input = <TEGRA_PIN_ENABLE>;
601			};
602
603			bt-dev-wake {
604				nvidia,pins = "clk3_req_pee1";
605				nvidia,function = "rsvd4";
606				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
607				nvidia,tristate = <TEGRA_PIN_DISABLE>;
608				nvidia,enable-input = <TEGRA_PIN_DISABLE>;
609			};
610
611			imu-irq {
612				nvidia,pins = "kb_row3_pr3";
613				nvidia,function = "kbc";
614				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
615				nvidia,tristate = <TEGRA_PIN_DISABLE>;
616				nvidia,enable-input = <TEGRA_PIN_ENABLE>;
617			};
618
619			imu-sync {
620				nvidia,pins = "kb_row8_ps0";
621				nvidia,function = "rsvd2";
622				nvidia,pull = <TEGRA_PIN_PULL_UP>;
623				nvidia,tristate = <TEGRA_PIN_DISABLE>;
624				nvidia,enable-input = <TEGRA_PIN_ENABLE>;
625			};
626
627			cdc-mclk1 {
628				nvidia,pins = "dap_mclk1_pw4";
629				nvidia,function = "rsvd3";
630				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
631				nvidia,tristate = <TEGRA_PIN_DISABLE>;
632				nvidia,enable-input = <TEGRA_PIN_DISABLE>;
633			};
634
635			cdc-din {
636				nvidia,pins = "dap1_din_pn1",
637					      "dap1_fs_pn0",
638					      "dap1_sclk_pn3";
639				nvidia,function = "i2s0";
640				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
641				nvidia,tristate = <TEGRA_PIN_ENABLE>;
642				nvidia,enable-input = <TEGRA_PIN_ENABLE>;
643			};
644
645			cdc-dout {
646				nvidia,pins = "dap1_dout_pn2";
647				nvidia,function = "i2s0";
648				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
649				nvidia,tristate = <TEGRA_PIN_ENABLE>;
650				nvidia,enable-input = <TEGRA_PIN_DISABLE>;
651			};
652
653			spkr-rl-rst {
654				nvidia,pins = "dap2_din_pa4";
655				nvidia,function = "i2s1";
656				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
657				nvidia,tristate = <TEGRA_PIN_DISABLE>;
658				nvidia,enable-input = <TEGRA_PIN_DISABLE>;
659			};
660
661			spkr-rl-irq {
662				nvidia,pins = "dap2_fs_pa2",
663					      "dap2_sclk_pa3";
664				nvidia,function = "i2s1";
665				nvidia,pull = <TEGRA_PIN_PULL_UP>;
666				nvidia,tristate = <TEGRA_PIN_DISABLE>;
667				nvidia,enable-input = <TEGRA_PIN_ENABLE>;
668			};
669
670			dvfs-pwm {
671				nvidia,pins = "dvfs_pwm_px0";
672				nvidia,function = "cldvfs";
673				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
674				nvidia,tristate = <TEGRA_PIN_ENABLE>;
675				nvidia,enable-input = <TEGRA_PIN_DISABLE>;
676			};
677
678			dvfs-clk {
679				nvidia,pins = "dvfs_clk_px2";
680				nvidia,function = "cldvfs";
681				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
682				nvidia,tristate = <TEGRA_PIN_DISABLE>;
683				nvidia,enable-input = <TEGRA_PIN_DISABLE>;
684			};
685
686			cam-mclk {
687				nvidia,pins = "cam_mclk_pcc0";
688				nvidia,function = "vi_alt3";
689				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
690				nvidia,tristate = <TEGRA_PIN_DISABLE>;
691				nvidia,enable-input = <TEGRA_PIN_DISABLE>;
692			};
693
694			cam-mclk2 {
695				nvidia,pins = "pbb0";
696				nvidia,function = "vimclk2_alt";
697				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
698				nvidia,tristate = <TEGRA_PIN_DISABLE>;
699				nvidia,enable-input = <TEGRA_PIN_DISABLE>;
700			};
701
702			vbrtr-pwm {
703				nvidia,pins = "ph0";
704				nvidia,function = "pwm0";
705				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
706				nvidia,tristate = <TEGRA_PIN_DISABLE>;
707				nvidia,enable-input = <TEGRA_PIN_DISABLE>;
708			};
709
710			soc-pins {
711				nvidia,pins = "pj2", "kb_row15_ps7",
712					      "clk_32k_out_pa0";
713				nvidia,function = "soc";
714				nvidia,pull = <TEGRA_PIN_PULL_UP>;
715				nvidia,tristate = <TEGRA_PIN_DISABLE>;
716				nvidia,enable-input = <TEGRA_PIN_ENABLE>;
717			};
718
719			clk-32k-in {
720				nvidia,pins = "clk_32k_in";
721				nvidia,function = "clk";
722				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
723				nvidia,tristate = <TEGRA_PIN_DISABLE>;
724				nvidia,enable-input = <TEGRA_PIN_ENABLE>;
725			};
726
727			core-pwr-req {
728				nvidia,pins = "core_pwr_req";
729				nvidia,function = "pwron";
730				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
731				nvidia,tristate = <TEGRA_PIN_DISABLE>;
732				nvidia,enable-input = <TEGRA_PIN_DISABLE>;
733			};
734
735			cpu-pwr-req {
736				nvidia,pins = "cpu_pwr_req";
737				nvidia,function = "cpu";
738				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
739				nvidia,tristate = <TEGRA_PIN_DISABLE>;
740				nvidia,enable-input = <TEGRA_PIN_DISABLE>;
741			};
742
743			pwr-int-n {
744				nvidia,pins = "pwr_int_n";
745				nvidia,function = "pmi";
746				nvidia,pull = <TEGRA_PIN_PULL_UP>;
747				nvidia,tristate = <TEGRA_PIN_DISABLE>;
748				nvidia,enable-input = <TEGRA_PIN_ENABLE>;
749			};
750
751			reset-out-n {
752				nvidia,pins = "reset_out_n";
753				nvidia,function = "reset_out_n";
754				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
755				nvidia,tristate = <TEGRA_PIN_DISABLE>;
756				nvidia,enable-input = <TEGRA_PIN_DISABLE>;
757			};
758
759			lcd-id-det0 {
760				nvidia,pins = "pi7";
761				nvidia,function = "rsvd1";
762				nvidia,pull = <TEGRA_PIN_PULL_UP>;
763				nvidia,tristate = <TEGRA_PIN_DISABLE>;
764				nvidia,enable-input = <TEGRA_PIN_ENABLE>;
765			};
766
767			cdc-rst {
768				nvidia,pins = "gpio_x5_aud_px5";
769				nvidia,function = "spi1";
770				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
771				nvidia,tristate = <TEGRA_PIN_DISABLE>;
772				nvidia,enable-input = <TEGRA_PIN_DISABLE>;
773			};
774
775			cdc-det-irq {
776				nvidia,pins = "gpio_w2_aud_pw2";
777				nvidia,function = "rsvd2";
778				nvidia,pull = <TEGRA_PIN_PULL_UP>;
779				nvidia,tristate = <TEGRA_PIN_DISABLE>;
780				nvidia,enable-input = <TEGRA_PIN_ENABLE>;
781			};
782
783			hph-pa-sd {
784				nvidia,pins = "gpio_x1_aud_px1";
785				nvidia,function = "spi6";
786				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
787				nvidia,tristate = <TEGRA_PIN_DISABLE>;
788				nvidia,enable-input = <TEGRA_PIN_DISABLE>;
789			};
790
791			hph-en {
792				nvidia,pins = "kb_row2_pr2";
793				nvidia,function = "rsvd4";
794				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
795				nvidia,tristate = <TEGRA_PIN_DISABLE>;
796				nvidia,enable-input = <TEGRA_PIN_DISABLE>;
797			};
798
799			cam-rear-rst-n {
800				nvidia,pins = "pbb3";
801				nvidia,function = "vgp3";
802				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
803				nvidia,tristate = <TEGRA_PIN_DISABLE>;
804				nvidia,enable-input = <TEGRA_PIN_DISABLE>;
805			};
806
807			cam-af-pwdn {
808				nvidia,pins = "pbb7";
809				nvidia,function = "i2s4";
810				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
811				nvidia,tristate = <TEGRA_PIN_DISABLE>;
812				nvidia,enable-input = <TEGRA_PIN_DISABLE>;
813			};
814
815			cam-front-pwdn {
816				nvidia,pins = "pbb6";
817				nvidia,function = "i2s4";
818				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
819				nvidia,tristate = <TEGRA_PIN_DISABLE>;
820				nvidia,enable-input = <TEGRA_PIN_DISABLE>;
821			};
822
823			cam-front-rst-n {
824				nvidia,pins = "pcc1";
825				nvidia,function = "i2s4";
826				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
827				nvidia,tristate = <TEGRA_PIN_DISABLE>;
828				nvidia,enable-input = <TEGRA_PIN_DISABLE>;
829			};
830
831			gps-en {
832				nvidia,pins = "ph5";
833				nvidia,function = "gmi";
834				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
835				nvidia,tristate = <TEGRA_PIN_DISABLE>;
836				nvidia,enable-input = <TEGRA_PIN_DISABLE>;
837			};
838
839			boot-select {
840				nvidia,pins = "pg0", "pg1", "pg2", "pg3";
841				nvidia,function = "rsvd4";
842				nvidia,pull = <TEGRA_PIN_PULL_DOWN>;
843				nvidia,tristate = <TEGRA_PIN_DISABLE>;
844				nvidia,enable-input = <TEGRA_PIN_ENABLE>;
845			};
846
847			ram-select {
848				nvidia,pins = "pg4", "pg5";
849				nvidia,function = "rsvd1";
850				nvidia,pull = <TEGRA_PIN_PULL_DOWN>;
851				nvidia,tristate = <TEGRA_PIN_DISABLE>;
852				nvidia,enable-input = <TEGRA_PIN_ENABLE>;
853			};
854
855			line-in-det {
856				nvidia,pins = "pk2";
857				nvidia,function = "rsvd4";
858				nvidia,pull = <TEGRA_PIN_PULL_UP>;
859				nvidia,tristate = <TEGRA_PIN_DISABLE>;
860				nvidia,enable-input = <TEGRA_PIN_ENABLE>;
861			};
862
863			gpadc-sync {
864				nvidia,pins = "pi0";
865				nvidia,function = "rsvd4";
866				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
867				nvidia,tristate = <TEGRA_PIN_DISABLE>;
868				nvidia,enable-input = <TEGRA_PIN_DISABLE>;
869			};
870
871			gpu-pwr-req {
872				nvidia,pins = "kb_row5_pr5";
873				nvidia,function = "rsvd3";
874				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
875				nvidia,tristate = <TEGRA_PIN_DISABLE>;
876				nvidia,enable-input = <TEGRA_PIN_DISABLE>;
877			};
878
879			ear-uart-sw {
880				nvidia,pins = "pu4";
881				nvidia,function = "pwm1";
882				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
883				nvidia,tristate = <TEGRA_PIN_DISABLE>;
884				nvidia,enable-input = <TEGRA_PIN_DISABLE>;
885			};
886
887			dsi-b {
888				nvidia,pins = "mipi_pad_ctrl_dsi_b";
889				nvidia,function = "dsi_b";
890			};
891
892			/* GPIO power/drive control */
893			drive-sdio1 {
894				nvidia,pins = "drive_sdio1";
895				nvidia,high-speed-mode = <TEGRA_PIN_ENABLE>;
896				nvidia,schmitt = <TEGRA_PIN_DISABLE>;
897				nvidia,pull-down-strength = <32>;
898				nvidia,pull-up-strength = <42>;
899				nvidia,slew-rate-rising = <TEGRA_PIN_SLEW_RATE_FASTEST>;
900				nvidia,slew-rate-falling = <TEGRA_PIN_SLEW_RATE_FASTEST>;
901			};
902
903			drive-sdio3 {
904				nvidia,pins = "drive_sdio3";
905				nvidia,high-speed-mode = <TEGRA_PIN_ENABLE>;
906				nvidia,schmitt = <TEGRA_PIN_DISABLE>;
907				nvidia,pull-down-strength = <20>;
908				nvidia,pull-up-strength = <36>;
909				nvidia,slew-rate-rising = <TEGRA_PIN_SLEW_RATE_FASTEST>;
910				nvidia,slew-rate-falling = <TEGRA_PIN_SLEW_RATE_FASTEST>;
911			};
912
913			drive-gma {
914				nvidia,pins = "drive_gma";
915				nvidia,high-speed-mode = <TEGRA_PIN_ENABLE>;
916				nvidia,schmitt = <TEGRA_PIN_DISABLE>;
917				nvidia,low-power-mode = <TEGRA_PIN_LP_DRIVE_DIV_1>;
918				nvidia,pull-down-strength = <1>;
919				nvidia,pull-up-strength = <2>;
920				nvidia,slew-rate-rising = <TEGRA_PIN_SLEW_RATE_FASTEST>;
921				nvidia,slew-rate-falling = <TEGRA_PIN_SLEW_RATE_FASTEST>;
922			};
923		};
924	};
925
926	uartc: serial@70006200 {
927		compatible = "nvidia,tegra124-hsuart", "nvidia,tegra30-hsuart";
928		reset-names = "serial";
929		/delete-property/ reg-shift;
930		status = "okay";
931
932		nvidia,adjust-baud-rates = <0 9600 100>,
933					   <9600 115200 200>,
934					   <1000000 4000000 136>;
935
936		bluetooth {
937			compatible = "brcm,bcm43540-bt";
938			max-speed = <4000000>;
939
940			clocks = <&clk32k_pmic>;
941			clock-names = "lpo";
942
943			interrupt-parent = <&gpio>;
944			interrupts = <TEGRA_GPIO(U, 6) IRQ_TYPE_EDGE_RISING>;
945			interrupt-names = "host-wakeup";
946
947			device-wakeup-gpios = <&gpio TEGRA_GPIO(EE, 1) GPIO_ACTIVE_HIGH>;
948			shutdown-gpios = <&gpio TEGRA_GPIO(R, 1) GPIO_ACTIVE_HIGH>;
949
950			vbat-supply  = <&vdd_3v3_sys>;
951			vddio-supply = <&vdd_1v8_vio>;
952		};
953	};
954
955	uartd: serial@70006300 {
956		/delete-property/ dmas;
957		/delete-property/ dma-names;
958		status = "okay";
959
960		/* Console */
961	};
962
963	pwm@7000a000 {
964		status = "okay";
965	};
966
967	gen1_i2c: i2c@7000c000 {
968		status = "okay";
969		clock-frequency = <400000>;
970
971		lp8556: backlight@2c {
972			compatible = "ti,lp8556";
973			reg = <0x2c>;
974
975			dev-ctrl = /bits/ 8 <0x83>;
976			init-brt = /bits/ 8 <0x1f>;
977
978			power-supply = <&vdd_3v3_sys>;
979			enable-supply = <&vddio_1v8_bl>;
980
981			rom-98h {
982				rom-addr = /bits/ 8 <0x98>;
983				rom-val = /bits/ 8 <0x80>;
984			};
985
986			rom-9eh {
987				rom-addr = /bits/ 8 <0x9e>;
988				rom-val = /bits/ 8 <0x21>;
989			};
990
991			rom-a0h {
992				rom-addr = /bits/ 8 <0xa0>;
993				rom-val = /bits/ 8 <0xff>;
994			};
995
996			rom-a1h {
997				rom-addr = /bits/ 8 <0xa1>;
998				rom-val = /bits/ 8 <0x3f>;
999			};
1000
1001			rom-a2h {
1002				rom-addr = /bits/ 8 <0xa2>;
1003				rom-val = /bits/ 8 <0x20>;
1004			};
1005
1006			rom-a3h {
1007				rom-addr = /bits/ 8 <0xa3>;
1008				rom-val = /bits/ 8 <0x00>;
1009			};
1010
1011			rom-a4h {
1012				rom-addr = /bits/ 8 <0xa4>;
1013				rom-val = /bits/ 8 <0x72>;
1014			};
1015
1016			rom-a5h {
1017				rom-addr = /bits/ 8 <0xa5>;
1018				rom-val = /bits/ 8 <0x24>;
1019			};
1020
1021			rom-a6h {
1022				rom-addr = /bits/ 8 <0xa6>;
1023				rom-val = /bits/ 8 <0x80>;
1024			};
1025
1026			rom-a7h {
1027				rom-addr = /bits/ 8 <0xa7>;
1028				rom-val = /bits/ 8 <0xf5>;
1029			};
1030
1031			rom-a8h {
1032				rom-addr = /bits/ 8 <0xa8>;
1033				rom-val = /bits/ 8 <0x24>;
1034			};
1035
1036			rom-a9h {
1037				rom-addr = /bits/ 8 <0xa9>;
1038				rom-val = /bits/ 8 <0xb2>;
1039			};
1040
1041			rom-aah {
1042				rom-addr = /bits/ 8 <0xaa>;
1043				rom-val = /bits/ 8 <0x8f>;
1044			};
1045
1046			rom-aeh {
1047				rom-addr = /bits/ 8 <0xae>;
1048				rom-val = /bits/ 8 <0x0f>;
1049			};
1050		};
1051
1052		led-controller@32 {
1053			compatible = "national,lp5521";
1054			reg = <0x32>;
1055
1056			enable-gpios = <&gpio TEGRA_GPIO(G, 7) GPIO_ACTIVE_HIGH>;
1057			clock-mode = /bits/ 8 <2>;
1058
1059			#address-cells = <1>;
1060			#size-cells = <0>;
1061
1062			led@0 {
1063				reg = <0>;
1064
1065				led-cur = /bits/ 8 <0x14>;
1066				max-cur = /bits/ 8 <0xff>;
1067
1068				color = <LED_COLOR_ID_RED>;
1069				function = LED_FUNCTION_STATUS;
1070			};
1071
1072			led@1 {
1073				reg = <1>;
1074
1075				led-cur = /bits/ 8 <0x14>;
1076				max-cur = /bits/ 8 <0xff>;
1077
1078				color = <LED_COLOR_ID_GREEN>;
1079				function = LED_FUNCTION_STATUS;
1080			};
1081
1082			led@2 {
1083				reg = <2>;
1084
1085				led-cur = /bits/ 8 <0x14>;
1086				max-cur = /bits/ 8 <0xff>;
1087
1088				color = <LED_COLOR_ID_BLUE>;
1089				function = LED_FUNCTION_STATUS;
1090			};
1091		};
1092
1093		audio-codec@34 {
1094			compatible = "nxp,tfa9890";
1095			reg = <0x34>;
1096
1097			sound-name-prefix = "Speaker Right";
1098			vddd-supply = <&vdd_1v8_vio>;
1099
1100			#sound-dai-cells = <0>;
1101		};
1102
1103		audio-codec@37 {
1104			compatible = "nxp,tfa9890";
1105			reg = <0x37>;
1106
1107			sound-name-prefix = "Speaker Left";
1108			vddd-supply = <&vdd_1v8_vio>;
1109
1110			#sound-dai-cells = <0>;
1111		};
1112
1113		light-sensor@44 {
1114			compatible = "isil,isl29035";
1115			reg = <0x44>;
1116
1117			interrupt-parent = <&gpio>;
1118			interrupts = <TEGRA_GPIO(X, 3) IRQ_TYPE_LEVEL_LOW>;
1119
1120			vcc-supply = <&vdd_3v3_sys>;
1121		};
1122
1123		temp_sensor: temperature-sensor@4c {
1124			compatible = "ti,tmp451";
1125			reg = <0x4c>;
1126
1127			interrupt-parent = <&gpio>;
1128			interrupts = <TEGRA_GPIO(I, 6) IRQ_TYPE_EDGE_FALLING>;
1129
1130			vcc-supply = <&vdd_1v8_vio>;
1131			#thermal-sensor-cells = <1>;
1132		};
1133
1134		haptic-engine@5a {
1135			compatible = "ti,drv2604";
1136			reg = <0x5a>;
1137
1138			enable-gpios = <&gpio TEGRA_GPIO(G, 6) GPIO_ACTIVE_HIGH>;
1139
1140			mode = <DRV260X_ERM_MODE>;
1141			library-sel = <DRV260X_ERM_LIB_A>;
1142
1143			vib-rated-mv = <3200>;
1144			vib-overdrive-mv = <3400>;
1145
1146			vbat-supply = <&vdd_3v3_sys>;
1147		};
1148	};
1149
1150	gen2_i2c: i2c@7000c400 {
1151		status = "okay";
1152		clock-frequency = <400000>;
1153
1154		power-sensor@40 {
1155			compatible = "ti,ina230";
1156			reg = <0x40>;
1157
1158			vs-supply = <&vdd_hv_sdmmc>;
1159			#io-channel-cells = <1>;
1160		};
1161
1162		fuel-gauge@55 {
1163			compatible = "ti,bq27520g4";
1164			reg = <0x55>;
1165
1166			interrupt-parent = <&gpio>;
1167			interrupts = <TEGRA_GPIO(Q, 5) IRQ_TYPE_EDGE_FALLING>;
1168
1169			monitored-battery = <&battery>;
1170			power-supplies = <&bq24192>;
1171		};
1172
1173		bq24192: charger@6b {
1174			compatible = "ti,bq24192";
1175			reg = <0x6b>;
1176
1177			interrupt-parent = <&gpio>;
1178			interrupts = <TEGRA_GPIO(J, 0) IRQ_TYPE_EDGE_FALLING>;
1179
1180			ce-gpios = <&palmas_gpio 7 GPIO_ACTIVE_LOW>;
1181
1182			monitored-battery = <&battery>;
1183
1184			omit-battery-class;
1185			ti,system-minimum-microvolt = <3500000>;
1186
1187			usb_otg_vbus: usb-otg-vbus {
1188				regulator-name = "usb_otg_vbus";
1189				regulator-min-microvolt = <5000000>;
1190				regulator-max-microvolt = <5000000>;
1191			};
1192		};
1193	};
1194
1195	i2c@7000c700 {
1196		status = "okay";
1197		clock-frequency = <400000>;
1198
1199		/* Atmel mxT1664T/mxT1066T touchscreen */
1200		touchscreen@4a {
1201			compatible = "atmel,maxtouch";
1202			reg = <0x4a>;
1203
1204			interrupt-parent = <&gpio>;
1205			interrupts = <TEGRA_GPIO(R, 7) IRQ_TYPE_EDGE_FALLING>;
1206
1207			reset-gpios = <&gpio TEGRA_GPIO(K, 4) GPIO_ACTIVE_LOW>;
1208
1209			linux,keycodes = <KEY_BACK KEY_HOME KEY_MENU>;
1210
1211			vdda-supply = <&avdd_3v3_ts>;
1212			vdd-supply  = <&vdd_2v8_tp>;
1213		};
1214	};
1215
1216	i2c@7000d000 {
1217		status = "okay";
1218		clock-frequency = <400000>;
1219
1220		/* Texas Instruments TPS65913 PMIC */
1221		palmas: pmic@58 {
1222			compatible = "ti,tps65913", "ti,palmas";
1223			reg = <0x58>;
1224			interrupts = <GIC_SPI 86 IRQ_TYPE_LEVEL_HIGH>;
1225
1226			#interrupt-cells = <2>;
1227			interrupt-controller;
1228
1229			ti,system-power-controller;
1230
1231			adc {
1232				compatible = "ti,palmas-gpadc";
1233				interrupts = <18 IRQ_TYPE_NONE>,
1234					     <16 IRQ_TYPE_NONE>,
1235					     <17 IRQ_TYPE_NONE>;
1236
1237				ti,channel0-current-microamp = <20>;
1238				#io-channel-cells = <1>;
1239			};
1240
1241			palmas_extcon: extcon {
1242				compatible = "ti,palmas-usb-vid";
1243
1244				ti,enable-vbus-detection;
1245				ti,enable-id-detection;
1246
1247				ti,wakeup;
1248			};
1249
1250			palmas_gpio: gpio {
1251				compatible = "ti,palmas-gpio";
1252				gpio-controller;
1253				#gpio-cells = <2>;
1254			};
1255
1256			clk32k_pmic: palmas-clk32k@0 {
1257				compatible = "ti,palmas-clk32kg";
1258				#clock-cells = <0>;
1259			};
1260
1261			pinmux {
1262				compatible = "ti,tps65913-pinctrl";
1263
1264				pinctrl-names = "default";
1265				pinctrl-0 = <&palmas_default>;
1266
1267				palmas_default: pinmux {
1268					pin_gpio0 {
1269						pins = "gpio0";
1270						function = "id";
1271						bias-pull-up;
1272					};
1273
1274					pin_gpio1 {
1275						pins = "gpio1";
1276						function = "gpio";
1277					};
1278
1279					pin_gpio2 {
1280						pins = "gpio2";
1281						function = "gpio";
1282					};
1283
1284					/* GPIO3 is not used */
1285
1286					pin_gpio4 {
1287						pins = "gpio4";
1288						function = "gpio";
1289					};
1290
1291					pin_gpio5 {
1292						pins = "gpio5";
1293						function = "clk32kgaudio";
1294					};
1295
1296					/* GPIO6 is not used */
1297
1298					pin_gpio7 {
1299						pins = "gpio7";
1300						function = "gpio";
1301					};
1302
1303					pin_powergood {
1304						pins = "powergood";
1305						function = "powergood";
1306					};
1307
1308					pin_vac {
1309						pins = "vac";
1310						function = "vac";
1311					};
1312				};
1313			};
1314
1315			pmic {
1316				compatible = "ti,tps65913-pmic", "ti,palmas-pmic";
1317
1318				ldo1-in-supply = <&vdd_1v8_vio>;
1319				ldo2-in-supply = <&vdd_3v3_sys>;
1320				ldo3-in-supply = <&vdd_smps10_out2>;
1321				ldo4-in-supply = <&vdd_3v3_sys>;
1322				ldo5-in-supply = <&vdd_1v8_vio>;
1323				ldo6-in-supply = <&vdd_3v3_sys>;
1324				ldo7-in-supply = <&vdd_3v3_sys>;
1325				ldo8-in-supply = <&vdd_3v3_sys>;
1326				ldo9-in-supply = <&vdd_hv_sdmmc>;
1327				ldousb-in-supply = <&vdd_smps10_out2>;
1328				ldoln-in-supply = <&vdd_smps10_out2>;
1329
1330				regulators {
1331					vdd_cpu: smps123 {
1332						regulator-name = "vdd_cpu";
1333						regulator-min-microvolt = <700000>;
1334						regulator-max-microvolt = <1400000>;
1335						regulator-always-on;
1336						regulator-boot-on;
1337						ti,roof-floor = <1>;
1338						ti,mode-sleep = <3>;
1339					};
1340
1341					vdd_gpu: smps45 {
1342						regulator-name = "vdd_gpu";
1343						regulator-min-microvolt = <700000>;
1344						regulator-max-microvolt = <1400000>;
1345					};
1346
1347					vddio_ddr: smps6 {
1348						regulator-name = "vddio_ddr";
1349						regulator-min-microvolt = <1200000>;
1350						regulator-max-microvolt = <1200000>;
1351						regulator-always-on;
1352						regulator-boot-on;
1353					};
1354
1355					vdd_core: smps7 {
1356						regulator-name = "vdd_core";
1357						regulator-min-microvolt = <700000>;
1358						regulator-max-microvolt = <1400000>;
1359						regulator-always-on;
1360						regulator-boot-on;
1361						ti,roof-floor = <3>;
1362					};
1363
1364					vdd_1v8_vio: smps8 {
1365						regulator-name = "vdd_1v8_gen";
1366						regulator-min-microvolt = <1800000>;
1367						regulator-max-microvolt = <1800000>;
1368						regulator-always-on;
1369						regulator-boot-on;
1370					};
1371
1372					vdd_hv_sdmmc: smps9 {
1373						regulator-name = "vdd_hv_sdmmc";
1374						regulator-min-microvolt = <3300000>;
1375						regulator-max-microvolt = <3300000>;
1376						regulator-always-on;
1377						regulator-boot-on;
1378					};
1379
1380					smps10_out1 {
1381						regulator-name = "vd_smps10_out1";
1382						regulator-min-microvolt = <5000000>;
1383						regulator-max-microvolt = <5000000>;
1384						regulator-always-on;
1385						regulator-boot-on;
1386					};
1387
1388					vdd_smps10_out2: smps10_out2 {
1389						regulator-name = "vd_smps10_out2";
1390						regulator-min-microvolt = <5000000>;
1391						regulator-max-microvolt = <5000000>;
1392						regulator-always-on;
1393						regulator-boot-on;
1394					};
1395
1396					avdd_pll: ldo1 {
1397						regulator-name = "avdd_pll";
1398						regulator-min-microvolt = <1050000>;
1399						regulator-max-microvolt = <1050000>;
1400						regulator-always-on;
1401						regulator-boot-on;
1402						ti,roof-floor = <3>;
1403					};
1404
1405					avdd_lcd: ldo2 {
1406						regulator-name = "avdd_lcd";
1407						regulator-min-microvolt = <1800000>;
1408						regulator-max-microvolt = <1800000>;
1409						regulator-boot-on;
1410					};
1411
1412					avdd_3v3_ts: ldo3 {
1413						regulator-name = "avdd_3v3_ts";
1414						regulator-min-microvolt = <3300000>;
1415						regulator-max-microvolt = <3300000>;
1416						regulator-boot-on;
1417					};
1418
1419					avdd_2v7_cam: ldo4 {
1420						regulator-name = "avdd_2v7_cam";
1421						regulator-min-microvolt = <2700000>;
1422						regulator-max-microvolt = <2700000>;
1423					};
1424
1425					avdd_dsi_csi: ldo5 {
1426						regulator-name = "avdd_dsi_csi";
1427						regulator-min-microvolt = <1200000>;
1428						regulator-max-microvolt = <1200000>;
1429						regulator-boot-on;
1430					};
1431
1432					ldo6 {
1433						regulator-name = "vdd_1v8_fuse";
1434						regulator-min-microvolt = <1800000>;
1435						regulator-max-microvolt = <1800000>;
1436					};
1437
1438					avdd_2v7_vcm: ldo7 {
1439						regulator-name = "avdd_2v7_vcm";
1440						regulator-min-microvolt = <2700000>;
1441						regulator-max-microvolt = <2700000>;
1442					};
1443
1444					ldo8 {
1445						regulator-name = "vdd_rtc";
1446						regulator-min-microvolt = <950000>;
1447						regulator-max-microvolt = <950000>;
1448						regulator-always-on;
1449						regulator-boot-on;
1450						ti,enable-ldo8-tracking;
1451					};
1452
1453					vddio_usd: ldo9 {
1454						regulator-name = "vddio_sdmmc";
1455						regulator-min-microvolt = <1800000>;
1456						regulator-max-microvolt = <3300000>;
1457					};
1458
1459					avdd_usb: ldousb {
1460						regulator-name = "vdd_usb";
1461						regulator-min-microvolt = <3300000>;
1462						regulator-max-microvolt = <3300000>;
1463						regulator-always-on;
1464						regulator-boot-on;
1465					};
1466
1467					ldoln {
1468						regulator-name = "vddio_hv";
1469						regulator-min-microvolt = <3300000>;
1470						regulator-max-microvolt = <3300000>;
1471						regulator-always-on;
1472						regulator-boot-on;
1473					};
1474				};
1475			};
1476
1477			rtc {
1478				compatible = "ti,palmas-rtc";
1479				interrupt-parent = <&palmas>;
1480				interrupts = <8 IRQ_TYPE_NONE>;
1481			};
1482		};
1483	};
1484
1485	pmc@7000e400 {
1486		nvidia,suspend-mode = <1>;
1487		nvidia,cpu-pwr-good-time = <500>;
1488		nvidia,cpu-pwr-off-time = <300>;
1489		nvidia,core-pwr-good-time = <3845 3845>;
1490		nvidia,core-pwr-off-time = <2000>;
1491		nvidia,core-power-req-active-high;
1492		nvidia,sys-clock-req-active-high;
1493		core-supply = <&vdd_core>;
1494
1495		/* Clear DEV_ON bit in DEV_CTRL register of TPS65913 PMIC */
1496		i2c-thermtrip {
1497			nvidia,i2c-controller-id = <4>;
1498			nvidia,bus-addr = <0x58>;
1499			nvidia,reg-addr = <0xa0>;
1500			nvidia,reg-data = <0x00>;
1501		};
1502	};
1503
1504	memory-controller@70019000 {
1505		emc-timings-0 {
1506			/* Hynix H9CKNNNBKTMTDR DDR3 924MHz */
1507			nvidia,ram-code = <0>;
1508
1509			timing-12750000 {
1510				clock-frequency = <12750000>;
1511
1512				nvidia,emem-configuration = < 0x40040001 0x8000000a
1513					0x00000001 0x00000002 0x00000004 0x00000000
1514					0x00000003 0x00000001 0x00000002 0x00000007
1515					0x00000002 0x00000001 0x00000004 0x00000005
1516					0x05040102 0x000b0604 0x77230305 0x70000f03
1517					0x001f0000 >;
1518			};
1519
1520			timing-20400000 {
1521				clock-frequency = <20400000>;
1522
1523				nvidia,emem-configuration = < 0x40020001 0x80000012
1524					0x00000001 0x00000002 0x00000004 0x00000000
1525					0x00000003 0x00000001 0x00000002 0x00000007
1526					0x00000002 0x00000001 0x00000004 0x00000005
1527					0x05040102 0x000b0604 0x75a30305 0x70000f03
1528					0x001f0000 >;
1529			};
1530
1531			timing-40800000 {
1532				clock-frequency = <40800000>;
1533
1534				nvidia,emem-configuration = < 0xa0000001 0x80000017
1535					0x00000001 0x00000002 0x00000004 0x00000000
1536					0x00000003 0x00000001 0x00000002 0x00000007
1537					0x00000002 0x00000001 0x00000004 0x00000005
1538					0x05040102 0x000b0604 0x74030305 0x70000f03
1539					0x001f0000 >;
1540			};
1541
1542			timing-68000000 {
1543				clock-frequency = <68000000>;
1544
1545				nvidia,emem-configuration = < 0x00000001 0x8000001e
1546					0x00000001 0x00000002 0x00000003 0x00000000
1547					0x00000003 0x00000001 0x00000002 0x00000007
1548					0x00000002 0x00000001 0x00000004 0x00000005
1549					0x05040102 0x000a0503 0x73830404 0x70000f03
1550					0x001f0000 >;
1551			};
1552
1553			timing-102000000 {
1554				clock-frequency = <102000000>;
1555
1556				nvidia,emem-configuration = < 0x08000001 0x80000026
1557					0x00000001 0x00000002 0x00000004 0x00000001
1558					0x00000003 0x00000001 0x00000002 0x00000007
1559					0x00000002 0x00000001 0x00000004 0x00000005
1560					0x05040102 0x000a0504 0x73430505 0x70000f03
1561					0x001f0000 >;
1562			};
1563
1564			timing-204000000 {
1565				clock-frequency = <204000000>;
1566
1567				nvidia,emem-configuration = < 0x01000003 0x80000040
1568					0x00000001 0x00000002 0x00000007 0x00000003
1569					0x00000005 0x00000001 0x00000002 0x00000007
1570					0x00000003 0x00000001 0x00000005 0x00000005
1571					0x05050103 0x000b0607 0x72e40a08 0x70000f03
1572					0x001f0000 >;
1573			};
1574
1575			timing-300000000 {
1576				clock-frequency = <300000000>;
1577
1578				nvidia,emem-configuration = < 0x08000004 0x80000040
1579					0x00000001 0x00000002 0x00000009 0x00000005
1580					0x00000007 0x00000001 0x00000002 0x00000007
1581					0x00000003 0x00000001 0x00000005 0x00000005
1582					0x05050103 0x000c0709 0x72c50e0a 0x70000f03
1583					0x001f0000 >;
1584			};
1585
1586			timing-396000000 {
1587				clock-frequency = <396000000>;
1588
1589				nvidia,emem-configuration = < 0x0f000005 0x80000040
1590					0x00000002 0x00000003 0x0000000c 0x00000007
1591					0x00000009 0x00000001 0x00000002 0x00000007
1592					0x00000003 0x00000001 0x00000005 0x00000005
1593					0x05050103 0x000e090c 0x72c6120d 0x70000f03
1594					0x001f0000 >;
1595			};
1596
1597			timing-528000000 {
1598				clock-frequency = <528000000>;
1599
1600				nvidia,emem-configuration = < 0x0f000007 0x80000040
1601					0x00000003 0x00000004 0x00000010 0x0000000a
1602					0x0000000d 0x00000002 0x00000002 0x00000009
1603					0x00000003 0x00000001 0x00000006 0x00000006
1604					0x06060103 0x00120b10 0x72c81811 0x70000f03
1605					0x001f0000 >;
1606			};
1607
1608			timing-600000000 {
1609				clock-frequency = <600000000>;
1610
1611				nvidia,emem-configuration = < 0x00000009 0x80000040
1612					0x00000004 0x00000005 0x00000012 0x0000000b
1613					0x0000000e 0x00000002 0x00000003 0x0000000a
1614					0x00000003 0x00000001 0x00000006 0x00000007
1615					0x07060103 0x00140d12 0x72c91b13 0x70000f03
1616					0x001f0000 >;
1617			};
1618
1619			timing-792000000 {
1620				clock-frequency = <792000000>;
1621
1622				nvidia,emem-configuration = < 0x0e00000b 0x80000040
1623					0x00000006 0x00000007 0x00000018 0x0000000f
1624					0x00000013 0x00000003 0x00000003 0x0000000c
1625					0x00000003 0x00000001 0x00000008 0x00000008
1626					0x08080103 0x001a1118 0x72ac2419 0x70000f02
1627					0x001f0000 >;
1628			};
1629
1630			timing-924000000 {
1631				clock-frequency = <924000000>;
1632
1633				nvidia,emem-configuration = < 0x0e00000d 0x80000040
1634					0x00000007 0x00000008 0x0000001b 0x00000012
1635					0x00000017 0x00000004 0x00000004 0x0000000e
1636					0x00000004 0x00000001 0x00000009 0x00000009
1637					0x09090104 0x001e141b 0x72ae2a1c 0x70000f02
1638					0x001f0000 >;
1639			};
1640		};
1641	};
1642
1643	external-memory-controller@7001b000 {
1644		emc-timings-0 {
1645			/* Hynix H9CKNNNBKTMTDR DDR3 924MHz */
1646			nvidia,ram-code = <0>;
1647
1648			timing-12750000 {
1649				clock-frequency = <12750000>;
1650
1651				nvidia,emc-auto-cal-config = <0xa1430000>;
1652				nvidia,emc-auto-cal-config2 = <0x00000000>;
1653				nvidia,emc-auto-cal-config3 = <0x00000000>;
1654				nvidia,emc-auto-cal-interval = <0x001fffff>;
1655				nvidia,emc-bgbias-ctl0 = <0x00000008>;
1656				nvidia,emc-cfg = <0xd3200000>;
1657				nvidia,emc-cfg-2 = <0x000008c7>;
1658				nvidia,emc-ctt-term-ctrl = <0x00000802>;
1659				nvidia,emc-mode-1 = <0x80010083>;
1660				nvidia,emc-mode-2 = <0x80020004>;
1661				nvidia,emc-mode-4 = <0x800b0000>;
1662				nvidia,emc-mode-reset = <0x00000000>;
1663				nvidia,emc-mrs-wait-cnt = <0x000d0011>;
1664				nvidia,emc-sel-dpd-ctrl = <0x0004013c>;
1665				nvidia,emc-xm2dqspadctrl2 = <0x0130b018>;
1666				nvidia,emc-zcal-cnt-long = <0x00000015>;
1667				nvidia,emc-zcal-interval = <0x00064000>;
1668
1669				nvidia,emc-configuration =  <
1670					0x00000000 0x00000002 0x00000000 0x00000002
1671					0x00000005 0x00000006 0x00000008 0x00000003
1672					0x0000000a 0x00000002 0x00000002 0x00000001
1673					0x00000002 0x00000000 0x00000003 0x00000003
1674					0x00000006 0x00000002 0x00000000 0x00000005
1675					0x00000005 0x00010000 0x00000003 0x00000000
1676					0x00000000 0x00000000 0x00000000 0x00000004
1677					0x0000000c 0x0000000d 0x0000000f 0x00000030
1678					0x00000000 0x0000000c 0x00000002 0x00000002
1679					0x00000005 0x00000000 0x00000001 0x0000000c
1680					0x00000003 0x00000003 0x00000003 0x00000003
1681					0x00000003 0x00000006 0x00000006 0x00000003
1682					0x00000003 0x00000056 0x00000000 0x00000000
1683					0x00000000 0x1363a296 0x005800a0 0x00008000
1684					0x00090000 0x00090000 0x00090000 0x00090000
1685					0x00090000 0x00090000 0x00090000 0x00090000
1686					0x00090000 0x00090000 0x00090000 0x00090000
1687					0x00090000 0x00090000 0x00090000 0x00090000
1688					0x00000000 0x00000000 0x00000000 0x00000000
1689					0x00000000 0x00000000 0x00000000 0x00000000
1690					0x000fc000 0x000fc000 0x00000000 0x000fc000
1691					0x000fc000 0x00000000 0x00000000 0x00000000
1692					0x00000000 0x00000000 0x00000000 0x00000000
1693					0x00000000 0x00000000 0x00000000 0x00000000
1694					0x00000000 0x00000000 0x00000000 0x00000000
1695					0x00000000 0x00000000 0x00000000 0x00000000
1696					0x00000000 0x00000000 0x00000000 0x00000000
1697					0x00000000 0x00000000 0x000fc000 0x000fc000
1698					0x000fc000 0x000fc000 0x0000fc00 0x0000fc00
1699					0x0000fc00 0x0000fc00 0x00000200 0x00000000
1700					0x00100100 0x00000000 0x00000000 0x77ffc000
1701					0x00000404 0x81f1f008 0x07070000 0x0000003f
1702					0x015ddddd 0x51451400 0x00514514 0x00514514
1703					0x51451400 0x0000003f 0x00000000 0x00000000
1704					0x00000011 0x000d0011 0x00000000 0x00000003
1705					0x0000f3f3 0x80000164 0x0000000a >;
1706			};
1707
1708			timing-20400000 {
1709				clock-frequency = <20400000>;
1710
1711				nvidia,emc-auto-cal-config = <0xa1430000>;
1712				nvidia,emc-auto-cal-config2 = <0x00000000>;
1713				nvidia,emc-auto-cal-config3 = <0x00000000>;
1714				nvidia,emc-auto-cal-interval = <0x001fffff>;
1715				nvidia,emc-bgbias-ctl0 = <0x00000008>;
1716				nvidia,emc-cfg = <0xd3200000>;
1717				nvidia,emc-cfg-2 = <0x000008c7>;
1718				nvidia,emc-ctt-term-ctrl = <0x00000802>;
1719				nvidia,emc-mode-1 = <0x80010083>;
1720				nvidia,emc-mode-2 = <0x80020004>;
1721				nvidia,emc-mode-4 = <0x800b0000>;
1722				nvidia,emc-mode-reset = <0x00000000>;
1723				nvidia,emc-mrs-wait-cnt = <0x00150011>;
1724				nvidia,emc-sel-dpd-ctrl = <0x0004013c>;
1725				nvidia,emc-xm2dqspadctrl2 = <0x0130b018>;
1726				nvidia,emc-zcal-cnt-long = <0x00000015>;
1727				nvidia,emc-zcal-interval = <0x00064000>;
1728
1729				nvidia,emc-configuration =  <
1730					0x00000001 0x00000004 0x00000000 0x00000002
1731					0x00000005 0x00000006 0x00000008 0x00000003
1732					0x0000000a 0x00000002 0x00000002 0x00000001
1733					0x00000002 0x00000000 0x00000003 0x00000003
1734					0x00000006 0x00000002 0x00000000 0x00000005
1735					0x00000005 0x00010000 0x00000003 0x00000000
1736					0x00000000 0x00000000 0x00000000 0x00000004
1737					0x0000000c 0x0000000d 0x0000000f 0x0000004d
1738					0x00000000 0x00000013 0x00000002 0x00000002
1739					0x00000005 0x00000000 0x00000001 0x0000000c
1740					0x00000005 0x00000005 0x00000003 0x00000003
1741					0x00000003 0x00000006 0x00000006 0x00000003
1742					0x00000003 0x0000008a 0x00000000 0x00000000
1743					0x00000000 0x1363a296 0x005800a0 0x00008000
1744					0x00090000 0x00090000 0x00090000 0x00090000
1745					0x00090000 0x00090000 0x00090000 0x00090000
1746					0x00090000 0x00090000 0x00090000 0x00090000
1747					0x00090000 0x00090000 0x00090000 0x00090000
1748					0x00000000 0x00000000 0x00000000 0x00000000
1749					0x00000000 0x00000000 0x00000000 0x00000000
1750					0x000fc000 0x000fc000 0x00000000 0x000fc000
1751					0x000fc000 0x00000000 0x00000000 0x00000000
1752					0x00000000 0x00000000 0x00000000 0x00000000
1753					0x00000000 0x00000000 0x00000000 0x00000000
1754					0x00000000 0x00000000 0x00000000 0x00000000
1755					0x00000000 0x00000000 0x00000000 0x00000000
1756					0x00000000 0x00000000 0x00000000 0x00000000
1757					0x00000000 0x00000000 0x000fc000 0x000fc000
1758					0x000fc000 0x000fc000 0x0000fc00 0x0000fc00
1759					0x0000fc00 0x0000fc00 0x00000200 0x00000000
1760					0x00100100 0x00000000 0x00000000 0x77ffc000
1761					0x00000404 0x81f1f008 0x07070000 0x0000003f
1762					0x015ddddd 0x51451400 0x00514514 0x00514514
1763					0x51451400 0x0000003f 0x00000000 0x00000000
1764					0x00000011 0x00150011 0x00000000 0x00000003
1765					0x0000f3f3 0x8000019f 0x0000000a >;
1766			};
1767
1768			timing-40800000 {
1769				clock-frequency = <40800000>;
1770
1771				nvidia,emc-auto-cal-config = <0xa1430000>;
1772				nvidia,emc-auto-cal-config2 = <0x00000000>;
1773				nvidia,emc-auto-cal-config3 = <0x00000000>;
1774				nvidia,emc-auto-cal-interval = <0x001fffff>;
1775				nvidia,emc-bgbias-ctl0 = <0x00000008>;
1776				nvidia,emc-cfg = <0xd3200000>;
1777				nvidia,emc-cfg-2 = <0x000008c7>;
1778				nvidia,emc-ctt-term-ctrl = <0x00000802>;
1779				nvidia,emc-mode-1 = <0x80010083>;
1780				nvidia,emc-mode-2 = <0x80020004>;
1781				nvidia,emc-mode-4 = <0x800b0000>;
1782				nvidia,emc-mode-reset = <0x00000000>;
1783				nvidia,emc-mrs-wait-cnt = <0x00290011>;
1784				nvidia,emc-sel-dpd-ctrl = <0x0004013c>;
1785				nvidia,emc-xm2dqspadctrl2 = <0x0130b018>;
1786				nvidia,emc-zcal-cnt-long = <0x00000015>;
1787				nvidia,emc-zcal-interval = <0x00064000>;
1788
1789				nvidia,emc-configuration =  <
1790					0x00000002 0x00000008 0x00000000 0x00000002
1791					0x00000005 0x00000006 0x00000008 0x00000003
1792					0x0000000a 0x00000002 0x00000002 0x00000001
1793					0x00000002 0x00000000 0x00000003 0x00000003
1794					0x00000006 0x00000002 0x00000000 0x00000005
1795					0x00000005 0x00010000 0x00000003 0x00000000
1796					0x00000000 0x00000000 0x00000000 0x00000004
1797					0x0000000c 0x0000000d 0x0000000f 0x0000009a
1798					0x00000000 0x00000026 0x00000002 0x00000002
1799					0x00000005 0x00000000 0x00000001 0x0000000c
1800					0x00000009 0x00000009 0x00000003 0x00000003
1801					0x00000003 0x00000006 0x00000007 0x00000003
1802					0x00000003 0x00000113 0x00000000 0x00000000
1803					0x00000000 0x1363a296 0x005800a0 0x00008000
1804					0x00090000 0x00090000 0x00090000 0x00090000
1805					0x00090000 0x00090000 0x00090000 0x00090000
1806					0x00090000 0x00090000 0x00090000 0x00090000
1807					0x00090000 0x00090000 0x00090000 0x00090000
1808					0x00000000 0x00000000 0x00000000 0x00000000
1809					0x00000000 0x00000000 0x00000000 0x00000000
1810					0x000fc000 0x000fc000 0x00000000 0x000fc000
1811					0x000fc000 0x00000000 0x00000000 0x00000000
1812					0x00000000 0x00000000 0x00000000 0x00000000
1813					0x00000000 0x00000000 0x00000000 0x00000000
1814					0x00000000 0x00000000 0x00000000 0x00000000
1815					0x00000000 0x00000000 0x00000000 0x00000000
1816					0x00000000 0x00000000 0x00000000 0x00000000
1817					0x00000000 0x00000000 0x000fc000 0x000fc000
1818					0x000fc000 0x000fc000 0x0000fc00 0x0000fc00
1819					0x0000fc00 0x0000fc00 0x00000200 0x00000000
1820					0x00100100 0x00000000 0x00000000 0x77ffc000
1821					0x00000404 0x81f1f008 0x07070000 0x0000003f
1822					0x015ddddd 0x51451400 0x00514514 0x00514514
1823					0x51451400 0x0000003f 0x00000000 0x00000000
1824					0x00000011 0x00290011 0x00000000 0x00000003
1825					0x0000f3f3 0x8000023a 0x0000000a >;
1826			};
1827
1828			timing-68000000 {
1829				clock-frequency = <68000000>;
1830
1831				nvidia,emc-auto-cal-config = <0xa1430000>;
1832				nvidia,emc-auto-cal-config2 = <0x00000000>;
1833				nvidia,emc-auto-cal-config3 = <0x00000000>;
1834				nvidia,emc-auto-cal-interval = <0x001fffff>;
1835				nvidia,emc-bgbias-ctl0 = <0x00000008>;
1836				nvidia,emc-cfg = <0xd3200000>;
1837				nvidia,emc-cfg-2 = <0x000008c7>;
1838				nvidia,emc-ctt-term-ctrl = <0x00000802>;
1839				nvidia,emc-mode-1 = <0x80010083>;
1840				nvidia,emc-mode-2 = <0x80020004>;
1841				nvidia,emc-mode-4 = <0x800b0000>;
1842				nvidia,emc-mode-reset = <0x00000000>;
1843				nvidia,emc-mrs-wait-cnt = <0x00440011>;
1844				nvidia,emc-sel-dpd-ctrl = <0x0004013c>;
1845				nvidia,emc-xm2dqspadctrl2 = <0x0130b018>;
1846				nvidia,emc-zcal-cnt-long = <0x00000015>;
1847				nvidia,emc-zcal-interval = <0x00064000>;
1848
1849				nvidia,emc-configuration =  <
1850					0x00000004 0x00000010 0x00000000 0x00000002
1851					0x00000004 0x00000006 0x00000008 0x00000003
1852					0x0000000a 0x00000002 0x00000002 0x00000001
1853					0x00000002 0x00000000 0x00000003 0x00000003
1854					0x00000006 0x00000002 0x00000000 0x00000005
1855					0x00000005 0x00010000 0x00000003 0x00000000
1856					0x00000000 0x00000000 0x00000000 0x00000004
1857					0x0000000c 0x0000000d 0x0000000f 0x00000101
1858					0x00000000 0x00000040 0x00000002 0x00000002
1859					0x00000004 0x00000000 0x00000001 0x0000000c
1860					0x0000000f 0x0000000f 0x00000003 0x00000003
1861					0x00000003 0x00000006 0x00000005 0x00000003
1862					0x00000003 0x000001c9 0x00000000 0x00000000
1863					0x00000000 0x1363a296 0x005800a0 0x00008000
1864					0x00090000 0x00090000 0x00090000 0x00090000
1865					0x00090000 0x00090000 0x00090000 0x00090000
1866					0x00090000 0x00090000 0x00090000 0x00090000
1867					0x00090000 0x00090000 0x00090000 0x00090000
1868					0x00000000 0x00000000 0x00000000 0x00000000
1869					0x00000000 0x00000000 0x00000000 0x00000000
1870					0x000fc000 0x000fc000 0x00000000 0x000fc000
1871					0x000fc000 0x00000000 0x00000000 0x00000000
1872					0x00000000 0x00000000 0x00000000 0x00000000
1873					0x00000000 0x00000000 0x00000000 0x00000000
1874					0x00000000 0x00000000 0x00000000 0x00000000
1875					0x00000000 0x00000000 0x00000000 0x00000000
1876					0x00000000 0x00000000 0x00000000 0x00000000
1877					0x00000000 0x00000000 0x000fc000 0x000fc000
1878					0x000fc000 0x000fc000 0x0000fc00 0x0000fc00
1879					0x0000fc00 0x0000fc00 0x00000200 0x00000000
1880					0x00100100 0x00000000 0x00000000 0x77ffc000
1881					0x00000404 0x81f1f008 0x07070000 0x0000003f
1882					0x015ddddd 0x51451400 0x00514514 0x00514514
1883					0x51451400 0x0000003f 0x00000000 0x00000000
1884					0x00000019 0x00440011 0x00000000 0x00000003
1885					0x0000f3f3 0x80000309 0x0000000a >;
1886			};
1887
1888			timing-102000000 {
1889				clock-frequency = <102000000>;
1890
1891				nvidia,emc-auto-cal-config = <0xa1430000>;
1892				nvidia,emc-auto-cal-config2 = <0x00000000>;
1893				nvidia,emc-auto-cal-config3 = <0x00000000>;
1894				nvidia,emc-auto-cal-interval = <0x001fffff>;
1895				nvidia,emc-bgbias-ctl0 = <0x00000008>;
1896				nvidia,emc-cfg = <0xd3200000>;
1897				nvidia,emc-cfg-2 = <0x000008c7>;
1898				nvidia,emc-ctt-term-ctrl = <0x00000802>;
1899				nvidia,emc-mode-1 = <0x80010083>;
1900				nvidia,emc-mode-2 = <0x80020004>;
1901				nvidia,emc-mode-4 = <0x800b0000>;
1902				nvidia,emc-mode-reset = <0x00000000>;
1903				nvidia,emc-mrs-wait-cnt = <0x00660011>;
1904				nvidia,emc-sel-dpd-ctrl = <0x0004013c>;
1905				nvidia,emc-xm2dqspadctrl2 = <0x0130b018>;
1906				nvidia,emc-zcal-cnt-long = <0x00000015>;
1907				nvidia,emc-zcal-interval = <0x00064000>;
1908
1909				nvidia,emc-configuration =  <
1910					0x00000006 0x00000015 0x00000000 0x00000004
1911					0x00000004 0x00000006 0x00000008 0x00000003
1912					0x0000000a 0x00000002 0x00000002 0x00000001
1913					0x00000002 0x00000000 0x00000003 0x00000003
1914					0x00000006 0x00000002 0x00000000 0x00000005
1915					0x00000005 0x00010000 0x00000003 0x00000000
1916					0x00000000 0x00000000 0x00000000 0x00000004
1917					0x0000000c 0x0000000d 0x0000000f 0x00000182
1918					0x00000000 0x00000060 0x00000002 0x00000002
1919					0x00000004 0x00000000 0x00000001 0x0000000c
1920					0x00000017 0x00000017 0x00000003 0x00000003
1921					0x00000003 0x00000006 0x00000005 0x00000003
1922					0x00000003 0x000002ae 0x00000000 0x00000000
1923					0x00000000 0x1363a296 0x005800a0 0x00008000
1924					0x00090000 0x00090000 0x00090000 0x00090000
1925					0x00090000 0x00090000 0x00090000 0x00090000
1926					0x00090000 0x00090000 0x00090000 0x00090000
1927					0x00090000 0x00090000 0x00090000 0x00090000
1928					0x00000000 0x00000000 0x00000000 0x00000000
1929					0x00000000 0x00000000 0x00000000 0x00000000
1930					0x000fc000 0x000fc000 0x00000000 0x000fc000
1931					0x000fc000 0x00000000 0x00000000 0x00000000
1932					0x00000000 0x00000000 0x00000000 0x00000000
1933					0x00000000 0x00000000 0x00000000 0x00000000
1934					0x00000000 0x00000000 0x00000000 0x00000000
1935					0x00000000 0x00000000 0x00000000 0x00000000
1936					0x00000000 0x00000000 0x00000000 0x00000000
1937					0x00000000 0x00000000 0x000fc000 0x000fc000
1938					0x000fc000 0x000fc000 0x0000fc00 0x0000fc00
1939					0x0000fc00 0x0000fc00 0x00000200 0x00000000
1940					0x00100100 0x00000000 0x00000000 0x77ffc000
1941					0x00000404 0x81f1f008 0x07070000 0x0000003f
1942					0x015ddddd 0x51451400 0x00514514 0x00514514
1943					0x51451400 0x0000003f 0x00000000 0x00000000
1944					0x00000025 0x00660011 0x00000000 0x00000003
1945					0x0000f3f3 0x8000040b 0x0000000a >;
1946			};
1947
1948			timing-204000000 {
1949				clock-frequency = <204000000>;
1950
1951				nvidia,emc-auto-cal-config = <0xa1430000>;
1952				nvidia,emc-auto-cal-config2 = <0x00000000>;
1953				nvidia,emc-auto-cal-config3 = <0x00000000>;
1954				nvidia,emc-auto-cal-interval = <0x001fffff>;
1955				nvidia,emc-bgbias-ctl0 = <0x00000008>;
1956				nvidia,emc-cfg = <0xd3200000>;
1957				nvidia,emc-cfg-2 = <0x000008cf>;
1958				nvidia,emc-ctt-term-ctrl = <0x00000802>;
1959				nvidia,emc-mode-1 = <0x80010083>;
1960				nvidia,emc-mode-2 = <0x80020004>;
1961				nvidia,emc-mode-4 = <0x800b0000>;
1962				nvidia,emc-mode-reset = <0x00000000>;
1963				nvidia,emc-mrs-wait-cnt = <0x00cc0011>;
1964				nvidia,emc-sel-dpd-ctrl = <0x0004013c>;
1965				nvidia,emc-xm2dqspadctrl2 = <0x0130b018>;
1966				nvidia,emc-zcal-cnt-long = <0x00000017>;
1967				nvidia,emc-zcal-interval = <0x00064000>;
1968
1969				nvidia,emc-configuration =  <
1970					0x0000000c 0x0000002a 0x00000000 0x00000008
1971					0x00000005 0x00000007 0x00000008 0x00000003
1972					0x0000000a 0x00000003 0x00000003 0x00000002
1973					0x00000003 0x00000000 0x00000002 0x00000002
1974					0x00000005 0x00000003 0x00000000 0x00000003
1975					0x00000007 0x00010000 0x00000004 0x00000000
1976					0x00000000 0x00000000 0x00000000 0x00000002
1977					0x0000000e 0x0000000f 0x00000011 0x00000304
1978					0x00000000 0x000000c1 0x00000002 0x00000002
1979					0x00000005 0x00000000 0x00000001 0x0000000c
1980					0x0000002d 0x0000002d 0x00000003 0x00000004
1981					0x00000003 0x00000009 0x00000006 0x00000003
1982					0x00000003 0x0000055b 0x00000000 0x00000000
1983					0x00000000 0x1363a296 0x005800a0 0x00008000
1984					0x00080000 0x00080000 0x00080000 0x00080000
1985					0x00080000 0x00080000 0x00080000 0x00080000
1986					0x00080000 0x00080000 0x00080000 0x00080000
1987					0x00080000 0x00080000 0x00080000 0x00080000
1988					0x00000000 0x00000000 0x00000000 0x00000000
1989					0x00000000 0x00000000 0x00000000 0x00000000
1990					0x00098000 0x00098000 0x00000000 0x00098000
1991					0x00098000 0x00000000 0x00000000 0x00000000
1992					0x00000000 0x00000000 0x00000000 0x00000000
1993					0x00000000 0x00000000 0x00000000 0x00000000
1994					0x00000000 0x00000000 0x00000000 0x00000000
1995					0x00000000 0x00000000 0x00000000 0x00000000
1996					0x00000000 0x00000000 0x00000000 0x00000000
1997					0x00000000 0x00000000 0x0008c000 0x00088000
1998					0x00088000 0x00088000 0x00008800 0x00008800
1999					0x00008800 0x00008800 0x00000200 0x00000000
2000					0x00100100 0x00000000 0x00000000 0x77ffc000
2001					0x00000404 0x81f1f008 0x07070000 0x0000003f
2002					0x015ddddd 0x51451400 0x00514514 0x00514514
2003					0x51451400 0x0000003f 0x00000000 0x00000000
2004					0x0000004a 0x00cc0011 0x00000000 0x00000004
2005					0x0000d3b3 0x80000713 0x0000000a >;
2006			};
2007
2008			timing-300000000 {
2009				clock-frequency = <300000000>;
2010
2011				nvidia,emc-auto-cal-config = <0xa1430000>;
2012				nvidia,emc-auto-cal-config2 = <0x00000000>;
2013				nvidia,emc-auto-cal-config3 = <0x00000000>;
2014				nvidia,emc-auto-cal-interval = <0x001fffff>;
2015				nvidia,emc-bgbias-ctl0 = <0x00000000>;
2016				nvidia,emc-cfg = <0xd3300000>;
2017				nvidia,emc-cfg-2 = <0x000008d7>;
2018				nvidia,emc-ctt-term-ctrl = <0x00000802>;
2019				nvidia,emc-mode-1 = <0x80010083>;
2020				nvidia,emc-mode-2 = <0x80020004>;
2021				nvidia,emc-mode-4 = <0x800b0000>;
2022				nvidia,emc-mode-reset = <0x00000000>;
2023				nvidia,emc-mrs-wait-cnt = <0x012c0011>;
2024				nvidia,emc-sel-dpd-ctrl = <0x0004013c>;
2025				nvidia,emc-xm2dqspadctrl2 = <0x01231239>;
2026				nvidia,emc-zcal-cnt-long = <0x0000001f>;
2027				nvidia,emc-zcal-interval = <0x00064000>;
2028
2029				nvidia,emc-configuration =  <
2030					0x00000011 0x0000003e 0x00000000 0x0000000c
2031					0x00000005 0x00000007 0x00000008 0x00000003
2032					0x0000000a 0x00000005 0x00000005 0x00000002
2033					0x00000003 0x00000000 0x00000002 0x00000002
2034					0x00000006 0x00000003 0x00000000 0x00000003
2035					0x00000008 0x00030000 0x00000004 0x00000000
2036					0x00000000 0x00000000 0x00000000 0x00000002
2037					0x0000000f 0x00000012 0x00000014 0x0000046e
2038					0x00000000 0x0000011b 0x00000002 0x00000002
2039					0x00000005 0x00000000 0x00000001 0x0000000c
2040					0x00000042 0x00000042 0x00000003 0x00000005
2041					0x00000003 0x0000000d 0x00000007 0x00000003
2042					0x00000003 0x000007e0 0x00000000 0x00000000
2043					0x00000000 0x1363a096 0x005800a0 0x00008000
2044					0x00020000 0x00020000 0x00020000 0x00020000
2045					0x00020000 0x00020000 0x00020000 0x00020000
2046					0x00020000 0x00020000 0x00020000 0x00020000
2047					0x00020000 0x00020000 0x00020000 0x00020000
2048					0x00000000 0x00000000 0x00000000 0x00000000
2049					0x00000000 0x00000000 0x00000000 0x00000000
2050					0x00060000 0x00060000 0x00000000 0x00060000
2051					0x00060000 0x00000000 0x00000000 0x00000000
2052					0x00000000 0x00000000 0x00000000 0x00000000
2053					0x00000000 0x00000000 0x00000000 0x00000000
2054					0x00000000 0x00000000 0x00000000 0x00000000
2055					0x00000000 0x00000000 0x00000000 0x00000000
2056					0x00000000 0x00000000 0x00000000 0x00000000
2057					0x00000000 0x00000000 0x00048000 0x00048000
2058					0x00048000 0x00048000 0x00004800 0x00004800
2059					0x00004800 0x00004800 0x00000200 0x00000000
2060					0x00100100 0x00000000 0x00000000 0x77ffc000
2061					0x00000404 0x81f1f008 0x07070000 0x0000003f
2062					0x015ddddd 0x51451420 0x00514514 0x00514514
2063					0x51451400 0x0000003f 0x00000000 0x00000000
2064					0x0000006c 0x012c0011 0x00000000 0x00000004
2065					0x000052a3 0x800009ed 0x0000000b >;
2066			};
2067
2068			timing-396000000 {
2069				clock-frequency = <396000000>;
2070
2071				nvidia,emc-auto-cal-config = <0xa1430000>;
2072				nvidia,emc-auto-cal-config2 = <0x00000000>;
2073				nvidia,emc-auto-cal-config3 = <0x00000000>;
2074				nvidia,emc-auto-cal-interval = <0x001fffff>;
2075				nvidia,emc-bgbias-ctl0 = <0x00000000>;
2076				nvidia,emc-cfg = <0xd3300000>;
2077				nvidia,emc-cfg-2 = <0x00000897>;
2078				nvidia,emc-ctt-term-ctrl = <0x00000802>;
2079				nvidia,emc-mode-1 = <0x80010083>;
2080				nvidia,emc-mode-2 = <0x80020004>;
2081				nvidia,emc-mode-4 = <0x800b0000>;
2082				nvidia,emc-mode-reset = <0x00000000>;
2083				nvidia,emc-mrs-wait-cnt = <0x018c0011>;
2084				nvidia,emc-sel-dpd-ctrl = <0x0004001c>;
2085				nvidia,emc-xm2dqspadctrl2 = <0x01231239>;
2086				nvidia,emc-zcal-cnt-long = <0x00000028>;
2087				nvidia,emc-zcal-interval = <0x00064000>;
2088
2089				nvidia,emc-configuration =  <
2090					0x00000017 0x00000053 0x00000000 0x00000010
2091					0x00000007 0x00000008 0x00000008 0x00000003
2092					0x0000000a 0x00000007 0x00000007 0x00000003
2093					0x00000003 0x00000000 0x00000002 0x00000002
2094					0x00000006 0x00000003 0x00000000 0x00000002
2095					0x00000009 0x00030000 0x00000004 0x00000000
2096					0x00000000 0x00000000 0x00000000 0x00000001
2097					0x00000010 0x00000012 0x00000014 0x000005d9
2098					0x00000000 0x00000176 0x00000002 0x00000002
2099					0x00000007 0x00000000 0x00000001 0x0000000e
2100					0x00000058 0x00000058 0x00000003 0x00000006
2101					0x00000003 0x00000012 0x00000009 0x00000003
2102					0x00000003 0x00000a66 0x00000000 0x00000000
2103					0x00000000 0x1363a096 0x005800a0 0x00008000
2104					0x00020000 0x00020000 0x00020000 0x00020000
2105					0x00020000 0x00020000 0x00020000 0x00020000
2106					0x00020000 0x00020000 0x00020000 0x00020000
2107					0x00020000 0x00020000 0x00020000 0x00020000
2108					0x00000000 0x00000000 0x00000000 0x00000000
2109					0x00000000 0x00000000 0x00000000 0x00000000
2110					0x00048000 0x00048000 0x00000000 0x00048000
2111					0x00048000 0x00000000 0x00000000 0x00000000
2112					0x00000000 0x00000000 0x00000000 0x00000000
2113					0x00000000 0x00000000 0x00000000 0x00000000
2114					0x00000000 0x00000000 0x00000000 0x00000000
2115					0x00000000 0x00000000 0x00000000 0x00000000
2116					0x00000000 0x00000000 0x00000000 0x00000000
2117					0x00000000 0x00000000 0x00038000 0x00038000
2118					0x00038000 0x00038000 0x00003800 0x00003800
2119					0x00003800 0x00003800 0x00000200 0x00000000
2120					0x00100100 0x00000000 0x00000000 0x77ffc000
2121					0x00000404 0x81f1f008 0x07070000 0x0000003f
2122					0x015ddddd 0x51451420 0x00514514 0x00514514
2123					0x51451400 0x0000003f 0x00000000 0x00000000
2124					0x0000008f 0x018c0011 0x00000000 0x00000004
2125					0x000052a3 0x80000cc7 0x0000000b >;
2126			};
2127
2128			timing-528000000 {
2129				clock-frequency = <528000000>;
2130
2131				nvidia,emc-auto-cal-config = <0xa1430000>;
2132				nvidia,emc-auto-cal-config2 = <0x00000000>;
2133				nvidia,emc-auto-cal-config3 = <0x00000000>;
2134				nvidia,emc-auto-cal-interval = <0x001fffff>;
2135				nvidia,emc-bgbias-ctl0 = <0x00000000>;
2136				nvidia,emc-cfg = <0xd3300000>;
2137				nvidia,emc-cfg-2 = <0x0000089f>;
2138				nvidia,emc-ctt-term-ctrl = <0x00000802>;
2139				nvidia,emc-mode-1 = <0x800100c3>;
2140				nvidia,emc-mode-2 = <0x80020006>;
2141				nvidia,emc-mode-4 = <0x800b0000>;
2142				nvidia,emc-mode-reset = <0x00000000>;
2143				nvidia,emc-mrs-wait-cnt = <0x02100013>;
2144				nvidia,emc-sel-dpd-ctrl = <0x0004001c>;
2145				nvidia,emc-xm2dqspadctrl2 = <0x0123123d>;
2146				nvidia,emc-zcal-cnt-long = <0x00000034>;
2147				nvidia,emc-zcal-interval = <0x00064000>;
2148
2149				nvidia,emc-configuration =  <
2150					0x0000001f 0x0000006e 0x00000000 0x00000016
2151					0x00000009 0x00000009 0x00000009 0x00000003
2152					0x0000000d 0x00000009 0x00000009 0x00000005
2153					0x00000004 0x00000000 0x00000002 0x00000002
2154					0x00000008 0x00000003 0x00000000 0x00000003
2155					0x0000000a 0x00050000 0x00000004 0x00000000
2156					0x00000000 0x00000000 0x00000000 0x00000002
2157					0x00000011 0x00000015 0x00000017 0x000007cd
2158					0x00000000 0x000001f3 0x00000003 0x00000003
2159					0x00000009 0x00000000 0x00000001 0x00000011
2160					0x00000075 0x00000075 0x00000004 0x00000008
2161					0x00000004 0x00000019 0x0000000c 0x00000003
2162					0x00000003 0x00000ddd 0x00000000 0x00000000
2163					0x00000000 0x1363a096 0xe01200b9 0x00008000
2164					0x0000000a 0x0000000a 0x0000000a 0x0000000a
2165					0x0000000a 0x0000000a 0x0000000a 0x0000000a
2166					0x0000000a 0x0000000a 0x0000000a 0x0000000a
2167					0x0000000a 0x0000000a 0x0000000a 0x0000000a
2168					0x00000000 0x00000000 0x00000000 0x00000000
2169					0x00000000 0x00000000 0x00000000 0x00000000
2170					0x00004010 0x00004010 0x00000000 0x00004010
2171					0x00004010 0x00000000 0x00000000 0x00000000
2172					0x00000000 0x00000000 0x00000000 0x00000000
2173					0x00000000 0x00000000 0x00000000 0x00000000
2174					0x00000000 0x00000000 0x00000000 0x00000000
2175					0x00000000 0x00000000 0x00000000 0x00000000
2176					0x00000000 0x00000000 0x00000000 0x00000000
2177					0x00000000 0x00000000 0x0000000c 0x0000000c
2178					0x0000000c 0x0000000c 0x0000000c 0x0000000c
2179					0x0000000c 0x0000000c 0x00000220 0x00000000
2180					0x00100100 0x00000000 0x00000000 0x77ffc004
2181					0x00000404 0x81f1f008 0x07070000 0x0000003f
2182					0x015ddddd 0x51451420 0x00514514 0x00514514
2183					0x51451400 0x0000003f 0x00000000 0x00000000
2184					0x000000bf 0x02100013 0x00000000 0x00000004
2185					0x000042a0 0x800010b3 0x0000000d >;
2186			};
2187
2188			timing-600000000 {
2189				clock-frequency = <600000000>;
2190
2191				nvidia,emc-auto-cal-config = <0xa1430000>;
2192				nvidia,emc-auto-cal-config2 = <0x00000000>;
2193				nvidia,emc-auto-cal-config3 = <0x00000000>;
2194				nvidia,emc-auto-cal-interval = <0x001fffff>;
2195				nvidia,emc-bgbias-ctl0 = <0x00000000>;
2196				nvidia,emc-cfg = <0xd3300000>;
2197				nvidia,emc-cfg-2 = <0x0000089f>;
2198				nvidia,emc-ctt-term-ctrl = <0x00000802>;
2199				nvidia,emc-mode-1 = <0x800100e3>;
2200				nvidia,emc-mode-2 = <0x80020007>;
2201				nvidia,emc-mode-4 = <0x800b0000>;
2202				nvidia,emc-mode-reset = <0x00000000>;
2203				nvidia,emc-mrs-wait-cnt = <0x02580014>;
2204				nvidia,emc-sel-dpd-ctrl = <0x0004001c>;
2205				nvidia,emc-xm2dqspadctrl2 = <0x0121103d>;
2206				nvidia,emc-zcal-cnt-long = <0x0000003a>;
2207				nvidia,emc-zcal-interval = <0x00064000>;
2208
2209				nvidia,emc-configuration =  <
2210					0x00000023 0x0000007d 0x00000000 0x00000019
2211					0x0000000a 0x0000000a 0x0000000b 0x00000004
2212					0x0000000f 0x0000000a 0x0000000a 0x00000005
2213					0x00000004 0x00000000 0x00000004 0x00000004
2214					0x0000000a 0x00000004 0x00000000 0x00000003
2215					0x0000000d 0x00070000 0x00000005 0x00000000
2216					0x00000000 0x00000000 0x00000000 0x00000002
2217					0x00000014 0x00000018 0x0000001a 0x000008e4
2218					0x00000000 0x00000239 0x00000004 0x00000004
2219					0x0000000a 0x00000000 0x00000001 0x00000013
2220					0x00000084 0x00000084 0x00000005 0x00000009
2221					0x00000005 0x0000001c 0x0000000d 0x00000003
2222					0x00000003 0x00000fc0 0x00000000 0x00000000
2223					0x00000000 0x1363a096 0xe00e00b9 0x00008000
2224					0x0000000a 0x0000000a 0x0000000a 0x0000000a
2225					0x0000000a 0x0000000a 0x0000000a 0x0000000a
2226					0x0000000a 0x0000000a 0x0000000a 0x0000000a
2227					0x0000000a 0x0000000a 0x0000000a 0x0000000a
2228					0x00000000 0x00000000 0x00000000 0x00000000
2229					0x00000000 0x00000000 0x00000000 0x00000000
2230					0x00000010 0x00000010 0x00000000 0x00000010
2231					0x00000010 0x00000000 0x00000000 0x00000000
2232					0x00000000 0x00000000 0x00000000 0x00000000
2233					0x00000000 0x00000000 0x00000000 0x00000001
2234					0x00000000 0x00000001 0x00000001 0x00000000
2235					0x00000001 0x00000000 0x00000000 0x00000001
2236					0x00000000 0x00000001 0x00000001 0x00000000
2237					0x00000001 0x00000000 0x0000000c 0x0000000b
2238					0x0000000b 0x0000000b 0x0000000b 0x0000000b
2239					0x0000000b 0x0000000b 0x00000220 0x00000000
2240					0x00100100 0x00000000 0x00000000 0x77ffc004
2241					0x00000404 0x81f1f008 0x07070000 0x0000003f
2242					0x015ddddd 0x51451420 0x00514514 0x00514514
2243					0x51451400 0x0000003f 0x00000000 0x00000000
2244					0x000000d8 0x02580014 0x00000000 0x00000005
2245					0x000040a0 0x800012d6 0x00000010 >;
2246			};
2247
2248			timing-792000000 {
2249				clock-frequency = <792000000>;
2250
2251				nvidia,emc-auto-cal-config = <0xa1430000>;
2252				nvidia,emc-auto-cal-config2 = <0x00000000>;
2253				nvidia,emc-auto-cal-config3 = <0x00000000>;
2254				nvidia,emc-auto-cal-interval = <0x001fffff>;
2255				nvidia,emc-bgbias-ctl0 = <0x00000000>;
2256				nvidia,emc-cfg = <0xd3300000>;
2257				nvidia,emc-cfg-2 = <0x0000089f>;
2258				nvidia,emc-ctt-term-ctrl = <0x00000802>;
2259				nvidia,emc-mode-1 = <0x80010043>;
2260				nvidia,emc-mode-2 = <0x8002001a>;
2261				nvidia,emc-mode-4 = <0x800b0000>;
2262				nvidia,emc-mode-reset = <0x00000000>;
2263				nvidia,emc-mrs-wait-cnt = <0x03180017>;
2264				nvidia,emc-sel-dpd-ctrl = <0x0004001c>;
2265				nvidia,emc-xm2dqspadctrl2 = <0x0120103d>;
2266				nvidia,emc-zcal-cnt-long = <0x0000004c>;
2267				nvidia,emc-zcal-interval = <0x00064000>;
2268
2269				nvidia,emc-configuration =  <
2270					0x0000002f 0x000000a6 0x00000000 0x00000021
2271					0x0000000e 0x0000000d 0x0000000d 0x00000005
2272					0x00000013 0x0000000e 0x0000000e 0x00000007
2273					0x00000004 0x00000000 0x00000005 0x00000005
2274					0x0000000e 0x00000004 0x00000000 0x00000005
2275					0x0000000f 0x000b0000 0x00000006 0x00000000
2276					0x00000000 0x00000000 0x00000000 0x00000004
2277					0x00000016 0x0000001d 0x0000001f 0x00000bd1
2278					0x00000000 0x000002f4 0x00000005 0x00000005
2279					0x0000000e 0x00000000 0x00000001 0x00000017
2280					0x000000af 0x000000af 0x00000006 0x0000000c
2281					0x00000006 0x00000026 0x00000011 0x00000003
2282					0x00000003 0x000014cb 0x00000000 0x00000000
2283					0x00000000 0x1363a096 0xe00700b9 0x00008000
2284					0x00000006 0x00000006 0x00000006 0x00000006
2285					0x00000006 0x00000006 0x00000006 0x00000006
2286					0x00000006 0x00000006 0x00000006 0x00000006
2287					0x00000006 0x00000006 0x00000006 0x00000006
2288					0x00000000 0x00000000 0x00000000 0x00000000
2289					0x00000000 0x00000000 0x00000000 0x00000000
2290					0x00008012 0x00008012 0x00000000 0x00008012
2291					0x00008012 0x00000000 0x00000000 0x00000000
2292					0x00000000 0x00000000 0x00000000 0x00000000
2293					0x00000000 0x00000000 0x00000002 0x00000005
2294					0x00000002 0x00000004 0x00000005 0x00000004
2295					0x00000004 0x00000003 0x00000002 0x00000005
2296					0x00000002 0x00000004 0x00000005 0x00000004
2297					0x00000004 0x00000003 0x0000000b 0x0000000a
2298					0x0000000a 0x0000000a 0x0000000a 0x0000000a
2299					0x0000000a 0x0000000a 0x00000220 0x00000000
2300					0x00100100 0x00000000 0x00000000 0x77ffc004
2301					0x00000808 0x81f1f008 0x07070000 0x00000000
2302					0x015ddddd 0x61861820 0x00514514 0x00514514
2303					0x61861800 0x0000003f 0x00000000 0x00000000
2304					0x0000011e 0x03180017 0x00000000 0x00000006
2305					0x00004080 0x8000188b 0x00000014 >;
2306			};
2307
2308			timing-924000000 {
2309				clock-frequency = <924000000>;
2310
2311				nvidia,emc-auto-cal-config = <0xa1430000>;
2312				nvidia,emc-auto-cal-config2 = <0x00000000>;
2313				nvidia,emc-auto-cal-config3 = <0x00000000>;
2314				nvidia,emc-auto-cal-interval = <0x001fffff>;
2315				nvidia,emc-bgbias-ctl0 = <0x00000000>;
2316				nvidia,emc-cfg = <0xd3300000>;
2317				nvidia,emc-cfg-2 = <0x0000089f>;
2318				nvidia,emc-ctt-term-ctrl = <0x00000802>;
2319				nvidia,emc-mode-1 = <0x80010083>;
2320				nvidia,emc-mode-2 = <0x8002001c>;
2321				nvidia,emc-mode-4 = <0x800b0000>;
2322				nvidia,emc-mode-reset = <0x00000000>;
2323				nvidia,emc-mrs-wait-cnt = <0x039c0019>;
2324				nvidia,emc-sel-dpd-ctrl = <0x0004001c>;
2325				nvidia,emc-xm2dqspadctrl2 = <0x0120103d>;
2326				nvidia,emc-zcal-cnt-long = <0x00000058>;
2327				nvidia,emc-zcal-interval = <0x00064000>;
2328
2329				nvidia,emc-configuration =  <
2330					0x00000037 0x000000c2 0x00000000 0x00000026
2331					0x00000010 0x0000000f 0x00000010 0x00000006
2332					0x00000017 0x00000010 0x00000010 0x00000009
2333					0x00000005 0x00000000 0x00000007 0x00000007
2334					0x00000010 0x00000005 0x00000000 0x00000005
2335					0x00000012 0x000d0000 0x00000007 0x00000000
2336					0x00000000 0x00000000 0x00000000 0x00000004
2337					0x00000019 0x00000020 0x00000022 0x00000dd4
2338					0x00000000 0x00000375 0x00000006 0x00000006
2339					0x00000010 0x00000000 0x00000001 0x0000001b
2340					0x000000cc 0x000000cc 0x00000007 0x0000000e
2341					0x00000007 0x0000002d 0x00000014 0x00000003
2342					0x00000003 0x00001842 0x00000000 0x00000000
2343					0x00000000 0x1363a896 0xe00400b9 0x00008000
2344					0x00000004 0x00000004 0x00000004 0x00000004
2345					0x00000004 0x00000004 0x00000004 0x00000004
2346					0x00000004 0x00000004 0x00000004 0x00000004
2347					0x00000004 0x00000004 0x00000004 0x00000004
2348					0x00000000 0x00000000 0x00000000 0x00000000
2349					0x00000000 0x00000000 0x00000000 0x00000000
2350					0x0000000f 0x0000000f 0x00000000 0x00000011
2351					0x00000012 0x00000000 0x00000000 0x00000000
2352					0x00000000 0x00000000 0x00000000 0x00000000
2353					0x00000000 0x00000000 0x00000004 0x00000006
2354					0x00000004 0x00000006 0x00000006 0x00000006
2355					0x00000006 0x00000005 0x00000004 0x00000006
2356					0x00000004 0x00000006 0x00000006 0x00000006
2357					0x00000006 0x00000005 0x0000000a 0x00000009
2358					0x00000009 0x0000000a 0x00000009 0x00000009
2359					0x00000009 0x00000009 0x00000220 0x00000000
2360					0x00100100 0x00000000 0x00000000 0x77ffc004
2361					0x00000404 0x81f1f008 0x07070000 0x00000000
2362					0x015ddddd 0x51451420 0x00514514 0x00514514
2363					0x51451400 0x0000003f 0x00000000 0x00000000
2364					0x0000014d 0x039c0019 0x00000000 0x00000007
2365					0x00004080 0x80001c77 0x00000017 >;
2366			};
2367		};
2368	};
2369
2370	padctl@7009f000 {
2371		status = "disabled";
2372	};
2373
2374	/* WiFi */
2375	sdmmc1: mmc@700b0000 {
2376		status = "okay";
2377
2378		#address-cells = <1>;
2379		#size-cells = <0>;
2380
2381		assigned-clocks = <&tegra_car TEGRA124_CLK_SDMMC1>;
2382		assigned-clock-parents = <&tegra_car TEGRA124_CLK_PLL_P>;
2383		assigned-clock-rates = <204000000>;
2384
2385		max-frequency = <82000000>;
2386		keep-power-in-suspend;
2387		bus-width = <4>;
2388		non-removable;
2389
2390		sd-uhs-sdr104;
2391		mmc-ddr-1_8v;
2392
2393		mmc-pwrseq = <&brcm_wifi_pwrseq>;
2394		vmmc-supply = <&vdd_3v3_sys>;
2395		vqmmc-supply = <&vdd_1v8_vio>;
2396
2397		/* BCM4354XKUBG */
2398		wifi@1 {
2399			compatible = "brcm,bcm4354-fmac", "brcm,bcm4329-fmac";
2400			reg = <1>;
2401
2402			clocks = <&clk32k_pmic>;
2403			clock-names = "lpo";
2404
2405			interrupt-parent = <&gpio>;
2406			interrupts = <TEGRA_GPIO(U, 5) IRQ_TYPE_LEVEL_HIGH>;
2407			interrupt-names = "host-wake";
2408		};
2409	};
2410
2411	/* MicroSD */
2412	sdmmc3: mmc@700b0400 {
2413		status = "okay";
2414		bus-width = <4>;
2415
2416		sd-uhs-sdr104;
2417		mmc-ddr-1_8v;
2418
2419		cd-gpios = <&gpio TEGRA_GPIO(V, 2) GPIO_ACTIVE_HIGH>;
2420		power-gpios = <&gpio TEGRA_GPIO(R, 0) GPIO_ACTIVE_HIGH>;
2421
2422		vmmc-supply = <&vdd_hv_sdmmc>;
2423		vqmmc-supply = <&vddio_usd>;
2424	};
2425
2426	/* eMMC */
2427	sdmmc4: mmc@700b0600 {
2428		status = "okay";
2429		bus-width = <8>;
2430
2431		mmc-hs200-1_8v;
2432		non-removable;
2433
2434		vmmc-supply = <&vdd_hv_sdmmc>;
2435		vqmmc-supply = <&vdd_1v8_vio>;
2436	};
2437
2438	/* CPU DFLL clock */
2439	clock@70110000 {
2440		status = "okay";
2441		vdd-cpu-supply = <&vdd_cpu>;
2442		nvidia,i2c-fs-rate = <400000>;
2443	};
2444
2445	ahub@70300000 {
2446		/* HIFI CODEC */
2447		i2s@70301000 {		/* i2s0 */
2448			status = "okay";
2449		};
2450
2451		/* LEFT SPK */
2452		i2s@70301100 {		/* i2s1 */
2453			status = "okay";
2454		};
2455
2456		/* RIGHT SPK */
2457		i2s@70301200 {		/* i2s2 */
2458			status = "okay";
2459		};
2460
2461		/* BT SCO */
2462		i2s@70301300 {		/* i2s3 */
2463			status = "okay";
2464		};
2465	};
2466
2467	usb1: usb@7d000000 {
2468		compatible = "nvidia,tegra124-udc";
2469		status = "okay";
2470		dr_mode = "otg";
2471
2472		hnp-disable;
2473		srp-disable;
2474		adp-disable;
2475
2476		usb-role-switch;
2477		extcon = <&bq24192>, <&palmas_extcon>; /* vbus, id */
2478		vbus-supply = <&usb_otg_vbus>;
2479
2480		port {
2481			usb_in: endpoint {
2482				remote-endpoint = <&connector_out>;
2483			};
2484		};
2485	};
2486
2487	usb-phy@7d000000 {
2488		status = "okay";
2489		dr_mode = "otg";
2490		nvidia,xcvr-lsfslew = <2>;
2491		nvidia,xcvr-lsrslew = <2>;
2492		vbus-supply = <&avdd_usb>;
2493	};
2494
2495	battery: battery-cell {
2496		compatible = "simple-battery";
2497		device-chemistry = "lithium-ion-polymer";
2498
2499		charge-full-design-microamp-hours = <6520000>;
2500		energy-full-design-microwatt-hours = <2478000>;
2501
2502		voltage-min-design-microvolt = <4300000>;
2503		voltage-max-design-microvolt = <4350000>;
2504
2505		precharge-current-microamp = <256000>;
2506		charge-term-current-microamp = <400000>;
2507
2508		operating-range-celsius = <0 45>;
2509	};
2510
2511	clk32k_in: clock-32k {
2512		compatible = "fixed-clock";
2513		#clock-cells = <0>;
2514		clock-frequency = <32768>;
2515		clock-output-names = "ref-oscillator";
2516	};
2517
2518	connector {
2519		compatible = "usb-b-connector";
2520		type = "micro";
2521
2522		port {
2523			connector_out: endpoint {
2524				remote-endpoint = <&usb_in>;
2525			};
2526		};
2527	};
2528
2529	cpus {
2530		cpu0: cpu@0 {
2531			vdd-cpu-supply = <&vdd_cpu>;
2532			#cooling-cells = <2>;
2533		};
2534
2535		cpu1: cpu@1 {
2536			#cooling-cells = <2>;
2537		};
2538
2539		cpu2: cpu@2 {
2540			#cooling-cells = <2>;
2541		};
2542
2543		cpu3: cpu@3 {
2544			#cooling-cells = <2>;
2545		};
2546	};
2547
2548	extcon-keys {
2549		compatible = "gpio-keys";
2550
2551		switch-back-hall-sensor {
2552			label = "Hall sensor (back)";
2553			gpios = <&gpio TEGRA_GPIO(W, 3) GPIO_ACTIVE_LOW>;
2554			linux,code = <SW_LID>;
2555			linux,can-disable;
2556			wakeup-source;
2557		};
2558
2559		switch-front-hall-sensor {
2560			label = "Hall sensor (front)";
2561			gpios = <&gpio TEGRA_GPIO(I, 5) GPIO_ACTIVE_LOW>;
2562			linux,code = <SW_LID>;
2563			linux,can-disable;
2564			wakeup-source;
2565		};
2566	};
2567
2568	gpio-keys {
2569		compatible = "gpio-keys";
2570
2571		key-power {
2572			label = "Power";
2573			gpios = <&gpio TEGRA_GPIO(Q, 0) GPIO_ACTIVE_LOW>;
2574			linux,code = <KEY_POWER>;
2575			debounce-interval = <10>;
2576			wakeup-source;
2577		};
2578
2579		key-volume-down {
2580			label = "Volume Down";
2581			gpios = <&gpio TEGRA_GPIO(Q, 7) GPIO_ACTIVE_LOW>;
2582			linux,code = <KEY_VOLUMEDOWN>;
2583			debounce-interval = <10>;
2584		};
2585
2586		key-volume-up {
2587			label = "Volume Up";
2588			gpios = <&gpio TEGRA_GPIO(Q, 6) GPIO_ACTIVE_LOW>;
2589			linux,code = <KEY_VOLUMEUP>;
2590			debounce-interval = <10>;
2591		};
2592	};
2593
2594	led-controller {
2595		compatible = "pwm-leds";
2596
2597		led-button {
2598			color = <LED_COLOR_ID_WHITE>;
2599			function = LED_FUNCTION_BACKLIGHT;
2600
2601			pwms = <&pwm 1 10000>;
2602			max-brightness = <100>;
2603		};
2604	};
2605
2606	brcm_wifi_pwrseq: pwrseq-wifi {
2607		compatible = "mmc-pwrseq-simple";
2608
2609		reset-gpios = <&gpio TEGRA_GPIO(X, 7) GPIO_ACTIVE_LOW>;
2610
2611		post-power-on-delay-ms = <300>;
2612		power-off-delay-us = <300>;
2613	};
2614
2615	vdd_3v3_sys: regulator-3v3-sys {
2616		compatible = "regulator-fixed";
2617		regulator-name = "vdd_3v3_sys";
2618		regulator-min-microvolt = <3300000>;
2619		regulator-max-microvolt = <3300000>;
2620		regulator-always-on;
2621		regulator-boot-on;
2622	};
2623
2624	vddio_1v8_bl: regulator-bl-io {
2625		compatible = "regulator-fixed";
2626		regulator-name = "vddio_1v8_bl";
2627		regulator-min-microvolt = <1800000>;
2628		regulator-max-microvolt = <1800000>;
2629		regulator-boot-on;
2630		gpio = <&gpio TEGRA_GPIO(BB, 4) GPIO_ACTIVE_HIGH>;
2631		enable-active-high;
2632		vin-supply = <&vdd_1v8_vio>;
2633	};
2634
2635	vdd_lcd_io: regulator-lcd-vio {
2636		compatible = "regulator-fixed";
2637		regulator-name = "dvdd_lcd";
2638		regulator-min-microvolt = <1800000>;
2639		regulator-max-microvolt = <1800000>;
2640		regulator-boot-on;
2641		gpio = <&palmas_gpio 4 GPIO_ACTIVE_HIGH>;
2642		enable-active-high;
2643		vin-supply = <&vdd_1v8_vio>;
2644	};
2645
2646	vsp_5v5_lcd: regulator-vsp {
2647		compatible = "regulator-fixed";
2648		regulator-name = "avdd_lcd_vsp";
2649		regulator-min-microvolt = <5500000>;
2650		regulator-max-microvolt = <5500000>;
2651		regulator-boot-on;
2652		gpio = <&gpio TEGRA_GPIO(I, 4) GPIO_ACTIVE_HIGH>;
2653		enable-active-high;
2654		vin-supply = <&vdd_3v3_sys>;
2655	};
2656
2657	vsn_5v5_lcd: regulator-vsn {
2658		compatible = "regulator-fixed";
2659		regulator-name = "avdd_lcd_vsn";
2660		regulator-min-microvolt = <5500000>;
2661		regulator-max-microvolt = <5500000>;
2662		regulator-boot-on;
2663		gpio = <&gpio TEGRA_GPIO(S, 2) GPIO_ACTIVE_HIGH>;
2664		enable-active-high;
2665		vin-supply = <&vdd_3v3_sys>;
2666	};
2667
2668	vdd_2v8_tp: regulator-vtp {
2669		compatible = "regulator-fixed";
2670		regulator-name = "vdd_2v8_tp";
2671		regulator-min-microvolt = <2800000>;
2672		regulator-max-microvolt = <2800000>;
2673		regulator-boot-on;
2674		gpio = <&gpio TEGRA_GPIO(K, 1) GPIO_ACTIVE_HIGH>;
2675		enable-active-high;
2676		vin-supply = <&vdd_smps10_out2>;
2677	};
2678
2679	iovdd_1v8_cam: regulator-iovdd-cam {
2680		compatible = "regulator-fixed";
2681		regulator-name = "iovdd_1v8_cam";
2682		regulator-min-microvolt = <1800000>;
2683		regulator-max-microvolt = <1800000>;
2684		gpio = <&palmas_gpio 1 GPIO_ACTIVE_HIGH>;
2685		enable-active-high;
2686		vin-supply = <&vdd_1v8_vio>;
2687	};
2688
2689	dvdd_1v2_cam: regulator-dvdd-cam {
2690		compatible = "regulator-fixed";
2691		regulator-name = "dvdd_1v2_cam";
2692		regulator-min-microvolt = <1200000>;
2693		regulator-max-microvolt = <1200000>;
2694		gpio = <&palmas_gpio 2 GPIO_ACTIVE_HIGH>;
2695		enable-active-high;
2696		vin-supply = <&vdd_1v8_vio>;
2697	};
2698
2699	vdd_3v3_hph: regulator-hph {
2700		compatible = "regulator-fixed";
2701		regulator-name = "vdd_3v3_hph";
2702		regulator-min-microvolt = <3300000>;
2703		regulator-max-microvolt = <3300000>;
2704		gpio = <&gpio TEGRA_GPIO(R, 2) GPIO_ACTIVE_HIGH>;
2705		enable-active-high;
2706		vin-supply = <&vdd_3v3_sys>;
2707	};
2708
2709	thermal-zones {
2710		/*
2711		 * TMP451 has two sensors:
2712		 *
2713		 *	0: internal that monitors ambient/skin temperature
2714		 *	1: external that is connected to the CPU's diode
2715		 *
2716		 * Ideally we should use userspace thermal governor,
2717		 * but it's a much more complex solution.  The "skin"
2718		 * zone exists as a simpler solution which prevents
2719		 * tablet from getting too hot from a user's tactile
2720		 * perspective. The CPU zone is intended to protect
2721		 * silicon from damage.
2722		 */
2723
2724		tmp451-skin-thermal {
2725			polling-delay-passive = <1000>; /* milliseconds */
2726			polling-delay = <10000>; /* milliseconds */
2727
2728			thermal-sensors = <&temp_sensor 0>;
2729
2730			trips {
2731				skip_alert_trip: skin-alert {
2732					/* throttle at 50C until temperature drops to 49.5C */
2733					temperature = <50000>;
2734					hysteresis = <500>;
2735					type = "passive";
2736				};
2737
2738				skin-crit {
2739					/* shut down at 85C */
2740					temperature = <85000>;
2741					hysteresis = <2000>;
2742					type = "critical";
2743				};
2744			};
2745
2746			cooling-maps {
2747				map-skip {
2748					trip = <&skip_alert_trip>;
2749					cooling-device = <&cpu0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
2750							 <&cpu1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
2751							 <&cpu2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
2752							 <&cpu3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
2753				};
2754			};
2755		};
2756
2757		tmp451-cpu-thermal {
2758			polling-delay-passive = <1000>; /* milliseconds */
2759			polling-delay = <10000>; /* milliseconds */
2760
2761			thermal-sensors = <&temp_sensor 1>;
2762
2763			trips {
2764				cpu_alert_trip: cpu-alert {
2765					/* throttle at 85C until temperature drops to 84.5C */
2766					temperature = <85000>;
2767					hysteresis = <500>;
2768					type = "passive";
2769				};
2770
2771				cpu-crit {
2772					/* shut down at 95C */
2773					temperature = <95000>;
2774					hysteresis = <2000>;
2775					type = "critical";
2776				};
2777			};
2778
2779			cooling-maps {
2780				map-cpu {
2781					trip = <&cpu_alert_trip>;
2782					cooling-device = <&cpu0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
2783							 <&cpu1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
2784							 <&cpu2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
2785							 <&cpu3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
2786				};
2787			};
2788		};
2789	};
2790};
2791