1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-C 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 2 %YAML 1.2 2 %YAML 1.2 3 --- 3 --- 4 $id: http://devicetree.org/schemas/iommu/allwi 4 $id: http://devicetree.org/schemas/iommu/allwinner,sun50i-h6-iommu.yaml# 5 $schema: http://devicetree.org/meta-schemas/co 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 6 6 7 title: Allwinner H6 IOMMU 7 title: Allwinner H6 IOMMU 8 8 9 maintainers: 9 maintainers: 10 - Chen-Yu Tsai <wens@csie.org> 10 - Chen-Yu Tsai <wens@csie.org> 11 - Maxime Ripard <mripard@kernel.org> 11 - Maxime Ripard <mripard@kernel.org> 12 12 13 properties: 13 properties: 14 "#iommu-cells": 14 "#iommu-cells": 15 const: 1 15 const: 1 16 description: 16 description: 17 The content of the cell is the master ID 17 The content of the cell is the master ID. 18 18 19 compatible: 19 compatible: 20 oneOf: 20 oneOf: 21 - const: allwinner,sun50i-h6-iommu 21 - const: allwinner,sun50i-h6-iommu 22 - const: allwinner,sun50i-h616-iommu 22 - const: allwinner,sun50i-h616-iommu 23 - items: 23 - items: 24 - const: allwinner,sun55i-a523-iommu 24 - const: allwinner,sun55i-a523-iommu 25 - const: allwinner,sun50i-h616-iommu 25 - const: allwinner,sun50i-h616-iommu 26 26 27 reg: 27 reg: 28 maxItems: 1 28 maxItems: 1 29 29 30 interrupts: 30 interrupts: 31 maxItems: 1 31 maxItems: 1 32 32 33 clocks: 33 clocks: 34 maxItems: 1 34 maxItems: 1 35 35 36 resets: 36 resets: 37 maxItems: 1 37 maxItems: 1 38 38 39 required: 39 required: 40 - "#iommu-cells" 40 - "#iommu-cells" 41 - compatible 41 - compatible 42 - reg 42 - reg 43 - interrupts 43 - interrupts 44 - clocks 44 - clocks 45 - resets 45 - resets 46 46 47 additionalProperties: false 47 additionalProperties: false 48 48 49 examples: 49 examples: 50 - | 50 - | 51 #include <dt-bindings/interrupt-controll 51 #include <dt-bindings/interrupt-controller/arm-gic.h> 52 #include <dt-bindings/interrupt-controll 52 #include <dt-bindings/interrupt-controller/irq.h> 53 53 54 #include <dt-bindings/clock/sun50i-h6-cc 54 #include <dt-bindings/clock/sun50i-h6-ccu.h> 55 #include <dt-bindings/reset/sun50i-h6-cc 55 #include <dt-bindings/reset/sun50i-h6-ccu.h> 56 56 57 iommu: iommu@30f0000 { 57 iommu: iommu@30f0000 { 58 compatible = "allwinner,sun50i-h6-io 58 compatible = "allwinner,sun50i-h6-iommu"; 59 reg = <0x030f0000 0x10000>; 59 reg = <0x030f0000 0x10000>; 60 interrupts = <GIC_SPI 57 IRQ_TYPE_LE 60 interrupts = <GIC_SPI 57 IRQ_TYPE_LEVEL_HIGH>; 61 clocks = <&ccu CLK_BUS_IOMMU>; 61 clocks = <&ccu CLK_BUS_IOMMU>; 62 resets = <&ccu RST_BUS_IOMMU>; 62 resets = <&ccu RST_BUS_IOMMU>; 63 #iommu-cells = <1>; 63 #iommu-cells = <1>; 64 }; 64 }; 65 65 66 ... 66 ...
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.