Lines Matching +full:vsel1 +full:- +full:gpio

1 // SPDX-License-Identifier: GPL-2.0
2 #include <dt-bindings/input/input.h>
3 #include <dt-bindings/thermal/thermal.h>
5 #include "tegra30-cpu-opp.dtsi"
6 #include "tegra30-cpu-opp-microvolt.dtsi"
16 * use tegra30-cardhu-a02.dts, Cardhu fab version A04 and later, use
17 * tegra30-cardhu-a04.dts.
20 * The sticker will have number like 600-81291-1000-002 C.3. In this 4th
22 * The (downstream internal) U-Boot of Cardhu display the board-id as
43 stdout-path = "serial0:115200n8";
54 avdd-pexb-supply = <&ldo1_reg>;
55 vdd-pexb-supply = <&ldo1_reg>;
56 avdd-pex-pll-supply = <&ldo1_reg>;
57 hvdd-pex-supply = <&pex_hvdd_3v3_reg>;
58 vddio-pex-ctl-supply = <&sys_3v3_reg>;
59 avdd-plle-supply = <&ldo2_reg>;
62 nvidia,num-lanes = <4>;
66 nvidia,num-lanes = <1>;
71 nvidia,num-lanes = <1>;
86 pinctrl-names = "default";
87 pinctrl-0 = <&state_default>;
153 nvidia,high-speed-mode = <TEGRA_PIN_DISABLE>;
155 nvidia,pull-down-strength = <46>;
156 nvidia,pull-up-strength = <42>;
157 nvidia,slew-rate-rising = <TEGRA_PIN_SLEW_RATE_FAST>;
158 nvidia,slew-rate-falling = <TEGRA_PIN_SLEW_RATE_FAST>;
177 compatible = "nvidia,tegra30-hsuart";
178 /delete-property/ reg-shift;
188 clock-frequency = <100000>;
193 clock-frequency = <100000>;
198 clock-frequency = <100000>;
204 interrupt-parent = <&gpio>;
210 #address-cells = <1>;
211 #size-cells = <0>;
213 reset-gpios = <&gpio TEGRA_GPIO(BB, 0) GPIO_ACTIVE_LOW>;
219 clock-frequency = <100000>;
224 clock-frequency = <100000>;
229 interrupt-parent = <&gpio>;
232 gpio-controller;
233 #gpio-cells = <2>;
235 micdet-cfg = <0>;
236 micdet-delay = <100>;
237 gpio-cfg = <0xffffffff 0xffffffff 0 0xffffffff 0xffffffff>;
245 #interrupt-cells = <2>;
246 interrupt-controller;
247 wakeup-source;
249 ti,system-power-controller;
251 #gpio-cells = <2>;
252 gpio-controller;
254 vcc1-supply = <&vdd_ac_bat_reg>;
255 vcc2-supply = <&vdd_ac_bat_reg>;
256 vcc3-supply = <&vio_reg>;
257 vcc4-supply = <&vdd_5v0_reg>;
258 vcc5-supply = <&vdd_ac_bat_reg>;
259 vcc6-supply = <&vdd2_reg>;
260 vcc7-supply = <&vdd_ac_bat_reg>;
261 vccio-supply = <&vdd_ac_bat_reg>;
265 regulator-name = "vddio_ddr_1v2";
266 regulator-min-microvolt = <1200000>;
267 regulator-max-microvolt = <1200000>;
268 regulator-always-on;
272 regulator-name = "vdd_1v5_gen";
273 regulator-min-microvolt = <1500000>;
274 regulator-max-microvolt = <1500000>;
275 regulator-always-on;
279 regulator-name = "vdd_cpu,vdd_sys";
280 regulator-min-microvolt = <800000>;
281 regulator-max-microvolt = <1250000>;
282 regulator-coupled-with = <&vdd_core>;
283 regulator-coupled-max-spread = <300000>;
284 regulator-max-step-microvolt = <100000>;
285 regulator-always-on;
287 nvidia,tegra-cpu-regulator;
291 regulator-name = "vdd_1v8_gen";
292 regulator-min-microvolt = <1800000>;
293 regulator-max-microvolt = <1800000>;
294 regulator-always-on;
298 regulator-name = "vdd_pexa,vdd_pexb";
299 regulator-min-microvolt = <1050000>;
300 regulator-max-microvolt = <1050000>;
304 regulator-name = "vdd_sata,avdd_plle";
305 regulator-min-microvolt = <1050000>;
306 regulator-max-microvolt = <1050000>;
312 regulator-name = "vdd_rtc";
313 regulator-min-microvolt = <1200000>;
314 regulator-max-microvolt = <1200000>;
315 regulator-always-on;
319 regulator-name = "vddio_sdmmc,avdd_vdac";
320 regulator-min-microvolt = <3300000>;
321 regulator-max-microvolt = <3300000>;
322 regulator-always-on;
326 regulator-name = "avdd_dsi_csi,pwrdet_mipi";
327 regulator-min-microvolt = <1200000>;
328 regulator-max-microvolt = <1200000>;
332 regulator-name = "vdd_pllm,x,u,a_p_c_s";
333 regulator-min-microvolt = <1200000>;
334 regulator-max-microvolt = <1200000>;
335 regulator-always-on;
339 regulator-name = "vdd_ddr_hs";
340 regulator-min-microvolt = <1000000>;
341 regulator-max-microvolt = <1000000>;
342 regulator-always-on;
347 nct1008: temperature-sensor@4c {
350 vcc-supply = <&sys_3v3_reg>;
351 interrupt-parent = <&gpio>;
353 #thermal-sensor-cells = <1>;
360 regulator-name = "tps62361-vout";
361 regulator-min-microvolt = <500000>;
362 regulator-max-microvolt = <1500000>;
363 regulator-coupled-with = <&vddctrl_reg>;
364 regulator-coupled-max-spread = <300000>;
365 regulator-max-step-microvolt = <100000>;
366 regulator-boot-on;
367 regulator-always-on;
368 ti,vsel0-state-high;
369 ti,vsel1-state-high;
371 nvidia,tegra-core-regulator;
377 spi-max-frequency = <25000000>;
380 compatible = "winbond,w25q32", "jedec,spi-nor";
382 spi-max-frequency = <20000000>;
388 nvidia,invert-interrupt;
389 nvidia,suspend-mode = <1>;
390 nvidia,cpu-pwr-good-time = <2000>;
391 nvidia,cpu-pwr-off-time = <200>;
392 nvidia,core-pwr-good-time = <3845 3845>;
393 nvidia,core-pwr-off-time = <0>;
394 nvidia,core-power-req-active-high;
395 nvidia,sys-clock-req-active-high;
396 core-supply = <&vdd_core>;
407 cd-gpios = <&gpio TEGRA_GPIO(I, 5) GPIO_ACTIVE_LOW>;
408 wp-gpios = <&gpio TEGRA_GPIO(T, 3) GPIO_ACTIVE_HIGH>;
409 power-gpios = <&gpio TEGRA_GPIO(D, 7) GPIO_ACTIVE_HIGH>;
410 bus-width = <4>;
415 bus-width = <8>;
416 non-removable;
423 usb-phy@7d008000 {
424 vbus-supply = <&usb3_vbus_reg>;
429 compatible = "pwm-backlight";
431 enable-gpios = <&gpio TEGRA_GPIO(H, 2) GPIO_ACTIVE_HIGH>;
432 power-supply = <&vdd_bl_reg>;
435 brightness-levels = <0 4 8 16 32 64 128 255>;
436 default-brightness-level = <6>;
439 clk32k_in: clock-32k {
440 compatible = "fixed-clock";
441 clock-frequency = <32768>;
442 #clock-cells = <0>;
447 cpu-supply = <&vddctrl_reg>;
448 operating-points-v2 = <&cpu0_opp_table>;
449 #cooling-cells = <2>;
453 cpu-supply = <&vddctrl_reg>;
454 operating-points-v2 = <&cpu0_opp_table>;
455 #cooling-cells = <2>;
459 cpu-supply = <&vddctrl_reg>;
460 operating-points-v2 = <&cpu0_opp_table>;
461 #cooling-cells = <2>;
465 cpu-supply = <&vddctrl_reg>;
466 operating-points-v2 = <&cpu0_opp_table>;
467 #cooling-cells = <2>;
473 ddc-i2c-bus = <&panelddc>;
475 power-supply = <&vdd_pnl1_reg>;
476 enable-gpios = <&gpio TEGRA_GPIO(L, 2) GPIO_ACTIVE_HIGH>;
481 vdd_ac_bat_reg: regulator-acbat {
482 compatible = "regulator-fixed";
483 regulator-name = "vdd_ac_bat";
484 regulator-min-microvolt = <5000000>;
485 regulator-max-microvolt = <5000000>;
486 regulator-always-on;
489 cam_1v8_reg: regulator-cam {
490 compatible = "regulator-fixed";
491 regulator-name = "cam_1v8";
492 regulator-min-microvolt = <1800000>;
493 regulator-max-microvolt = <1800000>;
494 enable-active-high;
495 gpio = <&gpio TEGRA_GPIO(BB, 4) GPIO_ACTIVE_HIGH>;
496 vin-supply = <&vio_reg>;
499 cp_5v_reg: regulator-5v0cp {
500 compatible = "regulator-fixed";
501 regulator-name = "cp_5v";
502 regulator-min-microvolt = <5000000>;
503 regulator-max-microvolt = <5000000>;
504 regulator-boot-on;
505 regulator-always-on;
506 enable-active-high;
507 gpio = <&pmic 0 GPIO_ACTIVE_HIGH>;
510 emmc_3v3_reg: regulator-emmc {
511 compatible = "regulator-fixed";
512 regulator-name = "emmc_3v3";
513 regulator-min-microvolt = <3300000>;
514 regulator-max-microvolt = <3300000>;
515 regulator-always-on;
516 regulator-boot-on;
517 enable-active-high;
518 gpio = <&gpio TEGRA_GPIO(D, 1) GPIO_ACTIVE_HIGH>;
519 vin-supply = <&sys_3v3_reg>;
522 modem_3v3_reg: regulator-modem {
523 compatible = "regulator-fixed";
524 regulator-name = "modem_3v3";
525 regulator-min-microvolt = <3300000>;
526 regulator-max-microvolt = <3300000>;
527 enable-active-high;
528 gpio = <&gpio TEGRA_GPIO(D, 6) GPIO_ACTIVE_HIGH>;
531 pex_hvdd_3v3_reg: regulator-pex {
532 compatible = "regulator-fixed";
533 regulator-name = "pex_hvdd_3v3";
534 regulator-min-microvolt = <3300000>;
535 regulator-max-microvolt = <3300000>;
536 enable-active-high;
537 gpio = <&gpio TEGRA_GPIO(L, 7) GPIO_ACTIVE_HIGH>;
538 vin-supply = <&sys_3v3_reg>;
541 vdd_cam1_ldo_reg: regulator-cam1 {
542 compatible = "regulator-fixed";
543 regulator-name = "vdd_cam1_ldo";
544 regulator-min-microvolt = <2800000>;
545 regulator-max-microvolt = <2800000>;
546 enable-active-high;
547 gpio = <&gpio TEGRA_GPIO(R, 6) GPIO_ACTIVE_HIGH>;
548 vin-supply = <&sys_3v3_reg>;
551 vdd_cam2_ldo_reg: regulator-cam2 {
552 compatible = "regulator-fixed";
553 regulator-name = "vdd_cam2_ldo";
554 regulator-min-microvolt = <2800000>;
555 regulator-max-microvolt = <2800000>;
556 enable-active-high;
557 gpio = <&gpio TEGRA_GPIO(R, 7) GPIO_ACTIVE_HIGH>;
558 vin-supply = <&sys_3v3_reg>;
561 vdd_cam3_ldo_reg: regulator-cam3 {
562 compatible = "regulator-fixed";
563 regulator-name = "vdd_cam3_ldo";
564 regulator-min-microvolt = <3300000>;
565 regulator-max-microvolt = <3300000>;
566 enable-active-high;
567 gpio = <&gpio TEGRA_GPIO(S, 0) GPIO_ACTIVE_HIGH>;
568 vin-supply = <&sys_3v3_reg>;
571 vdd_com_reg: regulator-com {
572 compatible = "regulator-fixed";
573 regulator-name = "vdd_com";
574 regulator-min-microvolt = <3300000>;
575 regulator-max-microvolt = <3300000>;
576 regulator-always-on;
577 regulator-boot-on;
578 enable-active-high;
579 gpio = <&gpio TEGRA_GPIO(D, 0) GPIO_ACTIVE_HIGH>;
580 vin-supply = <&sys_3v3_reg>;
583 vdd_fuse_3v3_reg: regulator-fuse {
584 compatible = "regulator-fixed";
585 regulator-name = "vdd_fuse_3v3";
586 regulator-min-microvolt = <3300000>;
587 regulator-max-microvolt = <3300000>;
588 enable-active-high;
589 gpio = <&gpio TEGRA_GPIO(L, 6) GPIO_ACTIVE_HIGH>;
590 vin-supply = <&sys_3v3_reg>;
593 vdd_pnl1_reg: regulator-pnl1 {
594 compatible = "regulator-fixed";
595 regulator-name = "vdd_pnl1";
596 regulator-min-microvolt = <3300000>;
597 regulator-max-microvolt = <3300000>;
598 regulator-always-on;
599 regulator-boot-on;
600 enable-active-high;
601 gpio = <&gpio TEGRA_GPIO(L, 4) GPIO_ACTIVE_HIGH>;
602 vin-supply = <&sys_3v3_reg>;
605 vdd_vid_reg: regulator-vid {
606 compatible = "regulator-fixed";
607 regulator-name = "vddio_vid";
608 regulator-min-microvolt = <5000000>;
609 regulator-max-microvolt = <5000000>;
610 enable-active-high;
611 gpio = <&gpio TEGRA_GPIO(T, 0) GPIO_ACTIVE_HIGH>;
612 gpio-open-drain;
613 vin-supply = <&vdd_5v0_reg>;
617 compatible = "nvidia,tegra-audio-wm8903-cardhu",
618 "nvidia,tegra-audio-wm8903";
621 nvidia,audio-routing =
631 nvidia,i2s-controller = <&tegra_i2s1>;
632 nvidia,audio-codec = <&wm8903>;
634 nvidia,spkr-en-gpios = <&wm8903 2 GPIO_ACTIVE_HIGH>;
635 nvidia,hp-det-gpios = <&gpio TEGRA_GPIO(W, 2)
641 clock-names = "pll_a", "pll_a_out0", "mclk";
643 assigned-clocks = <&tegra_car TEGRA30_CLK_EXTERN1>,
646 assigned-clock-parents = <&tegra_car TEGRA30_CLK_PLL_A_OUT0>,
650 thermal-zones {
651 cpu-thermal {
652 polling-delay-passive = <1000>; /* milliseconds */
653 polling-delay = <5000>; /* milliseconds */
655 thermal-sensors = <&nct1008 1>;
658 trip0: cpu-alert0 {
665 trip1: cpu-crit {
673 cooling-maps {
676 cooling-device = <&cpu0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
685 gpio-keys {
686 compatible = "gpio-keys";
688 key-power {
690 interrupt-parent = <&pmic>;
693 debounce-interval = <100>;
694 wakeup-source;
697 key-volume-down {
699 gpios = <&gpio TEGRA_GPIO(R, 0) GPIO_ACTIVE_LOW>;
701 debounce-interval = <10>;
704 key-volume-up {
706 gpios = <&gpio TEGRA_GPIO(R, 1) GPIO_ACTIVE_LOW>;
708 debounce-interval = <10>;