cachepc-linux

Fork of AMDESE/linux with modifications for CachePC side-channel attack
git clone https://git.sinitax.com/sinitax/cachepc-linux
Log | Files | Refs | README | LICENSE | sfeed.txt

devapc.yaml (1488B)


      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
     47additionalProperties: false
     48
     49examples:
     50  - |
     51    #include <dt-bindings/interrupt-controller/arm-gic.h>
     52    #include <dt-bindings/clock/mt6779-clk.h>
     53
     54    devapc: devapc@10207000 {
     55      compatible = "mediatek,mt6779-devapc";
     56      reg = <0x10207000 0x1000>;
     57      interrupts = <GIC_SPI 168 IRQ_TYPE_LEVEL_LOW>;
     58      clocks = <&infracfg_ao CLK_INFRA_DEVICE_APC>;
     59      clock-names = "devapc-infra-clock";
     60    };