Back to home page

OSCL-LXR

 
 

    


0001 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
0002 # # Copyright 2020 MediaTek Inc.
0003 %YAML 1.2
0004 ---
0005 $id: "http://devicetree.org/schemas/soc/mediatek/devapc.yaml#"
0006 $schema: "http://devicetree.org/meta-schemas/core.yaml#"
0007 
0008 title: MediaTek Device Access Permission Control driver
0009 
0010 description: |
0011   MediaTek bus fabric provides TrustZone security support and data
0012   protection to prevent slaves from being accessed by unexpected masters.
0013   The security violation is logged and sent to the processor for further
0014   analysis and countermeasures.
0015 
0016 maintainers:
0017   - Neal Liu <neal.liu@mediatek.com>
0018 
0019 properties:
0020   compatible:
0021     enum:
0022       - mediatek,mt6779-devapc
0023       - mediatek,mt8186-devapc
0024 
0025   reg:
0026     description: The base address of devapc register bank
0027     maxItems: 1
0028 
0029   interrupts:
0030     description: A single interrupt specifier
0031     maxItems: 1
0032 
0033   clocks:
0034     description: Contains module clock source and clock names
0035     maxItems: 1
0036 
0037   clock-names:
0038     description: Names of the clocks list in clocks property
0039     maxItems: 1
0040 
0041 required:
0042   - compatible
0043   - reg
0044   - interrupts
0045   - clocks
0046   - clock-names
0047 
0048 additionalProperties: false
0049 
0050 examples:
0051   - |
0052     #include <dt-bindings/interrupt-controller/arm-gic.h>
0053     #include <dt-bindings/clock/mt6779-clk.h>
0054 
0055     devapc: devapc@10207000 {
0056       compatible = "mediatek,mt6779-devapc";
0057       reg = <0x10207000 0x1000>;
0058       interrupts = <GIC_SPI 168 IRQ_TYPE_LEVEL_LOW>;
0059       clocks = <&infracfg_ao CLK_INFRA_DEVICE_APC>;
0060       clock-names = "devapc-infra-clock";
0061     };