xref: /freebsd/sys/contrib/device-tree/Bindings/iio/adc/lpc1850-adc.txt (revision c66ec88fed842fbaad62c30d510644ceb7bd2d71)
1*c66ec88fSEmmanuel VadotNXP LPC1850 ADC bindings
2*c66ec88fSEmmanuel Vadot
3*c66ec88fSEmmanuel VadotRequired properties:
4*c66ec88fSEmmanuel Vadot- compatible: Should be "nxp,lpc1850-adc"
5*c66ec88fSEmmanuel Vadot- reg: Offset and length of the register set for the ADC device
6*c66ec88fSEmmanuel Vadot- interrupts: The interrupt number for the ADC device
7*c66ec88fSEmmanuel Vadot- clocks: The root clock of the ADC controller
8*c66ec88fSEmmanuel Vadot- vref-supply: The regulator supply ADC reference voltage
9*c66ec88fSEmmanuel Vadot- resets: phandle to reset controller and line specifier
10*c66ec88fSEmmanuel Vadot
11*c66ec88fSEmmanuel VadotExample:
12*c66ec88fSEmmanuel Vadot
13*c66ec88fSEmmanuel Vadotadc0: adc@400e3000 {
14*c66ec88fSEmmanuel Vadot	compatible = "nxp,lpc1850-adc";
15*c66ec88fSEmmanuel Vadot	reg = <0x400e3000 0x1000>;
16*c66ec88fSEmmanuel Vadot	interrupts = <17>;
17*c66ec88fSEmmanuel Vadot	clocks = <&ccu1 CLK_APB3_ADC0>;
18*c66ec88fSEmmanuel Vadot	vref-supply = <&reg_vdda>;
19*c66ec88fSEmmanuel Vadot	resets = <&rgu 40>;
20*c66ec88fSEmmanuel Vadot};
21