msm8916-samsung-e2015-common.dtsi 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  1. // SPDX-License-Identifier: GPL-2.0-only
  2. #include "msm8916-samsung-a2015-common.dtsi"
  3. / {
  4. haptic {
  5. compatible = "regulator-haptic";
  6. haptic-supply = <&reg_motor_vdd>;
  7. min-microvolt = <3300000>;
  8. max-microvolt = <3300000>;
  9. };
  10. i2c-muic {
  11. /* SM5504 MUIC instead of SM5502 */
  12. /delete-node/ extcon@25;
  13. muic: extcon@14 {
  14. compatible = "siliconmitus,sm5504-muic";
  15. reg = <0x14>;
  16. interrupt-parent = <&msmgpio>;
  17. interrupts = <12 IRQ_TYPE_EDGE_FALLING>;
  18. pinctrl-names = "default";
  19. pinctrl-0 = <&muic_int_default>;
  20. };
  21. };
  22. reg_motor_vdd: regulator-motor-vdd {
  23. compatible = "regulator-fixed";
  24. regulator-name = "motor_vdd";
  25. regulator-min-microvolt = <3300000>;
  26. regulator-max-microvolt = <3300000>;
  27. gpio = <&msmgpio 76 GPIO_ACTIVE_HIGH>;
  28. enable-active-high;
  29. pinctrl-names = "default";
  30. pinctrl-0 = <&motor_en_default>;
  31. };
  32. reg_touch_key: regulator-touch-key {
  33. compatible = "regulator-fixed";
  34. regulator-name = "touch_key";
  35. regulator-min-microvolt = <3300000>;
  36. regulator-max-microvolt = <3300000>;
  37. gpio = <&msmgpio 97 GPIO_ACTIVE_HIGH>;
  38. enable-active-high;
  39. pinctrl-names = "default";
  40. pinctrl-0 = <&tkey_en_default>;
  41. };
  42. };
  43. &blsp_i2c2 {
  44. /* lis2hh12 accelerometer instead of BMC150 */
  45. status = "disabled";
  46. /delete-node/ accelerometer@10;
  47. /delete-node/ magnetometer@12;
  48. };
  49. &touchkey {
  50. vcc-supply = <&reg_touch_key>;
  51. vdd-supply = <&reg_touch_key>;
  52. };
  53. &msmgpio {
  54. motor_en_default: motor-en-default {
  55. pins = "gpio76";
  56. function = "gpio";
  57. drive-strength = <2>;
  58. bias-disable;
  59. };
  60. tkey_en_default: tkey-en-default {
  61. pins = "gpio97";
  62. function = "gpio";
  63. drive-strength = <2>;
  64. bias-disable;
  65. };
  66. };