msm8610-rt8973.dtsi 1.2 KB

1234567891011121314151617181920212223242526272829303132
  1. /* Copyright (c) 2012-2013, The Linux Foundation. All rights reserved.
  2. *
  3. * This program is free software; you can redistribute it and/or modify
  4. * it under the terms of the GNU General Public License version 2 and
  5. * only version 2 as published by the Free Software Foundation.
  6. *
  7. * This program is distributed in the hope that it will be useful,
  8. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  9. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  10. * GNU General Public License for more details.
  11. */
  12. &soc {
  13. i2c@15{
  14. cell-index = <15>;
  15. compatible = "i2c-gpio";
  16. gpios = <&msmgpio 8 0 /*SDA*/
  17. &msmgpio 9 0 /*SCL*/
  18. >;
  19. i2c-gpio,delay-us = <2>;
  20. #address-cells = <1>;
  21. #size-cells = <0>;
  22. rt8973@14{
  23. compatible = "rt8973,i2c";
  24. reg = <0x14>;
  25. interrupt-parent = <&msmgpio>;
  26. interupts= <82 0>;
  27. rt8973,irq-gpio = <&msmgpio 82 0x00>;
  28. };
  29. };
  30. };