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 * Note that recent version of the device tree compiler (starting with
18 * version 1.4.2) warn about this node containing a reg property, but
19 * missing a unit-address. However, the bootloader on these Chromebook
20 * devices relies on the full name of this node to be exactly /memory.
21 * Adding the unit-address causes the bootloader to create a /memory
22 * node and write the memory bank configuration to that node, which in
23 * turn leads the kernel to believe that the device has 2 GiB of
24 * memory instead of the amount detected by the bootloader.
26 * The name of this node is effectively ABI and must not be changed.
29 device_type = "memory";
30 reg = <0x0 0x80000000 0x0 0x80000000>;
33 /delete-node/ memory@80000000;
39 vdd-supply = <&vdd_3v3_hdmi>;
40 pll-supply = <&vdd_hdmi_pll>;
41 hdmi-supply = <&vdd_5v0_hdmi>;
43 nvidia,ddc-i2c-bus = <&hdmi_ddc>;
45 <&gpio TEGRA_GPIO(N, 7) GPIO_ACTIVE_HIGH>;
51 avdd-io-hdmi-dp-supply = <&vdd_3v3_hdmi>;
52 vdd-hdmi-dp-pll-supply = <&vdd_hdmi_pll>;
54 nvidia,dpaux = <&dpaux>;
55 nvidia,panel = <&panel>;
59 vdd-supply = <&vdd_3v3_panel>;
67 vdd-supply = <&vdd_gpu>;
71 /* Debug connector on the bottom of the board near SD card. */
81 clock-frequency = <100000>;
83 acodec: audio-codec@10 {
84 compatible = "maxim,max98090";
86 interrupt-parent = <&gpio>;
87 interrupts = <TEGRA_GPIO(H, 4) IRQ_TYPE_EDGE_FALLING>;
90 temperature-sensor@4c {
91 compatible = "ti,tmp451";
93 interrupt-parent = <&gpio>;
94 interrupts = <TEGRA_GPIO(I, 6) IRQ_TYPE_LEVEL_LOW>;
96 #thermal-sensor-cells = <1>;
102 clock-frequency = <100000>;
105 compatible = "elan,ekth3000";
107 interrupt-parent = <&gpio>;
108 interrupts = <TEGRA_GPIO(W, 3) IRQ_TYPE_EDGE_FALLING>;
115 clock-frequency = <400000>;
118 compatible = "infineon,slb9645tt";
123 hdmi_ddc: i2c@7000c700 {
125 clock-frequency = <100000>;
130 clock-frequency = <400000>;
133 compatible = "ams,as3722";
135 interrupts = <0 86 IRQ_TYPE_LEVEL_HIGH>;
137 ams,system-power-controller;
139 #interrupt-cells = <2>;
140 interrupt-controller;
145 pinctrl-names = "default";
146 pinctrl-0 = <&as3722_default>;
148 as3722_default: pinmux {
162 pins = "gpio2", "gpio4", "gpio7";
168 pins = "gpio3", "gpio6";
174 function = "clk32k-out";
180 vsup-sd2-supply = <&vdd_5v0_sys>;
181 vsup-sd3-supply = <&vdd_5v0_sys>;
182 vsup-sd4-supply = <&vdd_5v0_sys>;
183 vsup-sd5-supply = <&vdd_5v0_sys>;
184 vin-ldo0-supply = <&vdd_1v35_lp0>;
185 vin-ldo1-6-supply = <&vdd_3v3_run>;
186 vin-ldo2-5-7-supply = <&vddio_1v8>;
187 vin-ldo3-4-supply = <&vdd_3v3_sys>;
188 vin-ldo9-10-supply = <&vdd_5v0_sys>;
189 vin-ldo11-supply = <&vdd_3v3_run>;
192 regulator-name = "+VDD_CPU_AP";
193 regulator-min-microvolt = <700000>;
194 regulator-max-microvolt = <1350000>;
195 regulator-min-microamp = <3500000>;
196 regulator-max-microamp = <3500000>;
199 ams,ext-control = <2>;
203 regulator-name = "+VDD_CORE";
204 regulator-min-microvolt = <700000>;
205 regulator-max-microvolt = <1350000>;
206 regulator-min-microamp = <2500000>;
207 regulator-max-microamp = <4000000>;
210 ams,ext-control = <1>;
214 regulator-name = "+1.35V_LP0(sd2)";
215 regulator-min-microvolt = <1350000>;
216 regulator-max-microvolt = <1350000>;
222 regulator-name = "+1.35V_LP0(sd3)";
223 regulator-min-microvolt = <1350000>;
224 regulator-max-microvolt = <1350000>;
230 regulator-name = "+1.05V_RUN";
231 regulator-min-microvolt = <1050000>;
232 regulator-max-microvolt = <1050000>;
236 regulator-name = "+1.8V_VDDIO";
237 regulator-min-microvolt = <1800000>;
238 regulator-max-microvolt = <1800000>;
243 regulator-name = "+VDD_GPU_AP";
244 regulator-min-microvolt = <650000>;
245 regulator-max-microvolt = <1200000>;
246 regulator-min-microamp = <3500000>;
247 regulator-max-microamp = <3500000>;
252 avdd_1v05_run: ldo0 {
253 regulator-name = "+1.05V_RUN_AVDD";
254 regulator-min-microvolt = <1050000>;
255 regulator-max-microvolt = <1050000>;
258 ams,ext-control = <1>;
262 regulator-name = "+1.8V_RUN_CAM";
263 regulator-min-microvolt = <1800000>;
264 regulator-max-microvolt = <1800000>;
268 regulator-name = "+1.2V_GEN_AVDD";
269 regulator-min-microvolt = <1200000>;
270 regulator-max-microvolt = <1200000>;
276 regulator-name = "+1.00V_LP0_VDD_RTC";
277 regulator-min-microvolt = <1000000>;
278 regulator-max-microvolt = <1000000>;
285 regulator-name = "+3.3V_RUN_CAM";
286 regulator-min-microvolt = <2800000>;
287 regulator-max-microvolt = <2800000>;
291 regulator-name = "+1.2V_RUN_CAM_FRONT";
292 regulator-min-microvolt = <1200000>;
293 regulator-max-microvolt = <1200000>;
297 regulator-name = "+VDDIO_SDMMC3";
298 regulator-min-microvolt = <1800000>;
299 regulator-max-microvolt = <3300000>;
303 regulator-name = "+1.05V_RUN_CAM_REAR";
304 regulator-min-microvolt = <1050000>;
305 regulator-max-microvolt = <1050000>;
309 regulator-name = "+2.8V_RUN_TOUCH";
310 regulator-min-microvolt = <2800000>;
311 regulator-max-microvolt = <2800000>;
315 regulator-name = "+2.8V_RUN_CAM_AF";
316 regulator-min-microvolt = <2800000>;
317 regulator-max-microvolt = <2800000>;
321 regulator-name = "+1.8V_RUN_VPP_FUSE";
322 regulator-min-microvolt = <1800000>;
323 regulator-max-microvolt = <1800000>;
333 compatible = "google,cros-ec-spi";
334 spi-max-frequency = <3000000>;
335 interrupt-parent = <&gpio>;
336 interrupts = <TEGRA_GPIO(C, 7) IRQ_TYPE_LEVEL_LOW>;
339 google,cros-ec-spi-msg-delay = <2000>;
342 compatible = "google,cros-ec-i2c-tunnel";
343 #address-cells = <1>;
346 google,remote-bus = <0>;
349 compatible = "ti,bq24735";
351 interrupt-parent = <&gpio>;
352 interrupts = <TEGRA_GPIO(J, 0)
354 ti,ac-detect-gpios = <&gpio
360 battery: sbs-battery@b {
361 compatible = "sbs,sbs-battery";
363 sbs,i2c-retry-count = <2>;
364 sbs,poll-retry-count = <10>;
365 power-supplies = <&charger>;
373 spi-max-frequency = <25000000>;
376 compatible = "winbond,w25q32dw", "jedec,spi-nor";
377 spi-max-frequency = <25000000>;
383 nvidia,invert-interrupt;
384 nvidia,suspend-mode = <0>;
385 nvidia,cpu-pwr-good-time = <500>;
386 nvidia,cpu-pwr-off-time = <300>;
387 nvidia,core-pwr-good-time = <641 3845>;
388 nvidia,core-pwr-off-time = <61036>;
389 nvidia,core-power-req-active-high;
390 nvidia,sys-clock-req-active-high;
398 phys = <&{/padctl@7009f000/pads/usb2/lanes/usb2-0}>, /* 1st USB A */
399 <&{/padctl@7009f000/pads/usb2/lanes/usb2-1}>, /* Internal USB */
400 <&{/padctl@7009f000/pads/usb2/lanes/usb2-2}>, /* 2nd USB A */
401 <&{/padctl@7009f000/pads/pcie/lanes/pcie-0}>, /* 1st USB A */
402 <&{/padctl@7009f000/pads/pcie/lanes/pcie-1}>; /* 2nd USB A */
403 phy-names = "usb2-0", "usb2-1", "usb2-2", "usb3-0", "usb3-1";
405 avddio-pex-supply = <&vdd_1v05_run>;
406 dvddio-pex-supply = <&vdd_1v05_run>;
407 avdd-usb-supply = <&vdd_3v3_lp0>;
408 avdd-pll-utmip-supply = <&vddio_1v8>;
409 avdd-pll-erefe-supply = <&avdd_1v05_run>;
410 avdd-usb-ss-pll-supply = <&vdd_1v05_run>;
411 hvdd-usb-ss-supply = <&vdd_3v3_lp0>;
412 hvdd-usb-ss-pll-e-supply = <&vdd_3v3_lp0>;
420 avdd-pll-utmip-supply = <&vddio_1v8>;
421 avdd-pll-erefe-supply = <&avdd_1v05_run>;
422 avdd-pex-pll-supply = <&vdd_1v05_run>;
423 hvdd-pex-pll-e-supply = <&vdd_3v3_lp0>;
431 nvidia,function = "xusb";
436 nvidia,function = "xusb";
441 nvidia,function = "xusb";
452 nvidia,function = "usb3-ss";
457 nvidia,function = "usb3-ss";
466 vbus-supply = <&vdd_usb1_vbus>;
472 vbus-supply = <&vdd_run_cam>;
478 vbus-supply = <&vdd_usb3_vbus>;
484 nvidia,usb2-companion = <0>;
489 nvidia,usb2-companion = <1>;
495 sdhci0_pwrseq: sdhci0_pwrseq {
496 compatible = "mmc-pwrseq-simple";
498 reset-gpios = <&gpio TEGRA_GPIO(X, 7) GPIO_ACTIVE_LOW>;
501 mmc@700b0000 { /* WiFi/BT on this bus */
506 mmc-pwrseq = <&sdhci0_pwrseq>;
507 vmmc-supply = <&vdd_3v3_lp0>;
508 vqmmc-supply = <&vddio_1v8>;
509 keep-power-in-suspend;
512 mmc@700b0400 { /* SD Card on this bus */
514 cd-gpios = <&gpio TEGRA_GPIO(V, 2) GPIO_ACTIVE_LOW>;
515 power-gpios = <&gpio TEGRA_GPIO(R, 0) GPIO_ACTIVE_HIGH>;
518 vqmmc-supply = <&vddio_sdmmc3>;
521 mmc@700b0600 { /* eMMC on this bus */
531 vdd-cpu-supply = <&vdd_cpu>;
532 nvidia,i2c-fs-rate = <400000>;
541 backlight: backlight {
542 compatible = "pwm-backlight";
544 enable-gpios = <&gpio TEGRA_GPIO(H, 2) GPIO_ACTIVE_HIGH>;
545 power-supply = <&vdd_led>;
546 pwms = <&pwm 1 1000000>;
548 default-brightness-level = <224>;
551 8 9 10 11 12 13 14 15
552 16 17 18 19 20 21 22 23
553 24 25 26 27 28 29 30 31
554 32 33 34 35 36 37 38 39
555 40 41 42 43 44 45 46 47
556 48 49 50 51 52 53 54 55
557 56 57 58 59 60 61 62 63
558 64 65 66 67 68 69 70 71
559 72 73 74 75 76 77 78 79
560 80 81 82 83 84 85 86 87
561 88 89 90 91 92 93 94 95
562 96 97 98 99 100 101 102 103
563 104 105 106 107 108 109 110 111
564 112 113 114 115 116 117 118 119
565 120 121 122 123 124 125 126 127
566 128 129 130 131 132 133 134 135
567 136 137 138 139 140 141 142 143
568 144 145 146 147 148 149 150 151
569 152 153 154 155 156 157 158 159
570 160 161 162 163 164 165 166 167
571 168 169 170 171 172 173 174 175
572 176 177 178 179 180 181 182 183
573 184 185 186 187 188 189 190 191
574 192 193 194 195 196 197 198 199
575 200 201 202 203 204 205 206 207
576 208 209 210 211 212 213 214 215
577 216 217 218 219 220 221 222 223
578 224 225 226 227 228 229 230 231
579 232 233 234 235 236 237 238 239
580 240 241 242 243 244 245 246 247
581 248 249 250 251 252 253 254 255
586 compatible = "fixed-clock";
587 clock-frequency = <32768>;
593 vdd-cpu-supply = <&vdd_cpu>;
598 compatible = "gpio-keys";
602 gpios = <&gpio TEGRA_GPIO(R, 4) GPIO_ACTIVE_LOW>;
603 linux,input-type = <5>;
604 linux,code = <KEY_RESERVED>;
605 debounce-interval = <1>;
611 gpios = <&gpio TEGRA_GPIO(Q, 0) GPIO_ACTIVE_LOW>;
612 linux,code = <KEY_POWER>;
613 debounce-interval = <30>;
618 vdd_mux: regulator@0 {
619 compatible = "regulator-fixed";
620 regulator-name = "+VDD_MUX";
621 regulator-min-microvolt = <12000000>;
622 regulator-max-microvolt = <12000000>;
627 vdd_5v0_sys: regulator@1 {
628 compatible = "regulator-fixed";
629 regulator-name = "+5V_SYS";
630 regulator-min-microvolt = <5000000>;
631 regulator-max-microvolt = <5000000>;
634 vin-supply = <&vdd_mux>;
637 vdd_3v3_sys: regulator@2 {
638 compatible = "regulator-fixed";
639 regulator-name = "+3.3V_SYS";
640 regulator-min-microvolt = <3300000>;
641 regulator-max-microvolt = <3300000>;
644 vin-supply = <&vdd_mux>;
647 vdd_3v3_run: regulator@3 {
648 compatible = "regulator-fixed";
649 regulator-name = "+3.3V_RUN";
650 regulator-min-microvolt = <3300000>;
651 regulator-max-microvolt = <3300000>;
654 gpio = <&pmic 1 GPIO_ACTIVE_HIGH>;
656 vin-supply = <&vdd_3v3_sys>;
659 vdd_3v3_hdmi: regulator@4 {
660 compatible = "regulator-fixed";
661 regulator-name = "+3.3V_AVDD_HDMI_AP_GATED";
662 regulator-min-microvolt = <3300000>;
663 regulator-max-microvolt = <3300000>;
664 vin-supply = <&vdd_3v3_run>;
667 vdd_led: regulator@5 {
668 compatible = "regulator-fixed";
669 regulator-name = "+VDD_LED";
670 gpio = <&gpio TEGRA_GPIO(P, 2) GPIO_ACTIVE_HIGH>;
672 vin-supply = <&vdd_mux>;
675 vdd_5v0_ts: regulator@6 {
676 compatible = "regulator-fixed";
677 regulator-name = "+5V_VDD_TS_SW";
678 regulator-min-microvolt = <5000000>;
679 regulator-max-microvolt = <5000000>;
681 gpio = <&gpio TEGRA_GPIO(K, 1) GPIO_ACTIVE_HIGH>;
683 vin-supply = <&vdd_5v0_sys>;
686 vdd_usb1_vbus: regulator@7 {
687 compatible = "regulator-fixed";
688 regulator-name = "+5V_USB_HS";
689 regulator-min-microvolt = <5000000>;
690 regulator-max-microvolt = <5000000>;
691 gpio = <&gpio TEGRA_GPIO(N, 4) GPIO_ACTIVE_HIGH>;
694 vin-supply = <&vdd_5v0_sys>;
697 vdd_usb3_vbus: regulator@8 {
698 compatible = "regulator-fixed";
699 regulator-name = "+5V_USB_SS";
700 regulator-min-microvolt = <5000000>;
701 regulator-max-microvolt = <5000000>;
702 gpio = <&gpio TEGRA_GPIO(N, 5) GPIO_ACTIVE_HIGH>;
705 vin-supply = <&vdd_5v0_sys>;
708 vdd_3v3_panel: regulator@9 {
709 compatible = "regulator-fixed";
710 regulator-name = "+3.3V_PANEL";
711 regulator-min-microvolt = <3300000>;
712 regulator-max-microvolt = <3300000>;
713 gpio = <&pmic 4 GPIO_ACTIVE_HIGH>;
715 vin-supply = <&vdd_3v3_run>;
718 vdd_3v3_lp0: regulator@10 {
719 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";
735 regulator-name = "+1.05V_RUN_AVDD_HDMI_PLL";
736 regulator-min-microvolt = <1050000>;
737 regulator-max-microvolt = <1050000>;
738 gpio = <&gpio TEGRA_GPIO(H, 7) GPIO_ACTIVE_LOW>;
739 vin-supply = <&vdd_1v05_run>;
742 vdd_5v0_hdmi: regulator@12 {
743 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>;
753 nvidia,audio-routing =
758 "Mic Jack", "MICBIAS",
763 nvidia,i2s-controller = <&tegra_i2s1>;
764 nvidia,audio-codec = <&acodec>;
766 clocks = <&tegra_car TEGRA124_CLK_PLL_A>,
767 <&tegra_car TEGRA124_CLK_PLL_A_OUT0>,
768 <&tegra_pmc TEGRA_PMC_CLK_OUT_1>;
769 clock-names = "pll_a", "pll_a_out0", "mclk";
771 assigned-clocks = <&tegra_car TEGRA124_CLK_EXTERN1>,
772 <&tegra_pmc TEGRA_PMC_CLK_OUT_1>;
774 assigned-clock-parents = <&tegra_car TEGRA124_CLK_PLL_A_OUT0>,
775 <&tegra_car TEGRA124_CLK_EXTERN1>;
777 nvidia,hp-det-gpios = <&gpio TEGRA_GPIO(I, 7) GPIO_ACTIVE_HIGH>;
778 nvidia,mic-det-gpios =
779 <&gpio TEGRA_GPIO(R, 7) GPIO_ACTIVE_HIGH>;
783 compatible = "gpio-restart";
784 gpios = <&gpio TEGRA_GPIO(I, 5) GPIO_ACTIVE_LOW>;
789 #include "cros-ec-keyboard.dtsi"