1# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 2# # Copyright 2020 MediaTek Inc. 3%YAML 1.2 4--- 5$id: "http://devicetree.org/schemas/soc/mediatek/devapc.yaml#" 6$schema: "http://devicetree.org/meta-schemas/core.yaml#" 7 8title: MediaTek Device Access Permission Control driver 9 10description: | 11 MediaTek bus fabric provides TrustZone security support and data 12 protection to prevent slaves from being accessed by unexpected masters. 13 The security violation is logged and sent to the processor for further 14 analysis and countermeasures. 15 16maintainers: 17 - Neal Liu <neal.liu@mediatek.com> 18 19properties: 20 compatible: 21 enum: 22 - mediatek,mt6779-devapc 23 24 reg: 25 description: The base address of devapc register bank 26 maxItems: 1 27 28 interrupts: 29 description: A single interrupt specifier 30 maxItems: 1 31 32 clocks: 33 description: Contains module clock source and clock names 34 maxItems: 1 35 36 clock-names: 37 description: Names of the clocks list in clocks property 38 maxItems: 1 39 40required: 41 - compatible 42 - reg 43 - interrupts 44 - clocks 45 - clock-names 46 47examples: 48 - | 49 #include <dt-bindings/interrupt-controller/arm-gic.h> 50 #include <dt-bindings/clock/mt6779-clk.h> 51 52 devapc: devapc@10207000 { 53 compatible = "mediatek,mt6779-devapc"; 54 reg = <0x10207000 0x1000>; 55 interrupts = <GIC_SPI 168 IRQ_TYPE_LEVEL_LOW>; 56 clocks = <&infracfg_ao CLK_INFRA_DEVICE_APC>; 57 clock-names = "devapc-infra-clock"; 58 }; 59