127 lines · yaml
1# SPDX-License-Identifier: GPL-2.02%YAML 1.23---4$id: http://devicetree.org/schemas/watchdog/samsung-wdt.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: Samsung SoC Watchdog Timer Controller8 9maintainers:10 - Krzysztof Kozlowski <krzk@kernel.org>11 12description: |+13 The Samsung's Watchdog controller is used for resuming system operation14 after a preset amount of time during which the WDT reset event has not15 occurred.16 17properties:18 compatible:19 oneOf:20 - enum:21 - google,gs101-wdt # for Google gs10122 - samsung,s3c2410-wdt # for S3C241023 - samsung,s3c6410-wdt # for S3C6410, S5PV210 and Exynos424 - samsung,exynos5250-wdt # for Exynos525025 - samsung,exynos5420-wdt # for Exynos542026 - samsung,exynos7-wdt # for Exynos727 - samsung,exynos850-wdt # for Exynos85028 - samsung,exynosautov9-wdt # for Exynosautov929 - items:30 - enum:31 - tesla,fsd-wdt32 - const: samsung,exynos7-wdt33 34 reg:35 maxItems: 136 37 clocks:38 minItems: 139 maxItems: 240 41 clock-names:42 minItems: 143 maxItems: 244 45 interrupts:46 maxItems: 147 48 samsung,cluster-index:49 $ref: /schemas/types.yaml#/definitions/uint3250 description:51 Index of CPU cluster on which watchdog is running (in case of Exynos85052 or Google gs101).53 54 samsung,syscon-phandle:55 $ref: /schemas/types.yaml#/definitions/phandle56 description:57 Phandle to the PMU system controller node (in case of Exynos5250,58 Exynos5420, Exynos7, Exynos850 and gs101).59 60required:61 - compatible62 - clocks63 - clock-names64 - interrupts65 - reg66 67allOf:68 - $ref: watchdog.yaml#69 - if:70 properties:71 compatible:72 contains:73 enum:74 - google,gs101-wdt75 - samsung,exynos5250-wdt76 - samsung,exynos5420-wdt77 - samsung,exynos7-wdt78 - samsung,exynos850-wdt79 - samsung,exynosautov9-wdt80 then:81 required:82 - samsung,syscon-phandle83 - if:84 properties:85 compatible:86 contains:87 enum:88 - google,gs101-wdt89 - samsung,exynos850-wdt90 - samsung,exynosautov9-wdt91 then:92 properties:93 clocks:94 items:95 - description: Bus clock, used for register interface96 - description: Source clock (driving watchdog counter)97 clock-names:98 items:99 - const: watchdog100 - const: watchdog_src101 samsung,cluster-index:102 enum: [0, 1]103 required:104 - samsung,cluster-index105 else:106 properties:107 clocks:108 items:109 - description: Bus clock, which is also a source clock110 clock-names:111 items:112 - const: watchdog113 samsung,cluster-index: false114 115unevaluatedProperties: false116 117examples:118 - |119 watchdog@101d0000 {120 compatible = "samsung,exynos5250-wdt";121 reg = <0x101D0000 0x100>;122 interrupts = <0 42 0>;123 clocks = <&clock 336>;124 clock-names = "watchdog";125 samsung,syscon-phandle = <&pmu_syscon>;126 };127