Path: blob/master/Documentation/devicetree/bindings/iio/adc/aspeed,ast2400-adc.yaml
26309 views
# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)1%YAML 1.22---3$id: http://devicetree.org/schemas/iio/adc/aspeed,ast2400-adc.yaml#4$schema: http://devicetree.org/meta-schemas/core.yaml#56title: ADC that forms part of an ASPEED server management processor.78maintainers:9- Joel Stanley <joel@jms.id.au>1011description:12This device is a 10-bit converter for 16 voltage channels. All inputs are13single ended.1415properties:16compatible:17enum:18- aspeed,ast2400-adc19- aspeed,ast2500-adc2021reg:22maxItems: 12324clocks:25maxItems: 126description:27Input clock used to derive the sample clock. Expected to be the28SoC's APB clock.2930resets:31maxItems: 13233"#io-channel-cells":34const: 13536required:37- compatible38- reg39- clocks40- resets41- "#io-channel-cells"4243additionalProperties: false4445examples:46- |47#include <dt-bindings/clock/aspeed-clock.h>48adc@1e6e9000 {49compatible = "aspeed,ast2400-adc";50reg = <0x1e6e9000 0xb0>;51clocks = <&syscon ASPEED_CLK_APB>;52resets = <&syscon ASPEED_RESET_ADC>;53#io-channel-cells = <1>;54};55...565758