18c2ecf20Sopenharmony_ciFreescale MX25 ADC/TSC MultiFunction Device (MFD) 28c2ecf20Sopenharmony_ci 38c2ecf20Sopenharmony_ciThis device combines two general purpose conversion queues one used for general 48c2ecf20Sopenharmony_ciADC and the other used for touchscreens. 58c2ecf20Sopenharmony_ci 68c2ecf20Sopenharmony_ciRequired properties: 78c2ecf20Sopenharmony_ci - compatible: Should be "fsl,imx25-tsadc". 88c2ecf20Sopenharmony_ci - reg: Start address and size of the memory area of 98c2ecf20Sopenharmony_ci the device 108c2ecf20Sopenharmony_ci - interrupts: Interrupt for this device 118c2ecf20Sopenharmony_ci (See: ../interrupt-controller/interrupts.txt) 128c2ecf20Sopenharmony_ci - clocks: An 'ipg' clock (See: ../clock/clock-bindings.txt) 138c2ecf20Sopenharmony_ci - interrupt-controller: This device is an interrupt controller. It 148c2ecf20Sopenharmony_ci controls the interrupts of both 158c2ecf20Sopenharmony_ci conversion queues. 168c2ecf20Sopenharmony_ci - #interrupt-cells: Should be '<1>'. 178c2ecf20Sopenharmony_ci - #address-cells: Should be '<1>'. 188c2ecf20Sopenharmony_ci - #size-cells: Should be '<1>'. 198c2ecf20Sopenharmony_ci 208c2ecf20Sopenharmony_ciThis device includes two conversion queues which can be added as subnodes. 218c2ecf20Sopenharmony_ciThe first queue is for the touchscreen, the second for general purpose ADC. 228c2ecf20Sopenharmony_ci 238c2ecf20Sopenharmony_ciExample: 248c2ecf20Sopenharmony_ci tscadc: tscadc@50030000 { 258c2ecf20Sopenharmony_ci compatible = "fsl,imx25-tsadc"; 268c2ecf20Sopenharmony_ci reg = <0x50030000 0xc>; 278c2ecf20Sopenharmony_ci interrupts = <46>; 288c2ecf20Sopenharmony_ci clocks = <&clks 119>; 298c2ecf20Sopenharmony_ci clock-names = "ipg"; 308c2ecf20Sopenharmony_ci interrupt-controller; 318c2ecf20Sopenharmony_ci #interrupt-cells = <1>; 328c2ecf20Sopenharmony_ci #address-cells = <1>; 338c2ecf20Sopenharmony_ci #size-cells = <1>; 348c2ecf20Sopenharmony_ci ranges; 358c2ecf20Sopenharmony_ci 368c2ecf20Sopenharmony_ci tsc: tcq@50030400 { 378c2ecf20Sopenharmony_ci compatible = "fsl,imx25-tcq"; 388c2ecf20Sopenharmony_ci reg = <0x50030400 0x60>; 398c2ecf20Sopenharmony_ci ... 408c2ecf20Sopenharmony_ci }; 418c2ecf20Sopenharmony_ci 428c2ecf20Sopenharmony_ci adc: gcq@50030800 { 438c2ecf20Sopenharmony_ci compatible = "fsl,imx25-gcq"; 448c2ecf20Sopenharmony_ci reg = <0x50030800 0x60>; 458c2ecf20Sopenharmony_ci ... 468c2ecf20Sopenharmony_ci }; 478c2ecf20Sopenharmony_ci }; 48