ste-hrefprev60.dts 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  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. /dts-v1/;
  12. #include "ste-dbx5x0.dtsi"
  13. #include "ste-href.dtsi"
  14. #include "ste-stuib.dtsi"
  15. / {
  16. model = "ST-Ericsson HREF (pre-v60) platform with Device Tree";
  17. compatible = "st-ericsson,mop500", "st-ericsson,u8500";
  18. gpio_keys {
  19. button@1 {
  20. gpios = <&tc3589x_gpio 7 0x4>;
  21. };
  22. };
  23. soc {
  24. i2c@80004000 {
  25. tps61052@33 {
  26. compatible = "tps61052";
  27. reg = <0x33>;
  28. };
  29. tc3589x@42 {
  30. compatible = "tc3589x";
  31. reg = <0x42>;
  32. interrupt-parent = <&gpio6>;
  33. interrupts = <25 IRQ_TYPE_EDGE_RISING>;
  34. interrupt-controller;
  35. #interrupt-cells = <2>;
  36. tc3589x_gpio: tc3589x_gpio {
  37. compatible = "tc3589x-gpio";
  38. interrupts = <0 IRQ_TYPE_EDGE_RISING>;
  39. interrupt-controller;
  40. #interrupt-cells = <2>;
  41. gpio-controller;
  42. #gpio-cells = <2>;
  43. };
  44. };
  45. };
  46. i2c@80110000 {
  47. bu21013_tp@5c {
  48. reset-gpio = <&tc3589x_gpio 13 0x4>;
  49. };
  50. };
  51. vmmci: regulator-gpio {
  52. gpios = <&tc3589x_gpio 18 0x4>;
  53. enable-gpio = <&tc3589x_gpio 17 0x4>;
  54. status = "okay";
  55. };
  56. };
  57. };