xref: /freebsd/sys/contrib/device-tree/Bindings/iio/adc/imx7d-adc.txt (revision e7437ae907c89bf85a99c5cbb7ddd194a1ff1354)
1Freescale imx7d ADC bindings
2
3The devicetree bindings are for the ADC driver written for
4imx7d SoC.
5
6Required properties:
7- compatible: Should be "fsl,imx7d-adc"
8- reg: Offset and length of the register set for the ADC device
9- interrupts: The interrupt number for the ADC device
10- clocks: The root clock of the ADC controller
11- clock-names: Must contain "adc", matching entry in the clocks property
12- vref-supply: The regulator supply ADC reference voltage
13- #io-channel-cells: Must be 1 as per ../iio-bindings.txt
14
15Example:
16adc1: adc@30610000 {
17	compatible = "fsl,imx7d-adc";
18	reg = <0x30610000 0x10000>;
19	interrupts = <GIC_SPI 98 IRQ_TYPE_LEVEL_HIGH>;
20	clocks = <&clks IMX7D_ADC_ROOT_CLK>;
21	clock-names = "adc";
22	vref-supply = <&reg_vcc_3v3_mcu>;
23	#io-channel-cells = <1>;
24};
25