xref: /freebsd/sys/contrib/device-tree/Bindings/iio/adc/lpc32xx-adc.txt (revision c66ec88fed842fbaad62c30d510644ceb7bd2d71)
1*c66ec88fSEmmanuel Vadot* NXP LPC32xx SoC ADC controller
2*c66ec88fSEmmanuel Vadot
3*c66ec88fSEmmanuel VadotRequired properties:
4*c66ec88fSEmmanuel Vadot- compatible: must be "nxp,lpc3220-adc"
5*c66ec88fSEmmanuel Vadot- reg: physical base address of the controller and length of memory mapped
6*c66ec88fSEmmanuel Vadot  region.
7*c66ec88fSEmmanuel Vadot- interrupts: The ADC interrupt
8*c66ec88fSEmmanuel Vadot
9*c66ec88fSEmmanuel VadotOptional:
10*c66ec88fSEmmanuel Vadot - vref-supply: The regulator supply ADC reference voltage, optional
11*c66ec88fSEmmanuel Vadot   for legacy reason, but highly encouraging to us in new device tree
12*c66ec88fSEmmanuel Vadot
13*c66ec88fSEmmanuel VadotExample:
14*c66ec88fSEmmanuel Vadot
15*c66ec88fSEmmanuel Vadot	adc@40048000 {
16*c66ec88fSEmmanuel Vadot		compatible = "nxp,lpc3220-adc";
17*c66ec88fSEmmanuel Vadot		reg = <0x40048000 0x1000>;
18*c66ec88fSEmmanuel Vadot		interrupt-parent = <&mic>;
19*c66ec88fSEmmanuel Vadot		interrupts = <39 0>;
20*c66ec88fSEmmanuel Vadot		vref-supply = <&vcc>;
21*c66ec88fSEmmanuel Vadot	};
22