GNU Linux-libre 6.8.9-gnu
[releases.git] / Documentation / devicetree / bindings / w1 / amd,axi-1wire-host.yaml
1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2 %YAML 1.2
3 ---
4 $id: http://devicetree.org/schemas/w1/amd,axi-1wire-host.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
6
7 title: AMD AXI 1-wire bus host for programmable logic
8
9 maintainers:
10   - Kris Chaplin <kris.chaplin@amd.com>
11
12 properties:
13   compatible:
14     const: amd,axi-1wire-host
15
16   reg:
17     maxItems: 1
18
19   clocks:
20     maxItems: 1
21
22   interrupts:
23     maxItems: 1
24
25 required:
26   - compatible
27   - reg
28   - clocks
29   - interrupts
30
31 additionalProperties: false
32
33 examples:
34   - |
35     #include <dt-bindings/interrupt-controller/arm-gic.h>
36
37     onewire@a0000000 {
38         compatible = "amd,axi-1wire-host";
39         reg = <0xa0000000 0x10000>;
40         clocks = <&zynqmp_clk 0x47>;
41         interrupts = <GIC_SPI 0x59 IRQ_TYPE_LEVEL_HIGH>;
42     };
43
44 ...