stuib.dtsi 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  1. /*
  2. * Copyright 2012 ST-Ericsson AB
  3. *
  4. * The code contained herein is licensed under the GNU General Public
  5. * License. You may obtain a copy of the GNU General Public License
  6. * Version 2 or later at the following locations:
  7. *
  8. * http://www.opensource.org/licenses/gpl-license.html
  9. * http://www.gnu.org/copyleft/gpl.html
  10. */
  11. #include <dt-bindings/interrupt-controller/irq.h>
  12. / {
  13. soc {
  14. i2c@80004000 {
  15. stmpe1601: stmpe1601@40 {
  16. compatible = "st,stmpe1601";
  17. reg = <0x40>;
  18. interrupts = <26 IRQ_TYPE_EDGE_FALLING>;
  19. interrupt-parent = <&gpio6>;
  20. interrupt-controller;
  21. wakeup-source;
  22. st,autosleep-timeout = <1024>;
  23. stmpe_keypad {
  24. compatible = "st,stmpe-keypad";
  25. debounce-interval = <64>;
  26. st,scan-count = <8>;
  27. st,no-autorepeat;
  28. linux,keymap = <0x205006b
  29. 0x4010074
  30. 0x3050072
  31. 0x1030004
  32. 0x502006a
  33. 0x500000a
  34. 0x5008b
  35. 0x706001c
  36. 0x405000b
  37. 0x6070003
  38. 0x3040067
  39. 0x303006c
  40. 0x60400e7
  41. 0x602009e
  42. 0x4020073
  43. 0x5050002
  44. 0x4030069
  45. 0x3020008>;
  46. };
  47. };
  48. };
  49. i2c@80110000 {
  50. bu21013_tp@5c {
  51. compatible = "rohm,bu21013_tp";
  52. reg = <0x5c>;
  53. touch-gpio = <&gpio2 20 0x4>;
  54. avdd-supply = <&ab8500_ldo_aux1_reg>;
  55. rohm,touch-max-x = <384>;
  56. rohm,touch-max-y = <704>;
  57. rohm,flip-y;
  58. };
  59. bu21013_tp@5d {
  60. compatible = "rohm,bu21013_tp";
  61. reg = <0x5d>;
  62. touch-gpio = <&gpio2 20 0x4>;
  63. avdd-supply = <&ab8500_ldo_aux1_reg>;
  64. rohm,touch-max-x = <384>;
  65. rohm,touch-max-y = <704>;
  66. rohm,flip-y;
  67. };
  68. };
  69. };
  70. };