ste-hrefprev60.dtsi 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  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. * Device Tree for the HREF+ prior to the v60 variant.
  12. */
  13. #include "ste-dbx5x0.dtsi"
  14. #include "ste-href.dtsi"
  15. / {
  16. gpio_keys {
  17. button@1 {
  18. gpios = <&tc3589x_gpio 7 0x4>;
  19. };
  20. };
  21. soc {
  22. i2c@80004000 {
  23. tps61052@33 {
  24. compatible = "tps61052";
  25. reg = <0x33>;
  26. };
  27. tc3589x@42 {
  28. compatible = "tc3589x";
  29. reg = <0x42>;
  30. interrupt-parent = <&gpio6>;
  31. interrupts = <25 IRQ_TYPE_EDGE_RISING>;
  32. interrupt-controller;
  33. #interrupt-cells = <2>;
  34. tc3589x_gpio: tc3589x_gpio {
  35. compatible = "tc3589x-gpio";
  36. interrupts = <0 IRQ_TYPE_EDGE_RISING>;
  37. interrupt-controller;
  38. #interrupt-cells = <2>;
  39. gpio-controller;
  40. #gpio-cells = <2>;
  41. };
  42. };
  43. };
  44. vmmci: regulator-gpio {
  45. gpios = <&tc3589x_gpio 18 0x4>;
  46. enable-gpio = <&tc3589x_gpio 17 0x4>;
  47. status = "okay";
  48. };
  49. };
  50. };