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>;
46 /* Debug connector on the bottom of the board near SD card. */
56 clock-frequency = <100000>;
58 acodec: audio-codec@10 {
59 compatible = "maxim,max98090";
61 interrupt-parent = <&gpio>;
62 interrupts = <TEGRA_GPIO(H, 4) GPIO_ACTIVE_HIGH>;
65 temperature-sensor@4c {
66 compatible = "ti,tmp451";
68 interrupt-parent = <&gpio>;
69 interrupts = <TEGRA_GPIO(I, 6) IRQ_TYPE_LEVEL_LOW>;
71 #thermal-sensor-cells = <1>;
77 clock-frequency = <100000>;
80 compatible = "elan,ekth3000";
82 interrupt-parent = <&gpio>;
83 interrupts = <TEGRA_GPIO(W, 3) IRQ_TYPE_EDGE_FALLING>;
90 clock-frequency = <400000>;
93 compatible = "infineon,slb9645tt";
98 hdmi_ddc: i2c@7000c700 {
100 clock-frequency = <100000>;
105 clock-frequency = <400000>;
108 compatible = "ams,as3722";
110 interrupts = <0 86 IRQ_TYPE_LEVEL_HIGH>;
112 ams,system-power-controller;
114 #interrupt-cells = <2>;
115 interrupt-controller;
120 pinctrl-names = "default";
121 pinctrl-0 = <&as3722_default>;
123 as3722_default: pinmux {
137 pins = "gpio2", "gpio4", "gpio7";
143 pins = "gpio3", "gpio6";
149 function = "clk32k-out";
155 vsup-sd2-supply = <&vdd_5v0_sys>;
156 vsup-sd3-supply = <&vdd_5v0_sys>;
157 vsup-sd4-supply = <&vdd_5v0_sys>;
158 vsup-sd5-supply = <&vdd_5v0_sys>;
159 vin-ldo0-supply = <&vdd_1v35_lp0>;
160 vin-ldo1-6-supply = <&vdd_3v3_run>;
161 vin-ldo2-5-7-supply = <&vddio_1v8>;
162 vin-ldo3-4-supply = <&vdd_3v3_sys>;
163 vin-ldo9-10-supply = <&vdd_5v0_sys>;
164 vin-ldo11-supply = <&vdd_3v3_run>;
167 regulator-name = "+VDD_CPU_AP";
168 regulator-min-microvolt = <700000>;
169 regulator-max-microvolt = <1350000>;
170 regulator-min-microamp = <3500000>;
171 regulator-max-microamp = <3500000>;
174 ams,ext-control = <2>;
178 regulator-name = "+VDD_CORE";
179 regulator-min-microvolt = <700000>;
180 regulator-max-microvolt = <1350000>;
181 regulator-min-microamp = <2500000>;
182 regulator-max-microamp = <4000000>;
185 ams,ext-control = <1>;
189 regulator-name = "+1.35V_LP0(sd2)";
190 regulator-min-microvolt = <1350000>;
191 regulator-max-microvolt = <1350000>;
197 regulator-name = "+1.35V_LP0(sd3)";
198 regulator-min-microvolt = <1350000>;
199 regulator-max-microvolt = <1350000>;
205 regulator-name = "+1.05V_RUN";
206 regulator-min-microvolt = <1050000>;
207 regulator-max-microvolt = <1050000>;
211 regulator-name = "+1.8V_VDDIO";
212 regulator-min-microvolt = <1800000>;
213 regulator-max-microvolt = <1800000>;
218 regulator-name = "+VDD_GPU_AP";
219 regulator-min-microvolt = <650000>;
220 regulator-max-microvolt = <1200000>;
221 regulator-min-microamp = <3500000>;
222 regulator-max-microamp = <3500000>;
227 avdd_1v05_run: ldo0 {
228 regulator-name = "+1.05V_RUN_AVDD";
229 regulator-min-microvolt = <1050000>;
230 regulator-max-microvolt = <1050000>;
233 ams,ext-control = <1>;
237 regulator-name = "+1.8V_RUN_CAM";
238 regulator-min-microvolt = <1800000>;
239 regulator-max-microvolt = <1800000>;
243 regulator-name = "+1.2V_GEN_AVDD";
244 regulator-min-microvolt = <1200000>;
245 regulator-max-microvolt = <1200000>;
251 regulator-name = "+1.00V_LP0_VDD_RTC";
252 regulator-min-microvolt = <1000000>;
253 regulator-max-microvolt = <1000000>;
260 regulator-name = "+3.3V_RUN_CAM";
261 regulator-min-microvolt = <2800000>;
262 regulator-max-microvolt = <2800000>;
266 regulator-name = "+1.2V_RUN_CAM_FRONT";
267 regulator-min-microvolt = <1200000>;
268 regulator-max-microvolt = <1200000>;
272 regulator-name = "+VDDIO_SDMMC3";
273 regulator-min-microvolt = <1800000>;
274 regulator-max-microvolt = <3300000>;
278 regulator-name = "+1.05V_RUN_CAM_REAR";
279 regulator-min-microvolt = <1050000>;
280 regulator-max-microvolt = <1050000>;
284 regulator-name = "+2.8V_RUN_TOUCH";
285 regulator-min-microvolt = <2800000>;
286 regulator-max-microvolt = <2800000>;
290 regulator-name = "+2.8V_RUN_CAM_AF";
291 regulator-min-microvolt = <2800000>;
292 regulator-max-microvolt = <2800000>;
296 regulator-name = "+1.8V_RUN_VPP_FUSE";
297 regulator-min-microvolt = <1800000>;
298 regulator-max-microvolt = <1800000>;
308 compatible = "google,cros-ec-spi";
309 spi-max-frequency = <3000000>;
310 interrupt-parent = <&gpio>;
311 interrupts = <TEGRA_GPIO(C, 7) IRQ_TYPE_LEVEL_LOW>;
314 google,cros-ec-spi-msg-delay = <2000>;
317 compatible = "google,cros-ec-i2c-tunnel";
318 #address-cells = <1>;
321 google,remote-bus = <0>;
324 compatible = "ti,bq24735";
326 interrupt-parent = <&gpio>;
327 interrupts = <TEGRA_GPIO(J, 0)
329 ti,ac-detect-gpios = <&gpio
334 battery: sbs-battery@b {
335 compatible = "sbs,sbs-battery";
337 sbs,i2c-retry-count = <2>;
338 sbs,poll-retry-count = <10>;
339 power-supplies = <&charger>;
347 spi-max-frequency = <25000000>;
350 compatible = "winbond,w25q32dw";
351 spi-max-frequency = <25000000>;
357 nvidia,invert-interrupt;
358 nvidia,suspend-mode = <0>;
359 nvidia,cpu-pwr-good-time = <500>;
360 nvidia,cpu-pwr-off-time = <300>;
361 nvidia,core-pwr-good-time = <641 3845>;
362 nvidia,core-pwr-off-time = <61036>;
363 nvidia,core-power-req-active-high;
364 nvidia,sys-clock-req-active-high;
372 phys = <&{/padctl@7009f000/pads/usb2/lanes/usb2-0}>, /* 1st USB A */
373 <&{/padctl@7009f000/pads/usb2/lanes/usb2-1}>, /* Internal USB */
374 <&{/padctl@7009f000/pads/usb2/lanes/usb2-2}>, /* 2nd USB A */
375 <&{/padctl@7009f000/pads/pcie/lanes/pcie-0}>, /* 1st USB A */
376 <&{/padctl@7009f000/pads/pcie/lanes/pcie-1}>; /* 2nd USB A */
377 phy-names = "usb2-0", "usb2-1", "usb2-2", "usb3-0", "usb3-1";
379 avddio-pex-supply = <&vdd_1v05_run>;
380 dvddio-pex-supply = <&vdd_1v05_run>;
381 avdd-usb-supply = <&vdd_3v3_lp0>;
382 avdd-pll-utmip-supply = <&vddio_1v8>;
383 avdd-pll-erefe-supply = <&avdd_1v05_run>;
384 avdd-usb-ss-pll-supply = <&vdd_1v05_run>;
385 hvdd-usb-ss-supply = <&vdd_3v3_lp0>;
386 hvdd-usb-ss-pll-e-supply = <&vdd_3v3_lp0>;
400 nvidia,function = "xusb";
405 nvidia,function = "xusb";
410 nvidia,function = "xusb";
421 nvidia,function = "usb3-ss";
426 nvidia,function = "usb3-ss";
435 vbus-supply = <&vdd_usb1_vbus>;
441 vbus-supply = <&vdd_run_cam>;
447 vbus-supply = <&vdd_usb3_vbus>;
453 nvidia,usb2-companion = <0>;
458 nvidia,usb2-companion = <1>;
464 sdhci0_pwrseq: sdhci0_pwrseq {
465 compatible = "mmc-pwrseq-simple";
467 reset-gpios = <&gpio TEGRA_GPIO(X, 7) GPIO_ACTIVE_LOW>;
470 sdhci@700b0000 { /* WiFi/BT on this bus */
475 mmc-pwrseq = <&sdhci0_pwrseq>;
476 vmmc-supply = <&vdd_3v3_lp0>;
477 vqmmc-supply = <&vddio_1v8>;
478 keep-power-in-suspend;
481 sdhci@700b0400 { /* SD Card on this bus */
483 cd-gpios = <&gpio TEGRA_GPIO(V, 2) GPIO_ACTIVE_LOW>;
484 power-gpios = <&gpio TEGRA_GPIO(R, 0) GPIO_ACTIVE_HIGH>;
487 vqmmc-supply = <&vddio_sdmmc3>;
490 sdhci@700b0600 { /* eMMC on this bus */
500 vdd-cpu-supply = <&vdd_cpu>;
501 nvidia,i2c-fs-rate = <400000>;
510 backlight: backlight {
511 compatible = "pwm-backlight";
513 enable-gpios = <&gpio TEGRA_GPIO(H, 2) GPIO_ACTIVE_HIGH>;
514 power-supply = <&vdd_led>;
515 pwms = <&pwm 1 1000000>;
517 default-brightness-level = <224>;
520 8 9 10 11 12 13 14 15
521 16 17 18 19 20 21 22 23
522 24 25 26 27 28 29 30 31
523 32 33 34 35 36 37 38 39
524 40 41 42 43 44 45 46 47
525 48 49 50 51 52 53 54 55
526 56 57 58 59 60 61 62 63
527 64 65 66 67 68 69 70 71
528 72 73 74 75 76 77 78 79
529 80 81 82 83 84 85 86 87
530 88 89 90 91 92 93 94 95
531 96 97 98 99 100 101 102 103
532 104 105 106 107 108 109 110 111
533 112 113 114 115 116 117 118 119
534 120 121 122 123 124 125 126 127
535 128 129 130 131 132 133 134 135
536 136 137 138 139 140 141 142 143
537 144 145 146 147 148 149 150 151
538 152 153 154 155 156 157 158 159
539 160 161 162 163 164 165 166 167
540 168 169 170 171 172 173 174 175
541 176 177 178 179 180 181 182 183
542 184 185 186 187 188 189 190 191
543 192 193 194 195 196 197 198 199
544 200 201 202 203 204 205 206 207
545 208 209 210 211 212 213 214 215
546 216 217 218 219 220 221 222 223
547 224 225 226 227 228 229 230 231
548 232 233 234 235 236 237 238 239
549 240 241 242 243 244 245 246 247
550 248 249 250 251 252 253 254 255
555 compatible = "simple-bus";
556 #address-cells = <1>;
560 compatible = "fixed-clock";
563 clock-frequency = <32768>;
569 vdd-cpu-supply = <&vdd_cpu>;
574 compatible = "gpio-keys";
578 gpios = <&gpio TEGRA_GPIO(R, 4) GPIO_ACTIVE_LOW>;
579 linux,input-type = <5>;
580 linux,code = <KEY_RESERVED>;
581 debounce-interval = <1>;
587 gpios = <&gpio TEGRA_GPIO(Q, 0) GPIO_ACTIVE_LOW>;
588 linux,code = <KEY_POWER>;
589 debounce-interval = <30>;
595 compatible = "simple-bus";
596 #address-cells = <1>;
599 vdd_mux: regulator@0 {
600 compatible = "regulator-fixed";
602 regulator-name = "+VDD_MUX";
603 regulator-min-microvolt = <12000000>;
604 regulator-max-microvolt = <12000000>;
609 vdd_5v0_sys: regulator@1 {
610 compatible = "regulator-fixed";
612 regulator-name = "+5V_SYS";
613 regulator-min-microvolt = <5000000>;
614 regulator-max-microvolt = <5000000>;
617 vin-supply = <&vdd_mux>;
620 vdd_3v3_sys: regulator@2 {
621 compatible = "regulator-fixed";
623 regulator-name = "+3.3V_SYS";
624 regulator-min-microvolt = <3300000>;
625 regulator-max-microvolt = <3300000>;
628 vin-supply = <&vdd_mux>;
631 vdd_3v3_run: regulator@3 {
632 compatible = "regulator-fixed";
634 regulator-name = "+3.3V_RUN";
635 regulator-min-microvolt = <3300000>;
636 regulator-max-microvolt = <3300000>;
639 gpio = <&pmic 1 GPIO_ACTIVE_HIGH>;
641 vin-supply = <&vdd_3v3_sys>;
644 vdd_3v3_hdmi: regulator@4 {
645 compatible = "regulator-fixed";
647 regulator-name = "+3.3V_AVDD_HDMI_AP_GATED";
648 regulator-min-microvolt = <3300000>;
649 regulator-max-microvolt = <3300000>;
650 vin-supply = <&vdd_3v3_run>;
653 vdd_led: regulator@5 {
654 compatible = "regulator-fixed";
656 regulator-name = "+VDD_LED";
657 gpio = <&gpio TEGRA_GPIO(P, 2) GPIO_ACTIVE_HIGH>;
659 vin-supply = <&vdd_mux>;
662 vdd_5v0_ts: regulator@6 {
663 compatible = "regulator-fixed";
665 regulator-name = "+5V_VDD_TS_SW";
666 regulator-min-microvolt = <5000000>;
667 regulator-max-microvolt = <5000000>;
669 gpio = <&gpio TEGRA_GPIO(K, 1) GPIO_ACTIVE_HIGH>;
671 vin-supply = <&vdd_5v0_sys>;
674 vdd_usb1_vbus: regulator@7 {
675 compatible = "regulator-fixed";
677 regulator-name = "+5V_USB_HS";
678 regulator-min-microvolt = <5000000>;
679 regulator-max-microvolt = <5000000>;
680 gpio = <&gpio TEGRA_GPIO(N, 4) GPIO_ACTIVE_HIGH>;
683 vin-supply = <&vdd_5v0_sys>;
686 vdd_usb3_vbus: regulator@8 {
687 compatible = "regulator-fixed";
689 regulator-name = "+5V_USB_SS";
690 regulator-min-microvolt = <5000000>;
691 regulator-max-microvolt = <5000000>;
692 gpio = <&gpio TEGRA_GPIO(N, 5) GPIO_ACTIVE_HIGH>;
695 vin-supply = <&vdd_5v0_sys>;
698 vdd_3v3_panel: regulator@9 {
699 compatible = "regulator-fixed";
701 regulator-name = "+3.3V_PANEL";
702 regulator-min-microvolt = <3300000>;
703 regulator-max-microvolt = <3300000>;
704 gpio = <&pmic 4 GPIO_ACTIVE_HIGH>;
706 vin-supply = <&vdd_3v3_run>;
709 vdd_3v3_lp0: regulator@10 {
710 compatible = "regulator-fixed";
712 regulator-name = "+3.3V_LP0";
713 regulator-min-microvolt = <3300000>;
714 regulator-max-microvolt = <3300000>;
716 * TODO: find a way to wire this up with the USB EHCI
717 * controllers so that it can be enabled on demand.
720 gpio = <&pmic 2 GPIO_ACTIVE_HIGH>;
722 vin-supply = <&vdd_3v3_sys>;
725 vdd_hdmi_pll: regulator@11 {
726 compatible = "regulator-fixed";
728 regulator-name = "+1.05V_RUN_AVDD_HDMI_PLL";
729 regulator-min-microvolt = <1050000>;
730 regulator-max-microvolt = <1050000>;
731 gpio = <&gpio TEGRA_GPIO(H, 7) GPIO_ACTIVE_LOW>;
732 vin-supply = <&vdd_1v05_run>;
735 vdd_5v0_hdmi: regulator@12 {
736 compatible = "regulator-fixed";
738 regulator-name = "+5V_HDMI_CON";
739 regulator-min-microvolt = <5000000>;
740 regulator-max-microvolt = <5000000>;
741 gpio = <&gpio TEGRA_GPIO(K, 6) GPIO_ACTIVE_HIGH>;
743 vin-supply = <&vdd_5v0_sys>;
748 nvidia,audio-routing =
753 "Mic Jack", "MICBIAS",
758 nvidia,i2s-controller = <&tegra_i2s1>;
759 nvidia,audio-codec = <&acodec>;
761 clocks = <&tegra_car TEGRA124_CLK_PLL_A>,
762 <&tegra_car TEGRA124_CLK_PLL_A_OUT0>,
763 <&tegra_car TEGRA124_CLK_EXTERN1>;
764 clock-names = "pll_a", "pll_a_out0", "mclk";
766 nvidia,hp-det-gpios = <&gpio TEGRA_GPIO(I, 7) GPIO_ACTIVE_HIGH>;
767 nvidia,mic-det-gpios =
768 <&gpio TEGRA_GPIO(R, 7) GPIO_ACTIVE_HIGH>;
772 compatible = "gpio-restart";
773 gpios = <&gpio TEGRA_GPIO(I, 5) GPIO_ACTIVE_LOW>;
778 #include "cros-ec-keyboard.dtsi"