blob: ef70fa2c0c5da6605b80084fcaa1389047a24070 [file] [log] [blame]
Tom Rini93743d22024-04-01 09:08:13 -04001# 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
7title: AMD AXI 1-wire bus host for programmable logic
8
9maintainers:
10 - Kris Chaplin <kris.chaplin@amd.com>
11
12properties:
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
25required:
26 - compatible
27 - reg
28 - clocks
29 - interrupts
30
31additionalProperties: false
32
33examples:
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...