xref: /freebsd/sys/contrib/device-tree/Bindings/iio/adc/aspeed_adc.txt (revision cfd6422a5217410fbd66f7a7a8a64d9d85e61229)
1Aspeed ADC
2
3This device is a 10-bit converter for 16 voltage channels.  All inputs are
4single ended.
5
6Required 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- resets: Reset controller phandle
12- #io-channel-cells: Must be set to <1> to indicate channels are selected
13                     by index.
14
15Example:
16	adc@1e6e9000 {
17		compatible = "aspeed,ast2400-adc";
18		reg = <0x1e6e9000 0xb0>;
19		clocks = <&syscon ASPEED_CLK_APB>;
20		resets = <&syscon ASPEED_RESET_ADC>;
21		#io-channel-cells = <1>;
22	};
23