xref: /freebsd/sys/contrib/device-tree/Bindings/iio/adc/cirrus,ep9301-adc.yaml (revision a03411e84728e9b267056fd31c7d1d9d1dc1b01e)
1# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/iio/adc/cirrus,ep9301-adc.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Cirrus Logic EP930x internal ADC
8
9description: |
10  Cirrus Logic EP9301/EP9302 SoCs' internal ADC block.
11
12  User's manual:
13  https://cdn.embeddedts.com/resource-attachments/ts-7000_ep9301-ug.pdf
14
15maintainers:
16  - Alexander Sverdlin <alexander.sverdlin@gmail.com>
17
18properties:
19  compatible:
20    const: cirrus,ep9301-adc
21
22  reg:
23    maxItems: 1
24
25  clocks:
26    maxItems: 1
27
28  interrupts:
29    maxItems: 1
30
31required:
32  - compatible
33  - reg
34  - clocks
35
36additionalProperties: false
37
38examples:
39  - |
40    adc: adc@80900000 {
41        compatible = "cirrus,ep9301-adc";
42        reg = <0x80900000 0x28>;
43        clocks = <&syscon 24>;
44        interrupt-parent = <&vic1>;
45        interrupts = <30>;
46    };
47...
48