Samsung SoC Watchdog Timer Controller

Schema identifier ($id): "http://devicetree.org/schemas/watchdog/samsung-wdt.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Krzysztof Kozlowski <krzk@kernel.org>"

The Samsung's Watchdog controller is used for resuming system operation after a preset amount of time during which the WDT reset event has not occurred.

Properties and child nodes (properties) #

compatible — required here #

Exactly one of these rules must match (oneOf) #

Rule 1

Allowed values (enum): "google,gs101-wdt", "samsung,s3c6410-wdt", "samsung,exynos5250-wdt", "samsung,exynos5420-wdt", "samsung,exynos7-wdt", "samsung,exynos850-wdt", "samsung,exynos990-wdt", "samsung,exynosautov9-wdt", "samsung,exynosautov920-wdt"

Rule 2

Array item rules (items)

Item 1

Allowed values (enum): "tesla,fsd-wdt"

Item 2

Exact value (const): "samsung,exynos7-wdt"

reg — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 2

clock-names — required here #

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 2

interrupts — required here #

Maximum number of items (maxItems): 1

samsung,cluster-index — not listed as required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

Allowed values (enum): 0, 1, 2

Index of CPU cluster on which watchdog is running (in case of Exynos850, Exynos990 or Google gs101).

samsung,syscon-phandle — not listed as required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle

Phandle to the PMU system controller node (in case of Exynos5250, Exynos5420, Exynos7, Exynos850, Exynos990 and gs101).

Required in this object (required): "compatible", "clocks", "clock-names", "interrupts", "reg"

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): watchdog.yaml#

Rule 2 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Allowed values (enum): "google,gs101-wdt", "samsung,exynos850-wdt", "samsung,exynosautov9-wdt", "samsung,exynosautov920-wdt"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — not listed as required here

Array item rules (items)

Item 1

Bus clock, used for register interface

Item 2

Source clock (driving watchdog counter)

clock-names — not listed as required here

Array item rules (items)

Item 1

Exact value (const): "watchdog"

Item 2

Exact value (const): "watchdog_src"

samsung,cluster-index — required here

Allowed values (enum): 0, 1

Required in this object (required): "samsung,cluster-index", "samsung,syscon-phandle"

Rule 3 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Allowed values (enum): "samsung,exynos990-wdt"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — not listed as required here

Array item rules (items)

Item 1

Bus clock, used for register interface

Item 2

Source clock (driving watchdog counter)

clock-names — not listed as required here

Array item rules (items)

Item 1

Exact value (const): "watchdog"

Item 2

Exact value (const): "watchdog_src"

Required in this object (required): "samsung,cluster-index", "samsung,syscon-phandle"

Rule 4 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Allowed values (enum): "samsung,exynos5250-wdt", "samsung,exynos5420-wdt", "samsung,exynos7-wdt"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — not listed as required here

Array item rules (items)

Item 1

Bus clock, which is also a source clock

clock-names — not listed as required here

Array item rules (items)

Item 1

Exact value (const): "watchdog"

samsung,cluster-index — not listed as required here

false — Not permitted by this property rule.

Required in this object (required): "samsung,syscon-phandle"

Rule 5 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Allowed values (enum): "samsung,s3c6410-wdt"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — not listed as required here

Array item rules (items)

Item 1

Bus clock, which is also a source clock

clock-names — not listed as required here

Array item rules (items)

Item 1

Exact value (const): "watchdog"

samsung,cluster-index — not listed as required here

false — Not permitted by this property rule.

samsung,syscon-phandle — not listed as required here

false — Not permitted by this property rule.

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

watchdog@101d0000 {
    compatible = "samsung,exynos5250-wdt";
    reg = <0x101D0000 0x100>;
    interrupts = <0 42 0>;
    clocks = <&clock 336>;
    clock-names = "watchdog";
    samsung,syscon-phandle = <&pmu_syscon>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0

Line 21: for Google gs101

Line 22: for S3C6410, S5PV210 and Exynos4

Line 23: for Exynos5250

Line 24: for Exynos5420

Line 25: for Exynos7

Line 26: for Exynos850

Line 27: for Exynos990

Line 28: for Exynosautov9

Line 29: for Exynosautov920

Edit this page