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