ste-hrefprev60-stuib.dts 1.3 KB

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