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

mediatek,pericfg.yaml (1671B)


      1# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
      2%YAML 1.2
      3---
      4$id: "http://devicetree.org/schemas/arm/mediatek/mediatek,pericfg.yaml#"
      5$schema: "http://devicetree.org/meta-schemas/core.yaml#"
      6
      7title: MediaTek Peripheral Configuration Controller
      8
      9maintainers:
     10  - Bartosz Golaszewski <bgolaszewski@baylibre.com>
     11
     12description:
     13  The Mediatek pericfg controller provides various clocks and reset outputs
     14  to the system.
     15
     16properties:
     17  compatible:
     18    oneOf:
     19      - items:
     20          - enum:
     21              - mediatek,mt2701-pericfg
     22              - mediatek,mt2712-pericfg
     23              - mediatek,mt6765-pericfg
     24              - mediatek,mt7622-pericfg
     25              - mediatek,mt7629-pericfg
     26              - mediatek,mt8135-pericfg
     27              - mediatek,mt8173-pericfg
     28              - mediatek,mt8183-pericfg
     29              - mediatek,mt8195-pericfg
     30              - mediatek,mt8516-pericfg
     31          - const: syscon
     32      - items:
     33          # Special case for mt7623 for backward compatibility
     34          - const: mediatek,mt7623-pericfg
     35          - const: mediatek,mt2701-pericfg
     36          - const: syscon
     37
     38  reg:
     39    maxItems: 1
     40
     41  '#clock-cells':
     42    const: 1
     43
     44  '#reset-cells':
     45    const: 1
     46
     47required:
     48  - compatible
     49  - reg
     50
     51additionalProperties: false
     52
     53examples:
     54  - |
     55    pericfg@10003000 {
     56        compatible = "mediatek,mt8173-pericfg", "syscon";
     57        reg = <0x10003000 0x1000>;
     58        #clock-cells = <1>;
     59        #reset-cells = <1>;
     60    };
     61
     62  - |
     63    pericfg@10003000 {
     64        compatible =  "mediatek,mt7623-pericfg", "mediatek,mt2701-pericfg", "syscon";
     65        reg = <0x10003000 0x1000>;
     66        #clock-cells = <1>;
     67        #reset-cells = <1>;
     68    };