MediaTek Device Access Permission Control driver

Schema identifier ($id): "http://devicetree.org/schemas/soc/mediatek/devapc.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

MediaTek bus fabric provides TrustZone security support and data protection to prevent slaves from being accessed by unexpected masters. The security violation is logged and sent to the processor for further analysis and countermeasures.

Maintainers (maintainers): "Neal Liu <neal.liu@mediatek.com>"

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "mediatek,mt6779-devapc", "mediatek,mt8186-devapc"

reg — required here #

The base address of devapc register bank

Maximum number of items (maxItems): 1

interrupts — required here #

A single interrupt specifier

Maximum number of items (maxItems): 1

clocks — required here #

Contains module clock source and clock names

Maximum number of items (maxItems): 1

clock-names — required here #

Names of the clocks list in clocks property

Maximum number of items (maxItems): 1

Required in this object (required): "compatible", "reg", "interrupts", "clocks", "clock-names"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/clock/mt6779-clk.h>

devapc: devapc@10207000 {
  compatible = "mediatek,mt6779-devapc";
  reg = <0x10207000 0x1000>;
  interrupts = <GIC_SPI 168 IRQ_TYPE_LEVEL_LOW>;
  clocks = <&infracfg_ao CLK_INFRA_DEVICE_APC>;
  clock-names = "devapc-infra-clock";
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)

Line 2: # Copyright 2020 MediaTek Inc.

Edit this page