xref: /freebsd/sys/contrib/device-tree/Bindings/iommu/allwinner,sun50i-h6-iommu.yaml (revision 7ef62cebc2f965b0f640263e179276928885e33d)
1c66ec88fSEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
2c66ec88fSEmmanuel Vadot%YAML 1.2
3c66ec88fSEmmanuel Vadot---
4c66ec88fSEmmanuel Vadot$id: http://devicetree.org/schemas/iommu/allwinner,sun50i-h6-iommu.yaml#
5c66ec88fSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
6c66ec88fSEmmanuel Vadot
7*7ef62cebSEmmanuel Vadottitle: Allwinner H6 IOMMU
8c66ec88fSEmmanuel Vadot
9c66ec88fSEmmanuel Vadotmaintainers:
10c66ec88fSEmmanuel Vadot  - Chen-Yu Tsai <wens@csie.org>
11c66ec88fSEmmanuel Vadot  - Maxime Ripard <mripard@kernel.org>
12c66ec88fSEmmanuel Vadot
13c66ec88fSEmmanuel Vadotproperties:
14c66ec88fSEmmanuel Vadot  "#iommu-cells":
15c66ec88fSEmmanuel Vadot    const: 1
16c66ec88fSEmmanuel Vadot    description:
17c66ec88fSEmmanuel Vadot      The content of the cell is the master ID.
18c66ec88fSEmmanuel Vadot
19c66ec88fSEmmanuel Vadot  compatible:
20c66ec88fSEmmanuel Vadot    const: allwinner,sun50i-h6-iommu
21c66ec88fSEmmanuel Vadot
22c66ec88fSEmmanuel Vadot  reg:
23c66ec88fSEmmanuel Vadot    maxItems: 1
24c66ec88fSEmmanuel Vadot
25c66ec88fSEmmanuel Vadot  interrupts:
26c66ec88fSEmmanuel Vadot    maxItems: 1
27c66ec88fSEmmanuel Vadot
28c66ec88fSEmmanuel Vadot  clocks:
29c66ec88fSEmmanuel Vadot    maxItems: 1
30c66ec88fSEmmanuel Vadot
31c66ec88fSEmmanuel Vadot  resets:
32c66ec88fSEmmanuel Vadot    maxItems: 1
33c66ec88fSEmmanuel Vadot
34c66ec88fSEmmanuel Vadotrequired:
35c66ec88fSEmmanuel Vadot  - "#iommu-cells"
36c66ec88fSEmmanuel Vadot  - compatible
37c66ec88fSEmmanuel Vadot  - reg
38c66ec88fSEmmanuel Vadot  - interrupts
39c66ec88fSEmmanuel Vadot  - clocks
40c66ec88fSEmmanuel Vadot  - resets
41c66ec88fSEmmanuel Vadot
42c66ec88fSEmmanuel VadotadditionalProperties: false
43c66ec88fSEmmanuel Vadot
44c66ec88fSEmmanuel Vadotexamples:
45c66ec88fSEmmanuel Vadot  - |
46c66ec88fSEmmanuel Vadot      #include <dt-bindings/interrupt-controller/arm-gic.h>
47c66ec88fSEmmanuel Vadot      #include <dt-bindings/interrupt-controller/irq.h>
48c66ec88fSEmmanuel Vadot
49c66ec88fSEmmanuel Vadot      #include <dt-bindings/clock/sun50i-h6-ccu.h>
50c66ec88fSEmmanuel Vadot      #include <dt-bindings/reset/sun50i-h6-ccu.h>
51c66ec88fSEmmanuel Vadot
52c66ec88fSEmmanuel Vadot      iommu: iommu@30f0000 {
53c66ec88fSEmmanuel Vadot          compatible = "allwinner,sun50i-h6-iommu";
54c66ec88fSEmmanuel Vadot          reg = <0x030f0000 0x10000>;
55c66ec88fSEmmanuel Vadot          interrupts = <GIC_SPI 57 IRQ_TYPE_LEVEL_HIGH>;
56c66ec88fSEmmanuel Vadot          clocks = <&ccu CLK_BUS_IOMMU>;
57c66ec88fSEmmanuel Vadot          resets = <&ccu RST_BUS_IOMMU>;
58c66ec88fSEmmanuel Vadot          #iommu-cells = <1>;
59c66ec88fSEmmanuel Vadot      };
60c66ec88fSEmmanuel Vadot
61c66ec88fSEmmanuel Vadot...
62