xref: /freebsd/sys/contrib/device-tree/Bindings/iio/adc/cc10001_adc.txt (revision 5ca8e32633c4ffbbcd6762e5888b6a4ba0708c6c)
1* Cosmic Circuits - Analog to Digital Converter (CC-10001-ADC)
2
3Required properties:
4  - compatible: Should be "cosmic,10001-adc"
5  - reg: Should contain adc registers location and length.
6  - clock-names: Should contain "adc".
7  - clocks: Should contain a clock specifier for each entry in clock-names
8  - vref-supply: The regulator supply ADC reference voltage.
9
10Optional properties:
11  - adc-reserved-channels: Bitmask of reserved channels,
12    i.e. channels that cannot be used by the OS.
13
14Example:
15adc: adc@18101600 {
16	compatible = "cosmic,10001-adc";
17	reg = <0x18101600 0x24>;
18	adc-reserved-channels = <0x2>;
19	clocks = <&adc_clk>;
20	clock-names = "adc";
21	vref-supply = <&reg_1v8>;
22};
23