omap3-gta04a3.dts 990 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. // SPDX-License-Identifier: GPL-2.0-only
  2. /*
  3. * Copyright (C) 2014 H. Nikolaus Schaller <[email protected]>
  4. */
  5. #include "omap3-gta04.dtsi"
  6. / {
  7. model = "Goldelico GTA04A3/Letux 2804";
  8. };
  9. &i2c2 {
  10. /* alternate accelerometer that might be installed on some GTA04A3 boards */
  11. lis302@1d {
  12. compatible = "st,lis331dlh", "st,lis3lv02d";
  13. reg = <0x1d>;
  14. interrupt-parent = <&gpio3>;
  15. interrupts = <18 (IRQ_TYPE_LEVEL_HIGH | IRQ_TYPE_EDGE_RISING)>;
  16. Vdd-supply = <&vaux2>;
  17. Vdd_IO-supply = <&vaux2>;
  18. st,click-single-x;
  19. st,click-single-y;
  20. st,click-single-z;
  21. st,click-thresh-x = <8>;
  22. st,click-thresh-y = <8>;
  23. st,click-thresh-z = <10>;
  24. st,click-click-time-limit = <9>;
  25. st,click-latency = <50>;
  26. st,irq1-click;
  27. st,wakeup-x-lo;
  28. st,wakeup-x-hi;
  29. st,wakeup-y-lo;
  30. st,wakeup-y-hi;
  31. st,wakeup-z-lo;
  32. st,wakeup-z-hi;
  33. st,min-limit-x = <32>;
  34. st,min-limit-y = <3>;
  35. st,min-limit-z = <3>;
  36. st,max-limit-x = <3>;
  37. st,max-limit-y = <32>;
  38. st,max-limit-z = <32>;
  39. };
  40. };