FILE
samsung-wdt.yaml
File preview with syntax highlighting.
linux-6.19.14/Documentation/devicetree/bindings/watchdog/samsung-wdt.yaml
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 7title: Samsung SoC Watchdog Timer Controller 8 9maintainers: 10 - Krzysztof Kozlowski <krzk@kernel.org> 11 12description: |+ 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 17properties: 18 compatible: 19 oneOf: 20 - enum: 21 - google,gs101-wdt # for Google gs101 22 - samsung,s3c2410-wdt # for S3C2410 23 - samsung,s3c6410-wdt # for S3C6410, S5PV210 and Exynos4 24 - samsung,exynos5250-wdt # for Exynos5250 25 - samsung,exynos5420-wdt # for Exynos5420 26 - samsung,exynos7-wdt # for Exynos7 27 - samsung,exynos850-wdt # for Exynos850 28 - samsung,exynos990-wdt # for Exynos990 29 - samsung,exynosautov9-wdt # for Exynosautov9 30 - samsung,exynosautov920-wdt # for Exynosautov920 31 - items: 32 - enum: 33 - tesla,fsd-wdt 34 - const: samsung,exynos7-wdt 35 36 reg: 37 maxItems: 1 38 39 clocks: 40 minItems: 1 41 maxItems: 2 42 43 clock-names: 44 minItems: 1 45 maxItems: 2 46 47 interrupts: 48 maxItems: 1 49 50 samsung,cluster-index: 51 $ref: /schemas/types.yaml#/definitions/uint32 52 description: 53 Index of CPU cluster on which watchdog is running (in case of Exynos850, 54 Exynos990 or Google gs101). 55 56 samsung,syscon-phandle: 57 $ref: /schemas/types.yaml#/definitions/phandle 58 description: 59 Phandle to the PMU system controller node (in case of Exynos5250, 60 Exynos5420, Exynos7, Exynos850, Exynos990 and gs101). 61 62required: 63 - compatible 64 - clocks 65 - clock-names 66 - interrupts 67 - reg 68 69allOf: 70 - $ref: watchdog.yaml# 71 - if: 72 properties: 73 compatible: 74 contains: 75 enum: 76 - google,gs101-wdt 77 - samsung,exynos5250-wdt 78 - samsung,exynos5420-wdt 79 - samsung,exynos7-wdt 80 - samsung,exynos850-wdt 81 - samsung,exynos990-wdt 82 - samsung,exynosautov9-wdt 83 - samsung,exynosautov920-wdt 84 then: 85 required: 86 - samsung,syscon-phandle 87 - if: 88 properties: 89 compatible: 90 contains: 91 enum: 92 - google,gs101-wdt 93 - samsung,exynos850-wdt 94 - samsung,exynos990-wdt 95 - samsung,exynosautov9-wdt 96 - samsung,exynosautov920-wdt 97 then: 98 properties: 99 clocks: 100 items: 101 - description: Bus clock, used for register interface 102 - description: Source clock (driving watchdog counter) 103 clock-names: 104 items: 105 - const: watchdog 106 - const: watchdog_src 107 samsung,cluster-index: 108 enum: [0, 1, 2] 109 required: 110 - samsung,cluster-index 111 else: 112 properties: 113 clocks: 114 items: 115 - description: Bus clock, which is also a source clock 116 clock-names: 117 items: 118 - const: watchdog 119 samsung,cluster-index: false 120 121unevaluatedProperties: false 122 123examples: 124 - | 125 watchdog@101d0000 { 126 compatible = "samsung,exynos5250-wdt"; 127 reg = <0x101D0000 0x100>; 128 interrupts = <0 42 0>; 129 clocks = <&clock 336>; 130 clock-names = "watchdog"; 131 samsung,syscon-phandle = <&pmu_syscon>; 132 };
~/
Read-only file preview.