Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
freebsd
GitHub Repository: freebsd/freebsd-src
Path: blob/main/sys/contrib/device-tree/Bindings/iio/adc/aspeed_adc.txt
48406 views
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
- resets: Reset controller phandle
12
- #io-channel-cells: Must be set to <1> to indicate channels are selected
13
by index.
14
15
Example:
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
24