1 #include <dt-bindings/input/input.h>
2 #include "tegra124.dtsi"
6 rtc0 = "/i2c@0,7000d000/pmic@40";
7 rtc1 = "/rtc@0,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@0,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>;
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;
371 sdhci0_pwrseq: sdhci0_pwrseq {
372 compatible = "mmc-pwrseq-simple";
374 reset-gpios = <&gpio TEGRA_GPIO(X, 7) GPIO_ACTIVE_LOW>;
377 sdhci@0,700b0000 { /* WiFi/BT on this bus */
382 mmc-pwrseq = <&sdhci0_pwrseq>;
383 vmmc-supply = <&vdd_3v3_lp0>;
384 vqmmc-supply = <&vddio_1v8>;
385 keep-power-in-suspend;
388 sdhci@0,700b0400 { /* SD Card on this bus */
390 cd-gpios = <&gpio TEGRA_GPIO(V, 2) GPIO_ACTIVE_LOW>;
391 power-gpios = <&gpio TEGRA_GPIO(R, 0) GPIO_ACTIVE_HIGH>;
394 vqmmc-supply = <&vddio_sdmmc3>;
397 sdhci@0,700b0600 { /* eMMC on this bus */
407 vdd-cpu-supply = <&vdd_cpu>;
408 nvidia,i2c-fs-rate = <400000>;
417 usb@0,7d000000 { /* Rear external USB port. */
423 vbus-supply = <&vdd_usb1_vbus>;
426 usb@0,7d004000 { /* Internal webcam. */
432 vbus-supply = <&vdd_run_cam>;
435 usb@0,7d008000 { /* Left external USB port. */
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>;
508 compatible = "gpio-keys";
512 gpios = <&gpio TEGRA_GPIO(R, 4) GPIO_ACTIVE_LOW>;
513 linux,input-type = <5>;
514 linux,code = <KEY_RESERVED>;
515 debounce-interval = <1>;
521 gpios = <&gpio TEGRA_GPIO(Q, 0) GPIO_ACTIVE_LOW>;
522 linux,code = <KEY_POWER>;
523 debounce-interval = <30>;
529 compatible = "simple-bus";
530 #address-cells = <1>;
533 vdd_mux: regulator@0 {
534 compatible = "regulator-fixed";
536 regulator-name = "+VDD_MUX";
537 regulator-min-microvolt = <12000000>;
538 regulator-max-microvolt = <12000000>;
543 vdd_5v0_sys: regulator@1 {
544 compatible = "regulator-fixed";
546 regulator-name = "+5V_SYS";
547 regulator-min-microvolt = <5000000>;
548 regulator-max-microvolt = <5000000>;
551 vin-supply = <&vdd_mux>;
554 vdd_3v3_sys: regulator@2 {
555 compatible = "regulator-fixed";
557 regulator-name = "+3.3V_SYS";
558 regulator-min-microvolt = <3300000>;
559 regulator-max-microvolt = <3300000>;
562 vin-supply = <&vdd_mux>;
565 vdd_3v3_run: regulator@3 {
566 compatible = "regulator-fixed";
568 regulator-name = "+3.3V_RUN";
569 regulator-min-microvolt = <3300000>;
570 regulator-max-microvolt = <3300000>;
573 gpio = <&pmic 1 GPIO_ACTIVE_HIGH>;
575 vin-supply = <&vdd_3v3_sys>;
578 vdd_3v3_hdmi: regulator@4 {
579 compatible = "regulator-fixed";
581 regulator-name = "+3.3V_AVDD_HDMI_AP_GATED";
582 regulator-min-microvolt = <3300000>;
583 regulator-max-microvolt = <3300000>;
584 vin-supply = <&vdd_3v3_run>;
587 vdd_led: regulator@5 {
588 compatible = "regulator-fixed";
590 regulator-name = "+VDD_LED";
591 gpio = <&gpio TEGRA_GPIO(P, 2) GPIO_ACTIVE_HIGH>;
593 vin-supply = <&vdd_mux>;
596 vdd_5v0_ts: regulator@6 {
597 compatible = "regulator-fixed";
599 regulator-name = "+5V_VDD_TS_SW";
600 regulator-min-microvolt = <5000000>;
601 regulator-max-microvolt = <5000000>;
603 gpio = <&gpio TEGRA_GPIO(K, 1) GPIO_ACTIVE_HIGH>;
605 vin-supply = <&vdd_5v0_sys>;
608 vdd_usb1_vbus: regulator@7 {
609 compatible = "regulator-fixed";
611 regulator-name = "+5V_USB_HS";
612 regulator-min-microvolt = <5000000>;
613 regulator-max-microvolt = <5000000>;
614 gpio = <&gpio TEGRA_GPIO(N, 4) GPIO_ACTIVE_HIGH>;
617 vin-supply = <&vdd_5v0_sys>;
620 vdd_usb3_vbus: regulator@8 {
621 compatible = "regulator-fixed";
623 regulator-name = "+5V_USB_SS";
624 regulator-min-microvolt = <5000000>;
625 regulator-max-microvolt = <5000000>;
626 gpio = <&gpio TEGRA_GPIO(N, 5) GPIO_ACTIVE_HIGH>;
629 vin-supply = <&vdd_5v0_sys>;
632 vdd_3v3_panel: regulator@9 {
633 compatible = "regulator-fixed";
635 regulator-name = "+3.3V_PANEL";
636 regulator-min-microvolt = <3300000>;
637 regulator-max-microvolt = <3300000>;
638 gpio = <&pmic 4 GPIO_ACTIVE_HIGH>;
640 vin-supply = <&vdd_3v3_run>;
643 vdd_3v3_lp0: regulator@10 {
644 compatible = "regulator-fixed";
646 regulator-name = "+3.3V_LP0";
647 regulator-min-microvolt = <3300000>;
648 regulator-max-microvolt = <3300000>;
650 * TODO: find a way to wire this up with the USB EHCI
651 * controllers so that it can be enabled on demand.
654 gpio = <&pmic 2 GPIO_ACTIVE_HIGH>;
656 vin-supply = <&vdd_3v3_sys>;
659 vdd_hdmi_pll: regulator@11 {
660 compatible = "regulator-fixed";
662 regulator-name = "+1.05V_RUN_AVDD_HDMI_PLL";
663 regulator-min-microvolt = <1050000>;
664 regulator-max-microvolt = <1050000>;
665 gpio = <&gpio TEGRA_GPIO(H, 7) GPIO_ACTIVE_LOW>;
666 vin-supply = <&vdd_1v05_run>;
669 vdd_5v0_hdmi: regulator@12 {
670 compatible = "regulator-fixed";
672 regulator-name = "+5V_HDMI_CON";
673 regulator-min-microvolt = <5000000>;
674 regulator-max-microvolt = <5000000>;
675 gpio = <&gpio TEGRA_GPIO(K, 6) GPIO_ACTIVE_HIGH>;
677 vin-supply = <&vdd_5v0_sys>;
682 nvidia,audio-routing =
687 "Mic Jack", "MICBIAS",
692 nvidia,i2s-controller = <&tegra_i2s1>;
693 nvidia,audio-codec = <&acodec>;
695 clocks = <&tegra_car TEGRA124_CLK_PLL_A>,
696 <&tegra_car TEGRA124_CLK_PLL_A_OUT0>,
697 <&tegra_car TEGRA124_CLK_EXTERN1>;
698 clock-names = "pll_a", "pll_a_out0", "mclk";
700 nvidia,hp-det-gpios = <&gpio TEGRA_GPIO(I, 7) GPIO_ACTIVE_HIGH>;
701 nvidia,mic-det-gpios =
702 <&gpio TEGRA_GPIO(R, 7) GPIO_ACTIVE_HIGH>;
706 compatible = "gpio-restart";
707 gpios = <&gpio TEGRA_GPIO(I, 5) GPIO_ACTIVE_LOW>;
712 #include "cros-ec-keyboard.dtsi"