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/samsung-wdt.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/samsung-wdt.yaml#
    5 $schema: http://devicetree.org/meta-schemas/core.yaml#
    6 
    7 title: Samsung SoC Watchdog Timer Controller
    8 
    9 maintainers:
   10   - Krzysztof Kozlowski <krzk@kernel.org>
   11 
   12 description: |+
   13   The Samsung's Watchdog controller is used for resuming system operation
   14   after a preset amount of time during which the WDT reset event has not
   15   occurred.
   16 
   17 properties:
   18   compatible:
   19     enum:
   20       - samsung,s3c2410-wdt                   # for S3C2410
   21       - samsung,s3c6410-wdt                   # for S3C6410, S5PV210 and Exynos4
   22       - samsung,exynos5250-wdt                # for Exynos5250
   23       - samsung,exynos5420-wdt                # for Exynos5420
   24       - samsung,exynos7-wdt                   # for Exynos7
   25       - samsung,exynos850-wdt                 # for Exynos850
   26 
   27   reg:
   28     maxItems: 1
   29 
   30   clocks:
   31     minItems: 1
   32     maxItems: 2
   33 
   34   clock-names:
   35     minItems: 1
   36     maxItems: 2
   37 
   38   interrupts:
   39     maxItems: 1
   40 
   41   samsung,cluster-index:
   42     $ref: /schemas/types.yaml#/definitions/uint32
   43     description:
   44       Index of CPU cluster on which watchdog is running (in case of Exynos850)
   45 
   46   samsung,syscon-phandle:
   47     $ref: /schemas/types.yaml#/definitions/phandle
   48     description:
   49       Phandle to the PMU system controller node (in case of Exynos5250,
   50       Exynos5420, Exynos7 and Exynos850).
   51 
   52 required:
   53   - compatible
   54   - clocks
   55   - clock-names
   56   - interrupts
   57   - reg
   58 
   59 allOf:
   60   - $ref: watchdog.yaml#
   61   - if:
   62       properties:
   63         compatible:
   64           contains:
   65             enum:
   66               - samsung,exynos5250-wdt
   67               - samsung,exynos5420-wdt
   68               - samsung,exynos7-wdt
   69               - samsung,exynos850-wdt
   70     then:
   71       required:
   72         - samsung,syscon-phandle
   73   - if:
   74       properties:
   75         compatible:
   76           contains:
   77             enum:
   78               - samsung,exynos850-wdt
   79     then:
   80       properties:
   81         clocks:
   82           items:
   83             - description: Bus clock, used for register interface
   84             - description: Source clock (driving watchdog counter)
   85         clock-names:
   86           items:
   87             - const: watchdog
   88             - const: watchdog_src
   89         samsung,cluster-index:
   90           enum: [0, 1]
   91       required:
   92         - samsung,cluster-index
   93     else:
   94       properties:
   95         clocks:
   96           items:
   97             - description: Bus clock, which is also a source clock
   98         clock-names:
   99           items:
  100             - const: watchdog
  101         samsung,cluster-index: false
  102 
  103 unevaluatedProperties: false
  104 
  105 examples:
  106   - |
  107     watchdog@101d0000 {
  108         compatible = "samsung,exynos5250-wdt";
  109         reg = <0x101D0000 0x100>;
  110         interrupts = <0 42 0>;
  111         clocks = <&clock 336>;
  112         clock-names = "watchdog";
  113         samsung,syscon-phandle = <&pmu_syscon>;
  114     };

Cache object: 6cd528e2b10cac7ff89ae89a1bfa2af0


[ 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.