1 #include <dt-bindings/input/input.h>
2 #include "tegra124.dtsi"
6 rtc0 = "/i2c@7000d000/pmic@40";
7 rtc1 = "/rtc@7000e000";
12 stdout-path = "serial0:115200n8";
16 reg = <0x0 0x80000000 0x0 0x80000000>;
23 vdd-supply = <&vdd_3v3_hdmi>;
24 pll-supply = <&vdd_hdmi_pll>;
25 hdmi-supply = <&vdd_5v0_hdmi>;
27 nvidia,ddc-i2c-bus = <&hdmi_ddc>;
29 <&gpio TEGRA_GPIO(N, 7) GPIO_ACTIVE_HIGH>;
35 nvidia,dpaux = <&dpaux>;
36 nvidia,panel = <&panel>;
40 vdd-supply = <&vdd_3v3_panel>;
48 vdd-supply = <&vdd_gpu>;
52 /* Debug connector on the bottom of the board near SD card. */
62 clock-frequency = <100000>;
64 acodec: audio-codec@10 {
65 compatible = "maxim,max98090";
67 interrupt-parent = <&gpio>;
68 interrupts = <TEGRA_GPIO(H, 4) GPIO_ACTIVE_HIGH>;
71 temperature-sensor@4c {
72 compatible = "ti,tmp451";
74 interrupt-parent = <&gpio>;
75 interrupts = <TEGRA_GPIO(I, 6) IRQ_TYPE_LEVEL_LOW>;
77 #thermal-sensor-cells = <1>;
83 clock-frequency = <100000>;
86 compatible = "elan,ekth3000";
88 interrupt-parent = <&gpio>;
89 interrupts = <TEGRA_GPIO(W, 3) IRQ_TYPE_EDGE_FALLING>;
96 clock-frequency = <400000>;
99 compatible = "infineon,slb9645tt";
104 hdmi_ddc: i2c@7000c700 {
106 clock-frequency = <100000>;
111 clock-frequency = <400000>;
114 compatible = "ams,as3722";
116 interrupts = <0 86 IRQ_TYPE_LEVEL_HIGH>;
118 ams,system-power-controller;
120 #interrupt-cells = <2>;
121 interrupt-controller;
126 pinctrl-names = "default";
127 pinctrl-0 = <&as3722_default>;
129 as3722_default: pinmux {
143 pins = "gpio2", "gpio4", "gpio7";
149 pins = "gpio3", "gpio6";
155 function = "clk32k-out";
161 vsup-sd2-supply = <&vdd_5v0_sys>;
162 vsup-sd3-supply = <&vdd_5v0_sys>;
163 vsup-sd4-supply = <&vdd_5v0_sys>;
164 vsup-sd5-supply = <&vdd_5v0_sys>;
165 vin-ldo0-supply = <&vdd_1v35_lp0>;
166 vin-ldo1-6-supply = <&vdd_3v3_run>;
167 vin-ldo2-5-7-supply = <&vddio_1v8>;
168 vin-ldo3-4-supply = <&vdd_3v3_sys>;
169 vin-ldo9-10-supply = <&vdd_5v0_sys>;
170 vin-ldo11-supply = <&vdd_3v3_run>;
173 regulator-name = "+VDD_CPU_AP";
174 regulator-min-microvolt = <700000>;
175 regulator-max-microvolt = <1350000>;
176 regulator-min-microamp = <3500000>;
177 regulator-max-microamp = <3500000>;
180 ams,ext-control = <2>;
184 regulator-name = "+VDD_CORE";
185 regulator-min-microvolt = <700000>;
186 regulator-max-microvolt = <1350000>;
187 regulator-min-microamp = <2500000>;
188 regulator-max-microamp = <4000000>;
191 ams,ext-control = <1>;
195 regulator-name = "+1.35V_LP0(sd2)";
196 regulator-min-microvolt = <1350000>;
197 regulator-max-microvolt = <1350000>;
203 regulator-name = "+1.35V_LP0(sd3)";
204 regulator-min-microvolt = <1350000>;
205 regulator-max-microvolt = <1350000>;
211 regulator-name = "+1.05V_RUN";
212 regulator-min-microvolt = <1050000>;
213 regulator-max-microvolt = <1050000>;
217 regulator-name = "+1.8V_VDDIO";
218 regulator-min-microvolt = <1800000>;
219 regulator-max-microvolt = <1800000>;
224 regulator-name = "+VDD_GPU_AP";
225 regulator-min-microvolt = <650000>;
226 regulator-max-microvolt = <1200000>;
227 regulator-min-microamp = <3500000>;
228 regulator-max-microamp = <3500000>;
233 avdd_1v05_run: ldo0 {
234 regulator-name = "+1.05V_RUN_AVDD";
235 regulator-min-microvolt = <1050000>;
236 regulator-max-microvolt = <1050000>;
239 ams,ext-control = <1>;
243 regulator-name = "+1.8V_RUN_CAM";
244 regulator-min-microvolt = <1800000>;
245 regulator-max-microvolt = <1800000>;
249 regulator-name = "+1.2V_GEN_AVDD";
250 regulator-min-microvolt = <1200000>;
251 regulator-max-microvolt = <1200000>;
257 regulator-name = "+1.00V_LP0_VDD_RTC";
258 regulator-min-microvolt = <1000000>;
259 regulator-max-microvolt = <1000000>;
266 regulator-name = "+3.3V_RUN_CAM";
267 regulator-min-microvolt = <2800000>;
268 regulator-max-microvolt = <2800000>;
272 regulator-name = "+1.2V_RUN_CAM_FRONT";
273 regulator-min-microvolt = <1200000>;
274 regulator-max-microvolt = <1200000>;
278 regulator-name = "+VDDIO_SDMMC3";
279 regulator-min-microvolt = <1800000>;
280 regulator-max-microvolt = <3300000>;
284 regulator-name = "+1.05V_RUN_CAM_REAR";
285 regulator-min-microvolt = <1050000>;
286 regulator-max-microvolt = <1050000>;
290 regulator-name = "+2.8V_RUN_TOUCH";
291 regulator-min-microvolt = <2800000>;
292 regulator-max-microvolt = <2800000>;
296 regulator-name = "+2.8V_RUN_CAM_AF";
297 regulator-min-microvolt = <2800000>;
298 regulator-max-microvolt = <2800000>;
302 regulator-name = "+1.8V_RUN_VPP_FUSE";
303 regulator-min-microvolt = <1800000>;
304 regulator-max-microvolt = <1800000>;
314 compatible = "google,cros-ec-spi";
315 spi-max-frequency = <3000000>;
316 interrupt-parent = <&gpio>;
317 interrupts = <TEGRA_GPIO(C, 7) IRQ_TYPE_LEVEL_LOW>;
320 google,cros-ec-spi-msg-delay = <2000>;
323 compatible = "google,cros-ec-i2c-tunnel";
324 #address-cells = <1>;
327 google,remote-bus = <0>;
330 compatible = "ti,bq24735";
332 interrupt-parent = <&gpio>;
333 interrupts = <TEGRA_GPIO(J, 0)
335 ti,ac-detect-gpios = <&gpio
340 battery: sbs-battery@b {
341 compatible = "sbs,sbs-battery";
343 sbs,i2c-retry-count = <2>;
344 sbs,poll-retry-count = <10>;
345 power-supplies = <&charger>;
353 spi-max-frequency = <25000000>;
356 compatible = "winbond,w25q32dw";
357 spi-max-frequency = <25000000>;
363 nvidia,invert-interrupt;
364 nvidia,suspend-mode = <0>;
365 nvidia,cpu-pwr-good-time = <500>;
366 nvidia,cpu-pwr-off-time = <300>;
367 nvidia,core-pwr-good-time = <641 3845>;
368 nvidia,core-pwr-off-time = <61036>;
369 nvidia,core-power-req-active-high;
370 nvidia,sys-clock-req-active-high;
378 phys = <&{/padctl@7009f000/pads/usb2/lanes/usb2-0}>, /* 1st USB A */
379 <&{/padctl@7009f000/pads/usb2/lanes/usb2-1}>, /* Internal USB */
380 <&{/padctl@7009f000/pads/usb2/lanes/usb2-2}>, /* 2nd USB A */
381 <&{/padctl@7009f000/pads/pcie/lanes/pcie-0}>, /* 1st USB A */
382 <&{/padctl@7009f000/pads/pcie/lanes/pcie-1}>; /* 2nd USB A */
383 phy-names = "usb2-0", "usb2-1", "usb2-2", "usb3-0", "usb3-1";
385 avddio-pex-supply = <&vdd_1v05_run>;
386 dvddio-pex-supply = <&vdd_1v05_run>;
387 avdd-usb-supply = <&vdd_3v3_lp0>;
388 avdd-pll-utmip-supply = <&vddio_1v8>;
389 avdd-pll-erefe-supply = <&avdd_1v05_run>;
390 avdd-usb-ss-pll-supply = <&vdd_1v05_run>;
391 hvdd-usb-ss-supply = <&vdd_3v3_lp0>;
392 hvdd-usb-ss-pll-e-supply = <&vdd_3v3_lp0>;
406 nvidia,function = "xusb";
411 nvidia,function = "xusb";
416 nvidia,function = "xusb";
427 nvidia,function = "usb3-ss";
432 nvidia,function = "usb3-ss";
441 vbus-supply = <&vdd_usb1_vbus>;
447 vbus-supply = <&vdd_run_cam>;
453 vbus-supply = <&vdd_usb3_vbus>;
459 nvidia,usb2-companion = <0>;
464 nvidia,usb2-companion = <1>;
470 sdhci0_pwrseq: sdhci0_pwrseq {
471 compatible = "mmc-pwrseq-simple";
473 reset-gpios = <&gpio TEGRA_GPIO(X, 7) GPIO_ACTIVE_LOW>;
476 sdhci@700b0000 { /* WiFi/BT on this bus */
481 mmc-pwrseq = <&sdhci0_pwrseq>;
482 vmmc-supply = <&vdd_3v3_lp0>;
483 vqmmc-supply = <&vddio_1v8>;
484 keep-power-in-suspend;
487 sdhci@700b0400 { /* SD Card on this bus */
489 cd-gpios = <&gpio TEGRA_GPIO(V, 2) GPIO_ACTIVE_LOW>;
490 power-gpios = <&gpio TEGRA_GPIO(R, 0) GPIO_ACTIVE_HIGH>;
493 vqmmc-supply = <&vddio_sdmmc3>;
496 sdhci@700b0600 { /* eMMC on this bus */
506 vdd-cpu-supply = <&vdd_cpu>;
507 nvidia,i2c-fs-rate = <400000>;
516 backlight: backlight {
517 compatible = "pwm-backlight";
519 enable-gpios = <&gpio TEGRA_GPIO(H, 2) GPIO_ACTIVE_HIGH>;
520 power-supply = <&vdd_led>;
521 pwms = <&pwm 1 1000000>;
523 default-brightness-level = <224>;
526 8 9 10 11 12 13 14 15
527 16 17 18 19 20 21 22 23
528 24 25 26 27 28 29 30 31
529 32 33 34 35 36 37 38 39
530 40 41 42 43 44 45 46 47
531 48 49 50 51 52 53 54 55
532 56 57 58 59 60 61 62 63
533 64 65 66 67 68 69 70 71
534 72 73 74 75 76 77 78 79
535 80 81 82 83 84 85 86 87
536 88 89 90 91 92 93 94 95
537 96 97 98 99 100 101 102 103
538 104 105 106 107 108 109 110 111
539 112 113 114 115 116 117 118 119
540 120 121 122 123 124 125 126 127
541 128 129 130 131 132 133 134 135
542 136 137 138 139 140 141 142 143
543 144 145 146 147 148 149 150 151
544 152 153 154 155 156 157 158 159
545 160 161 162 163 164 165 166 167
546 168 169 170 171 172 173 174 175
547 176 177 178 179 180 181 182 183
548 184 185 186 187 188 189 190 191
549 192 193 194 195 196 197 198 199
550 200 201 202 203 204 205 206 207
551 208 209 210 211 212 213 214 215
552 216 217 218 219 220 221 222 223
553 224 225 226 227 228 229 230 231
554 232 233 234 235 236 237 238 239
555 240 241 242 243 244 245 246 247
556 248 249 250 251 252 253 254 255
561 compatible = "simple-bus";
562 #address-cells = <1>;
566 compatible = "fixed-clock";
569 clock-frequency = <32768>;
575 vdd-cpu-supply = <&vdd_cpu>;
580 compatible = "gpio-keys";
584 gpios = <&gpio TEGRA_GPIO(R, 4) GPIO_ACTIVE_LOW>;
585 linux,input-type = <5>;
586 linux,code = <KEY_RESERVED>;
587 debounce-interval = <1>;
593 gpios = <&gpio TEGRA_GPIO(Q, 0) GPIO_ACTIVE_LOW>;
594 linux,code = <KEY_POWER>;
595 debounce-interval = <30>;
601 compatible = "simple-bus";
602 #address-cells = <1>;
605 vdd_mux: regulator@0 {
606 compatible = "regulator-fixed";
608 regulator-name = "+VDD_MUX";
609 regulator-min-microvolt = <12000000>;
610 regulator-max-microvolt = <12000000>;
615 vdd_5v0_sys: regulator@1 {
616 compatible = "regulator-fixed";
618 regulator-name = "+5V_SYS";
619 regulator-min-microvolt = <5000000>;
620 regulator-max-microvolt = <5000000>;
623 vin-supply = <&vdd_mux>;
626 vdd_3v3_sys: regulator@2 {
627 compatible = "regulator-fixed";
629 regulator-name = "+3.3V_SYS";
630 regulator-min-microvolt = <3300000>;
631 regulator-max-microvolt = <3300000>;
634 vin-supply = <&vdd_mux>;
637 vdd_3v3_run: regulator@3 {
638 compatible = "regulator-fixed";
640 regulator-name = "+3.3V_RUN";
641 regulator-min-microvolt = <3300000>;
642 regulator-max-microvolt = <3300000>;
645 gpio = <&pmic 1 GPIO_ACTIVE_HIGH>;
647 vin-supply = <&vdd_3v3_sys>;
650 vdd_3v3_hdmi: regulator@4 {
651 compatible = "regulator-fixed";
653 regulator-name = "+3.3V_AVDD_HDMI_AP_GATED";
654 regulator-min-microvolt = <3300000>;
655 regulator-max-microvolt = <3300000>;
656 vin-supply = <&vdd_3v3_run>;
659 vdd_led: regulator@5 {
660 compatible = "regulator-fixed";
662 regulator-name = "+VDD_LED";
663 gpio = <&gpio TEGRA_GPIO(P, 2) GPIO_ACTIVE_HIGH>;
665 vin-supply = <&vdd_mux>;
668 vdd_5v0_ts: regulator@6 {
669 compatible = "regulator-fixed";
671 regulator-name = "+5V_VDD_TS_SW";
672 regulator-min-microvolt = <5000000>;
673 regulator-max-microvolt = <5000000>;
675 gpio = <&gpio TEGRA_GPIO(K, 1) GPIO_ACTIVE_HIGH>;
677 vin-supply = <&vdd_5v0_sys>;
680 vdd_usb1_vbus: regulator@7 {
681 compatible = "regulator-fixed";
683 regulator-name = "+5V_USB_HS";
684 regulator-min-microvolt = <5000000>;
685 regulator-max-microvolt = <5000000>;
686 gpio = <&gpio TEGRA_GPIO(N, 4) GPIO_ACTIVE_HIGH>;
689 vin-supply = <&vdd_5v0_sys>;
692 vdd_usb3_vbus: regulator@8 {
693 compatible = "regulator-fixed";
695 regulator-name = "+5V_USB_SS";
696 regulator-min-microvolt = <5000000>;
697 regulator-max-microvolt = <5000000>;
698 gpio = <&gpio TEGRA_GPIO(N, 5) GPIO_ACTIVE_HIGH>;
701 vin-supply = <&vdd_5v0_sys>;
704 vdd_3v3_panel: regulator@9 {
705 compatible = "regulator-fixed";
707 regulator-name = "+3.3V_PANEL";
708 regulator-min-microvolt = <3300000>;
709 regulator-max-microvolt = <3300000>;
710 gpio = <&pmic 4 GPIO_ACTIVE_HIGH>;
712 vin-supply = <&vdd_3v3_run>;
715 vdd_3v3_lp0: regulator@10 {
716 compatible = "regulator-fixed";
718 regulator-name = "+3.3V_LP0";
719 regulator-min-microvolt = <3300000>;
720 regulator-max-microvolt = <3300000>;
722 * TODO: find a way to wire this up with the USB EHCI
723 * controllers so that it can be enabled on demand.
726 gpio = <&pmic 2 GPIO_ACTIVE_HIGH>;
728 vin-supply = <&vdd_3v3_sys>;
731 vdd_hdmi_pll: regulator@11 {
732 compatible = "regulator-fixed";
734 regulator-name = "+1.05V_RUN_AVDD_HDMI_PLL";
735 regulator-min-microvolt = <1050000>;
736 regulator-max-microvolt = <1050000>;
737 gpio = <&gpio TEGRA_GPIO(H, 7) GPIO_ACTIVE_LOW>;
738 vin-supply = <&vdd_1v05_run>;
741 vdd_5v0_hdmi: regulator@12 {
742 compatible = "regulator-fixed";
744 regulator-name = "+5V_HDMI_CON";
745 regulator-min-microvolt = <5000000>;
746 regulator-max-microvolt = <5000000>;
747 gpio = <&gpio TEGRA_GPIO(K, 6) GPIO_ACTIVE_HIGH>;
749 vin-supply = <&vdd_5v0_sys>;
754 nvidia,audio-routing =
759 "Mic Jack", "MICBIAS",
764 nvidia,i2s-controller = <&tegra_i2s1>;
765 nvidia,audio-codec = <&acodec>;
767 clocks = <&tegra_car TEGRA124_CLK_PLL_A>,
768 <&tegra_car TEGRA124_CLK_PLL_A_OUT0>,
769 <&tegra_car TEGRA124_CLK_EXTERN1>;
770 clock-names = "pll_a", "pll_a_out0", "mclk";
772 nvidia,hp-det-gpios = <&gpio TEGRA_GPIO(I, 7) GPIO_ACTIVE_HIGH>;
773 nvidia,mic-det-gpios =
774 <&gpio TEGRA_GPIO(R, 7) GPIO_ACTIVE_HIGH>;
778 compatible = "gpio-restart";
779 gpios = <&gpio TEGRA_GPIO(I, 5) GPIO_ACTIVE_LOW>;
784 #include "cros-ec-keyboard.dtsi"