GNU Linux-libre 4.14.303-gnu1
[releases.git] / Documentation / devicetree / bindings / iio / adc / aspeed_adc.txt
1 Aspeed ADC
2
3 This device is a 10-bit converter for 16 voltage channels.  All inputs are
4 single ended.
5
6 Required properties:
7 - compatible: Should be "aspeed,ast2400-adc" or "aspeed,ast2500-adc"
8 - reg: memory window mapping address and length
9 - clocks: Input clock used to derive the sample clock. Expected to be the
10           SoC's APB clock.
11 - #io-channel-cells: Must be set to <1> to indicate channels are selected
12                      by index.
13
14 Example:
15         adc@1e6e9000 {
16                 compatible = "aspeed,ast2400-adc";
17                 reg = <0x1e6e9000 0xb0>;
18                 clocks = <&clk_apb>;
19                 #io-channel-cells = <1>;
20         };