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