Lines Matching +full:gpio +full:- +full:always +full:- +full:on

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"
14 * compatible with fab version A04. Based on Cardhu fab version, the
16 * use tegra30-cardhu-a02.dts, Cardhu fab version A04 and later, use
17 * tegra30-cardhu-a04.dts.
19 * on PCB and by reading board id eeprom.
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";
53 /* AVDD_PEXA and VDD_PEXA inputs are grounded on Cardhu. */
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";
187 clock-frequency = <100000>;
192 clock-frequency = <100000>;
197 clock-frequency = <100000>;
203 interrupt-parent = <&gpio>;
209 #address-cells = <1>;
210 #size-cells = <0>;
212 reset-gpio = <&gpio TEGRA_GPIO(BB, 0) GPIO_ACTIVE_LOW>;
218 clock-frequency = <100000>;
223 clock-frequency = <100000>;
228 interrupt-parent = <&gpio>;
231 gpio-controller;
232 #gpio-cells = <2>;
234 micdet-cfg = <0>;
235 micdet-delay = <100>;
236 gpio-cfg = <0xffffffff 0xffffffff 0 0xffffffff 0xffffffff>;
244 #interrupt-cells = <2>;
245 interrupt-controller;
246 wakeup-source;
248 ti,system-power-controller;
250 #gpio-cells = <2>;
251 gpio-controller;
253 vcc1-supply = <&vdd_ac_bat_reg>;
254 vcc2-supply = <&vdd_ac_bat_reg>;
255 vcc3-supply = <&vio_reg>;
256 vcc4-supply = <&vdd_5v0_reg>;
257 vcc5-supply = <&vdd_ac_bat_reg>;
258 vcc6-supply = <&vdd2_reg>;
259 vcc7-supply = <&vdd_ac_bat_reg>;
260 vccio-supply = <&vdd_ac_bat_reg>;
264 regulator-name = "vddio_ddr_1v2";
265 regulator-min-microvolt = <1200000>;
266 regulator-max-microvolt = <1200000>;
267 regulator-always-on;
271 regulator-name = "vdd_1v5_gen";
272 regulator-min-microvolt = <1500000>;
273 regulator-max-microvolt = <1500000>;
274 regulator-always-on;
278 regulator-name = "vdd_cpu,vdd_sys";
279 regulator-min-microvolt = <800000>;
280 regulator-max-microvolt = <1250000>;
281 regulator-coupled-with = <&vdd_core>;
282 regulator-coupled-max-spread = <300000>;
283 regulator-max-step-microvolt = <100000>;
284 regulator-always-on;
286 nvidia,tegra-cpu-regulator;
290 regulator-name = "vdd_1v8_gen";
291 regulator-min-microvolt = <1800000>;
292 regulator-max-microvolt = <1800000>;
293 regulator-always-on;
297 regulator-name = "vdd_pexa,vdd_pexb";
298 regulator-min-microvolt = <1050000>;
299 regulator-max-microvolt = <1050000>;
303 regulator-name = "vdd_sata,avdd_plle";
304 regulator-min-microvolt = <1050000>;
305 regulator-max-microvolt = <1050000>;
311 regulator-name = "vdd_rtc";
312 regulator-min-microvolt = <1200000>;
313 regulator-max-microvolt = <1200000>;
314 regulator-always-on;
318 regulator-name = "vddio_sdmmc,avdd_vdac";
319 regulator-min-microvolt = <3300000>;
320 regulator-max-microvolt = <3300000>;
321 regulator-always-on;
325 regulator-name = "avdd_dsi_csi,pwrdet_mipi";
326 regulator-min-microvolt = <1200000>;
327 regulator-max-microvolt = <1200000>;
331 regulator-name = "vdd_pllm,x,u,a_p_c_s";
332 regulator-min-microvolt = <1200000>;
333 regulator-max-microvolt = <1200000>;
334 regulator-always-on;
338 regulator-name = "vdd_ddr_hs";
339 regulator-min-microvolt = <1000000>;
340 regulator-max-microvolt = <1000000>;
341 regulator-always-on;
346 nct1008: temperature-sensor@4c {
349 vcc-supply = <&sys_3v3_reg>;
350 interrupt-parent = <&gpio>;
352 #thermal-sensor-cells = <1>;
359 regulator-name = "tps62361-vout";
360 regulator-min-microvolt = <500000>;
361 regulator-max-microvolt = <1500000>;
362 regulator-coupled-with = <&vddctrl_reg>;
363 regulator-coupled-max-spread = <300000>;
364 regulator-max-step-microvolt = <100000>;
365 regulator-boot-on;
366 regulator-always-on;
367 ti,vsel0-state-high;
368 ti,vsel1-state-high;
370 nvidia,tegra-core-regulator;
376 spi-max-frequency = <25000000>;
377 spi-flash@1 {
378 compatible = "winbond,w25q32", "jedec,spi-nor";
380 spi-max-frequency = <20000000>;
386 nvidia,invert-interrupt;
387 nvidia,suspend-mode = <1>;
388 nvidia,cpu-pwr-good-time = <2000>;
389 nvidia,cpu-pwr-off-time = <200>;
390 nvidia,core-pwr-good-time = <3845 3845>;
391 nvidia,core-pwr-off-time = <0>;
392 nvidia,core-power-req-active-high;
393 nvidia,sys-clock-req-active-high;
404 cd-gpios = <&gpio TEGRA_GPIO(I, 5) GPIO_ACTIVE_LOW>;
405 wp-gpios = <&gpio TEGRA_GPIO(T, 3) GPIO_ACTIVE_HIGH>;
406 power-gpios = <&gpio TEGRA_GPIO(D, 7) GPIO_ACTIVE_HIGH>;
407 bus-width = <4>;
412 bus-width = <8>;
413 non-removable;
420 usb-phy@7d008000 {
421 vbus-supply = <&usb3_vbus_reg>;
426 compatible = "pwm-backlight";
428 enable-gpios = <&gpio TEGRA_GPIO(H, 2) GPIO_ACTIVE_HIGH>;
429 power-supply = <&vdd_bl_reg>;
432 brightness-levels = <0 4 8 16 32 64 128 255>;
433 default-brightness-level = <6>;
437 compatible = "fixed-clock";
438 clock-frequency = <32768>;
439 #clock-cells = <0>;
444 cpu-supply = <&vddctrl_reg>;
445 operating-points-v2 = <&cpu0_opp_table>;
446 #cooling-cells = <2>;
450 cpu-supply = <&vddctrl_reg>;
451 operating-points-v2 = <&cpu0_opp_table>;
452 #cooling-cells = <2>;
456 cpu-supply = <&vddctrl_reg>;
457 operating-points-v2 = <&cpu0_opp_table>;
458 #cooling-cells = <2>;
462 cpu-supply = <&vddctrl_reg>;
463 operating-points-v2 = <&cpu0_opp_table>;
464 #cooling-cells = <2>;
470 ddc-i2c-bus = <&panelddc>;
472 power-supply = <&vdd_pnl1_reg>;
473 enable-gpios = <&gpio TEGRA_GPIO(L, 2) GPIO_ACTIVE_HIGH>;
479 compatible = "regulator-fixed";
480 regulator-name = "vdd_ac_bat";
481 regulator-min-microvolt = <5000000>;
482 regulator-max-microvolt = <5000000>;
483 regulator-always-on;
487 compatible = "regulator-fixed";
488 regulator-name = "cam_1v8";
489 regulator-min-microvolt = <1800000>;
490 regulator-max-microvolt = <1800000>;
491 enable-active-high;
492 gpio = <&gpio TEGRA_GPIO(BB, 4) GPIO_ACTIVE_HIGH>;
493 vin-supply = <&vio_reg>;
497 compatible = "regulator-fixed";
498 regulator-name = "cp_5v";
499 regulator-min-microvolt = <5000000>;
500 regulator-max-microvolt = <5000000>;
501 regulator-boot-on;
502 regulator-always-on;
503 enable-active-high;
504 gpio = <&pmic 0 GPIO_ACTIVE_HIGH>;
508 compatible = "regulator-fixed";
509 regulator-name = "emmc_3v3";
510 regulator-min-microvolt = <3300000>;
511 regulator-max-microvolt = <3300000>;
512 regulator-always-on;
513 regulator-boot-on;
514 enable-active-high;
515 gpio = <&gpio TEGRA_GPIO(D, 1) GPIO_ACTIVE_HIGH>;
516 vin-supply = <&sys_3v3_reg>;
520 compatible = "regulator-fixed";
521 regulator-name = "modem_3v3";
522 regulator-min-microvolt = <3300000>;
523 regulator-max-microvolt = <3300000>;
524 enable-active-high;
525 gpio = <&gpio TEGRA_GPIO(D, 6) GPIO_ACTIVE_HIGH>;
529 compatible = "regulator-fixed";
530 regulator-name = "pex_hvdd_3v3";
531 regulator-min-microvolt = <3300000>;
532 regulator-max-microvolt = <3300000>;
533 enable-active-high;
534 gpio = <&gpio TEGRA_GPIO(L, 7) GPIO_ACTIVE_HIGH>;
535 vin-supply = <&sys_3v3_reg>;
539 compatible = "regulator-fixed";
540 regulator-name = "vdd_cam1_ldo";
541 regulator-min-microvolt = <2800000>;
542 regulator-max-microvolt = <2800000>;
543 enable-active-high;
544 gpio = <&gpio TEGRA_GPIO(R, 6) GPIO_ACTIVE_HIGH>;
545 vin-supply = <&sys_3v3_reg>;
549 compatible = "regulator-fixed";
550 regulator-name = "vdd_cam2_ldo";
551 regulator-min-microvolt = <2800000>;
552 regulator-max-microvolt = <2800000>;
553 enable-active-high;
554 gpio = <&gpio TEGRA_GPIO(R, 7) GPIO_ACTIVE_HIGH>;
555 vin-supply = <&sys_3v3_reg>;
559 compatible = "regulator-fixed";
560 regulator-name = "vdd_cam3_ldo";
561 regulator-min-microvolt = <3300000>;
562 regulator-max-microvolt = <3300000>;
563 enable-active-high;
564 gpio = <&gpio TEGRA_GPIO(S, 0) GPIO_ACTIVE_HIGH>;
565 vin-supply = <&sys_3v3_reg>;
569 compatible = "regulator-fixed";
570 regulator-name = "vdd_com";
571 regulator-min-microvolt = <3300000>;
572 regulator-max-microvolt = <3300000>;
573 regulator-always-on;
574 regulator-boot-on;
575 enable-active-high;
576 gpio = <&gpio TEGRA_GPIO(D, 0) GPIO_ACTIVE_HIGH>;
577 vin-supply = <&sys_3v3_reg>;
581 compatible = "regulator-fixed";
582 regulator-name = "vdd_fuse_3v3";
583 regulator-min-microvolt = <3300000>;
584 regulator-max-microvolt = <3300000>;
585 enable-active-high;
586 gpio = <&gpio TEGRA_GPIO(L, 6) GPIO_ACTIVE_HIGH>;
587 vin-supply = <&sys_3v3_reg>;
591 compatible = "regulator-fixed";
592 regulator-name = "vdd_pnl1";
593 regulator-min-microvolt = <3300000>;
594 regulator-max-microvolt = <3300000>;
595 regulator-always-on;
596 regulator-boot-on;
597 enable-active-high;
598 gpio = <&gpio TEGRA_GPIO(L, 4) GPIO_ACTIVE_HIGH>;
599 vin-supply = <&sys_3v3_reg>;
603 compatible = "regulator-fixed";
604 regulator-name = "vddio_vid";
605 regulator-min-microvolt = <5000000>;
606 regulator-max-microvolt = <5000000>;
607 enable-active-high;
608 gpio = <&gpio TEGRA_GPIO(T, 0) GPIO_ACTIVE_HIGH>;
609 gpio-open-drain;
610 vin-supply = <&vdd_5v0_reg>;
614 compatible = "nvidia,tegra-audio-wm8903-cardhu",
615 "nvidia,tegra-audio-wm8903";
618 nvidia,audio-routing =
628 nvidia,i2s-controller = <&tegra_i2s1>;
629 nvidia,audio-codec = <&wm8903>;
631 nvidia,spkr-en-gpios = <&wm8903 2 GPIO_ACTIVE_HIGH>;
632 nvidia,hp-det-gpios = <&gpio TEGRA_GPIO(W, 2)
638 clock-names = "pll_a", "pll_a_out0", "mclk";
640 assigned-clocks = <&tegra_car TEGRA30_CLK_EXTERN1>,
643 assigned-clock-parents = <&tegra_car TEGRA30_CLK_PLL_A_OUT0>,
647 thermal-zones {
648 cpu-thermal {
649 polling-delay-passive = <1000>; /* milliseconds */
650 polling-delay = <5000>; /* milliseconds */
652 thermal-sensors = <&nct1008 1>;
655 trip0: cpu-alert0 {
662 trip1: cpu-crit {
670 cooling-maps {
673 cooling-device = <&cpu0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
682 gpio-keys {
683 compatible = "gpio-keys";
687 interrupt-parent = <&pmic>;
690 debounce-interval = <100>;
691 wakeup-source;
694 volume-down {
696 gpios = <&gpio TEGRA_GPIO(R, 0) GPIO_ACTIVE_LOW>;
698 debounce-interval = <10>;
701 volume-up {
703 gpios = <&gpio TEGRA_GPIO(R, 1) GPIO_ACTIVE_LOW>;
705 debounce-interval = <10>;