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
36 reserved-memory {
37 #address-cells = <1>;
38 #size-cells = <1>;
42 compatible = "shared-dma-pool";
43 alloc-ranges = <0x80000000 0x30000000>;
45 linux,cma-default;
52 console-size = <0x8000>; /* 32kB */
53 record-size = <0x400>; /* 1kB */
54 ecc-size = <16>;
59 no-map;
64 init-mode-hog {
65 gpio-hog;
69 output-low;
72 init-low-power-mode-hog {
73 gpio-hog;
75 input;
80 pinctrl-names = "default";
81 pinctrl-0 = <&state_default>;
89 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
97 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
107 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
114 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
128 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
136 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
145 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
185 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
193 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
201 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
209 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
217 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
218 nvidia,open-drain = <TEGRA_PIN_ENABLE>;
228 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
238 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
245 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
255 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
265 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
273 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
280 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
287 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
294 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
301 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
311 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
318 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
327 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
334 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
341 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
349 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
357 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
364 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
371 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
381 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
388 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
395 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
402 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
409 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
419 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
428 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
436 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
449 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
456 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
466 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
474 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
482 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
483 nvidia,open-drain = <TEGRA_PIN_ENABLE>;
498 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
506 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
513 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
520 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
528 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
536 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
545 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
552 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
559 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
566 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
574 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
582 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
593 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
600 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
607 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
614 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
622 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
623 nvidia,open-drain = <TEGRA_PIN_ENABLE>;
631 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
639 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
640 nvidia,open-drain = <TEGRA_PIN_ENABLE>;
647 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
654 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
661 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
668 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
676 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
683 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
690 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
697 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
704 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
712 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
720 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
727 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
734 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
741 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
742 nvidia,open-drain = <TEGRA_PIN_DISABLE>;
749 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
760 nvidia,high-speed-mode = <0>;
762 nvidia,low-power-mode = <TEGRA_PIN_LP_DRIVE_DIV_1>;
763 nvidia,pull-down-strength = <31>;
764 nvidia,pull-up-strength = <31>;
765 nvidia,slew-rate-rising = <TEGRA_PIN_SLEW_RATE_FASTEST>;
766 nvidia,slew-rate-falling = <TEGRA_PIN_SLEW_RATE_FASTEST>;
771 nvidia,high-speed-mode = <0>;
773 nvidia,pull-down-strength = <46>;
774 nvidia,pull-up-strength = <42>;
775 nvidia,slew-rate-rising = <TEGRA_PIN_SLEW_RATE_FAST>;
776 nvidia,slew-rate-falling = <TEGRA_PIN_SLEW_RATE_FAST>;
783 nvidia,pull-down-strength = <9>;
784 nvidia,pull-up-strength = <9>;
785 nvidia,slew-rate-rising = <TEGRA_PIN_SLEW_RATE_SLOWEST>;
786 nvidia,slew-rate-falling = <TEGRA_PIN_SLEW_RATE_SLOWEST>;
792 compatible = "nvidia,tegra30-hsuart";
793 /delete-property/ reg-shift;
798 compatible = "nvidia,tegra30-hsuart";
799 /delete-property/ reg-shift;
802 nvidia,adjust-baud-rates = <0 9600 100>,
806 /* Azurewave AW-NH665 BCM4330B1 */
808 compatible = "brcm,bcm4330-bt";
810 interrupt-parent = <&gpio>;
812 interrupt-names = "host-wakeup";
814 max-speed = <4000000>;
817 clock-names = "txco";
819 vbat-supply = <&vdd_3v3_sys>;
820 vddio-supply = <&vdd_1v8>;
822 device-wakeup-gpios = <&gpio TEGRA_GPIO(U, 1) GPIO_ACTIVE_HIGH>;
823 shutdown-gpios = <&gpio TEGRA_GPIO(U, 0) GPIO_ACTIVE_HIGH>;
832 clock-frequency = <400000>;
839 interrupt-parent = <&gpio>;
842 reset-gpios = <&gpio TEGRA_GPIO(H, 6) GPIO_ACTIVE_LOW>;
844 vcc33-supply = <&vcc_3v3_ts>;
845 vccio-supply = <&vcc_3v3_ts>;
847 touchscreen-size-x = <2112>;
848 touchscreen-size-y = <1280>;
849 touchscreen-swapped-x-y;
850 touchscreen-inverted-x;
855 clock-frequency = <100000>;
859 compatible = "asahi-kasei,ak8974";
862 interrupt-parent = <&gpio>;
865 avdd-supply = <&vdd_3v3_sys>;
866 dvdd-supply = <&vdd_1v8>;
868 mount-matrix = "0", "-1", "0",
869 "-1", "0", "0",
870 "0", "0", "-1";
873 light-sensor@1c {
877 interrupt-parent = <&gpio>;
880 vdd-supply = <&vdd_3v3_sys>;
887 interrupt-parent = <&gpio>;
890 vdd-supply = <&vdd_3v3_sys>;
891 vddio-supply = <&vdd_1v8>;
893 mount-matrix = "0", "-1", "0",
894 "-1", "0", "0",
895 "0", "0", "-1";
900 clock-frequency = <100000>;
903 rt5640: audio-codec@1c {
907 realtek,dmic1-data-pin = <1>;
910 nct72: temperature-sensor@4c {
913 vcc-supply = <&vdd_3v3_sys>;
915 interrupt-parent = <&gpio>;
918 #thermal-sensor-cells = <1>;
921 fuel-gauge@55 {
924 power-supplies = <&power_supply>;
931 interrupt-parent = <&gpio>;
934 summit,enable-charge-control = <SMB3XX_CHG_ENABLE_PIN_ACTIVE_LOW>;
935 summit,inok-polarity = <SMB3XX_SYSOK_INOK_ACTIVE_LOW>;
936 summit,enable-usb-charging;
938 monitored-battery = <&battery_cell>;
940 usb_vbus: usb-vbus {
941 regulator-name = "usb_vbus";
942 regulator-min-microvolt = <5000000>;
943 regulator-max-microvolt = <5000000>;
944 regulator-min-microamp = <750000>;
945 regulator-max-microamp = <750000>;
948 * SMB347 INOK input pin is connected to PMIC's
956 summit,needs-inok-toggle;
963 nvidia,invert-interrupt;
964 nvidia,suspend-mode = <1>;
965 nvidia,cpu-pwr-good-time = <2000>;
966 nvidia,cpu-pwr-off-time = <200>;
967 nvidia,core-pwr-good-time = <3845 3845>;
968 nvidia,core-pwr-off-time = <0>;
969 nvidia,core-power-req-active-high;
970 nvidia,sys-clock-req-active-high;
971 core-supply = <&vdd_core>;
980 brcm_wifi_pwrseq: wifi-pwrseq {
981 compatible = "mmc-pwrseq-simple";
984 clock-names = "ext_clock";
986 reset-gpios = <&gpio TEGRA_GPIO(D, 4) GPIO_ACTIVE_LOW>;
987 post-power-on-delay-ms = <300>;
988 power-off-delay-us = <300>;
994 #address-cells = <1>;
995 #size-cells = <0>;
997 assigned-clocks = <&tegra_car TEGRA30_CLK_SDMMC3>;
998 assigned-clock-parents = <&tegra_car TEGRA30_CLK_PLL_C>;
999 assigned-clock-rates = <50000000>;
1001 max-frequency = <50000000>;
1002 keep-power-in-suspend;
1003 bus-width = <4>;
1004 non-removable;
1006 mmc-pwrseq = <&brcm_wifi_pwrseq>;
1007 vmmc-supply = <&vdd_3v3_sys>;
1008 vqmmc-supply = <&vdd_1v8>;
1010 /* Azurewave AW-NH665 BCM4330 */
1013 compatible = "brcm,bcm4329-fmac";
1014 interrupt-parent = <&gpio>;
1016 interrupt-names = "host-wake";
1022 bus-width = <8>;
1023 vmmc-supply = <&vcore_emmc>;
1024 vqmmc-supply = <&vdd_1v8>;
1025 non-removable;
1029 compatible = "nvidia,tegra30-udc";
1032 vbus-supply = <&usb_vbus>;
1035 usb-phy@7d000000 {
1038 nvidia,hssync-start-delay = <0>;
1039 nvidia,xcvr-lsfslew = <2>;
1040 nvidia,xcvr-lsrslew = <2>;
1044 compatible = "pwm-backlight";
1046 power-supply = <&vdd_5v0_sys>;
1049 brightness-levels = <1 255>;
1050 num-interpolated-steps = <254>;
1051 default-brightness-level = <15>;
1054 battery_cell: battery-cell {
1055 compatible = "simple-battery";
1056 constant-charge-current-max-microamp = <1800000>;
1057 operating-range-celsius = <0 45>;
1060 /* PMIC has a built-in 32KHz oscillator which is used by PMC */
1061 clk32k_in: clock-32k {
1062 compatible = "fixed-clock";
1063 #clock-cells = <0>;
1064 clock-frequency = <32768>;
1065 clock-output-names = "pmic-oscillator";
1070 cpu-supply = <&vdd_cpu>;
1071 operating-points-v2 = <&cpu0_opp_table>;
1072 #cooling-cells = <2>;
1076 cpu-supply = <&vdd_cpu>;
1077 operating-points-v2 = <&cpu0_opp_table>;
1078 #cooling-cells = <2>;
1082 cpu-supply = <&vdd_cpu>;
1083 operating-points-v2 = <&cpu0_opp_table>;
1084 #cooling-cells = <2>;
1088 cpu-supply = <&vdd_cpu>;
1089 operating-points-v2 = <&cpu0_opp_table>;
1090 #cooling-cells = <2>;
1094 display-panel {
1098 * 1. hydis,hv070wx2-1e0
1104 compatible = "panel-lvds";
1106 width-mm = <94>;
1107 height-mm = <150>;
1110 data-mapping = "jeida-24";
1113 /delete-property/ ddc-i2c-bus;
1117 trusted-foundations {
1118 compatible = "tlm,trusted-foundations";
1119 tlm,version-major = <0x0>;
1120 tlm,version-minor = <0x0>;
1124 gpio-keys {
1125 compatible = "gpio-keys";
1127 switch-hall-sensor {
1130 linux,input-type = <EV_SW>;
1132 debounce-interval = <500>;
1133 wakeup-event-action = <EV_ACT_DEASSERTED>;
1134 wakeup-source;
1137 key-power {
1141 debounce-interval = <10>;
1142 wakeup-event-action = <EV_ACT_ASSERTED>;
1143 wakeup-source;
1146 key-volume-up {
1150 debounce-interval = <10>;
1151 wakeup-event-action = <EV_ACT_ASSERTED>;
1152 wakeup-source;
1155 key-volume-down {
1159 debounce-interval = <10>;
1160 wakeup-event-action = <EV_ACT_ASSERTED>;
1161 wakeup-source;
1165 vdd_5v0_sys: regulator-5v0 {
1166 compatible = "regulator-fixed";
1167 regulator-name = "vdd_5v0";
1168 regulator-min-microvolt = <5000000>;
1169 regulator-max-microvolt = <5000000>;
1170 regulator-always-on;
1171 regulator-boot-on;
1174 vdd_3v3_sys: regulator-3v3 {
1175 compatible = "regulator-fixed";
1176 regulator-name = "vdd_3v3";
1177 regulator-min-microvolt = <3300000>;
1178 regulator-max-microvolt = <3300000>;
1179 regulator-always-on;
1180 regulator-boot-on;
1181 vin-supply = <&vdd_5v0_sys>;
1184 vdd_pnl: regulator-panel {
1185 compatible = "regulator-fixed";
1186 regulator-name = "vdd_panel";
1187 regulator-min-microvolt = <3300000>;
1188 regulator-max-microvolt = <3300000>;
1189 regulator-enable-ramp-delay = <300000>;
1191 enable-active-high;
1192 vin-supply = <&vdd_3v3_sys>;
1195 vcc_3v3_ts: regulator-ts {
1196 compatible = "regulator-fixed";
1197 regulator-name = "ldo_s-1167_3v3";
1198 regulator-min-microvolt = <3300000>;
1199 regulator-max-microvolt = <3300000>;
1200 regulator-always-on;
1201 regulator-boot-on;
1202 vin-supply = <&vdd_5v0_sys>;
1206 compatible = "nvidia,tegra-audio-rt5640-grouper",
1207 "nvidia,tegra-audio-rt5640";
1210 nvidia,audio-routing =
1219 nvidia,i2s-controller = <&tegra_i2s1>;
1220 nvidia,audio-codec = <&rt5640>;
1222 nvidia,hp-det-gpios = <&gpio TEGRA_GPIO(W, 2) GPIO_ACTIVE_LOW>;
1227 clock-names = "pll_a", "pll_a_out0", "mclk";
1229 assigned-clocks = <&tegra_car TEGRA30_CLK_EXTERN1>,
1232 assigned-clock-parents = <&tegra_car TEGRA30_CLK_PLL_A_OUT0>,
1236 thermal-zones {
1250 skin-thermal {
1251 polling-delay-passive = <1000>; /* milliseconds */
1252 polling-delay = <5000>; /* milliseconds */
1254 thermal-sensors = <&nct72 0>;
1257 trip0: skin-alert {
1264 trip1: skin-crit {
1272 cooling-maps {
1275 cooling-device = <&cpu0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
1285 cpu-thermal {
1286 polling-delay-passive = <1000>; /* milliseconds */
1287 polling-delay = <5000>; /* milliseconds */
1289 thermal-sensors = <&nct72 1>;
1292 trip2: cpu-alert {
1299 trip3: cpu-crit {
1307 cooling-maps {
1310 cooling-device = <&cpu0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,