omap3-gta04a3.dts 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. /*
  2. * Copyright (C) 2014 H. Nikolaus Schaller <hns@goldelico.com>
  3. *
  4. * This program is free software; you can redistribute it and/or modify
  5. * it under the terms of the GNU General Public License version 2 as
  6. * published by the Free Software Foundation.
  7. */
  8. #include "omap3-gta04.dtsi"
  9. / {
  10. model = "Goldelico GTA04A3";
  11. };
  12. &i2c2 {
  13. /* alternate accelerometer that might be installed on some GTA04A3 boards */
  14. lis302@1d {
  15. compatible = "st,lis331dlh", "st,lis3lv02d";
  16. reg = <0x1d>;
  17. interrupt-parent = <&gpio3>;
  18. interrupts = <18 (IRQ_TYPE_LEVEL_HIGH | IRQ_TYPE_EDGE_RISING)>;
  19. Vdd-supply = <&vaux2>;
  20. Vdd_IO-supply = <&vaux2>;
  21. st,click-single-x;
  22. st,click-single-y;
  23. st,click-single-z;
  24. st,click-thresh-x = <8>;
  25. st,click-thresh-y = <8>;
  26. st,click-thresh-z = <10>;
  27. st,click-click-time-limit = <9>;
  28. st,click-latency = <50>;
  29. st,irq1-click;
  30. st,wakeup-x-lo;
  31. st,wakeup-x-hi;
  32. st,wakeup-y-lo;
  33. st,wakeup-y-hi;
  34. st,wakeup-z-lo;
  35. st,wakeup-z-hi;
  36. st,min-limit-x = <32>;
  37. st,min-limit-y = <3>;
  38. st,min-limit-z = <3>;
  39. st,max-limit-x = <3>;
  40. st,max-limit-y = <32>;
  41. st,max-limit-z = <32>;
  42. };
  43. };