Lines Matching +full:input +full:- +full:enable

1 // SPDX-License-Identifier: GPL-2.0
3 #include <dt-bindings/input/gpio-keys.h>
4 #include <dt-bindings/input/input.h>
5 #include <dt-bindings/power/summit,smb347-charger.h>
6 #include <dt-bindings/thermal/thermal.h>
9 #include "tegra30-cpu-opp.dtsi"
10 #include "tegra30-cpu-opp-microvolt.dtsi"
11 #include "tegra30-asus-lvds-display.dtsi"
27 * pre-existing /chosen node to be available to insert the
33 trusted-foundations {
34 compatible = "tlm,trusted-foundations";
35 tlm,version-major = <0x0>;
36 tlm,version-minor = <0x0>;
44 reserved-memory {
45 #address-cells = <1>;
46 #size-cells = <1>;
50 compatible = "shared-dma-pool";
51 alloc-ranges = <0x80000000 0x30000000>;
53 linux,cma-default;
60 console-size = <0x8000>; /* 32kB */
61 record-size = <0x400>; /* 1kB */
62 ecc-size = <16>;
67 no-map;
72 init-low-power-mode-hog {
73 gpio-hog;
75 input;
78 init-mode-hog {
79 gpio-hog;
83 output-low;
88 pinctrl-names = "default";
89 pinctrl-0 = <&state_default>;
97 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
105 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
115 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
122 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
136 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
144 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
153 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
193 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
201 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
209 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
217 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
225 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
226 nvidia,open-drain = <TEGRA_PIN_ENABLE>;
236 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
246 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
253 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
263 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
273 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
281 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
288 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
295 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
302 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
309 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
319 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
326 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
335 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
342 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
349 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
357 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
365 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
372 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
379 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
389 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
396 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
403 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
410 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
417 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
427 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
436 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
444 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
457 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
464 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
474 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
482 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
490 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
491 nvidia,open-drain = <TEGRA_PIN_ENABLE>;
506 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
514 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
521 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
528 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
536 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
544 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
553 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
560 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
567 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
574 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
582 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
590 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
601 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
608 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
615 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
622 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
630 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
631 nvidia,open-drain = <TEGRA_PIN_ENABLE>;
639 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
647 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
648 nvidia,open-drain = <TEGRA_PIN_ENABLE>;
655 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
662 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
669 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
676 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
684 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
691 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
698 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
705 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
712 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
720 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
728 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
735 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
742 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
749 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
750 nvidia,open-drain = <TEGRA_PIN_DISABLE>;
757 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
768 nvidia,high-speed-mode = <0>;
770 nvidia,low-power-mode = <TEGRA_PIN_LP_DRIVE_DIV_1>;
771 nvidia,pull-down-strength = <31>;
772 nvidia,pull-up-strength = <31>;
773 nvidia,slew-rate-rising = <TEGRA_PIN_SLEW_RATE_FASTEST>;
774 nvidia,slew-rate-falling = <TEGRA_PIN_SLEW_RATE_FASTEST>;
779 nvidia,high-speed-mode = <0>;
781 nvidia,pull-down-strength = <46>;
782 nvidia,pull-up-strength = <42>;
783 nvidia,slew-rate-rising = <TEGRA_PIN_SLEW_RATE_FAST>;
784 nvidia,slew-rate-falling = <TEGRA_PIN_SLEW_RATE_FAST>;
791 nvidia,pull-down-strength = <9>;
792 nvidia,pull-up-strength = <9>;
793 nvidia,slew-rate-rising = <TEGRA_PIN_SLEW_RATE_SLOWEST>;
794 nvidia,slew-rate-falling = <TEGRA_PIN_SLEW_RATE_SLOWEST>;
800 compatible = "nvidia,tegra30-hsuart";
801 reset-names = "serial";
802 /delete-property/ reg-shift;
807 compatible = "nvidia,tegra30-hsuart";
808 reset-names = "serial";
809 /delete-property/ reg-shift;
812 nvidia,adjust-baud-rates = <0 9600 100>,
816 /* Azurewave AW-NH665 BCM4330B1 */
818 compatible = "brcm,bcm4330-bt";
820 interrupt-parent = <&gpio>;
822 interrupt-names = "host-wakeup";
824 max-speed = <4000000>;
827 clock-names = "txco";
829 vbat-supply = <&vdd_3v3_sys>;
830 vddio-supply = <&vdd_1v8>;
832 device-wakeup-gpios = <&gpio TEGRA_GPIO(U, 1) GPIO_ACTIVE_HIGH>;
833 shutdown-gpios = <&gpio TEGRA_GPIO(U, 0) GPIO_ACTIVE_HIGH>;
842 clock-frequency = <400000>;
849 interrupt-parent = <&gpio>;
852 reset-gpios = <&gpio TEGRA_GPIO(H, 6) GPIO_ACTIVE_LOW>;
854 vcc33-supply = <&vcc_3v3_ts>;
855 vccio-supply = <&vcc_3v3_ts>;
857 touchscreen-size-x = <2112>;
858 touchscreen-size-y = <1280>;
859 touchscreen-swapped-x-y;
860 touchscreen-inverted-x;
865 clock-frequency = <100000>;
869 compatible = "asahi-kasei,ak8974";
872 interrupt-parent = <&gpio>;
875 avdd-supply = <&vdd_3v3_sys>;
876 dvdd-supply = <&vdd_1v8>;
878 mount-matrix = "0", "-1", "0",
879 "-1", "0", "0",
880 "0", "0", "-1";
883 light-sensor@1c {
887 interrupt-parent = <&gpio>;
890 vdd-supply = <&vdd_3v3_sys>;
897 interrupt-parent = <&gpio>;
900 vdd-supply = <&vdd_3v3_sys>;
901 vddio-supply = <&vdd_1v8>;
903 mount-matrix = "0", "-1", "0",
904 "-1", "0", "0",
905 "0", "0", "-1";
910 clock-frequency = <100000>;
913 rt5640: audio-codec@1c {
917 realtek,dmic1-data-pin = <1>;
920 clock-names = "mclk";
923 nct72: temperature-sensor@4c {
926 vcc-supply = <&vdd_3v3_sys>;
928 interrupt-parent = <&gpio>;
931 #thermal-sensor-cells = <1>;
934 fuel-gauge@55 {
937 power-supplies = <&power_supply>;
944 interrupt-parent = <&gpio>;
947 summit,enable-charge-control = <SMB3XX_CHG_ENABLE_PIN_ACTIVE_LOW>;
948 summit,inok-polarity = <SMB3XX_SYSOK_INOK_ACTIVE_LOW>;
949 summit,enable-usb-charging;
951 monitored-battery = <&battery_cell>;
953 usb_vbus: usb-vbus {
954 regulator-name = "usb_vbus";
955 regulator-min-microvolt = <5000000>;
956 regulator-max-microvolt = <5000000>;
957 regulator-min-microamp = <750000>;
958 regulator-max-microamp = <750000>;
961 * SMB347 INOK input pin is connected to PMIC's
969 summit,needs-inok-toggle;
976 nvidia,invert-interrupt;
977 nvidia,suspend-mode = <1>;
978 nvidia,cpu-pwr-good-time = <2000>;
979 nvidia,cpu-pwr-off-time = <200>;
980 nvidia,core-pwr-good-time = <3845 3845>;
981 nvidia,core-pwr-off-time = <0>;
982 nvidia,core-power-req-active-high;
983 nvidia,sys-clock-req-active-high;
984 core-supply = <&vdd_core>;
996 #address-cells = <1>;
997 #size-cells = <0>;
999 assigned-clocks = <&tegra_car TEGRA30_CLK_SDMMC3>;
1000 assigned-clock-parents = <&tegra_car TEGRA30_CLK_PLL_C>;
1001 assigned-clock-rates = <50000000>;
1003 max-frequency = <50000000>;
1004 keep-power-in-suspend;
1005 bus-width = <4>;
1006 non-removable;
1008 mmc-pwrseq = <&brcm_wifi_pwrseq>;
1009 vmmc-supply = <&vdd_3v3_sys>;
1010 vqmmc-supply = <&vdd_1v8>;
1012 /* Azurewave AW-NH665 BCM4330 */
1015 compatible = "brcm,bcm4329-fmac";
1016 interrupt-parent = <&gpio>;
1018 interrupt-names = "host-wake";
1024 bus-width = <8>;
1025 vmmc-supply = <&vcore_emmc>;
1026 vqmmc-supply = <&vdd_1v8>;
1027 non-removable;
1031 compatible = "nvidia,tegra30-udc";
1034 vbus-supply = <&usb_vbus>;
1037 usb-phy@7d000000 {
1040 nvidia,hssync-start-delay = <0>;
1041 nvidia,xcvr-lsfslew = <2>;
1042 nvidia,xcvr-lsrslew = <2>;
1046 compatible = "pwm-backlight";
1048 power-supply = <&vdd_5v0_sys>;
1051 brightness-levels = <1 255>;
1052 num-interpolated-steps = <254>;
1053 default-brightness-level = <15>;
1056 battery_cell: battery-cell {
1057 compatible = "simple-battery";
1058 constant-charge-current-max-microamp = <1800000>;
1059 operating-range-celsius = <0 45>;
1062 /* PMIC has a built-in 32KHz oscillator which is used by PMC */
1063 clk32k_in: clock-32k {
1064 compatible = "fixed-clock";
1065 #clock-cells = <0>;
1066 clock-frequency = <32768>;
1067 clock-output-names = "pmic-oscillator";
1072 cpu-supply = <&vdd_cpu>;
1073 operating-points-v2 = <&cpu0_opp_table>;
1074 #cooling-cells = <2>;
1078 cpu-supply = <&vdd_cpu>;
1079 operating-points-v2 = <&cpu0_opp_table>;
1080 #cooling-cells = <2>;
1084 cpu-supply = <&vdd_cpu>;
1085 operating-points-v2 = <&cpu0_opp_table>;
1086 #cooling-cells = <2>;
1090 cpu-supply = <&vdd_cpu>;
1091 operating-points-v2 = <&cpu0_opp_table>;
1092 #cooling-cells = <2>;
1096 display-panel {
1098 * Some device variants come with a Hydis HV070WX2-1E0, but
1102 compatible = "chunghwa,claa070wp03xg", "panel-lvds";
1104 width-mm = <94>;
1105 height-mm = <150>;
1108 data-mapping = "jeida-24";
1111 /delete-property/ ddc-i2c-bus;
1114 gpio-keys {
1115 compatible = "gpio-keys";
1117 key-power {
1121 debounce-interval = <10>;
1122 wakeup-event-action = <EV_ACT_ASSERTED>;
1123 wakeup-source;
1126 key-volume-down {
1130 debounce-interval = <10>;
1131 wakeup-event-action = <EV_ACT_ASSERTED>;
1132 wakeup-source;
1135 key-volume-up {
1139 debounce-interval = <10>;
1140 wakeup-event-action = <EV_ACT_ASSERTED>;
1141 wakeup-source;
1144 switch-hall-sensor {
1147 linux,input-type = <EV_SW>;
1149 debounce-interval = <500>;
1150 wakeup-event-action = <EV_ACT_DEASSERTED>;
1151 wakeup-source;
1155 brcm_wifi_pwrseq: pwrseq-wifi {
1156 compatible = "mmc-pwrseq-simple";
1159 clock-names = "ext_clock";
1161 reset-gpios = <&gpio TEGRA_GPIO(D, 4) GPIO_ACTIVE_LOW>;
1162 post-power-on-delay-ms = <300>;
1163 power-off-delay-us = <300>;
1166 vdd_5v0_sys: regulator-5v0 {
1167 compatible = "regulator-fixed";
1168 regulator-name = "vdd_5v0";
1169 regulator-min-microvolt = <5000000>;
1170 regulator-max-microvolt = <5000000>;
1171 regulator-always-on;
1172 regulator-boot-on;
1175 vdd_3v3_sys: regulator-3v3 {
1176 compatible = "regulator-fixed";
1177 regulator-name = "vdd_3v3";
1178 regulator-min-microvolt = <3300000>;
1179 regulator-max-microvolt = <3300000>;
1180 regulator-always-on;
1181 regulator-boot-on;
1182 vin-supply = <&vdd_5v0_sys>;
1185 vdd_pnl: regulator-panel {
1186 compatible = "regulator-fixed";
1187 regulator-name = "vdd_panel";
1188 regulator-min-microvolt = <3300000>;
1189 regulator-max-microvolt = <3300000>;
1190 regulator-enable-ramp-delay = <300000>;
1192 enable-active-high;
1193 vin-supply = <&vdd_3v3_sys>;
1196 vcc_3v3_ts: regulator-ts {
1197 compatible = "regulator-fixed";
1198 regulator-name = "ldo_s-1167_3v3";
1199 regulator-min-microvolt = <3300000>;
1200 regulator-max-microvolt = <3300000>;
1201 regulator-always-on;
1202 regulator-boot-on;
1203 vin-supply = <&vdd_5v0_sys>;
1207 compatible = "nvidia,tegra-audio-rt5640-grouper",
1208 "nvidia,tegra-audio-rt5640";
1211 nvidia,audio-routing =
1220 nvidia,i2s-controller = <&tegra_i2s1>;
1221 nvidia,audio-codec = <&rt5640>;
1223 nvidia,hp-det-gpios = <&gpio TEGRA_GPIO(W, 2) GPIO_ACTIVE_LOW>;
1228 clock-names = "pll_a", "pll_a_out0", "mclk";
1230 assigned-clocks = <&tegra_car TEGRA30_CLK_EXTERN1>,
1233 assigned-clock-parents = <&tegra_car TEGRA30_CLK_PLL_A_OUT0>,
1237 thermal-zones {
1251 skin-thermal {
1252 polling-delay-passive = <1000>; /* milliseconds */
1253 polling-delay = <5000>; /* milliseconds */
1255 thermal-sensors = <&nct72 0>;
1258 trip0: skin-alert {
1265 trip1: skin-crit {
1273 cooling-maps {
1276 cooling-device = <&cpu0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
1286 cpu-thermal {
1287 polling-delay-passive = <1000>; /* milliseconds */
1288 polling-delay = <5000>; /* milliseconds */
1290 thermal-sensors = <&nct72 1>;
1293 trip2: cpu-alert {
1300 trip3: cpu-crit {
1308 cooling-maps {
1311 cooling-device = <&cpu0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,