Lines Matching +full:tegra20 +full:- +full:pwm

1 // SPDX-License-Identifier: GPL-2.0
2 /dts-v1/;
4 #include <dt-bindings/input/gpio-keys.h>
5 #include <dt-bindings/input/input.h>
6 #include <dt-bindings/thermal/thermal.h>
8 #include "tegra20.dtsi"
9 #include "tegra20-cpu-opp.dtsi"
10 #include "tegra20-cpu-opp-microvolt.dtsi"
14 compatible = "acer,picasso", "nvidia,tegra20";
31 * pre-existing /chosen node to be available to insert the
40 reserved-memory {
41 #address-cells = <1>;
42 #size-cells = <1>;
48 console-size = <0x8000>; /* 32kB */
49 record-size = <0x400>; /* 1kB */
50 ecc-size = <16>;
54 compatible = "shared-dma-pool";
55 alloc-ranges = <0x30000000 0x10000000>;
57 linux,cma-default;
69 remote-endpoint = <&lvds_encoder_input>;
70 bus-width = <18>;
79 vdd-supply = <&hdmi_vdd_reg>;
80 pll-supply = <&hdmi_pll_reg>;
81 hdmi-supply = <&vdd_5v0_sys>;
83 nvidia,ddc-i2c-bus = <&hdmi_ddc>;
84 nvidia,hpd-gpio = <&gpio TEGRA_GPIO(N, 7)
90 pinctrl-names = "default";
91 pinctrl-0 = <&state_default>;
161 nvidia,function = "pwm";
321 nvidia,pull-up-strength = <31>;
322 nvidia,pull-down-strength = <31>;
324 nvidia,high-speed-mode = <TEGRA_PIN_DISABLE>;
325 nvidia,low-power-mode = <TEGRA_PIN_LP_DRIVE_DIV_1>;
326 nvidia,slew-rate-rising = <TEGRA_PIN_SLEW_RATE_SLOWEST>;
327 nvidia,slew-rate-falling = <TEGRA_PIN_SLEW_RATE_SLOWEST>;
334 nvidia,pull-up-strength = <31>;
335 nvidia,pull-down-strength = <31>;
337 nvidia,high-speed-mode = <TEGRA_PIN_DISABLE>;
338 nvidia,low-power-mode = <TEGRA_PIN_LP_DRIVE_DIV_1>;
339 nvidia,slew-rate-rising = <TEGRA_PIN_SLEW_RATE_FASTEST>;
340 nvidia,slew-rate-falling = <TEGRA_PIN_SLEW_RATE_FASTEST>;
383 compatible = "nvidia,tegra20-hsuart";
388 compatible = "nvidia,tegra20-hsuart";
391 /* Azurewave AW-NH665 BCM4329B1 */
393 compatible = "brcm,bcm4329-bt";
396 max-speed = <3375000>;
399 clock-names = "txco";
401 vbat-supply = <&vdd_3v3_sys>;
402 vddio-supply = <&vdd_1v8_sys>;
404 device-wakeup-gpios = <&gpio TEGRA_GPIO(U, 1) GPIO_ACTIVE_HIGH>;
405 host-wakeup-gpios = <&gpio TEGRA_GPIO(U, 6) GPIO_ACTIVE_HIGH>;
406 shutdown-gpios = <&gpio TEGRA_GPIO(U, 0) GPIO_ACTIVE_HIGH>;
415 clock-frequency = <400000>;
418 wm8903: audio-codec@1a {
422 interrupt-parent = <&gpio>;
425 gpio-controller;
426 #gpio-cells = <2>;
428 gpio-cfg = <
430 0x0000 /* FM2018-enable GPIO, output, low */
431 0x0000 /* Speaker-enable GPIO, output, low */
436 AVDD-supply = <&vdd_1v8_sys>;
437 CPVDD-supply = <&vdd_1v8_sys>;
438 DBVDD-supply = <&vdd_1v8_sys>;
439 DCVDD-supply = <&vdd_1v8_sys>;
446 interrupt-parent = <&gpio>;
449 reset-gpios = <&gpio TEGRA_GPIO(Q, 7) GPIO_ACTIVE_LOW>;
451 vdda-supply = <&vdd_3v3_sys>;
452 vdd-supply = <&vdd_3v3_sys>;
459 interrupt-parent = <&gpio>;
462 vdd-supply = <&vdd_3v3_sys>;
463 vlogic-supply = <&vdd_1v8_sys>;
465 mount-matrix = "0", "1", "0",
467 "0", "0", "-1";
469 i2c-gate {
470 #address-cells = <1>;
471 #size-cells = <0>;
477 interrupt-parent = <&gpio>;
480 mount-matrix = "0", "1", "0",
482 "0", "0", "-1";
489 clock-frequency = <10000>;
494 compatible = "i2c-mux-pinctrl";
495 #address-cells = <1>;
496 #size-cells = <0>;
498 i2c-parent = <&{/i2c@7000c400}>;
500 pinctrl-names = "ddc", "pta", "idle";
501 pinctrl-0 = <&state_i2cmux_ddc>;
502 pinctrl-1 = <&state_i2cmux_pta>;
503 pinctrl-2 = <&state_i2cmux_idle>;
507 #address-cells = <1>;
508 #size-cells = <0>;
513 #address-cells = <1>;
514 #size-cells = <0>;
518 pwm: pwm@7000a000 { label
523 clock-frequency = <100000>;
530 interrupt-parent = <&gpio>;
533 vdd-supply = <&vdd_3v3_sys>;
534 vid-supply = <&vdd_1v8_sys>;
536 mount-matrix = "1", "0", "0",
537 "0", "-1", "0",
538 "0", "0", "-1";
547 #gpio-cells = <2>;
548 gpio-controller;
550 sys-supply = <&vdd_5v0_sys>;
551 vin-sm0-supply = <&sys_reg>;
552 vin-sm1-supply = <&sys_reg>;
553 vin-sm2-supply = <&sys_reg>;
554 vinldo01-supply = <&sm2_reg>;
555 vinldo23-supply = <&sm2_reg>;
556 vinldo4-supply = <&sm2_reg>;
557 vinldo678-supply = <&sm2_reg>;
558 vinldo9-supply = <&sm2_reg>;
562 regulator-name = "vdd_sys";
563 regulator-always-on;
567 regulator-name = "vdd_sm0,vdd_core";
568 regulator-min-microvolt = <1200000>;
569 regulator-max-microvolt = <1300000>;
570 regulator-coupled-with = <&rtc_vdd &vdd_cpu>;
571 regulator-coupled-max-spread = <170000 550000>;
572 regulator-always-on;
573 regulator-boot-on;
575 nvidia,tegra-core-regulator;
579 regulator-name = "vdd_sm1,vdd_cpu";
580 regulator-min-microvolt = <750000>;
581 regulator-max-microvolt = <1125000>;
582 regulator-coupled-with = <&vdd_core &rtc_vdd>;
583 regulator-coupled-max-spread = <550000 550000>;
584 regulator-always-on;
585 regulator-boot-on;
587 nvidia,tegra-cpu-regulator;
591 regulator-name = "vdd_sm2,vin_ldo*";
592 regulator-min-microvolt = <3700000>;
593 regulator-max-microvolt = <3700000>;
594 regulator-always-on;
600 regulator-name = "vdd_ldo1,avdd_pll*";
601 regulator-min-microvolt = <1100000>;
602 regulator-max-microvolt = <1100000>;
603 regulator-always-on;
604 regulator-boot-on;
608 regulator-name = "vdd_ldo2,vdd_rtc";
609 regulator-min-microvolt = <1200000>;
610 regulator-max-microvolt = <1300000>;
611 regulator-coupled-with = <&vdd_core &vdd_cpu>;
612 regulator-coupled-max-spread = <170000 550000>;
613 regulator-always-on;
614 regulator-boot-on;
616 nvidia,tegra-rtc-regulator;
620 regulator-name = "vdd_ldo3,avdd_usb*";
621 regulator-min-microvolt = <3300000>;
622 regulator-max-microvolt = <3300000>;
623 regulator-always-on;
627 regulator-name = "vdd_ldo4,avdd_osc,vddio_sys";
628 regulator-min-microvolt = <1800000>;
629 regulator-max-microvolt = <1800000>;
630 regulator-always-on;
631 regulator-boot-on;
635 regulator-name = "vdd_ldo5,vcore_mmc";
636 regulator-min-microvolt = <2850000>;
637 regulator-max-microvolt = <2850000>;
638 regulator-always-on;
642 regulator-name = "vdd_ldo6,avdd_vdac";
643 regulator-min-microvolt = <2850000>;
644 regulator-max-microvolt = <2850000>;
648 regulator-name = "vdd_ldo7,avdd_hdmi";
649 regulator-min-microvolt = <3300000>;
650 regulator-max-microvolt = <3300000>;
654 regulator-name = "vdd_ldo8,avdd_hdmi_pll";
655 regulator-min-microvolt = <1800000>;
656 regulator-max-microvolt = <1800000>;
660 regulator-name = "vdd_ldo9,avdd_2v85,vdd_ddr_rx";
661 regulator-min-microvolt = <2850000>;
662 regulator-max-microvolt = <2850000>;
663 regulator-always-on;
664 regulator-boot-on;
668 regulator-name = "vdd_rtc_out,vdd_cell";
669 regulator-min-microvolt = <3300000>;
670 regulator-max-microvolt = <3300000>;
671 regulator-always-on;
672 regulator-boot-on;
677 nct1008: temperature-sensor@4c {
680 vcc-supply = <&vdd_3v3_sys>;
681 #thermal-sensor-cells = <1>;
686 nvidia,invert-interrupt;
687 nvidia,suspend-mode = <1>;
688 nvidia,cpu-pwr-good-time = <2000>;
689 nvidia,cpu-pwr-off-time = <100>;
690 nvidia,core-pwr-good-time = <3845 3845>;
691 nvidia,core-pwr-off-time = <458>;
692 nvidia,sys-clock-req-active-high;
696 compatible = "nvidia,tegra20-udc";
701 usb-phy@c5000000 {
704 nvidia,xcvr-setup-use-fuses;
705 nvidia,xcvr-lsfslew = <2>;
706 nvidia,xcvr-lsrslew = <2>;
713 usb-phy@c5008000 {
715 nvidia,xcvr-setup-use-fuses;
716 nvidia,xcvr-lsfslew = <2>;
717 nvidia,xcvr-lsrslew = <2>;
718 vbus-supply = <&vdd_5v0_sys>;
721 brcm_wifi_pwrseq: wifi-pwrseq {
722 compatible = "mmc-pwrseq-simple";
725 clock-names = "ext_clock";
727 reset-gpios = <&gpio TEGRA_GPIO(K, 6) GPIO_ACTIVE_LOW>;
728 post-power-on-delay-ms = <300>;
729 power-off-delay-us = <300>;
735 #address-cells = <1>;
736 #size-cells = <0>;
738 assigned-clocks = <&tegra_car TEGRA20_CLK_SDMMC1>;
739 assigned-clock-parents = <&tegra_car TEGRA20_CLK_PLL_C>;
740 assigned-clock-rates = <50000000>;
742 max-frequency = <50000000>;
743 keep-power-in-suspend;
744 bus-width = <4>;
745 non-removable;
747 mmc-pwrseq = <&brcm_wifi_pwrseq>;
748 vmmc-supply = <&vdd_3v3_sys>;
749 vqmmc-supply = <&vdd_3v3_sys>;
751 /* Azurewave AW-NH611 BCM4329 */
754 compatible = "brcm,bcm4329-fmac";
755 interrupt-parent = <&gpio>;
757 interrupt-names = "host-wake";
763 bus-width = <4>;
764 cd-gpios = <&gpio TEGRA_GPIO(I, 5) GPIO_ACTIVE_LOW>;
765 power-gpios = <&gpio TEGRA_GPIO(I, 6) GPIO_ACTIVE_HIGH>;
766 vmmc-supply = <&vdd_3v3_sys>;
767 vqmmc-supply = <&vdd_3v3_sys>;
772 bus-width = <8>;
773 vmmc-supply = <&vcore_emmc>;
774 vqmmc-supply = <&vdd_3v3_sys>;
775 non-removable;
778 mains: ac-adapter-detect {
779 compatible = "gpio-charger";
780 charger-type = "mains";
785 compatible = "pwm-backlight";
787 enable-gpios = <&gpio TEGRA_GPIO(D, 4) GPIO_ACTIVE_HIGH>;
788 power-supply = <&vdd_3v3_sys>;
789 pwms = <&pwm 2 41667>;
791 brightness-levels = <7 255>;
792 num-interpolated-steps = <248>;
793 default-brightness-level = <20>;
796 /* PMIC has a built-in 32KHz oscillator which is used by PMC */
798 compatible = "fixed-clock";
799 #clock-cells = <0>;
800 clock-frequency = <32768>;
801 clock-output-names = "tps658621-out32k";
805 * This standalone onboard fixed-clock always-ON 32KHz
806 * oscillator is used as a reference clock-source by the
810 compatible = "fixed-clock";
811 #clock-cells = <0>;
812 clock-frequency = <32768>;
813 clock-output-names = "kk3270032";
818 cpu-supply = <&vdd_cpu>;
819 operating-points-v2 = <&cpu0_opp_table>;
820 #cooling-cells = <2>;
824 cpu-supply = <&vdd_cpu>;
825 operating-points-v2 = <&cpu0_opp_table>;
829 display-panel {
830 compatible = "auo,b101ew05", "panel-lvds";
832 ddc-i2c-bus = <&panel_ddc>;
833 power-supply = <&vdd_pnl>;
836 width-mm = <218>;
837 height-mm = <135>;
839 data-mapping = "jeida-18";
841 panel-timing {
842 clock-frequency = <71200000>;
845 hfront-porch = <8>;
846 hback-porch = <18>;
847 hsync-len = <184>;
848 vsync-len = <3>;
849 vfront-porch = <4>;
850 vback-porch = <8>;
855 remote-endpoint = <&lvds_encoder_output>;
860 gpio-keys {
861 compatible = "gpio-keys";
867 debounce-interval = <10>;
868 wakeup-event-action = <EV_ACT_ASSERTED>;
869 wakeup-source;
872 rotation-lock {
873 label = "Rotate-lock";
876 linux,input-type = <EV_SW>;
877 debounce-interval = <10>;
880 volume-up {
884 debounce-interval = <10>;
885 wakeup-event-action = <EV_ACT_ASSERTED>;
886 wakeup-source;
889 volume-down {
893 debounce-interval = <10>;
894 wakeup-event-action = <EV_ACT_ASSERTED>;
895 wakeup-source;
899 haptic-feedback {
900 compatible = "gpio-vibrator";
901 enable-gpios = <&gpio TEGRA_GPIO(V, 5) GPIO_ACTIVE_HIGH>;
902 vcc-supply = <&vdd_3v3_sys>;
905 lvds-encoder {
906 compatible = "ti,sn75lvds83", "lvds-encoder";
908 powerdown-gpios = <&gpio TEGRA_GPIO(B, 2) GPIO_ACTIVE_LOW>;
911 #address-cells = <1>;
912 #size-cells = <0>;
918 remote-endpoint = <&lcd_output>;
926 remote-endpoint = <&panel_input>;
933 compatible = "regulator-fixed";
934 regulator-name = "vdd_5v0";
935 regulator-min-microvolt = <5000000>;
936 regulator-max-microvolt = <5000000>;
937 regulator-always-on;
941 compatible = "regulator-fixed";
942 regulator-name = "vdd_3v3_vs";
943 regulator-min-microvolt = <3300000>;
944 regulator-max-microvolt = <3300000>;
945 regulator-always-on;
946 vin-supply = <&vdd_5v0_sys>;
950 compatible = "regulator-fixed";
951 regulator-name = "vdd_1v8_vs";
952 regulator-min-microvolt = <1800000>;
953 regulator-max-microvolt = <1800000>;
954 regulator-always-on;
955 vin-supply = <&vdd_5v0_sys>;
959 compatible = "regulator-fixed";
960 regulator-name = "vdd_panel";
961 regulator-min-microvolt = <3300000>;
962 regulator-max-microvolt = <3300000>;
963 regulator-enable-ramp-delay = <300000>;
965 enable-active-high;
966 vin-supply = <&vdd_5v0_sys>;
970 compatible = "nvidia,tegra-audio-wm8903-picasso",
971 "nvidia,tegra-audio-wm8903";
974 nvidia,audio-routing =
985 nvidia,i2s-controller = <&tegra_i2s1>;
986 nvidia,audio-codec = <&wm8903>;
988 nvidia,spkr-en-gpios = <&wm8903 2 GPIO_ACTIVE_HIGH>;
989 nvidia,hp-det-gpios = <&gpio TEGRA_GPIO(W, 2) GPIO_ACTIVE_LOW>;
990 nvidia,int-mic-en-gpios = <&wm8903 1 GPIO_ACTIVE_HIGH>;
996 clock-names = "pll_a", "pll_a_out0", "mclk";
999 thermal-zones {
1000 nct1008-local {
1001 polling-delay-passive = <1000>; /* milliseconds */
1002 polling-delay = <0>; /* milliseconds */
1004 thermal-sensors = <&nct1008 0>;
1007 nct1008-remote {
1008 polling-delay-passive = <1000>; /* milliseconds */
1009 polling-delay = <5000>; /* milliseconds */
1011 thermal-sensors = <&nct1008 1>;
1014 trip0: cpu-alert0 {
1021 trip1: cpu-crit {
1029 cooling-maps {
1032 cooling-device = <&cpu0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
1038 memory-controller@7000f400 {
1039 nvidia,use-ram-code;
1041 emc-tables@0 {
1042 nvidia,ram-code = <0>; /* elpida-8gb */
1044 #address-cells = <1>;
1045 #size-cells = <0>;
1047 emc-table@25000 {
1049 compatible = "nvidia,tegra20-emc-table";
1050 clock-frequency = <25000>;
1051 nvidia,emc-registers = <0x00000002 0x00000006
1065 emc-table@50000 {
1067 compatible = "nvidia,tegra20-emc-table";
1068 clock-frequency = <50000>;
1069 nvidia,emc-registers = <0x00000003 0x00000007
1083 emc-table@75000 {
1085 compatible = "nvidia,tegra20-emc-table";
1086 clock-frequency = <75000>;
1087 nvidia,emc-registers = <0x00000005 0x0000000a
1101 emc-table@150000 {
1103 compatible = "nvidia,tegra20-emc-table";
1104 clock-frequency = <150000>;
1105 nvidia,emc-registers = <0x00000009 0x00000014
1119 emc-table@300000 {
1121 compatible = "nvidia,tegra20-emc-table";
1122 clock-frequency = <300000>;
1123 nvidia,emc-registers = <0x00000012 0x00000027
1138 emc-tables@1 {
1139 nvidia,ram-code = <1>; /* elpida-4gb */
1141 #address-cells = <1>;
1142 #size-cells = <0>;
1144 emc-table@25000 {
1146 compatible = "nvidia,tegra20-emc-table";
1147 clock-frequency = <25000>;
1148 nvidia,emc-registers = <0x00000002 0x00000006
1162 emc-table@50000 {
1164 compatible = "nvidia,tegra20-emc-table";
1165 clock-frequency = <50000>;
1166 nvidia,emc-registers = <0x00000003 0x00000007
1180 emc-table@75000 {
1182 compatible = "nvidia,tegra20-emc-table";
1183 clock-frequency = <75000>;
1184 nvidia,emc-registers = <0x00000005 0x0000000a
1198 emc-table@150000 {
1200 compatible = "nvidia,tegra20-emc-table";
1201 clock-frequency = <150000>;
1202 nvidia,emc-registers = <0x00000009 0x00000014
1216 emc-table@300000 {
1218 compatible = "nvidia,tegra20-emc-table";
1219 clock-frequency = <300000>;
1220 nvidia,emc-registers = <0x00000012 0x00000027
1235 emc-tables@2 {
1236 nvidia,ram-code = <2>; /* hynix-8gb */
1238 #address-cells = <1>;
1239 #size-cells = <0>;
1241 emc-table@25000 {
1243 compatible = "nvidia,tegra20-emc-table";
1244 clock-frequency = <25000>;
1245 nvidia,emc-registers = <0x00000002 0x00000006
1259 emc-table@50000 {
1261 compatible = "nvidia,tegra20-emc-table";
1262 clock-frequency = <50000>;
1263 nvidia,emc-registers = <0x00000003 0x00000007
1277 emc-table@75000 {
1279 compatible = "nvidia,tegra20-emc-table";
1280 clock-frequency = <75000>;
1281 nvidia,emc-registers = <0x00000005 0x0000000a
1295 emc-table@150000 {
1297 compatible = "nvidia,tegra20-emc-table";
1298 clock-frequency = <150000>;
1299 nvidia,emc-registers = <0x00000009 0x00000014
1313 emc-table@300000 {
1315 compatible = "nvidia,tegra20-emc-table";
1316 clock-frequency = <300000>;
1317 nvidia,emc-registers = <0x00000012 0x00000027
1332 emc-tables@3 {
1333 nvidia,ram-code = <3>; /* hynix-4gb */
1335 #address-cells = <1>;
1336 #size-cells = <0>;
1338 emc-table@25000 {
1340 compatible = "nvidia,tegra20-emc-table";
1341 clock-frequency = <25000>;
1342 nvidia,emc-registers = <0x00000002 0x00000006
1356 emc-table@50000 {
1358 compatible = "nvidia,tegra20-emc-table";
1359 clock-frequency = <50000>;
1360 nvidia,emc-registers = <0x00000003 0x00000007
1374 emc-table@75000 {
1376 compatible = "nvidia,tegra20-emc-table";
1377 clock-frequency = <75000>;
1378 nvidia,emc-registers = <0x00000005 0x0000000a
1392 emc-table@150000 {
1394 compatible = "nvidia,tegra20-emc-table";
1395 clock-frequency = <150000>;
1396 nvidia,emc-registers = <0x00000009 0x00000014
1410 emc-table@300000 {
1412 compatible = "nvidia,tegra20-emc-table";
1413 clock-frequency = <300000>;
1414 nvidia,emc-registers = <0x00000012 0x00000027