aspeed_adc.txt 678 B

12345678910111213141516171819202122
  1. Aspeed ADC
  2. This device is a 10-bit converter for 16 voltage channels. All inputs are
  3. single ended.
  4. Required properties:
  5. - compatible: Should be "aspeed,ast2400-adc" or "aspeed,ast2500-adc"
  6. - reg: memory window mapping address and length
  7. - clocks: Input clock used to derive the sample clock. Expected to be the
  8. SoC's APB clock.
  9. - resets: Reset controller phandle
  10. - #io-channel-cells: Must be set to <1> to indicate channels are selected
  11. by index.
  12. Example:
  13. adc@1e6e9000 {
  14. compatible = "aspeed,ast2400-adc";
  15. reg = <0x1e6e9000 0xb0>;
  16. clocks = <&syscon ASPEED_CLK_APB>;
  17. resets = <&syscon ASPEED_RESET_ADC>;
  18. #io-channel-cells = <1>;
  19. };