msm8916-samsung-a3u-eur.dts 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131
  1. // SPDX-License-Identifier: GPL-2.0-only
  2. /dts-v1/;
  3. #include "msm8916-samsung-a2015-common.dtsi"
  4. / {
  5. model = "Samsung Galaxy A3U (EUR)";
  6. compatible = "samsung,a3u-eur", "qcom,msm8916";
  7. chassis-type = "handset";
  8. reg_panel_vdd3: regulator-panel-vdd3 {
  9. compatible = "regulator-fixed";
  10. regulator-name = "panel_vdd3";
  11. regulator-min-microvolt = <1800000>;
  12. regulator-max-microvolt = <1800000>;
  13. gpio = <&msmgpio 9 GPIO_ACTIVE_HIGH>;
  14. enable-active-high;
  15. pinctrl-names = "default";
  16. pinctrl-0 = <&panel_vdd3_default>;
  17. };
  18. reg_touch_key: regulator-touch-key {
  19. compatible = "regulator-fixed";
  20. regulator-name = "touch_key";
  21. regulator-min-microvolt = <2800000>;
  22. regulator-max-microvolt = <2800000>;
  23. gpio = <&msmgpio 86 GPIO_ACTIVE_HIGH>;
  24. enable-active-high;
  25. pinctrl-names = "default";
  26. pinctrl-0 = <&tkey_en_default>;
  27. };
  28. reg_key_led: regulator-key-led {
  29. compatible = "regulator-fixed";
  30. regulator-name = "key_led";
  31. regulator-min-microvolt = <3300000>;
  32. regulator-max-microvolt = <3300000>;
  33. gpio = <&msmgpio 60 GPIO_ACTIVE_HIGH>;
  34. enable-active-high;
  35. pinctrl-names = "default";
  36. pinctrl-0 = <&tkey_led_en_default>;
  37. };
  38. };
  39. &touchkey {
  40. vcc-supply = <&reg_touch_key>;
  41. vdd-supply = <&reg_key_led>;
  42. };
  43. &accelerometer {
  44. mount-matrix = "0", "1", "0",
  45. "1", "0", "0",
  46. "0", "0", "1";
  47. };
  48. &blsp_i2c5 {
  49. status = "okay";
  50. touchscreen@20 {
  51. compatible = "zinitix,bt541";
  52. reg = <0x20>;
  53. interrupt-parent = <&msmgpio>;
  54. interrupts = <13 IRQ_TYPE_EDGE_FALLING>;
  55. touchscreen-size-x = <540>;
  56. touchscreen-size-y = <960>;
  57. vcca-supply = <&reg_vdd_tsp_a>;
  58. vdd-supply = <&pm8916_l6>;
  59. pinctrl-names = "default";
  60. pinctrl-0 = <&ts_int_default>;
  61. };
  62. };
  63. &dsi0 {
  64. panel@0 {
  65. reg = <0>;
  66. compatible = "samsung,s6e88a0-ams452ef01";
  67. vdd3-supply = <&reg_panel_vdd3>;
  68. vci-supply = <&pm8916_l17>;
  69. reset-gpios = <&msmgpio 25 GPIO_ACTIVE_HIGH>;
  70. port {
  71. panel_in: endpoint {
  72. remote-endpoint = <&dsi0_out>;
  73. };
  74. };
  75. };
  76. };
  77. &dsi0_out {
  78. data-lanes = <0 1>;
  79. remote-endpoint = <&panel_in>;
  80. };
  81. &msmgpio {
  82. panel_vdd3_default: panel-vdd3-default {
  83. pins = "gpio9";
  84. function = "gpio";
  85. drive-strength = <2>;
  86. bias-disable;
  87. };
  88. tkey_en_default: tkey-en-default {
  89. pins = "gpio86";
  90. function = "gpio";
  91. drive-strength = <2>;
  92. bias-disable;
  93. };
  94. tkey_led_en_default: tkey-led-en-default {
  95. pins = "gpio60";
  96. function = "gpio";
  97. drive-strength = <2>;
  98. bias-disable;
  99. };
  100. };