15def4c47SEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 25def4c47SEmmanuel Vadot# # Copyright 2020 MediaTek Inc. 35def4c47SEmmanuel Vadot%YAML 1.2 45def4c47SEmmanuel Vadot--- 5*fac71e4eSEmmanuel Vadot$id: http://devicetree.org/schemas/soc/mediatek/devapc.yaml# 6*fac71e4eSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml# 75def4c47SEmmanuel Vadot 85def4c47SEmmanuel Vadottitle: MediaTek Device Access Permission Control driver 95def4c47SEmmanuel Vadot 105def4c47SEmmanuel Vadotdescription: | 115def4c47SEmmanuel Vadot MediaTek bus fabric provides TrustZone security support and data 125def4c47SEmmanuel Vadot protection to prevent slaves from being accessed by unexpected masters. 135def4c47SEmmanuel Vadot The security violation is logged and sent to the processor for further 145def4c47SEmmanuel Vadot analysis and countermeasures. 155def4c47SEmmanuel Vadot 165def4c47SEmmanuel Vadotmaintainers: 175def4c47SEmmanuel Vadot - Neal Liu <neal.liu@mediatek.com> 185def4c47SEmmanuel Vadot 195def4c47SEmmanuel Vadotproperties: 205def4c47SEmmanuel Vadot compatible: 215def4c47SEmmanuel Vadot enum: 225def4c47SEmmanuel Vadot - mediatek,mt6779-devapc 23b97ee269SEmmanuel Vadot - mediatek,mt8186-devapc 245def4c47SEmmanuel Vadot 255def4c47SEmmanuel Vadot reg: 265def4c47SEmmanuel Vadot description: The base address of devapc register bank 275def4c47SEmmanuel Vadot maxItems: 1 285def4c47SEmmanuel Vadot 295def4c47SEmmanuel Vadot interrupts: 305def4c47SEmmanuel Vadot description: A single interrupt specifier 315def4c47SEmmanuel Vadot maxItems: 1 325def4c47SEmmanuel Vadot 335def4c47SEmmanuel Vadot clocks: 345def4c47SEmmanuel Vadot description: Contains module clock source and clock names 355def4c47SEmmanuel Vadot maxItems: 1 365def4c47SEmmanuel Vadot 375def4c47SEmmanuel Vadot clock-names: 385def4c47SEmmanuel Vadot description: Names of the clocks list in clocks property 395def4c47SEmmanuel Vadot maxItems: 1 405def4c47SEmmanuel Vadot 415def4c47SEmmanuel Vadotrequired: 425def4c47SEmmanuel Vadot - compatible 435def4c47SEmmanuel Vadot - reg 445def4c47SEmmanuel Vadot - interrupts 455def4c47SEmmanuel Vadot - clocks 465def4c47SEmmanuel Vadot - clock-names 475def4c47SEmmanuel Vadot 485def4c47SEmmanuel VadotadditionalProperties: false 495def4c47SEmmanuel Vadot 505def4c47SEmmanuel Vadotexamples: 515def4c47SEmmanuel Vadot - | 525def4c47SEmmanuel Vadot #include <dt-bindings/interrupt-controller/arm-gic.h> 535def4c47SEmmanuel Vadot #include <dt-bindings/clock/mt6779-clk.h> 545def4c47SEmmanuel Vadot 555def4c47SEmmanuel Vadot devapc: devapc@10207000 { 565def4c47SEmmanuel Vadot compatible = "mediatek,mt6779-devapc"; 575def4c47SEmmanuel Vadot reg = <0x10207000 0x1000>; 585def4c47SEmmanuel Vadot interrupts = <GIC_SPI 168 IRQ_TYPE_LEVEL_LOW>; 595def4c47SEmmanuel Vadot clocks = <&infracfg_ao CLK_INFRA_DEVICE_APC>; 605def4c47SEmmanuel Vadot clock-names = "devapc-infra-clock"; 615def4c47SEmmanuel Vadot }; 62