msm8916-samsung-a5u-eur.dts 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. // SPDX-License-Identifier: GPL-2.0-only
  2. /dts-v1/;
  3. #include "msm8916-samsung-a2015-common.dtsi"
  4. / {
  5. model = "Samsung Galaxy A5U (EUR)";
  6. compatible = "samsung,a5u-eur", "qcom,msm8916";
  7. chassis-type = "handset";
  8. reg_touch_key: regulator-touch-key {
  9. compatible = "regulator-fixed";
  10. regulator-name = "touch_key";
  11. regulator-min-microvolt = <3300000>;
  12. regulator-max-microvolt = <3300000>;
  13. gpio = <&msmgpio 97 GPIO_ACTIVE_HIGH>;
  14. enable-active-high;
  15. pinctrl-names = "default";
  16. pinctrl-0 = <&tkey_en_default>;
  17. };
  18. };
  19. &accelerometer {
  20. mount-matrix = "-1", "0", "0",
  21. "0", "1", "0",
  22. "0", "0", "1";
  23. };
  24. &blsp_i2c5 {
  25. status = "okay";
  26. touchscreen@48 {
  27. compatible = "melfas,mms345l";
  28. reg = <0x48>;
  29. interrupt-parent = <&msmgpio>;
  30. interrupts = <13 IRQ_TYPE_EDGE_FALLING>;
  31. touchscreen-size-x = <720>;
  32. touchscreen-size-y = <1280>;
  33. avdd-supply = <&reg_vdd_tsp_a>;
  34. vdd-supply = <&pm8916_l6>;
  35. pinctrl-names = "default";
  36. pinctrl-0 = <&ts_int_default>;
  37. };
  38. };
  39. &pronto {
  40. iris {
  41. compatible = "qcom,wcn3660b";
  42. };
  43. };
  44. &touchkey {
  45. vcc-supply = <&reg_touch_key>;
  46. vdd-supply = <&reg_touch_key>;
  47. };
  48. &msmgpio {
  49. tkey_en_default: tkey-en-default {
  50. pins = "gpio97";
  51. function = "gpio";
  52. drive-strength = <2>;
  53. bias-disable;
  54. };
  55. };