Lines Matching +full:touchscreen +full:- +full:y +full:- +full:mm

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"
26 * pre-existing /chosen node to be available to insert the
35 reserved-memory {
36 #address-cells = <1>;
37 #size-cells = <1>;
41 compatible = "shared-dma-pool";
42 alloc-ranges = <0x80000000 0x30000000>;
44 linux,cma-default;
51 console-size = <0x8000>; /* 32kB */
52 record-size = <0x400>; /* 1kB */
53 ecc-size = <16>;
58 no-map;
69 remote-endpoint = <&lvds_encoder_input>;
70 bus-width = <24>;
78 init-mode {
79 gpio-hog;
83 output-low;
86 init-low-power-mode {
87 gpio-hog;
94 pinctrl-names = "default";
95 pinctrl-0 = <&state_default>;
103 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
111 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
121 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
128 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
142 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
150 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
159 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
199 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
207 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
215 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
223 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
231 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
232 nvidia,open-drain = <TEGRA_PIN_ENABLE>;
242 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
252 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
259 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
269 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
279 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
287 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
294 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
301 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
308 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
315 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
325 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
332 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
341 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
348 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
355 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
363 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
371 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
378 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
385 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
395 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
402 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
409 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
416 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
423 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
433 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
442 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
450 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
463 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
470 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
480 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
488 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
496 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
497 nvidia,open-drain = <TEGRA_PIN_ENABLE>;
512 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
520 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
527 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
534 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
542 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
550 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
559 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
566 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
573 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
580 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
588 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
596 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
607 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
614 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
621 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
628 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
636 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
637 nvidia,open-drain = <TEGRA_PIN_ENABLE>;
645 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
653 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
654 nvidia,open-drain = <TEGRA_PIN_ENABLE>;
661 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
668 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
675 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
682 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>;
711 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
718 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
726 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
734 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
741 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
748 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
755 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
756 nvidia,open-drain = <TEGRA_PIN_DISABLE>;
763 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
774 nvidia,high-speed-mode = <0>;
776 nvidia,low-power-mode = <TEGRA_PIN_LP_DRIVE_DIV_1>;
777 nvidia,pull-down-strength = <31>;
778 nvidia,pull-up-strength = <31>;
779 nvidia,slew-rate-rising = <TEGRA_PIN_SLEW_RATE_FASTEST>;
780 nvidia,slew-rate-falling = <TEGRA_PIN_SLEW_RATE_FASTEST>;
785 nvidia,high-speed-mode = <0>;
787 nvidia,pull-down-strength = <46>;
788 nvidia,pull-up-strength = <42>;
789 nvidia,slew-rate-rising = <TEGRA_PIN_SLEW_RATE_FAST>;
790 nvidia,slew-rate-falling = <TEGRA_PIN_SLEW_RATE_FAST>;
797 nvidia,pull-down-strength = <9>;
798 nvidia,pull-up-strength = <9>;
799 nvidia,slew-rate-rising = <TEGRA_PIN_SLEW_RATE_SLOWEST>;
800 nvidia,slew-rate-falling = <TEGRA_PIN_SLEW_RATE_SLOWEST>;
806 compatible = "nvidia,tegra30-hsuart";
811 compatible = "nvidia,tegra30-hsuart";
814 nvidia,adjust-baud-rates = <0 9600 100>,
818 /* Azurewave AW-NH665 BCM4330B1 */
820 compatible = "brcm,bcm4330-bt";
822 max-speed = <4000000>;
825 clock-names = "txco";
827 vbat-supply = <&vdd_3v3_sys>;
828 vddio-supply = <&vdd_1v8>;
830 device-wakeup-gpios = <&gpio TEGRA_GPIO(U, 1) GPIO_ACTIVE_HIGH>;
831 host-wakeup-gpios = <&gpio TEGRA_GPIO(U, 6) GPIO_ACTIVE_HIGH>;
832 shutdown-gpios = <&gpio TEGRA_GPIO(U, 0) GPIO_ACTIVE_HIGH>;
841 clock-frequency = <400000>;
844 touchscreen@10 {
848 interrupt-parent = <&gpio>;
851 reset-gpios = <&gpio TEGRA_GPIO(H, 6) GPIO_ACTIVE_LOW>;
853 vcc33-supply = <&vcc_3v3_ts>;
854 vccio-supply = <&vcc_3v3_ts>;
856 touchscreen-size-x = <2112>;
857 touchscreen-size-y = <1280>;
858 touchscreen-swapped-x-y;
859 touchscreen-inverted-x;
864 clock-frequency = <100000>;
868 compatible = "asahi-kasei,ak8974";
871 interrupt-parent = <&gpio>;
874 avdd-supply = <&vdd_3v3_sys>;
875 dvdd-supply = <&vdd_1v8>;
877 mount-matrix = "0", "-1", "0",
878 "-1", "0", "0",
879 "0", "0", "-1";
882 light-sensor@1c {
886 interrupt-parent = <&gpio>;
889 vdd-supply = <&vdd_3v3_sys>;
896 interrupt-parent = <&gpio>;
899 vdd-supply = <&vdd_3v3_sys>;
900 vddio-supply = <&vdd_1v8>;
902 mount-matrix = "0", "-1", "0",
903 "-1", "0", "0",
904 "0", "0", "-1";
909 clock-frequency = <100000>;
912 rt5640: audio-codec@1c {
916 realtek,dmic1-data-pin = <1>;
919 nct72: temperature-sensor@4c {
922 vcc-supply = <&vdd_3v3_sys>;
923 #thermal-sensor-cells = <1>;
926 fuel-gauge@55 {
929 power-supplies = <&power_supply>;
930 monitored-battery = <&battery_cell>;
937 interrupt-parent = <&gpio>;
940 summit,enable-charge-control = <SMB3XX_CHG_ENABLE_PIN_ACTIVE_LOW>;
941 summit,enable-usb-charging;
943 monitored-battery = <&battery_cell>;
949 nvidia,invert-interrupt;
950 nvidia,suspend-mode = <1>;
951 nvidia,cpu-pwr-good-time = <2000>;
952 nvidia,cpu-pwr-off-time = <200>;
953 nvidia,core-pwr-good-time = <3845 3845>;
954 nvidia,core-pwr-off-time = <0>;
955 nvidia,core-power-req-active-high;
956 nvidia,sys-clock-req-active-high;
965 brcm_wifi_pwrseq: wifi-pwrseq {
966 compatible = "mmc-pwrseq-simple";
969 clock-names = "ext_clock";
971 reset-gpios = <&gpio TEGRA_GPIO(D, 4) GPIO_ACTIVE_LOW>;
972 post-power-on-delay-ms = <300>;
973 power-off-delay-us = <300>;
979 #address-cells = <1>;
980 #size-cells = <0>;
982 assigned-clocks = <&tegra_car TEGRA30_CLK_SDMMC3>;
983 assigned-clock-parents = <&tegra_car TEGRA30_CLK_PLL_C>;
984 assigned-clock-rates = <50000000>;
986 max-frequency = <50000000>;
987 keep-power-in-suspend;
988 bus-width = <4>;
989 non-removable;
991 mmc-pwrseq = <&brcm_wifi_pwrseq>;
992 vmmc-supply = <&vdd_3v3_sys>;
993 vqmmc-supply = <&vdd_1v8>;
995 /* Azurewave AW-NH665 BCM4330 */
998 compatible = "brcm,bcm4329-fmac";
999 interrupt-parent = <&gpio>;
1001 interrupt-names = "host-wake";
1007 bus-width = <8>;
1008 vmmc-supply = <&vcore_emmc>;
1009 vqmmc-supply = <&vdd_1v8>;
1010 non-removable;
1014 compatible = "nvidia,tegra30-udc";
1019 usb-phy@7d000000 {
1022 nvidia,hssync-start-delay = <0>;
1023 nvidia,xcvr-lsfslew = <2>;
1024 nvidia,xcvr-lsrslew = <2>;
1028 compatible = "pwm-backlight";
1030 power-supply = <&vdd_5v0_sys>;
1033 brightness-levels = <1 255>;
1034 num-interpolated-steps = <254>;
1035 default-brightness-level = <15>;
1038 battery_cell: battery-cell {
1039 compatible = "simple-battery";
1040 constant-charge-current-max-microamp = <1800000>;
1041 operating-range-celsius = <0 45>;
1044 /* PMIC has a built-in 32KHz oscillator which is used by PMC */
1046 compatible = "fixed-clock";
1047 #clock-cells = <0>;
1048 clock-frequency = <32768>;
1049 clock-output-names = "pmic-oscillator";
1054 cpu-supply = <&vdd_cpu>;
1055 operating-points-v2 = <&cpu0_opp_table>;
1056 #cooling-cells = <2>;
1060 cpu-supply = <&vdd_cpu>;
1061 operating-points-v2 = <&cpu0_opp_table>;
1065 cpu-supply = <&vdd_cpu>;
1066 operating-points-v2 = <&cpu0_opp_table>;
1070 cpu-supply = <&vdd_cpu>;
1071 operating-points-v2 = <&cpu0_opp_table>;
1075 display-panel {
1076 compatible = "hydis,hv070wx2-1e0", "chunghwa,claa070wp03xg",
1077 "panel-lvds";
1079 power-supply = <&vdd_pnl>;
1082 width-mm = <94>;
1083 height-mm = <150>;
1086 data-mapping = "jeida-24";
1090 remote-endpoint = <&lvds_encoder_output>;
1096 trusted-foundations {
1097 compatible = "tlm,trusted-foundations";
1098 tlm,version-major = <0x0>;
1099 tlm,version-minor = <0x0>;
1103 gpio-keys {
1104 compatible = "gpio-keys";
1106 hall-sensor {
1109 linux,input-type = <EV_SW>;
1111 debounce-interval = <500>;
1112 wakeup-event-action = <EV_ACT_DEASSERTED>;
1113 wakeup-source;
1120 debounce-interval = <10>;
1121 wakeup-event-action = <EV_ACT_ASSERTED>;
1122 wakeup-source;
1125 volume-up {
1129 debounce-interval = <10>;
1130 wakeup-event-action = <EV_ACT_ASSERTED>;
1131 wakeup-source;
1134 volume-down {
1138 debounce-interval = <10>;
1139 wakeup-event-action = <EV_ACT_ASSERTED>;
1140 wakeup-source;
1144 lvds-encoder {
1145 compatible = "ti,sn75lvds83", "lvds-encoder";
1147 powerdown-gpios = <&gpio TEGRA_GPIO(N, 6) GPIO_ACTIVE_LOW>;
1150 #address-cells = <1>;
1151 #size-cells = <0>;
1157 remote-endpoint = <&lcd_output>;
1165 remote-endpoint = <&panel_input>;
1172 compatible = "regulator-fixed";
1173 regulator-name = "vdd_5v0";
1174 regulator-min-microvolt = <5000000>;
1175 regulator-max-microvolt = <5000000>;
1176 regulator-always-on;
1177 regulator-boot-on;
1181 compatible = "regulator-fixed";
1182 regulator-name = "vdd_3v3";
1183 regulator-min-microvolt = <3300000>;
1184 regulator-max-microvolt = <3300000>;
1185 regulator-always-on;
1186 regulator-boot-on;
1187 vin-supply = <&vdd_5v0_sys>;
1191 compatible = "regulator-fixed";
1192 regulator-name = "vdd_panel";
1193 regulator-min-microvolt = <3300000>;
1194 regulator-max-microvolt = <3300000>;
1195 regulator-enable-ramp-delay = <300000>;
1197 enable-active-high;
1198 vin-supply = <&vdd_3v3_sys>;
1202 compatible = "regulator-fixed";
1203 regulator-name = "ldo_s-1167_3v3";
1204 regulator-min-microvolt = <3300000>;
1205 regulator-max-microvolt = <3300000>;
1206 regulator-always-on;
1207 regulator-boot-on;
1208 vin-supply = <&vdd_5v0_sys>;
1212 compatible = "nvidia,tegra-audio-rt5640-grouper",
1213 "nvidia,tegra-audio-rt5640";
1216 nvidia,audio-routing =
1225 nvidia,i2s-controller = <&tegra_i2s1>;
1226 nvidia,audio-codec = <&rt5640>;
1228 nvidia,hp-det-gpios = <&gpio TEGRA_GPIO(W, 2) GPIO_ACTIVE_LOW>;
1233 clock-names = "pll_a", "pll_a_out0", "mclk";
1235 assigned-clocks = <&tegra_car TEGRA30_CLK_EXTERN1>,
1238 assigned-clock-parents = <&tegra_car TEGRA30_CLK_PLL_A_OUT0>,
1242 thermal-zones {
1243 nct72-local {
1244 polling-delay-passive = <1000>; /* milliseconds */
1245 polling-delay = <0>; /* milliseconds */
1247 thermal-sensors = <&nct72 0>;
1250 nct72-remote {
1251 polling-delay-passive = <1000>; /* milliseconds */
1252 polling-delay = <5000>; /* milliseconds */
1254 thermal-sensors = <&nct72 1>;
1257 trip0: cpu-alert0 {
1264 trip1: cpu-crit {
1272 cooling-maps {
1275 cooling-device = <&cpu0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;