Lines Matching +full:hall +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;
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 nct72: temperature-sensor@4c {
923 vcc-supply = <&vdd_3v3_sys>;
925 interrupt-parent = <&gpio>;
928 #thermal-sensor-cells = <1>;
931 fuel-gauge@55 {
934 power-supplies = <&power_supply>;
941 interrupt-parent = <&gpio>;
944 summit,enable-charge-control = <SMB3XX_CHG_ENABLE_PIN_ACTIVE_LOW>;
945 summit,inok-polarity = <SMB3XX_SYSOK_INOK_ACTIVE_LOW>;
946 summit,enable-usb-charging;
948 monitored-battery = <&battery_cell>;
950 usb_vbus: usb-vbus {
951 regulator-name = "usb_vbus";
952 regulator-min-microvolt = <5000000>;
953 regulator-max-microvolt = <5000000>;
954 regulator-min-microamp = <750000>;
955 regulator-max-microamp = <750000>;
966 summit,needs-inok-toggle;
973 nvidia,invert-interrupt;
974 nvidia,suspend-mode = <1>;
975 nvidia,cpu-pwr-good-time = <2000>;
976 nvidia,cpu-pwr-off-time = <200>;
977 nvidia,core-pwr-good-time = <3845 3845>;
978 nvidia,core-pwr-off-time = <0>;
979 nvidia,core-power-req-active-high;
980 nvidia,sys-clock-req-active-high;
981 core-supply = <&vdd_core>;
993 #address-cells = <1>;
994 #size-cells = <0>;
996 assigned-clocks = <&tegra_car TEGRA30_CLK_SDMMC3>;
997 assigned-clock-parents = <&tegra_car TEGRA30_CLK_PLL_C>;
998 assigned-clock-rates = <50000000>;
1000 max-frequency = <50000000>;
1001 keep-power-in-suspend;
1002 bus-width = <4>;
1003 non-removable;
1005 mmc-pwrseq = <&brcm_wifi_pwrseq>;
1006 vmmc-supply = <&vdd_3v3_sys>;
1007 vqmmc-supply = <&vdd_1v8>;
1009 /* Azurewave AW-NH665 BCM4330 */
1012 compatible = "brcm,bcm4329-fmac";
1013 interrupt-parent = <&gpio>;
1015 interrupt-names = "host-wake";
1021 bus-width = <8>;
1022 vmmc-supply = <&vcore_emmc>;
1023 vqmmc-supply = <&vdd_1v8>;
1024 non-removable;
1028 compatible = "nvidia,tegra30-udc";
1031 vbus-supply = <&usb_vbus>;
1034 usb-phy@7d000000 {
1037 nvidia,hssync-start-delay = <0>;
1038 nvidia,xcvr-lsfslew = <2>;
1039 nvidia,xcvr-lsrslew = <2>;
1043 compatible = "pwm-backlight";
1045 power-supply = <&vdd_5v0_sys>;
1048 brightness-levels = <1 255>;
1049 num-interpolated-steps = <254>;
1050 default-brightness-level = <15>;
1053 battery_cell: battery-cell {
1054 compatible = "simple-battery";
1055 constant-charge-current-max-microamp = <1800000>;
1056 operating-range-celsius = <0 45>;
1059 /* PMIC has a built-in 32KHz oscillator which is used by PMC */
1060 clk32k_in: clock-32k {
1061 compatible = "fixed-clock";
1062 #clock-cells = <0>;
1063 clock-frequency = <32768>;
1064 clock-output-names = "pmic-oscillator";
1069 cpu-supply = <&vdd_cpu>;
1070 operating-points-v2 = <&cpu0_opp_table>;
1071 #cooling-cells = <2>;
1075 cpu-supply = <&vdd_cpu>;
1076 operating-points-v2 = <&cpu0_opp_table>;
1077 #cooling-cells = <2>;
1081 cpu-supply = <&vdd_cpu>;
1082 operating-points-v2 = <&cpu0_opp_table>;
1083 #cooling-cells = <2>;
1087 cpu-supply = <&vdd_cpu>;
1088 operating-points-v2 = <&cpu0_opp_table>;
1089 #cooling-cells = <2>;
1093 display-panel {
1095 * Some device variants come with a Hydis HV070WX2-1E0, but
1099 compatible = "chunghwa,claa070wp03xg", "panel-lvds";
1101 width-mm = <94>;
1102 height-mm = <150>;
1105 data-mapping = "jeida-24";
1108 /delete-property/ ddc-i2c-bus;
1111 gpio-keys {
1112 compatible = "gpio-keys";
1114 key-power {
1118 debounce-interval = <10>;
1119 wakeup-event-action = <EV_ACT_ASSERTED>;
1120 wakeup-source;
1123 key-volume-down {
1127 debounce-interval = <10>;
1128 wakeup-event-action = <EV_ACT_ASSERTED>;
1129 wakeup-source;
1132 key-volume-up {
1136 debounce-interval = <10>;
1137 wakeup-event-action = <EV_ACT_ASSERTED>;
1138 wakeup-source;
1141 switch-hall-sensor {
1144 linux,input-type = <EV_SW>;
1146 debounce-interval = <500>;
1147 wakeup-event-action = <EV_ACT_DEASSERTED>;
1148 wakeup-source;
1152 brcm_wifi_pwrseq: pwrseq-wifi {
1153 compatible = "mmc-pwrseq-simple";
1156 clock-names = "ext_clock";
1158 reset-gpios = <&gpio TEGRA_GPIO(D, 4) GPIO_ACTIVE_LOW>;
1159 post-power-on-delay-ms = <300>;
1160 power-off-delay-us = <300>;
1163 vdd_5v0_sys: regulator-5v0 {
1164 compatible = "regulator-fixed";
1165 regulator-name = "vdd_5v0";
1166 regulator-min-microvolt = <5000000>;
1167 regulator-max-microvolt = <5000000>;
1168 regulator-always-on;
1169 regulator-boot-on;
1172 vdd_3v3_sys: regulator-3v3 {
1173 compatible = "regulator-fixed";
1174 regulator-name = "vdd_3v3";
1175 regulator-min-microvolt = <3300000>;
1176 regulator-max-microvolt = <3300000>;
1177 regulator-always-on;
1178 regulator-boot-on;
1179 vin-supply = <&vdd_5v0_sys>;
1182 vdd_pnl: regulator-panel {
1183 compatible = "regulator-fixed";
1184 regulator-name = "vdd_panel";
1185 regulator-min-microvolt = <3300000>;
1186 regulator-max-microvolt = <3300000>;
1187 regulator-enable-ramp-delay = <300000>;
1189 enable-active-high;
1190 vin-supply = <&vdd_3v3_sys>;
1193 vcc_3v3_ts: regulator-ts {
1194 compatible = "regulator-fixed";
1195 regulator-name = "ldo_s-1167_3v3";
1196 regulator-min-microvolt = <3300000>;
1197 regulator-max-microvolt = <3300000>;
1198 regulator-always-on;
1199 regulator-boot-on;
1200 vin-supply = <&vdd_5v0_sys>;
1204 compatible = "nvidia,tegra-audio-rt5640-grouper",
1205 "nvidia,tegra-audio-rt5640";
1208 nvidia,audio-routing =
1217 nvidia,i2s-controller = <&tegra_i2s1>;
1218 nvidia,audio-codec = <&rt5640>;
1220 nvidia,hp-det-gpios = <&gpio TEGRA_GPIO(W, 2) GPIO_ACTIVE_LOW>;
1225 clock-names = "pll_a", "pll_a_out0", "mclk";
1227 assigned-clocks = <&tegra_car TEGRA30_CLK_EXTERN1>,
1230 assigned-clock-parents = <&tegra_car TEGRA30_CLK_PLL_A_OUT0>,
1234 thermal-zones {
1248 skin-thermal {
1249 polling-delay-passive = <1000>; /* milliseconds */
1250 polling-delay = <5000>; /* milliseconds */
1252 thermal-sensors = <&nct72 0>;
1255 trip0: skin-alert {
1262 trip1: skin-crit {
1270 cooling-maps {
1273 cooling-device = <&cpu0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
1283 cpu-thermal {
1284 polling-delay-passive = <1000>; /* milliseconds */
1285 polling-delay = <5000>; /* milliseconds */
1287 thermal-sensors = <&nct72 1>;
1290 trip2: cpu-alert {
1297 trip3: cpu-crit {
1305 cooling-maps {
1308 cooling-device = <&cpu0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,