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

snps,dw-wdt.yaml (2908B)


      1# SPDX-License-Identifier: GPL-2.0-only
      2%YAML 1.2
      3---
      4$id: http://devicetree.org/schemas/watchdog/snps,dw-wdt.yaml#
      5$schema: http://devicetree.org/meta-schemas/core.yaml#
      6
      7title: Synopsys Designware Watchdog Timer
      8
      9allOf:
     10  - $ref: "watchdog.yaml#"
     11
     12maintainers:
     13  - Jamie Iles <jamie@jamieiles.com>
     14
     15properties:
     16  compatible:
     17    oneOf:
     18      - const: snps,dw-wdt
     19      - items:
     20          - enum:
     21              - rockchip,px30-wdt
     22              - rockchip,rk3066-wdt
     23              - rockchip,rk3188-wdt
     24              - rockchip,rk3228-wdt
     25              - rockchip,rk3288-wdt
     26              - rockchip,rk3308-wdt
     27              - rockchip,rk3328-wdt
     28              - rockchip,rk3368-wdt
     29              - rockchip,rk3399-wdt
     30              - rockchip,rk3568-wdt
     31              - rockchip,rv1108-wdt
     32          - const: snps,dw-wdt
     33
     34  reg:
     35    maxItems: 1
     36
     37  interrupts:
     38    description: DW Watchdog pre-timeout interrupt
     39    maxItems: 1
     40
     41  clocks:
     42    minItems: 1
     43    items:
     44      - description: Watchdog timer reference clock
     45      - description: APB3 interface clock
     46
     47  clock-names:
     48    minItems: 1
     49    items:
     50      - const: tclk
     51      - const: pclk
     52
     53  resets:
     54    description: Phandle to the DW Watchdog reset lane
     55    maxItems: 1
     56
     57  snps,watchdog-tops:
     58    $ref: /schemas/types.yaml#/definitions/uint32-array
     59    description: |
     60      DW APB Watchdog custom timer intervals - Timeout Period ranges (TOPs).
     61      Each TOP is a number loaded into the watchdog counter at the moment of
     62      the timer restart. The counter decrementing happens each tick of the
     63      reference clock. Therefore the TOPs array is equivalent to an array of
     64      the timer expiration intervals supported by the DW APB Watchdog. Note
     65      DW APB Watchdog IP-core might be synthesized with fixed TOP values,
     66      in which case this property is unnecessary with default TOPs utilized.
     67    default: [0x0001000 0x0002000 0x0004000 0x0008000
     68      0x0010000 0x0020000 0x0040000 0x0080000
     69      0x0100000 0x0200000 0x0400000 0x0800000
     70      0x1000000 0x2000000 0x4000000 0x8000000]
     71    minItems: 16
     72    maxItems: 16
     73
     74unevaluatedProperties: false
     75
     76required:
     77  - compatible
     78  - reg
     79  - clocks
     80
     81examples:
     82  - |
     83    watchdog@ffd02000 {
     84      compatible = "snps,dw-wdt";
     85      reg = <0xffd02000 0x1000>;
     86      interrupts = <0 171 4>;
     87      clocks = <&per_base_clk>;
     88      resets = <&wdt_rst>;
     89    };
     90
     91  - |
     92    watchdog@ffd02000 {
     93      compatible = "snps,dw-wdt";
     94      reg = <0xffd02000 0x1000>;
     95      interrupts = <0 171 4>;
     96      clocks = <&per_base_clk>;
     97      clock-names = "tclk";
     98      snps,watchdog-tops = <0x000000FF 0x000001FF 0x000003FF
     99                            0x000007FF 0x0000FFFF 0x0001FFFF
    100                            0x0003FFFF 0x0007FFFF 0x000FFFFF
    101                            0x001FFFFF 0x003FFFFF 0x007FFFFF
    102                            0x00FFFFFF 0x01FFFFFF 0x03FFFFFF
    103                            0x07FFFFFF>;
    104    };
    105...