stuib.dtsi 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  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. / {
  12. soc-u9500 {
  13. i2c@80004000 {
  14. stmpe1601: stmpe1601@40 {
  15. compatible = "st,stmpe1601";
  16. reg = <0x40>;
  17. interrupts = <26 0x1>;
  18. interrupt-parent = <&gpio6>;
  19. interrupt-controller;
  20. wakeup-source;
  21. st,autosleep-timeout = <1024>;
  22. stmpe_keypad {
  23. compatible = "st,stmpe-keypad";
  24. debounce-interval = <64>;
  25. st,scan-count = <8>;
  26. st,no-autorepeat;
  27. linux,keymap = <0x205006b
  28. 0x4010074
  29. 0x3050072
  30. 0x1030004
  31. 0x502006a
  32. 0x500000a
  33. 0x5008b
  34. 0x706001c
  35. 0x405000b
  36. 0x6070003
  37. 0x3040067
  38. 0x303006c
  39. 0x60400e7
  40. 0x602009e
  41. 0x4020073
  42. 0x5050002
  43. 0x4030069
  44. 0x3020008>;
  45. };
  46. };
  47. };
  48. i2c@80110000 {
  49. bu21013_tp@0x5c {
  50. compatible = "rhom,bu21013_tp";
  51. reg = <0x5c>;
  52. touch-gpio = <&gpio2 20 0x4>;
  53. avdd-supply = <&ab8500_ldo_aux1_reg>;
  54. rhom,touch-max-x = <384>;
  55. rhom,touch-max-y = <704>;
  56. rhom,flip-y;
  57. };
  58. bu21013_tp@0x5d {
  59. compatible = "rhom,bu21013_tp";
  60. reg = <0x5d>;
  61. touch-gpio = <&gpio2 20 0x4>;
  62. avdd-supply = <&ab8500_ldo_aux1_reg>;
  63. rhom,touch-max-x = <384>;
  64. rhom,touch-max-y = <704>;
  65. rhom,flip-y;
  66. };
  67. };
  68. };
  69. };