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"
53 compatible = "nvidia,jetson-e", "nvidia,tegra210";
54 nvidia,dtsfilename = __FILE__;
56 nvidia,boardids = "2595:0000:A0";
57 nvidia,proc-boardid = "2595:0000:A0";
58 nvidia,pmu-boardid = "2595:0000:A0";
66 nvidia,invert-interrupt;
69 nvidia,io-pad-init-voltage = <IO_PAD_VOLTAGE_1_8V>;
73 nvidia,io-pad-init-voltage = <IO_PAD_VOLTAGE_1_8V>;
77 nvidia,deep-power-down-enable;
83 device_type = "memory";
84 reg = < 0x0 0x80000000 0x0 0x80000000 >;
87 sdhci@700b0600 { /* SDMMC4 for EMMC */
94 sdhci@700b0200 { /* SDMMC2 for Wifi */
100 sdhci@700b0000 { /* SDMMC1 for uSD card */
103 nvidia,update-pinctrl-settings;
104 pinctrl-names = "sdmmc_schmitt_enable", "sdmmc_schmitt_disable", "sdmmc_clk_schmitt_enable", "sdmmc_clk_schmitt_disable", "sdmmc_drv_code", "sdmmc_default_drv_code";
105 pinctrl-0 = <&sdmmc1_schmitt_enable_state>;
106 pinctrl-1 = <&sdmmc1_schmitt_disable_state>;
107 pinctrl-2 = <&sdmmc1_clk_schmitt_enable_state>;
108 pinctrl-3 = <&sdmmc1_clk_schmitt_disable_state>;
109 pinctrl-4 = <&sdmmc1_drv_code_1_8V>;
110 pinctrl-5 = <&sdmmc1_default_drv_code_3_3V>;
112 max-clk-limit = <180000000>;
113 nvidia,sdmmc-pin-gpios = <
114 &gpio TEGRA_GPIO(M, 0) 0
115 &gpio TEGRA_GPIO(M, 1) 0
116 &gpio TEGRA_GPIO(M, 2) 0
117 &gpio TEGRA_GPIO(M, 3) 0
118 &gpio TEGRA_GPIO(M, 4) 0
119 &gpio TEGRA_GPIO(M, 5) 0
125 interrupts = <0 24 0x04
141 pinctrl-names = "dap_active", "dap_inactive";
144 regulator-supplies = "vdd-1v8-audio-hv", "vdd-1v8-audio-hv-bias";
145 vdd-1v8-audio-hv-supply = <&max77620_sd3>;
146 vdd-1v8-audio-hv-bias-supply = <&max77620_sd3>;
150 pinctrl-names = "dap_active", "dap_inactive";
153 regulator-supplies = "vddio-dmic";
154 vddio-dmic-supply = <&max77620_sd3>;
158 pinctrl-names = "dap_active", "dap_inactive";
161 regulator-supplies = "vdd-1v8-spi-hv", "vdd-1v8-spi-hv-bias";
162 vdd-1v8-spi-hv-supply = <&max77620_sd3>;
163 vdd-1v8-spi-hv-bias-supply = <&max77620_sd3>;
169 compatible = "nvidia,tegra210-ahci-sata";
170 nvidia,enable-sata-port;
171 nvidia,sata-power-war;
176 compatible = "pwm-backlight";
178 panel-s-wqxga-10-1-bl {
179 pwms = <&tegra_pwm 0 1000000>;
181 panel-a-wuxga-8-0-bl {
182 pwms = <&tegra_pwm 0 40161>;
192 vana-supply = <&max77620_ldo3>;
193 vif-supply = <&en_vdd_cam>;
194 cam2-gpios = <&gpio CAM_PWDN_RQ 0>;
198 vdd-supply = <&max77620_ldo3>;
199 vif-supply = <&en_vdd_cam>;
200 af-pwdn-gpios = <&gpio CAM_PWDN_AF 0>;
206 vana-supply = <&max77620_ldo3>;
207 vif-supply = <&en_vdd_cam>;
208 cam2-gpios = <&gpio CAM_PWDN_FQ 0>;
217 nvidia,wake-gpio = <&gpio TEGRA_GPIO(A, 2) 0>;
218 nvidia,lane-map = <0x14>;
219 dvdd-pex-pll-supply = <&max77620_ldo1>;
220 l0-dvddio-pex-supply = <&max77620_ldo1>;
221 l1-dvddio-pex-supply = <&max77620_ldo1>;
222 l2-dvddio-pex-supply = <&max77620_ldo1>;
223 l3-dvddio-pex-supply = <&max77620_ldo1>;
224 l4-dvddio-pex-supply = <&max77620_ldo1>;
225 l5-dvddio-pex-supply = <&max77620_ldo1>;
226 l6-dvddio-pex-supply = <&max77620_ldo1>;
227 hvdd-pex-pll-e-supply = <&max77620_sd3>;
228 l0-hvddio-pex-supply = <&max77620_sd3>;
229 l1-hvddio-pex-supply = <&max77620_sd3>;
230 l2-hvddio-pex-supply = <&max77620_sd3>;
231 l3-hvddio-pex-supply = <&max77620_sd3>;
232 l4-hvddio-pex-supply = <&max77620_sd3>;
233 l5-hvddio-pex-supply = <&max77620_sd3>;
234 l6-hvddio-pex-supply = <&max77620_sd3>;
235 vddio-pex-ctl-supply = <&max77620_sd3>;
251 nvidia,dc-flags = <TEGRA_DC_FLAG_ENABLED>;
252 nvidia,emc-clk-rate = <300000000>;
253 nvidia,fb-bpp = <32>; /* bits per pixel */
254 nvidia,fb-flags = <TEGRA_FB_FLIP_ON_PROBE>;
260 nvidia,dc-flags = <TEGRA_DC_FLAG_ENABLED>;
261 nvidia,emc-clk-rate = <300000000>;
262 nvidia,cmu-enable = <1>;
263 nvidia,fb-bpp = <32>; /* bits per pixel */
264 nvidia,fb-flags = <TEGRA_FB_FLIP_ON_PROBE>;
268 nvidia,dsi-controller-vs = <DSI_VS_1>;
272 nvidia,panel-rst-gpio = <&gpio TEGRA_GPIO(V, 2) 0>; /* PV2 */
273 nvidia,panel-bl-pwm-gpio = <&gpio TEGRA_GPIO(V, 0) 0>; /* PV0 */
274 nvidia,dsi-te-gpio = <&gpio TEGRA_GPIO(Y, 2) 0>;
278 nvidia,dsi-dpd-pads = <DSIC_DPD_EN DSID_DPD_EN>;
279 nvidia,panel-rst-gpio = <&gpio TEGRA_GPIO(V, 2) 0>; /* PV2 */
280 nvidia,panel-bl-pwm-gpio = <&gpio TEGRA_GPIO(V, 0) 0>; /* PV0 */
282 nvidia,out-flags = <TEGRA_DC_OUT_CONTINUOUS_MODE TEGRA_DC_OUT_INITIALIZED_MODE>;
297 compatible = "nvidia,tegra-audio-t210ref-mobile-rt5639";
298 nvidia,model = "tegra-snd-t210ref-mobile-rt5639";
299 nvidia,ldo-gpios = <&gpio TEGRA_GPIO(BB, 3) GPIO_ACTIVE_HIGH>;
300 nvidia,hp-det-gpios = <&gpio TEGRA_GPIO(E, 6) GPIO_ACTIVE_HIGH>;
302 nvidia,num-codec-link = <4>;
304 nvidia,audio-routing =
305 "x Headphone Jack", "x HPOL",
306 "x Headphone Jack", "x HPOR",
307 "x Int Spk", "x SPORP",
308 "x Int Spk", "x SPORN",
309 "x Int Spk", "x SPOLP",
310 "x Int Spk", "x SPOLN",
311 "x micbias1", "x Mic Jack",
312 "x IN2P", "x Mic Jack",
313 "x IN2P", "x Mic Jack",
314 "x DMIC L1", "x Int Mic",
315 "x DMIC L2", "x Int Mic",
316 "x DMIC R1", "x Int Mic",
317 "x DMIC R2", "x Int Mic",
318 "y Headphone", "y OUT",
320 "z Headphone", "z OUT",
324 nvidia,xbar = <&tegra_axbar>;
327 link-name = "rt5639-playback";
328 cpu-dai = <&tegra_i2s1>;
329 codec-dai = <&rt5639>;
330 cpu-dai-name = "I2S1";
331 codec-dai-name = "rt5639-aif1";
335 bitclock-noninversion;
337 bit-format = "s16_le";
344 link-name = "spdif-dit-1";
345 cpu-dai = <&tegra_i2s2>;
346 codec-dai = <&spdif_dit1>;
347 cpu-dai-name = "I2S2";
348 codec-dai-name = "dit-hifi";
354 bit-format = "s16_le";
361 link-name = "spdif-dit-2";
362 cpu-dai = <&tegra_dmic2>;
363 codec-dai = <&spdif_dit2>;
364 cpu-dai-name = "DMIC2";
365 codec-dai-name = "dit-hifi";
367 bit-format = "s16_le";
373 link-name = "spdif-dit-3";
374 cpu-dai = <&tegra_i2s3>;
375 codec-dai = <&spdif_dit3>;
376 cpu-dai-name = "I2S3";
377 codec-dai-name = "dit-hifi";
381 bitclock-noninversion;
383 bit-format = "s16_le";
395 plugin-name = "mp3-dec1";
396 firmware-name = "nvmp3dec.elf";
397 widget-name = "MP3-DEC1";
400 plugin-name = "spkprot";
401 firmware-name = "nvspkprot.elf";
402 widget-name = "SPKPROT-SW";
406 firmware-name = "nvsrc.elf";
410 plugin-name = "aac-dec1";
411 firmware-name = "nvaacdec.elf";
412 widget-name = "AAC-DEC1";
416 firmware-name = "libnvaecfx.elf";
418 param-type = <2>; /* SNDRV_CTL_ELEM_TYPE_INTEGER */
430 nvidia,charging-supported;
440 xusb_pad_ctl: xusb_padctl { /* Put common control config here */
441 nvidia,ss_portmap = <0x21>;
442 nvidia,lane_owner = <0xff56>; /* Use 0xF to disable lane assign */
443 nvidia,lane-map = <0x14>;
444 nvidia,enable-sata-port;
449 /* nvidia,uses_external_pmic;
450 /* nvidia,gpio_controls_muxed_ss_lanes; */
451 nvidia,gpio_ss1_sata = <0>;
452 nvidia,ulpicap = <0>; /* No ulpi support. can we remove */
453 nvidia,portmap = <0x0e02>;
454 nvidia,common_padctl = <&xusb_pad_ctl>;
459 nvidia,common_padctl = <&xusb_pad_ctl>;
460 nvidia,portmap = <0x0108>;
467 nvidia,common_padctl = <&xusb_pad_ctl>;
473 gpios = <&gpio TEGRA_GPIO(X, 7) GPIO_ACTIVE_LOW>;
495 vdd_fan: regulator@13 {
501 compatible = "pwm-fan";
502 shared_data = <&pwm_fan_shared_data>;
503 active_pwm = <0 80 120 160 255 255 255 255 255 255>;
508 accelerometer_matrix = [ff 00 00 00 ff 00 00 00 01];
509 gyroscope_matrix = [ff 00 00 00 ff 00 00 00 01];
512 magnetic_field_matrix = [00 ff 00 01 00 00 00 00 01];
514 rt5639: rt5639.0-001c@1c {
515 compatible = "realtek,rt5639";
521 avdd_dsi_csi-supply = <&max77620_gpio7>;
525 compatible = "nvidia,tegra124-sysedp";
527 nvidia,min_budget = <0>;
528 nvidia,initial_budget = <40000>;
531 sysedp_reactive_capping@3 {
532 compatible = "nvidia,tegra124-sysedp_reactive_capping";
533 nvidia,max_capping_mw = <15000>;
534 nvidia,step_alarm_mw = <1000>;
535 nvidia,step_relax_mw = <500>;
536 nvidia,relax_ms = <250>;
537 interrupt-parent = <&soctherm>;
538 interrupts = <3 0x2002>;
540 nvidia,name = "batmon_oc3";
544 sysedp-dynamic-capping {
545 compatible = "nvidia,tegra124-sysedp-dynamic-capping";
546 nvidia,throttle_depth = <75>;
547 nvidia,cap_method = <1>;
551 edp-consumer-name = "primary-wifi";
556 nvidia,edp_limit = <25000>;
561 nvidia,edp_limit = <25000>;
564 soctherm@0x700E2000 {
566 device_type = "throttlectl";
572 count_threshold = <100>;
574 throttle_dev = <&{/soctherm@0x700E2000/throttle_dev@cpu_medium}
575 &{/soctherm@0x700E2000/throttle_dev@gpu_medium}>;
578 device_type = "throttlectl";
584 count_threshold = <15>;
586 throttle_dev = <&{/soctherm@0x700E2000/throttle_dev@cpu_medium}
587 &{/soctherm@0x700E2000/throttle_dev@gpu_medium}>;
589 throttle_dev@cpu_medium {
595 throttle_dev@gpu_medium {
596 level = "medium_throttling";
602 thermal-zone-params {
603 governor-name = "pid_thermal_gov";
604 max_err_temp = <9000>;
605 max_err_gain = <1000>;
608 up_compensation = <20>;
609 down_compensation = <20>;
613 temperature = <102500>;
619 temperature = <98500>;
625 temperature = <89000>;
633 trip = <&{/thermal-zones/CPU-therm/trips/cpu_critical}>;
634 cdev-type = "tegra-shutdown";
635 cooling-device = <&{/soctherm@0x700E2000/throttle@critical}
636 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
639 trip = <&{/thermal-zones/CPU-therm/trips/cpu_heavy}>;
640 cdev-type = "tegra-heavy";
641 cooling-device = <&{/soctherm@0x700E2000/throttle@heavy}
642 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
645 trip = <&{/thermal-zones/CPU-therm/trips/cpu_throttle}>;
646 cdev-type = "cpu-balanced";
647 cooling-device = <&{/bthrot_cdev/cpu_balanced}
648 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
653 thermal-zone-params {
654 governor-name = "pid_thermal_gov";
655 max_err_temp = <9000>;
656 max_err_gain = <1000>;
659 up_compensation = <20>;
660 down_compensation = <20>;
664 temperature = <103000>;
670 temperature = <100000>;
676 temperature = <90500>;
684 trip = <&{/thermal-zones/GPU-therm/trips/gpu_critical}>;
685 cdev-type = "tegra-shutdown";
686 cooling-device = <&{/soctherm@0x700E2000/throttle@critical}
687 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
690 trip = <&{/thermal-zones/GPU-therm/trips/gpu_heavy}>;
691 cdev-type = "tegra-heavy";
692 cooling-device = <&{/soctherm@0x700E2000/throttle@heavy}
693 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
696 trip = <&{/thermal-zones/GPU-therm/trips/gpu_throttle}>;
697 cdev-type = "gpu-balanced";
698 cooling-device = <&{/bthrot_cdev/gpu_balanced}
699 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
704 thermal-zone-params {
705 governor-name = "pid_thermal_gov";
706 max_err_temp = <9000>;
707 max_err_gain = <1000>;
710 up_compensation = <20>;
711 down_compensation = <20>;
715 temperature = <103000>; /* must be same as GPU's critical temp */
721 temperature = <101500>;
727 temperature = <92000>;
735 trip = <&{/thermal-zones/LCPU-therm/trips/lcpu_critical}>;
736 cdev-type = "tegra-shutdown";
737 cooling-device = <&{/soctherm@0x700E2000/throttle@critical}
738 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
741 trip = <&{/thermal-zones/LCPU-therm/trips/lcpu_heavy}>;
742 cdev-type = "tegra-heavy";
743 cooling-device = <&{/soctherm@0x700E2000/throttle@heavy}
744 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
747 trip = <&{/thermal-zones/LCPU-therm/trips/lcpu_throttle}>;
748 cdev-type = "cpu-balanced";
749 cooling-device = <&{/bthrot_cdev/cpu_balanced}
750 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
755 thermal-zone-params {
756 governor-name = "pid_thermal_gov";
757 max_err_temp = <9000>;
758 max_err_gain = <1000>;
761 up_compensation = <20>;
762 down_compensation = <20>;
778 custom_locale = "XV";
779 custom_locale_rev = <997>;
783 custom_locale = "Q2";
784 custom_locale_rev = <998>;
788 custom_locale = "Q2";
789 custom_locale_rev = <998>;
793 custom_locale = "E0";
794 custom_locale_rev = <994>;
798 custom_locale = "E0";
799 custom_locale_rev = <994>;
803 custom_locale = "E0";
804 custom_locale_rev = <994>;
808 custom_locale = "E0";
809 custom_locale_rev = <994>;
813 custom_locale = "E0";
814 custom_locale_rev = <994>;
818 custom_locale = "E0";
819 custom_locale_rev = <994>;
823 custom_locale = "E0";
824 custom_locale_rev = <994>;
828 custom_locale = "E0";
829 custom_locale_rev = <994>;
833 custom_locale = "E0";
834 custom_locale_rev = <994>;
838 custom_locale = "E0";
839 custom_locale_rev = <994>;
843 custom_locale = "E0";
844 custom_locale_rev = <994>;
848 custom_locale = "E0";
849 custom_locale_rev = <994>;
853 custom_locale = "E0";
854 custom_locale_rev = <994>;
858 custom_locale = "E0";
859 custom_locale_rev = <994>;
863 custom_locale = "E0";
864 custom_locale_rev = <994>;
868 custom_locale = "E0";
869 custom_locale_rev = <994>;
873 custom_locale = "E0";
874 custom_locale_rev = <994>;
878 custom_locale = "E0";
879 custom_locale_rev = <994>;
883 custom_locale = "E0";
884 custom_locale_rev = <994>;
888 custom_locale = "E0";
889 custom_locale_rev = <994>;
893 custom_locale = "E0";
894 custom_locale_rev = <994>;
898 custom_locale = "E0";
899 custom_locale_rev = <994>;
903 custom_locale = "E0";
904 custom_locale_rev = <994>;
908 custom_locale = "Q2";
909 custom_locale_rev = <998>;