2 * arch/arm64/boot/dts/tegra210-jetson-e-base-p2595-0000-a00.dts
4 * Copyright (c) 2014-2015, NVIDIA CORPORATION. All rights reserved.
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; version 2 of the License.
10 * This program is distributed in the hope that it will be useful, but WITHOUT
11 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
12 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
19 /memreserve/ 0x80000000 0x00020000;
21 #include "tegra210-common.dtsi"
22 #include "tegra210-platforms/tegra210-jetson-e-power-tree-p2530-0930-e03.dtsi"
23 #include "tegra210-platforms/tegra210-jetson-e-gpio-p2530-0930-e03.dtsi"
24 #include "tegra210-platforms/tegra210-jetson-e-pinmux-p2530-0930-e03.dtsi"
25 #include "tegra210-platforms/tegra210-pinmux-drive-sdmmc-common.dtsi"
26 #include "tegra210-platforms/tegra210-jetson-e-prods.dtsi"
27 #include "tegra210-platforms/tegra210-comms-p2530-0930.dtsi"
28 #include "tegra210-platforms/tegra210-jetson-e-camera-p2530-0930-e03.dtsi"
29 #include "tegra210-platforms/tegra210-pwm-fan-p2530-0930.dtsi"
30 #include "panel-s-wqxga-10-1.dtsi"
31 #include "panel-a-wuxga-8-0.dtsi"
32 #include "tegra210-platforms/tegra210-ers-hdmi-e2190-1100-a00.dtsi"
33 #include "tegra210-platforms/tegra210-loki-e-sensor-p2530-0032-e00.dtsi"
34 #include "tegra210-platforms/tegra210-sdhci.dtsi"
35 #include "tegra210-platforms/tegra210-p2530-common.dtsi"
36 #include "tegra210-platforms/tegra210-thermal-fan-est-p2530-0930.dtsi"
37 #include "tegra210-platforms/tegra210-keys-p2530-0930.dtsi"
38 #include "tegra210-platforms/tegra210-jetson-e-powermon-p2595-0000-a00.dtsi"
39 #include <dt-bindings/iio/meter/ina3221x.h>
40 #include "tegra210-platforms/tegra210-foster-e-extcon-p2530-0930-e01.dtsi"
41 #include "tegra210-platforms/tegra210-loki-e-emc-a01.dtsi"
42 #include "tegra210-platforms/tegra210-edp.dtsi"
43 #include "tegra210-platforms/tegra210-sysedp.dtsi"
44 #include "tegra210-platforms/tegra210-audio.dtsi"
45 #include "tegra210-platforms/tegra210-thermal-nct72-p2530.dtsi"
46 #include "tegra210-platforms/tegra210-thermal-Tboard-Tdiode.dtsi"
47 #include "tegra210-platforms/tegra210-jetson-e-powermon-p2530-0930-e03.dtsi"
48 #include "tegra210-platforms/tegra210-therm-est.dtsi"
49 #include "tegra210-platforms/tegra210-jetson-cpufreq.dtsi"
54 compatible = "nvidia,jetson-e", "nvidia,tegra210";
55 nvidia,dtsfilename = __FILE__;
57 nvidia,boardids = "2595:0000:A0";
58 nvidia,proc-boardid = "2595:0000:A0";
59 nvidia,pmu-boardid = "2595:0000:A0";
67 nvidia,invert-interrupt;
70 nvidia,io-pad-init-voltage = <IO_PAD_VOLTAGE_1_8V>;
74 nvidia,io-pad-init-voltage = <IO_PAD_VOLTAGE_1_8V>;
78 nvidia,deep-power-down-enable;
84 device_type = "memory";
85 reg = < 0x0 0x80000000 0x0 0x80000000 >;
88 sdhci@700b0600 { /* SDMMC4 for EMMC */
95 sdhci@700b0200 { /* SDMMC2 for Wifi */
101 sdhci@700b0000 { /* SDMMC1 for uSD card */
104 nvidia,update-pinctrl-settings;
105 pinctrl-names = "sdmmc_schmitt_enable", "sdmmc_schmitt_disable", "sdmmc_clk_schmitt_enable", "sdmmc_clk_schmitt_disable", "sdmmc_drv_code", "sdmmc_default_drv_code";
106 pinctrl-0 = <&sdmmc1_schmitt_enable_state>;
107 pinctrl-1 = <&sdmmc1_schmitt_disable_state>;
108 pinctrl-2 = <&sdmmc1_clk_schmitt_enable_state>;
109 pinctrl-3 = <&sdmmc1_clk_schmitt_disable_state>;
110 pinctrl-4 = <&sdmmc1_drv_code_1_8V>;
111 pinctrl-5 = <&sdmmc1_default_drv_code_3_3V>;
113 max-clk-limit = <180000000>;
114 nvidia,sdmmc-pin-gpios = <
115 &gpio TEGRA_GPIO(M, 0) 0
116 &gpio TEGRA_GPIO(M, 1) 0
117 &gpio TEGRA_GPIO(M, 2) 0
118 &gpio TEGRA_GPIO(M, 3) 0
119 &gpio TEGRA_GPIO(M, 4) 0
120 &gpio TEGRA_GPIO(M, 5) 0
126 interrupts = <0 24 0x04
142 pinctrl-names = "dap_active", "dap_inactive";
145 regulator-supplies = "vdd-1v8-audio-hv", "vdd-1v8-audio-hv-bias";
146 vdd-1v8-audio-hv-supply = <&max77620_sd3>;
147 vdd-1v8-audio-hv-bias-supply = <&max77620_sd3>;
151 pinctrl-names = "dap_active", "dap_inactive";
154 regulator-supplies = "vddio-dmic";
155 vddio-dmic-supply = <&max77620_sd3>;
159 pinctrl-names = "dap_active", "dap_inactive";
162 regulator-supplies = "vdd-1v8-spi-hv", "vdd-1v8-spi-hv-bias";
163 vdd-1v8-spi-hv-supply = <&max77620_sd3>;
164 vdd-1v8-spi-hv-bias-supply = <&max77620_sd3>;
170 compatible = "nvidia,tegra210-ahci-sata";
171 nvidia,enable-sata-port;
172 nvidia,sata-power-war;
177 compatible = "pwm-backlight";
179 panel-s-wqxga-10-1-bl {
180 pwms = <&tegra_pwm 0 1000000>;
182 panel-a-wuxga-8-0-bl {
183 pwms = <&tegra_pwm 0 40161>;
193 vana-supply = <&max77620_ldo3>;
194 vif-supply = <&en_vdd_cam>;
195 cam2-gpios = <&gpio CAM_PWDN_RQ 0>;
199 vdd-supply = <&max77620_ldo3>;
200 vif-supply = <&en_vdd_cam>;
201 af-pwdn-gpios = <&gpio CAM_PWDN_AF 0>;
207 vana-supply = <&max77620_ldo3>;
208 vif-supply = <&en_vdd_cam>;
209 cam2-gpios = <&gpio CAM_PWDN_FQ 0>;
218 nvidia,wake-gpio = <&gpio TEGRA_GPIO(A, 2) 0>;
219 nvidia,lane-map = <0x14>;
220 dvdd-pex-pll-supply = <&max77620_ldo1>;
221 l0-dvddio-pex-supply = <&max77620_ldo1>;
222 l1-dvddio-pex-supply = <&max77620_ldo1>;
223 l2-dvddio-pex-supply = <&max77620_ldo1>;
224 l3-dvddio-pex-supply = <&max77620_ldo1>;
225 l4-dvddio-pex-supply = <&max77620_ldo1>;
226 l5-dvddio-pex-supply = <&max77620_ldo1>;
227 l6-dvddio-pex-supply = <&max77620_ldo1>;
228 hvdd-pex-pll-e-supply = <&max77620_sd3>;
229 l0-hvddio-pex-supply = <&max77620_sd3>;
230 l1-hvddio-pex-supply = <&max77620_sd3>;
231 l2-hvddio-pex-supply = <&max77620_sd3>;
232 l3-hvddio-pex-supply = <&max77620_sd3>;
233 l4-hvddio-pex-supply = <&max77620_sd3>;
234 l5-hvddio-pex-supply = <&max77620_sd3>;
235 l6-hvddio-pex-supply = <&max77620_sd3>;
236 vddio-pex-ctl-supply = <&max77620_sd3>;
252 nvidia,dc-flags = <TEGRA_DC_FLAG_ENABLED>;
253 nvidia,emc-clk-rate = <300000000>;
254 nvidia,fb-bpp = <32>; /* bits per pixel */
255 nvidia,fb-flags = <TEGRA_FB_FLIP_ON_PROBE>;
261 nvidia,dc-flags = <TEGRA_DC_FLAG_ENABLED>;
262 nvidia,emc-clk-rate = <300000000>;
263 nvidia,cmu-enable = <1>;
264 nvidia,fb-bpp = <32>; /* bits per pixel */
265 nvidia,fb-flags = <TEGRA_FB_FLIP_ON_PROBE>;
269 nvidia,dsi-controller-vs = <DSI_VS_1>;
273 nvidia,panel-rst-gpio = <&gpio TEGRA_GPIO(V, 2) 0>; /* PV2 */
274 nvidia,panel-bl-pwm-gpio = <&gpio TEGRA_GPIO(V, 0) 0>; /* PV0 */
275 nvidia,dsi-te-gpio = <&gpio TEGRA_GPIO(Y, 2) 0>;
279 nvidia,dsi-dpd-pads = <DSIC_DPD_EN DSID_DPD_EN>;
280 nvidia,panel-rst-gpio = <&gpio TEGRA_GPIO(V, 2) 0>; /* PV2 */
281 nvidia,panel-bl-pwm-gpio = <&gpio TEGRA_GPIO(V, 0) 0>; /* PV0 */
283 nvidia,out-flags = <TEGRA_DC_OUT_CONTINUOUS_MODE TEGRA_DC_OUT_INITIALIZED_MODE>;
298 compatible = "nvidia,tegra-audio-t210ref-mobile-rt5639";
299 nvidia,model = "tegra-snd-t210ref-mobile-rt5639";
300 nvidia,ldo-gpios = <&gpio TEGRA_GPIO(BB, 3) GPIO_ACTIVE_HIGH>;
301 nvidia,hp-det-gpios = <&gpio TEGRA_GPIO(E, 6) GPIO_ACTIVE_HIGH>;
303 nvidia,num-codec-link = <4>;
305 nvidia,audio-routing =
306 "x Headphone Jack", "x HPOL",
307 "x Headphone Jack", "x HPOR",
308 "x Int Spk", "x SPORP",
309 "x Int Spk", "x SPORN",
310 "x Int Spk", "x SPOLP",
311 "x Int Spk", "x SPOLN",
312 "x micbias1", "x Mic Jack",
313 "x IN2P", "x Mic Jack",
314 "x IN2P", "x Mic Jack",
315 "x DMIC L1", "x Int Mic",
316 "x DMIC L2", "x Int Mic",
317 "x DMIC R1", "x Int Mic",
318 "x DMIC R2", "x Int Mic",
319 "y Headphone", "y OUT",
321 "z Headphone", "z OUT",
325 nvidia,xbar = <&tegra_axbar>;
328 link-name = "rt5639-playback";
329 cpu-dai = <&tegra_i2s1>;
330 codec-dai = <&rt5639>;
331 cpu-dai-name = "I2S1";
332 codec-dai-name = "rt5639-aif1";
336 bitclock-noninversion;
338 bit-format = "s16_le";
345 link-name = "spdif-dit-1";
346 cpu-dai = <&tegra_i2s2>;
347 codec-dai = <&spdif_dit1>;
348 cpu-dai-name = "I2S2";
349 codec-dai-name = "dit-hifi";
355 bit-format = "s16_le";
362 link-name = "spdif-dit-2";
363 cpu-dai = <&tegra_dmic2>;
364 codec-dai = <&spdif_dit2>;
365 cpu-dai-name = "DMIC2";
366 codec-dai-name = "dit-hifi";
368 bit-format = "s16_le";
374 link-name = "spdif-dit-3";
375 cpu-dai = <&tegra_i2s3>;
376 codec-dai = <&spdif_dit3>;
377 cpu-dai-name = "I2S3";
378 codec-dai-name = "dit-hifi";
382 bitclock-noninversion;
384 bit-format = "s16_le";
396 plugin-name = "mp3-dec1";
397 firmware-name = "nvmp3dec.elf";
398 widget-name = "MP3-DEC1";
401 plugin-name = "spkprot";
402 firmware-name = "nvspkprot.elf";
403 widget-name = "SPKPROT-SW";
407 firmware-name = "nvsrc.elf";
411 plugin-name = "aac-dec1";
412 firmware-name = "nvaacdec.elf";
413 widget-name = "AAC-DEC1";
417 firmware-name = "libnvaecfx.elf";
419 param-type = <2>; /* SNDRV_CTL_ELEM_TYPE_INTEGER */
431 nvidia,charging-supported;
441 xusb_pad_ctl: xusb_padctl { /* Put common control config here */
442 nvidia,ss_portmap = <0x21>;
443 nvidia,lane_owner = <0xff56>; /* Use 0xF to disable lane assign */
444 nvidia,lane-map = <0x14>;
445 nvidia,enable-sata-port;
450 /* nvidia,uses_external_pmic;
451 /* nvidia,gpio_controls_muxed_ss_lanes; */
452 nvidia,gpio_ss1_sata = <0>;
453 nvidia,ulpicap = <0>; /* No ulpi support. can we remove */
454 nvidia,portmap = <0x0e02>;
455 nvidia,common_padctl = <&xusb_pad_ctl>;
460 nvidia,common_padctl = <&xusb_pad_ctl>;
461 nvidia,portmap = <0x0108>;
468 nvidia,common_padctl = <&xusb_pad_ctl>;
474 gpios = <&gpio TEGRA_GPIO(X, 7) GPIO_ACTIVE_LOW>;
496 vdd_fan: regulator@13 {
502 compatible = "pwm-fan";
503 shared_data = <&pwm_fan_shared_data>;
504 active_pwm = <0 80 120 160 255 255 255 255 255 255>;
509 accelerometer_matrix = [ff 00 00 00 ff 00 00 00 01];
510 gyroscope_matrix = [ff 00 00 00 ff 00 00 00 01];
513 magnetic_field_matrix = [00 ff 00 01 00 00 00 00 01];
515 rt5639: rt5639.0-001c@1c {
516 compatible = "realtek,rt5639";
522 avdd_dsi_csi-supply = <&max77620_gpio7>;
526 compatible = "nvidia,tegra124-sysedp";
528 nvidia,min_budget = <0>;
529 nvidia,initial_budget = <40000>;
532 sysedp_reactive_capping@3 {
533 compatible = "nvidia,tegra124-sysedp_reactive_capping";
534 nvidia,max_capping_mw = <15000>;
535 nvidia,step_alarm_mw = <1000>;
536 nvidia,step_relax_mw = <500>;
537 nvidia,relax_ms = <250>;
538 interrupt-parent = <&soctherm>;
539 interrupts = <3 0x2002>;
541 nvidia,name = "batmon_oc3";
545 sysedp-dynamic-capping {
546 compatible = "nvidia,tegra124-sysedp-dynamic-capping";
547 nvidia,throttle_depth = <75>;
548 nvidia,cap_method = <1>;
552 edp-consumer-name = "primary-wifi";
557 nvidia,edp_limit = <25000>;
562 nvidia,edp_limit = <25000>;
565 soctherm@0x700E2000 {
567 device_type = "throttlectl";
573 count_threshold = <100>;
575 throttle_dev = <&{/soctherm@0x700E2000/throttle_dev@cpu_medium}
576 &{/soctherm@0x700E2000/throttle_dev@gpu_medium}>;
579 device_type = "throttlectl";
585 count_threshold = <15>;
587 throttle_dev = <&{/soctherm@0x700E2000/throttle_dev@cpu_medium}
588 &{/soctherm@0x700E2000/throttle_dev@gpu_medium}>;
590 throttle_dev@cpu_medium {
596 throttle_dev@gpu_medium {
597 level = "medium_throttling";
603 thermal-zone-params {
604 governor-name = "pid_thermal_gov";
605 max_err_temp = <9000>;
606 max_err_gain = <1000>;
609 up_compensation = <20>;
610 down_compensation = <20>;
614 temperature = <102500>;
620 temperature = <98500>;
626 temperature = <89000>;
634 trip = <&{/thermal-zones/CPU-therm/trips/cpu_critical}>;
635 cdev-type = "tegra-shutdown";
636 cooling-device = <&{/soctherm@0x700E2000/throttle@critical}
637 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
640 trip = <&{/thermal-zones/CPU-therm/trips/cpu_heavy}>;
641 cdev-type = "tegra-heavy";
642 cooling-device = <&{/soctherm@0x700E2000/throttle@heavy}
643 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
646 trip = <&{/thermal-zones/CPU-therm/trips/cpu_throttle}>;
647 cdev-type = "cpu-balanced";
648 cooling-device = <&{/bthrot_cdev/cpu_balanced}
649 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
654 thermal-zone-params {
655 governor-name = "pid_thermal_gov";
656 max_err_temp = <9000>;
657 max_err_gain = <1000>;
660 up_compensation = <20>;
661 down_compensation = <20>;
665 temperature = <103000>;
671 temperature = <100000>;
677 temperature = <90500>;
685 trip = <&{/thermal-zones/GPU-therm/trips/gpu_critical}>;
686 cdev-type = "tegra-shutdown";
687 cooling-device = <&{/soctherm@0x700E2000/throttle@critical}
688 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
691 trip = <&{/thermal-zones/GPU-therm/trips/gpu_heavy}>;
692 cdev-type = "tegra-heavy";
693 cooling-device = <&{/soctherm@0x700E2000/throttle@heavy}
694 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
697 trip = <&{/thermal-zones/GPU-therm/trips/gpu_throttle}>;
698 cdev-type = "gpu-balanced";
699 cooling-device = <&{/bthrot_cdev/gpu_balanced}
700 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
705 thermal-zone-params {
706 governor-name = "pid_thermal_gov";
707 max_err_temp = <9000>;
708 max_err_gain = <1000>;
711 up_compensation = <20>;
712 down_compensation = <20>;
716 temperature = <103000>; /* must be same as GPU's critical temp */
722 temperature = <101500>;
728 temperature = <92000>;
736 trip = <&{/thermal-zones/LCPU-therm/trips/lcpu_critical}>;
737 cdev-type = "tegra-shutdown";
738 cooling-device = <&{/soctherm@0x700E2000/throttle@critical}
739 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
742 trip = <&{/thermal-zones/LCPU-therm/trips/lcpu_heavy}>;
743 cdev-type = "tegra-heavy";
744 cooling-device = <&{/soctherm@0x700E2000/throttle@heavy}
745 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
748 trip = <&{/thermal-zones/LCPU-therm/trips/lcpu_throttle}>;
749 cdev-type = "cpu-balanced";
750 cooling-device = <&{/bthrot_cdev/cpu_balanced}
751 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
756 thermal-zone-params {
757 governor-name = "pid_thermal_gov";
758 max_err_temp = <9000>;
759 max_err_gain = <1000>;
762 up_compensation = <20>;
763 down_compensation = <20>;
779 custom_locale = "XV";
780 custom_locale_rev = <997>;
784 custom_locale = "Q2";
785 custom_locale_rev = <998>;
789 custom_locale = "Q2";
790 custom_locale_rev = <998>;
794 custom_locale = "E0";
795 custom_locale_rev = <994>;
799 custom_locale = "E0";
800 custom_locale_rev = <994>;
804 custom_locale = "E0";
805 custom_locale_rev = <994>;
809 custom_locale = "E0";
810 custom_locale_rev = <994>;
814 custom_locale = "E0";
815 custom_locale_rev = <994>;
819 custom_locale = "E0";
820 custom_locale_rev = <994>;
824 custom_locale = "E0";
825 custom_locale_rev = <994>;
829 custom_locale = "E0";
830 custom_locale_rev = <994>;
834 custom_locale = "E0";
835 custom_locale_rev = <994>;
839 custom_locale = "E0";
840 custom_locale_rev = <994>;
844 custom_locale = "E0";
845 custom_locale_rev = <994>;
849 custom_locale = "E0";
850 custom_locale_rev = <994>;
854 custom_locale = "E0";
855 custom_locale_rev = <994>;
859 custom_locale = "E0";
860 custom_locale_rev = <994>;
864 custom_locale = "E0";
865 custom_locale_rev = <994>;
869 custom_locale = "E0";
870 custom_locale_rev = <994>;
874 custom_locale = "E0";
875 custom_locale_rev = <994>;
879 custom_locale = "E0";
880 custom_locale_rev = <994>;
884 custom_locale = "E0";
885 custom_locale_rev = <994>;
889 custom_locale = "E0";
890 custom_locale_rev = <994>;
894 custom_locale = "E0";
895 custom_locale_rev = <994>;
899 custom_locale = "E0";
900 custom_locale_rev = <994>;
904 custom_locale = "E0";
905 custom_locale_rev = <994>;
909 custom_locale = "Q2";
910 custom_locale_rev = <998>;