1 #include <dt-bindings/input/input.h>
2 #include "tegra124.dtsi"
6 rtc0 = "/i2c@0,7000d000/pmic@40";
7 rtc1 = "/rtc@0,7000e000";
12 reg = <0x80000000 0x80000000>;
19 vdd-supply = <&vdd_3v3_hdmi>;
20 pll-supply = <&vdd_hdmi_pll>;
21 hdmi-supply = <&vdd_5v0_hdmi>;
23 nvidia,ddc-i2c-bus = <&hdmi_ddc>;
25 <&gpio TEGRA_GPIO(N, 7) GPIO_ACTIVE_HIGH>;
31 nvidia,dpaux = <&dpaux>;
32 nvidia,panel = <&panel>;
36 vdd-supply = <&vdd_3v3_panel>;
42 /* Debug connector on the bottom of the board near SD card. */
52 clock-frequency = <100000>;
54 acodec: audio-codec@10 {
55 compatible = "maxim,max98090";
57 interrupt-parent = <&gpio>;
58 interrupts = <TEGRA_GPIO(H, 4) GPIO_ACTIVE_HIGH>;
61 temperature-sensor@4c {
62 compatible = "ti,tmp451";
64 interrupt-parent = <&gpio>;
65 interrupts = <TEGRA_GPIO(I, 6) IRQ_TYPE_LEVEL_LOW>;
67 #thermal-sensor-cells = <1>;
73 clock-frequency = <100000>;
76 compatible = "elan,ekth3000";
78 interrupt-parent = <&gpio>;
79 interrupts = <TEGRA_GPIO(W, 3) IRQ_TYPE_EDGE_FALLING>;
86 clock-frequency = <400000>;
89 compatible = "infineon,slb9645tt";
94 hdmi_ddc: i2c@7000c700 {
96 clock-frequency = <100000>;
101 clock-frequency = <400000>;
104 compatible = "ams,as3722";
106 interrupts = <0 86 IRQ_TYPE_LEVEL_HIGH>;
108 ams,system-power-controller;
110 #interrupt-cells = <2>;
111 interrupt-controller;
116 pinctrl-names = "default";
117 pinctrl-0 = <&as3722_default>;
119 as3722_default: pinmux {
133 pins = "gpio2", "gpio4", "gpio7";
139 pins = "gpio3", "gpio6";
145 function = "clk32k-out";
151 vsup-sd2-supply = <&vdd_5v0_sys>;
152 vsup-sd3-supply = <&vdd_5v0_sys>;
153 vsup-sd4-supply = <&vdd_5v0_sys>;
154 vsup-sd5-supply = <&vdd_5v0_sys>;
155 vin-ldo0-supply = <&vdd_1v35_lp0>;
156 vin-ldo1-6-supply = <&vdd_3v3_run>;
157 vin-ldo2-5-7-supply = <&vddio_1v8>;
158 vin-ldo3-4-supply = <&vdd_3v3_sys>;
159 vin-ldo9-10-supply = <&vdd_5v0_sys>;
160 vin-ldo11-supply = <&vdd_3v3_run>;
163 regulator-name = "+VDD_CPU_AP";
164 regulator-min-microvolt = <700000>;
165 regulator-max-microvolt = <1350000>;
166 regulator-min-microamp = <3500000>;
167 regulator-max-microamp = <3500000>;
170 ams,ext-control = <2>;
174 regulator-name = "+VDD_CORE";
175 regulator-min-microvolt = <700000>;
176 regulator-max-microvolt = <1350000>;
177 regulator-min-microamp = <2500000>;
178 regulator-max-microamp = <4000000>;
181 ams,ext-control = <1>;
185 regulator-name = "+1.35V_LP0(sd2)";
186 regulator-min-microvolt = <1350000>;
187 regulator-max-microvolt = <1350000>;
193 regulator-name = "+1.35V_LP0(sd3)";
194 regulator-min-microvolt = <1350000>;
195 regulator-max-microvolt = <1350000>;
201 regulator-name = "+1.05V_RUN";
202 regulator-min-microvolt = <1050000>;
203 regulator-max-microvolt = <1050000>;
207 regulator-name = "+1.8V_VDDIO";
208 regulator-min-microvolt = <1800000>;
209 regulator-max-microvolt = <1800000>;
214 regulator-name = "+VDD_GPU_AP";
215 regulator-min-microvolt = <650000>;
216 regulator-max-microvolt = <1200000>;
217 regulator-min-microamp = <3500000>;
218 regulator-max-microamp = <3500000>;
224 regulator-name = "+1.05V_RUN_AVDD";
225 regulator-min-microvolt = <1050000>;
226 regulator-max-microvolt = <1050000>;
229 ams,ext-control = <1>;
233 regulator-name = "+1.8V_RUN_CAM";
234 regulator-min-microvolt = <1800000>;
235 regulator-max-microvolt = <1800000>;
239 regulator-name = "+1.2V_GEN_AVDD";
240 regulator-min-microvolt = <1200000>;
241 regulator-max-microvolt = <1200000>;
247 regulator-name = "+1.00V_LP0_VDD_RTC";
248 regulator-min-microvolt = <1000000>;
249 regulator-max-microvolt = <1000000>;
256 regulator-name = "+3.3V_RUN_CAM";
257 regulator-min-microvolt = <2800000>;
258 regulator-max-microvolt = <2800000>;
262 regulator-name = "+1.2V_RUN_CAM_FRONT";
263 regulator-min-microvolt = <1200000>;
264 regulator-max-microvolt = <1200000>;
268 regulator-name = "+VDDIO_SDMMC3";
269 regulator-min-microvolt = <1800000>;
270 regulator-max-microvolt = <3300000>;
274 regulator-name = "+1.05V_RUN_CAM_REAR";
275 regulator-min-microvolt = <1050000>;
276 regulator-max-microvolt = <1050000>;
280 regulator-name = "+2.8V_RUN_TOUCH";
281 regulator-min-microvolt = <2800000>;
282 regulator-max-microvolt = <2800000>;
286 regulator-name = "+2.8V_RUN_CAM_AF";
287 regulator-min-microvolt = <2800000>;
288 regulator-max-microvolt = <2800000>;
292 regulator-name = "+1.8V_RUN_VPP_FUSE";
293 regulator-min-microvolt = <1800000>;
294 regulator-max-microvolt = <1800000>;
304 compatible = "google,cros-ec-spi";
305 spi-max-frequency = <3000000>;
306 interrupt-parent = <&gpio>;
307 interrupts = <TEGRA_GPIO(C, 7) IRQ_TYPE_LEVEL_LOW>;
310 google,cros-ec-spi-msg-delay = <2000>;
313 compatible = "google,cros-ec-i2c-tunnel";
314 #address-cells = <1>;
317 google,remote-bus = <0>;
320 compatible = "ti,bq24735";
322 interrupt-parent = <&gpio>;
323 interrupts = <TEGRA_GPIO(J, 0)
325 ti,ac-detect-gpios = <&gpio
330 battery: sbs-battery@b {
331 compatible = "sbs,sbs-battery";
333 sbs,i2c-retry-count = <2>;
334 sbs,poll-retry-count = <10>;
335 power-supplies = <&charger>;
343 spi-max-frequency = <25000000>;
346 compatible = "winbond,w25q32dw";
347 spi-max-frequency = <25000000>;
353 nvidia,invert-interrupt;
354 nvidia,suspend-mode = <0>;
355 nvidia,cpu-pwr-good-time = <500>;
356 nvidia,cpu-pwr-off-time = <300>;
357 nvidia,core-pwr-good-time = <641 3845>;
358 nvidia,core-pwr-off-time = <61036>;
359 nvidia,core-power-req-active-high;
360 nvidia,sys-clock-req-active-high;
367 sdhci0_pwrseq: sdhci0_pwrseq {
368 compatible = "mmc-pwrseq-simple";
370 reset-gpios = <&gpio TEGRA_GPIO(X, 7) GPIO_ACTIVE_LOW>;
373 sdhci@700b0000 { /* WiFi/BT on this bus */
375 power-gpios = <&gpio TEGRA_GPIO(X, 7) GPIO_ACTIVE_HIGH>;
379 mmc-pwrseq = <&sdhci0_pwrseq>;
380 vmmc-supply = <&vdd_3v3_lp0>;
381 vqmmc-supply = <&vddio_1v8>;
382 keep-power-in-suspend;
385 sdhci@700b0400 { /* SD Card on this bus */
387 cd-gpios = <&gpio TEGRA_GPIO(V, 2) GPIO_ACTIVE_LOW>;
388 power-gpios = <&gpio TEGRA_GPIO(R, 0) GPIO_ACTIVE_HIGH>;
389 wp-gpios = <&gpio TEGRA_GPIO(Q, 4) GPIO_ACTIVE_LOW>;
392 vqmmc-supply = <&vddio_sdmmc3>;
395 sdhci@700b0600 { /* eMMC on this bus */
405 vdd-cpu-supply = <&vdd_cpu>;
406 nvidia,i2c-fs-rate = <400000>;
415 usb@7d000000 { /* Rear external USB port. */
417 nvidia,vbus-gpio = <&gpio TEGRA_GPIO(N, 4) GPIO_ACTIVE_HIGH>;
422 vbus-supply = <&vdd_usb1_vbus>;
425 usb@7d004000 { /* Internal webcam. */
431 vbus-supply = <&vdd_run_cam>;
434 usb@7d008000 { /* Left external USB port. */
436 nvidia,vbus-gpio = <&gpio TEGRA_GPIO(N, 5) GPIO_ACTIVE_HIGH>;
441 vbus-supply = <&vdd_usb3_vbus>;
444 backlight: backlight {
445 compatible = "pwm-backlight";
447 enable-gpios = <&gpio TEGRA_GPIO(H, 2) GPIO_ACTIVE_HIGH>;
448 power-supply = <&vdd_led>;
449 pwms = <&pwm 1 1000000>;
451 default-brightness-level = <224>;
454 8 9 10 11 12 13 14 15
455 16 17 18 19 20 21 22 23
456 24 25 26 27 28 29 30 31
457 32 33 34 35 36 37 38 39
458 40 41 42 43 44 45 46 47
459 48 49 50 51 52 53 54 55
460 56 57 58 59 60 61 62 63
461 64 65 66 67 68 69 70 71
462 72 73 74 75 76 77 78 79
463 80 81 82 83 84 85 86 87
464 88 89 90 91 92 93 94 95
465 96 97 98 99 100 101 102 103
466 104 105 106 107 108 109 110 111
467 112 113 114 115 116 117 118 119
468 120 121 122 123 124 125 126 127
469 128 129 130 131 132 133 134 135
470 136 137 138 139 140 141 142 143
471 144 145 146 147 148 149 150 151
472 152 153 154 155 156 157 158 159
473 160 161 162 163 164 165 166 167
474 168 169 170 171 172 173 174 175
475 176 177 178 179 180 181 182 183
476 184 185 186 187 188 189 190 191
477 192 193 194 195 196 197 198 199
478 200 201 202 203 204 205 206 207
479 208 209 210 211 212 213 214 215
480 216 217 218 219 220 221 222 223
481 224 225 226 227 228 229 230 231
482 232 233 234 235 236 237 238 239
483 240 241 242 243 244 245 246 247
484 248 249 250 251 252 253 254 255
489 compatible = "simple-bus";
490 #address-cells = <1>;
494 compatible = "fixed-clock";
497 clock-frequency = <32768>;
503 vdd-cpu-supply = <&vdd_cpu>;
509 vdd-cpu-supply = <&vdd_cpu>;
514 compatible = "gpio-keys";
518 gpios = <&gpio TEGRA_GPIO(R, 4) GPIO_ACTIVE_LOW>;
519 linux,input-type = <5>;
520 linux,code = <KEY_RESERVED>;
521 debounce-interval = <1>;
527 gpios = <&gpio TEGRA_GPIO(Q, 0) GPIO_ACTIVE_LOW>;
528 linux,code = <KEY_POWER>;
529 debounce-interval = <30>;
535 compatible = "simple-bus";
536 #address-cells = <1>;
539 vdd_mux: regulator@0 {
540 compatible = "regulator-fixed";
542 regulator-name = "+VDD_MUX";
543 regulator-min-microvolt = <12000000>;
544 regulator-max-microvolt = <12000000>;
549 vdd_5v0_sys: regulator@1 {
550 compatible = "regulator-fixed";
552 regulator-name = "+5V_SYS";
553 regulator-min-microvolt = <5000000>;
554 regulator-max-microvolt = <5000000>;
557 vin-supply = <&vdd_mux>;
560 vdd_3v3_sys: regulator@2 {
561 compatible = "regulator-fixed";
563 regulator-name = "+3.3V_SYS";
564 regulator-min-microvolt = <3300000>;
565 regulator-max-microvolt = <3300000>;
568 vin-supply = <&vdd_mux>;
571 vdd_3v3_run: regulator@3 {
572 compatible = "regulator-fixed";
574 regulator-name = "+3.3V_RUN";
575 regulator-min-microvolt = <3300000>;
576 regulator-max-microvolt = <3300000>;
579 gpio = <&pmic 1 GPIO_ACTIVE_HIGH>;
581 vin-supply = <&vdd_3v3_sys>;
584 vdd_3v3_hdmi: regulator@4 {
585 compatible = "regulator-fixed";
587 regulator-name = "+3.3V_AVDD_HDMI_AP_GATED";
588 regulator-min-microvolt = <3300000>;
589 regulator-max-microvolt = <3300000>;
590 vin-supply = <&vdd_3v3_run>;
593 vdd_led: regulator@5 {
594 compatible = "regulator-fixed";
596 regulator-name = "+VDD_LED";
597 gpio = <&gpio TEGRA_GPIO(P, 2) GPIO_ACTIVE_HIGH>;
599 vin-supply = <&vdd_mux>;
602 vdd_5v0_ts: regulator@6 {
603 compatible = "regulator-fixed";
605 regulator-name = "+5V_VDD_TS_SW";
606 regulator-min-microvolt = <5000000>;
607 regulator-max-microvolt = <5000000>;
609 gpio = <&gpio TEGRA_GPIO(K, 1) GPIO_ACTIVE_HIGH>;
611 vin-supply = <&vdd_5v0_sys>;
614 vdd_usb1_vbus: regulator@7 {
615 compatible = "regulator-fixed";
617 regulator-name = "+5V_USB_HS";
618 regulator-min-microvolt = <5000000>;
619 regulator-max-microvolt = <5000000>;
620 gpio = <&gpio TEGRA_GPIO(N, 4) GPIO_ACTIVE_HIGH>;
623 vin-supply = <&vdd_5v0_sys>;
626 vdd_usb3_vbus: regulator@8 {
627 compatible = "regulator-fixed";
629 regulator-name = "+5V_USB_SS";
630 regulator-min-microvolt = <5000000>;
631 regulator-max-microvolt = <5000000>;
632 gpio = <&gpio TEGRA_GPIO(N, 5) GPIO_ACTIVE_HIGH>;
635 vin-supply = <&vdd_5v0_sys>;
638 vdd_3v3_panel: regulator@9 {
639 compatible = "regulator-fixed";
641 regulator-name = "+3.3V_PANEL";
642 regulator-min-microvolt = <3300000>;
643 regulator-max-microvolt = <3300000>;
644 gpio = <&pmic 4 GPIO_ACTIVE_HIGH>;
646 vin-supply = <&vdd_3v3_run>;
649 vdd_3v3_lp0: regulator@10 {
650 compatible = "regulator-fixed";
652 regulator-name = "+3.3V_LP0";
653 regulator-min-microvolt = <3300000>;
654 regulator-max-microvolt = <3300000>;
656 * TODO: find a way to wire this up with the USB EHCI
657 * controllers so that it can be enabled on demand.
660 gpio = <&pmic 2 GPIO_ACTIVE_HIGH>;
662 vin-supply = <&vdd_3v3_sys>;
665 vdd_hdmi_pll: regulator@11 {
666 compatible = "regulator-fixed";
668 regulator-name = "+1.05V_RUN_AVDD_HDMI_PLL";
669 regulator-min-microvolt = <1050000>;
670 regulator-max-microvolt = <1050000>;
671 gpio = <&gpio TEGRA_GPIO(H, 7) GPIO_ACTIVE_LOW>;
672 vin-supply = <&vdd_1v05_run>;
675 vdd_5v0_hdmi: regulator@12 {
676 compatible = "regulator-fixed";
678 regulator-name = "+5V_HDMI_CON";
679 regulator-min-microvolt = <5000000>;
680 regulator-max-microvolt = <5000000>;
681 gpio = <&gpio TEGRA_GPIO(K, 6) GPIO_ACTIVE_HIGH>;
683 vin-supply = <&vdd_5v0_sys>;
688 nvidia,audio-routing =
693 "Mic Jack", "MICBIAS",
698 nvidia,i2s-controller = <&tegra_i2s1>;
699 nvidia,audio-codec = <&acodec>;
701 clocks = <&tegra_car TEGRA124_CLK_PLL_A>,
702 <&tegra_car TEGRA124_CLK_PLL_A_OUT0>,
703 <&tegra_car TEGRA124_CLK_EXTERN1>;
704 clock-names = "pll_a", "pll_a_out0", "mclk";
706 nvidia,hp-det-gpios = <&gpio TEGRA_GPIO(I, 7) GPIO_ACTIVE_HIGH>;
707 nvidia,mic-det-gpios =
708 <&gpio TEGRA_GPIO(R, 7) GPIO_ACTIVE_HIGH>;
712 compatible = "gpio-restart";
713 gpios = <&gpio TEGRA_GPIO(I, 5) GPIO_ACTIVE_LOW>;
718 #include "cros-ec-keyboard.dtsi"