The Design and Implementation of the FreeBSD Operating System, Second Edition
Now available: The Design and Implementation of the FreeBSD Operating System (Second Edition)


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]

FreeBSD/Linux Kernel Cross Reference
sys/contrib/device-tree/Bindings/watchdog/arm,sp805.yaml

Version: -  FREEBSD  -  FREEBSD-13-STABLE  -  FREEBSD-13-0  -  FREEBSD-12-STABLE  -  FREEBSD-12-0  -  FREEBSD-11-STABLE  -  FREEBSD-11-0  -  FREEBSD-10-STABLE  -  FREEBSD-10-0  -  FREEBSD-9-STABLE  -  FREEBSD-9-0  -  FREEBSD-8-STABLE  -  FREEBSD-8-0  -  FREEBSD-7-STABLE  -  FREEBSD-7-0  -  FREEBSD-6-STABLE  -  FREEBSD-6-0  -  FREEBSD-5-STABLE  -  FREEBSD-5-0  -  FREEBSD-4-STABLE  -  FREEBSD-3-STABLE  -  FREEBSD22  -  l41  -  OPENBSD  -  linux-2.6  -  MK84  -  PLAN9  -  xnu-8792 
SearchContext: -  none  -  3  -  10 

    1 # SPDX-License-Identifier: GPL-2.0
    2 %YAML 1.2
    3 ---
    4 $id: http://devicetree.org/schemas/watchdog/arm,sp805.yaml#
    5 $schema: http://devicetree.org/meta-schemas/core.yaml#
    6 
    7 title: ARM AMBA Primecell SP805 Watchdog
    8 
    9 maintainers:
   10   - Viresh Kumar <vireshk@kernel.org>
   11 
   12 description: |+
   13   The Arm SP805 IP implements a watchdog device, which triggers an interrupt
   14   after a configurable time period. If that interrupt has not been serviced
   15   when the next interrupt would be triggered, the reset signal is asserted.
   16 
   17 allOf:
   18   - $ref: /schemas/watchdog/watchdog.yaml#
   19 
   20 # Need a custom select here or 'arm,primecell' will match on lots of nodes
   21 select:
   22   properties:
   23     compatible:
   24       contains:
   25         const: arm,sp805
   26   required:
   27     - compatible
   28 
   29 properties:
   30   compatible:
   31     items:
   32       - const: arm,sp805
   33       - const: arm,primecell
   34 
   35   interrupts:
   36     maxItems: 1
   37 
   38   reg:
   39     maxItems: 1
   40 
   41   clocks:
   42     description: |
   43       Clocks driving the watchdog timer hardware. The first clock is used
   44       for the actual watchdog counter. The second clock drives the register
   45       interface.
   46     minItems: 2
   47     maxItems: 2
   48 
   49   clock-names:
   50     items:
   51       - const: wdog_clk
   52       - const: apb_pclk
   53 
   54 required:
   55   - compatible
   56   - reg
   57   - clocks
   58   - clock-names
   59 
   60 unevaluatedProperties: false
   61 
   62 examples:
   63   - |
   64     #include <dt-bindings/interrupt-controller/arm-gic.h>
   65     watchdog@66090000 {
   66         compatible = "arm,sp805", "arm,primecell";
   67         reg = <0x66090000 0x1000>;
   68         interrupts = <GIC_SPI 406 IRQ_TYPE_LEVEL_HIGH>;
   69         clocks = <&wdt_clk>, <&apb_pclk>;
   70         clock-names = "wdog_clk", "apb_pclk";
   71     };

Cache object: 673d601a91eea6cf015f398192dda424


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]


This page is part of the FreeBSD/Linux Linux Kernel Cross-Reference, and was automatically generated using a modified version of the LXR engine.