1 // SPDX-License-Identifier: GPL-2.0
2 #include <dt-bindings/input/input.h>
3 #include "tegra124.dtsi"
7 rtc0 = "/i2c@7000d000/pmic@40";
8 rtc1 = "/rtc@7000e000";
13 stdout-path = "serial0:115200n8";
17 reg = <0x0 0x80000000 0x0 0x80000000>;
24 vdd-supply = <&vdd_3v3_hdmi>;
25 pll-supply = <&vdd_hdmi_pll>;
26 hdmi-supply = <&vdd_5v0_hdmi>;
28 nvidia,ddc-i2c-bus = <&hdmi_ddc>;
30 <&gpio TEGRA_GPIO(N, 7) GPIO_ACTIVE_HIGH>;
36 nvidia,dpaux = <&dpaux>;
37 nvidia,panel = <&panel>;
41 vdd-supply = <&vdd_3v3_panel>;
49 vdd-supply = <&vdd_gpu>;
53 /* Debug connector on the bottom of the board near SD card. */
63 clock-frequency = <100000>;
65 acodec: audio-codec@10 {
66 compatible = "maxim,max98090";
68 interrupt-parent = <&gpio>;
69 interrupts = <TEGRA_GPIO(H, 4) IRQ_TYPE_EDGE_FALLING>;
72 temperature-sensor@4c {
73 compatible = "ti,tmp451";
75 interrupt-parent = <&gpio>;
76 interrupts = <TEGRA_GPIO(I, 6) IRQ_TYPE_LEVEL_LOW>;
78 #thermal-sensor-cells = <1>;
84 clock-frequency = <100000>;
87 compatible = "elan,ekth3000";
89 interrupt-parent = <&gpio>;
90 interrupts = <TEGRA_GPIO(W, 3) IRQ_TYPE_EDGE_FALLING>;
97 clock-frequency = <400000>;
100 compatible = "infineon,slb9645tt";
105 hdmi_ddc: i2c@7000c700 {
107 clock-frequency = <100000>;
112 clock-frequency = <400000>;
115 compatible = "ams,as3722";
117 interrupts = <0 86 IRQ_TYPE_LEVEL_HIGH>;
119 ams,system-power-controller;
121 #interrupt-cells = <2>;
122 interrupt-controller;
127 pinctrl-names = "default";
128 pinctrl-0 = <&as3722_default>;
130 as3722_default: pinmux {
144 pins = "gpio2", "gpio4", "gpio7";
150 pins = "gpio3", "gpio6";
156 function = "clk32k-out";
162 vsup-sd2-supply = <&vdd_5v0_sys>;
163 vsup-sd3-supply = <&vdd_5v0_sys>;
164 vsup-sd4-supply = <&vdd_5v0_sys>;
165 vsup-sd5-supply = <&vdd_5v0_sys>;
166 vin-ldo0-supply = <&vdd_1v35_lp0>;
167 vin-ldo1-6-supply = <&vdd_3v3_run>;
168 vin-ldo2-5-7-supply = <&vddio_1v8>;
169 vin-ldo3-4-supply = <&vdd_3v3_sys>;
170 vin-ldo9-10-supply = <&vdd_5v0_sys>;
171 vin-ldo11-supply = <&vdd_3v3_run>;
174 regulator-name = "+VDD_CPU_AP";
175 regulator-min-microvolt = <700000>;
176 regulator-max-microvolt = <1350000>;
177 regulator-min-microamp = <3500000>;
178 regulator-max-microamp = <3500000>;
181 ams,ext-control = <2>;
185 regulator-name = "+VDD_CORE";
186 regulator-min-microvolt = <700000>;
187 regulator-max-microvolt = <1350000>;
188 regulator-min-microamp = <2500000>;
189 regulator-max-microamp = <4000000>;
192 ams,ext-control = <1>;
196 regulator-name = "+1.35V_LP0(sd2)";
197 regulator-min-microvolt = <1350000>;
198 regulator-max-microvolt = <1350000>;
204 regulator-name = "+1.35V_LP0(sd3)";
205 regulator-min-microvolt = <1350000>;
206 regulator-max-microvolt = <1350000>;
212 regulator-name = "+1.05V_RUN";
213 regulator-min-microvolt = <1050000>;
214 regulator-max-microvolt = <1050000>;
218 regulator-name = "+1.8V_VDDIO";
219 regulator-min-microvolt = <1800000>;
220 regulator-max-microvolt = <1800000>;
225 regulator-name = "+VDD_GPU_AP";
226 regulator-min-microvolt = <650000>;
227 regulator-max-microvolt = <1200000>;
228 regulator-min-microamp = <3500000>;
229 regulator-max-microamp = <3500000>;
234 avdd_1v05_run: ldo0 {
235 regulator-name = "+1.05V_RUN_AVDD";
236 regulator-min-microvolt = <1050000>;
237 regulator-max-microvolt = <1050000>;
240 ams,ext-control = <1>;
244 regulator-name = "+1.8V_RUN_CAM";
245 regulator-min-microvolt = <1800000>;
246 regulator-max-microvolt = <1800000>;
250 regulator-name = "+1.2V_GEN_AVDD";
251 regulator-min-microvolt = <1200000>;
252 regulator-max-microvolt = <1200000>;
258 regulator-name = "+1.00V_LP0_VDD_RTC";
259 regulator-min-microvolt = <1000000>;
260 regulator-max-microvolt = <1000000>;
267 regulator-name = "+3.3V_RUN_CAM";
268 regulator-min-microvolt = <2800000>;
269 regulator-max-microvolt = <2800000>;
273 regulator-name = "+1.2V_RUN_CAM_FRONT";
274 regulator-min-microvolt = <1200000>;
275 regulator-max-microvolt = <1200000>;
279 regulator-name = "+VDDIO_SDMMC3";
280 regulator-min-microvolt = <1800000>;
281 regulator-max-microvolt = <3300000>;
285 regulator-name = "+1.05V_RUN_CAM_REAR";
286 regulator-min-microvolt = <1050000>;
287 regulator-max-microvolt = <1050000>;
291 regulator-name = "+2.8V_RUN_TOUCH";
292 regulator-min-microvolt = <2800000>;
293 regulator-max-microvolt = <2800000>;
297 regulator-name = "+2.8V_RUN_CAM_AF";
298 regulator-min-microvolt = <2800000>;
299 regulator-max-microvolt = <2800000>;
303 regulator-name = "+1.8V_RUN_VPP_FUSE";
304 regulator-min-microvolt = <1800000>;
305 regulator-max-microvolt = <1800000>;
315 compatible = "google,cros-ec-spi";
316 spi-max-frequency = <3000000>;
317 interrupt-parent = <&gpio>;
318 interrupts = <TEGRA_GPIO(C, 7) IRQ_TYPE_LEVEL_LOW>;
321 google,cros-ec-spi-msg-delay = <2000>;
324 compatible = "google,cros-ec-i2c-tunnel";
325 #address-cells = <1>;
328 google,remote-bus = <0>;
331 compatible = "ti,bq24735";
333 interrupt-parent = <&gpio>;
334 interrupts = <TEGRA_GPIO(J, 0)
336 ti,ac-detect-gpios = <&gpio
342 battery: sbs-battery@b {
343 compatible = "sbs,sbs-battery";
345 sbs,i2c-retry-count = <2>;
346 sbs,poll-retry-count = <10>;
347 power-supplies = <&charger>;
355 spi-max-frequency = <25000000>;
358 compatible = "winbond,w25q32dw";
359 spi-max-frequency = <25000000>;
365 nvidia,invert-interrupt;
366 nvidia,suspend-mode = <0>;
367 nvidia,cpu-pwr-good-time = <500>;
368 nvidia,cpu-pwr-off-time = <300>;
369 nvidia,core-pwr-good-time = <641 3845>;
370 nvidia,core-pwr-off-time = <61036>;
371 nvidia,core-power-req-active-high;
372 nvidia,sys-clock-req-active-high;
380 phys = <&{/padctl@7009f000/pads/usb2/lanes/usb2-0}>, /* 1st USB A */
381 <&{/padctl@7009f000/pads/usb2/lanes/usb2-1}>, /* Internal USB */
382 <&{/padctl@7009f000/pads/usb2/lanes/usb2-2}>, /* 2nd USB A */
383 <&{/padctl@7009f000/pads/pcie/lanes/pcie-0}>, /* 1st USB A */
384 <&{/padctl@7009f000/pads/pcie/lanes/pcie-1}>; /* 2nd USB A */
385 phy-names = "usb2-0", "usb2-1", "usb2-2", "usb3-0", "usb3-1";
387 avddio-pex-supply = <&vdd_1v05_run>;
388 dvddio-pex-supply = <&vdd_1v05_run>;
389 avdd-usb-supply = <&vdd_3v3_lp0>;
390 avdd-pll-utmip-supply = <&vddio_1v8>;
391 avdd-pll-erefe-supply = <&avdd_1v05_run>;
392 avdd-usb-ss-pll-supply = <&vdd_1v05_run>;
393 hvdd-usb-ss-supply = <&vdd_3v3_lp0>;
394 hvdd-usb-ss-pll-e-supply = <&vdd_3v3_lp0>;
408 nvidia,function = "xusb";
413 nvidia,function = "xusb";
418 nvidia,function = "xusb";
429 nvidia,function = "usb3-ss";
434 nvidia,function = "usb3-ss";
443 vbus-supply = <&vdd_usb1_vbus>;
449 vbus-supply = <&vdd_run_cam>;
455 vbus-supply = <&vdd_usb3_vbus>;
461 nvidia,usb2-companion = <0>;
466 nvidia,usb2-companion = <1>;
472 sdhci0_pwrseq: sdhci0_pwrseq {
473 compatible = "mmc-pwrseq-simple";
475 reset-gpios = <&gpio TEGRA_GPIO(X, 7) GPIO_ACTIVE_LOW>;
478 sdhci@700b0000 { /* WiFi/BT on this bus */
483 mmc-pwrseq = <&sdhci0_pwrseq>;
484 vmmc-supply = <&vdd_3v3_lp0>;
485 vqmmc-supply = <&vddio_1v8>;
486 keep-power-in-suspend;
489 sdhci@700b0400 { /* SD Card on this bus */
491 cd-gpios = <&gpio TEGRA_GPIO(V, 2) GPIO_ACTIVE_LOW>;
492 power-gpios = <&gpio TEGRA_GPIO(R, 0) GPIO_ACTIVE_HIGH>;
495 vqmmc-supply = <&vddio_sdmmc3>;
498 sdhci@700b0600 { /* eMMC on this bus */
508 vdd-cpu-supply = <&vdd_cpu>;
509 nvidia,i2c-fs-rate = <400000>;
518 backlight: backlight {
519 compatible = "pwm-backlight";
521 enable-gpios = <&gpio TEGRA_GPIO(H, 2) GPIO_ACTIVE_HIGH>;
522 power-supply = <&vdd_led>;
523 pwms = <&pwm 1 1000000>;
525 default-brightness-level = <224>;
528 8 9 10 11 12 13 14 15
529 16 17 18 19 20 21 22 23
530 24 25 26 27 28 29 30 31
531 32 33 34 35 36 37 38 39
532 40 41 42 43 44 45 46 47
533 48 49 50 51 52 53 54 55
534 56 57 58 59 60 61 62 63
535 64 65 66 67 68 69 70 71
536 72 73 74 75 76 77 78 79
537 80 81 82 83 84 85 86 87
538 88 89 90 91 92 93 94 95
539 96 97 98 99 100 101 102 103
540 104 105 106 107 108 109 110 111
541 112 113 114 115 116 117 118 119
542 120 121 122 123 124 125 126 127
543 128 129 130 131 132 133 134 135
544 136 137 138 139 140 141 142 143
545 144 145 146 147 148 149 150 151
546 152 153 154 155 156 157 158 159
547 160 161 162 163 164 165 166 167
548 168 169 170 171 172 173 174 175
549 176 177 178 179 180 181 182 183
550 184 185 186 187 188 189 190 191
551 192 193 194 195 196 197 198 199
552 200 201 202 203 204 205 206 207
553 208 209 210 211 212 213 214 215
554 216 217 218 219 220 221 222 223
555 224 225 226 227 228 229 230 231
556 232 233 234 235 236 237 238 239
557 240 241 242 243 244 245 246 247
558 248 249 250 251 252 253 254 255
563 compatible = "simple-bus";
564 #address-cells = <1>;
568 compatible = "fixed-clock";
571 clock-frequency = <32768>;
577 vdd-cpu-supply = <&vdd_cpu>;
582 compatible = "gpio-keys";
586 gpios = <&gpio TEGRA_GPIO(R, 4) GPIO_ACTIVE_LOW>;
587 linux,input-type = <5>;
588 linux,code = <KEY_RESERVED>;
589 debounce-interval = <1>;
595 gpios = <&gpio TEGRA_GPIO(Q, 0) GPIO_ACTIVE_LOW>;
596 linux,code = <KEY_POWER>;
597 debounce-interval = <30>;
603 compatible = "simple-bus";
604 #address-cells = <1>;
607 vdd_mux: regulator@0 {
608 compatible = "regulator-fixed";
610 regulator-name = "+VDD_MUX";
611 regulator-min-microvolt = <12000000>;
612 regulator-max-microvolt = <12000000>;
617 vdd_5v0_sys: regulator@1 {
618 compatible = "regulator-fixed";
620 regulator-name = "+5V_SYS";
621 regulator-min-microvolt = <5000000>;
622 regulator-max-microvolt = <5000000>;
625 vin-supply = <&vdd_mux>;
628 vdd_3v3_sys: regulator@2 {
629 compatible = "regulator-fixed";
631 regulator-name = "+3.3V_SYS";
632 regulator-min-microvolt = <3300000>;
633 regulator-max-microvolt = <3300000>;
636 vin-supply = <&vdd_mux>;
639 vdd_3v3_run: regulator@3 {
640 compatible = "regulator-fixed";
642 regulator-name = "+3.3V_RUN";
643 regulator-min-microvolt = <3300000>;
644 regulator-max-microvolt = <3300000>;
647 gpio = <&pmic 1 GPIO_ACTIVE_HIGH>;
649 vin-supply = <&vdd_3v3_sys>;
652 vdd_3v3_hdmi: regulator@4 {
653 compatible = "regulator-fixed";
655 regulator-name = "+3.3V_AVDD_HDMI_AP_GATED";
656 regulator-min-microvolt = <3300000>;
657 regulator-max-microvolt = <3300000>;
658 vin-supply = <&vdd_3v3_run>;
661 vdd_led: regulator@5 {
662 compatible = "regulator-fixed";
664 regulator-name = "+VDD_LED";
665 gpio = <&gpio TEGRA_GPIO(P, 2) GPIO_ACTIVE_HIGH>;
667 vin-supply = <&vdd_mux>;
670 vdd_5v0_ts: regulator@6 {
671 compatible = "regulator-fixed";
673 regulator-name = "+5V_VDD_TS_SW";
674 regulator-min-microvolt = <5000000>;
675 regulator-max-microvolt = <5000000>;
677 gpio = <&gpio TEGRA_GPIO(K, 1) GPIO_ACTIVE_HIGH>;
679 vin-supply = <&vdd_5v0_sys>;
682 vdd_usb1_vbus: regulator@7 {
683 compatible = "regulator-fixed";
685 regulator-name = "+5V_USB_HS";
686 regulator-min-microvolt = <5000000>;
687 regulator-max-microvolt = <5000000>;
688 gpio = <&gpio TEGRA_GPIO(N, 4) GPIO_ACTIVE_HIGH>;
691 vin-supply = <&vdd_5v0_sys>;
694 vdd_usb3_vbus: regulator@8 {
695 compatible = "regulator-fixed";
697 regulator-name = "+5V_USB_SS";
698 regulator-min-microvolt = <5000000>;
699 regulator-max-microvolt = <5000000>;
700 gpio = <&gpio TEGRA_GPIO(N, 5) GPIO_ACTIVE_HIGH>;
703 vin-supply = <&vdd_5v0_sys>;
706 vdd_3v3_panel: regulator@9 {
707 compatible = "regulator-fixed";
709 regulator-name = "+3.3V_PANEL";
710 regulator-min-microvolt = <3300000>;
711 regulator-max-microvolt = <3300000>;
712 gpio = <&pmic 4 GPIO_ACTIVE_HIGH>;
714 vin-supply = <&vdd_3v3_run>;
717 vdd_3v3_lp0: regulator@10 {
718 compatible = "regulator-fixed";
720 regulator-name = "+3.3V_LP0";
721 regulator-min-microvolt = <3300000>;
722 regulator-max-microvolt = <3300000>;
724 * TODO: find a way to wire this up with the USB EHCI
725 * controllers so that it can be enabled on demand.
728 gpio = <&pmic 2 GPIO_ACTIVE_HIGH>;
730 vin-supply = <&vdd_3v3_sys>;
733 vdd_hdmi_pll: regulator@11 {
734 compatible = "regulator-fixed";
736 regulator-name = "+1.05V_RUN_AVDD_HDMI_PLL";
737 regulator-min-microvolt = <1050000>;
738 regulator-max-microvolt = <1050000>;
739 gpio = <&gpio TEGRA_GPIO(H, 7) GPIO_ACTIVE_LOW>;
740 vin-supply = <&vdd_1v05_run>;
743 vdd_5v0_hdmi: regulator@12 {
744 compatible = "regulator-fixed";
746 regulator-name = "+5V_HDMI_CON";
747 regulator-min-microvolt = <5000000>;
748 regulator-max-microvolt = <5000000>;
749 gpio = <&gpio TEGRA_GPIO(K, 6) GPIO_ACTIVE_HIGH>;
751 vin-supply = <&vdd_5v0_sys>;
756 nvidia,audio-routing =
761 "Mic Jack", "MICBIAS",
766 nvidia,i2s-controller = <&tegra_i2s1>;
767 nvidia,audio-codec = <&acodec>;
769 clocks = <&tegra_car TEGRA124_CLK_PLL_A>,
770 <&tegra_car TEGRA124_CLK_PLL_A_OUT0>,
771 <&tegra_car TEGRA124_CLK_EXTERN1>;
772 clock-names = "pll_a", "pll_a_out0", "mclk";
774 nvidia,hp-det-gpios = <&gpio TEGRA_GPIO(I, 7) GPIO_ACTIVE_HIGH>;
775 nvidia,mic-det-gpios =
776 <&gpio TEGRA_GPIO(R, 7) GPIO_ACTIVE_HIGH>;
780 compatible = "gpio-restart";
781 gpios = <&gpio TEGRA_GPIO(I, 5) GPIO_ACTIVE_LOW>;
786 #include "cros-ec-keyboard.dtsi"