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