1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
2 # Copyright 2019-2020 Artur Rojek
5 $id: "http://devicetree.org/schemas/iio/adc/ingenic,adc.yaml#"
6 $schema: "http://devicetree.org/meta-schemas/core.yaml#"
8 title: Ingenic JZ47xx ADC controller IIO bindings
11 - Artur Rojek <contact@artur-rojek.eu>
14 Industrial I/O subsystem bindings for ADC controller found in
17 ADC clients must use the format described in iio-bindings.txt, giving
18 a phandle and IIO specifier pair ("io-channels") to the ADC controller.
30 Must be set to <1> to indicate channels are selected by index.
53 additionalProperties: false
57 #include <dt-bindings/clock/jz4740-cgu.h>
58 #include <dt-bindings/iio/adc/ingenic,adc.h>
61 compatible = "ingenic,jz4740-adc";
62 #io-channel-cells = <1>;
64 reg = <0x10070000 0x30>;
66 clocks = <&cgu JZ4740_CLK_ADC>;
69 interrupt-parent = <&intc>;