fsl-imx25-tsadc.txt 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. Freescale MX25 ADC/TSC MultiFunction Device (MFD)
  2. This device combines two general purpose conversion queues one used for general
  3. ADC and the other used for touchscreens.
  4. Required properties:
  5. - compatible: Should be "fsl,imx25-tsadc".
  6. - reg: Start address and size of the memory area of
  7. the device
  8. - interrupts: Interrupt for this device
  9. (See: ../interrupt-controller/interrupts.txt)
  10. - clocks: An 'ipg' clock (See: ../clock/clock-bindings.txt)
  11. - interrupt-controller: This device is an interrupt controller. It
  12. controls the interrupts of both
  13. conversion queues.
  14. - #interrupt-cells: Should be '<1>'.
  15. - #address-cells: Should be '<1>'.
  16. - #size-cells: Should be '<1>'.
  17. This device includes two conversion queues which can be added as subnodes.
  18. The first queue is for the touchscreen, the second for general purpose ADC.
  19. Example:
  20. tscadc: tscadc@50030000 {
  21. compatible = "fsl,imx25-tsadc";
  22. reg = <0x50030000 0xc>;
  23. interrupts = <46>;
  24. clocks = <&clks 119>;
  25. clock-names = "ipg";
  26. interrupt-controller;
  27. #interrupt-cells = <1>;
  28. #address-cells = <1>;
  29. #size-cells = <1>;
  30. ranges;
  31. tsc: tcq@50030400 {
  32. compatible = "fsl,imx25-tcq";
  33. reg = <0x50030400 0x60>;
  34. ...
  35. };
  36. adc: gcq@50030800 {
  37. compatible = "fsl,imx25-gcq";
  38. reg = <0x50030800 0x60>;
  39. ...
  40. };
  41. };