0001 Freescale MX25 ADC/TSC MultiFunction Device (MFD)
0002
0003 This device combines two general purpose conversion queues one used for general
0004 ADC and the other used for touchscreens.
0005
0006 Required properties:
0007 - compatible: Should be "fsl,imx25-tsadc".
0008 - reg: Start address and size of the memory area of
0009 the device
0010 - interrupts: Interrupt for this device
0011 (See: ../interrupt-controller/interrupts.txt)
0012 - clocks: An 'ipg' clock (See: ../clock/clock-bindings.txt)
0013 - interrupt-controller: This device is an interrupt controller. It
0014 controls the interrupts of both
0015 conversion queues.
0016 - #interrupt-cells: Should be '<1>'.
0017 - #address-cells: Should be '<1>'.
0018 - #size-cells: Should be '<1>'.
0019
0020 This device includes two conversion queues which can be added as subnodes.
0021 The first queue is for the touchscreen, the second for general purpose ADC.
0022
0023 Example:
0024 tscadc: tscadc@50030000 {
0025 compatible = "fsl,imx25-tsadc";
0026 reg = <0x50030000 0xc>;
0027 interrupts = <46>;
0028 clocks = <&clks 119>;
0029 clock-names = "ipg";
0030 interrupt-controller;
0031 #interrupt-cells = <1>;
0032 #address-cells = <1>;
0033 #size-cells = <1>;
0034 ranges;
0035
0036 tsc: tcq@50030400 {
0037 compatible = "fsl,imx25-tcq";
0038 reg = <0x50030400 0x60>;
0039 ...
0040 };
0041
0042 adc: gcq@50030800 {
0043 compatible = "fsl,imx25-gcq";
0044 reg = <0x50030800 0x60>;
0045 ...
0046 };
0047 };