ste-hrefprev60-stuib.dts 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. // SPDX-License-Identifier: GPL-2.0-or-later
  2. /*
  3. * Copyright 2012 ST-Ericsson AB
  4. */
  5. /dts-v1/;
  6. #include "ste-db8500.dtsi"
  7. #include "ste-href-ab8500.dtsi"
  8. #include "ste-hrefprev60.dtsi"
  9. #include "ste-href-stuib.dtsi"
  10. / {
  11. model = "ST-Ericsson HREF (pre-v60) and ST UIB";
  12. compatible = "st-ericsson,mop500", "st-ericsson,u8500";
  13. /* ST6G3244ME level translator for 1.8/2.9 V */
  14. vmmci: regulator-gpio {
  15. compatible = "regulator-gpio";
  16. regulator-min-microvolt = <1800000>;
  17. regulator-max-microvolt = <2900000>;
  18. regulator-name = "mmci-reg";
  19. regulator-type = "voltage";
  20. startup-delay-us = <100>;
  21. states = <1800000 0x1
  22. 2900000 0x0>;
  23. gpios = <&tc3589x_gpio 18 GPIO_ACTIVE_HIGH>;
  24. enable-gpios = <&tc3589x_gpio 17 GPIO_ACTIVE_HIGH>;
  25. enable-active-high;
  26. };
  27. soc {
  28. /* Reset line for the BU21013 touchscreen */
  29. i2c@80110000 {
  30. /* Only one of these will be used */
  31. bu21013_tp@5c {
  32. interrupt-parent = <&gpio2>;
  33. interrupts = <12 IRQ_TYPE_LEVEL_LOW>;
  34. touch-gpios = <&gpio2 12 GPIO_ACTIVE_LOW>;
  35. reset-gpios = <&tc3589x_gpio 13 GPIO_LINE_OPEN_DRAIN>;
  36. };
  37. bu21013_tp@5d {
  38. interrupt-parent = <&gpio2>;
  39. interrupts = <12 IRQ_TYPE_LEVEL_LOW>;
  40. touch-gpios = <&gpio2 12 GPIO_ACTIVE_LOW>;
  41. reset-gpios = <&tc3589x_gpio 13 GPIO_LINE_OPEN_DRAIN>;
  42. };
  43. };
  44. };
  45. };