2020-05-30 00:35:51 -07:00
|
|
|
# SPDX-License-Identifier: GPL-2.0-only
|
|
|
|
%YAML 1.2
|
|
|
|
---
|
|
|
|
$id: http://devicetree.org/schemas/watchdog/snps,dw-wdt.yaml#
|
|
|
|
$schema: http://devicetree.org/meta-schemas/core.yaml#
|
|
|
|
|
|
|
|
title: Synopsys Designware Watchdog Timer
|
|
|
|
|
|
|
|
maintainers:
|
|
|
|
- Jamie Iles <jamie@jamieiles.com>
|
|
|
|
|
2023-11-05 11:41:53 -07:00
|
|
|
allOf:
|
|
|
|
- $ref: watchdog.yaml#
|
|
|
|
|
2020-05-30 00:35:51 -07:00
|
|
|
properties:
|
|
|
|
compatible:
|
dt-binding: watchdog: add Rockchip compatibles to snps,dw-wdt.yaml
The Rockchip watchdog compatibles below are already in use,
but somehow never added to a document,
so add them to the snps,dw-wdt.yaml file.
"rockchip,rk3066-wdt", "snps,dw-wdt"
"rockchip,rk3188-wdt", "snps,dw-wdt"
"rockchip,rk3288-wdt", "snps,dw-wdt"
"rockchip,rk3368-wdt", "snps,dw-wdt"
make ARCH=arm dtbs_check
DT_SCHEMA_FILES=Documentation/devicetree/bindings/watchdog/snps,dw-wdt.yaml
make ARCH=arm64 dtbs_check
DT_SCHEMA_FILES=Documentation/devicetree/bindings/watchdog/snps,dw-wdt.yaml
Signed-off-by: Johan Jonker <jbx6244@gmail.com>
Reviewed-by: Rob Herring <robh@kernel.org>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Link: https://lore.kernel.org/r/20201116142539.12377-1-jbx6244@gmail.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wim Van Sebroeck <wim@linux-watchdog.org>
2020-11-16 07:25:39 -07:00
|
|
|
oneOf:
|
|
|
|
- const: snps,dw-wdt
|
|
|
|
- items:
|
|
|
|
- enum:
|
dt-binding: watchdog: add more Rockchip compatibles to snps,dw-wdt.yaml
The watchdog compatible strings are suppose to be SoC orientated.
In the more recently added Rockchip SoC dtsi files only
the fallback string "snps,dw-wdt" is used, so add the following
compatible strings:
"rockchip,px30-wdt", "snps,dw-wdt"
"rockchip,rk3228-wdt", "snps,dw-wdt"
"rockchip,rk3308-wdt", "snps,dw-wdt"
"rockchip,rk3328-wdt", "snps,dw-wdt"
"rockchip,rk3399-wdt", "snps,dw-wdt"
"rockchip,rv1108-wdt", "snps,dw-wdt"
make ARCH=arm dtbs_check
DT_SCHEMA_FILES=Documentation/devicetree/bindings/watchdog/snps,dw-wdt.yaml
make ARCH=arm64 dtbs_check
DT_SCHEMA_FILES=Documentation/devicetree/bindings/watchdog/snps,dw-wdt.yaml
Signed-off-by: Johan Jonker <jbx6244@gmail.com>
Acked-by: Rob Herring <robh@kernel.org>
Reviewed-by: Heiko Stuebner <heiko@sntech.de>
Link: https://lore.kernel.org/r/20201218120534.13788-1-jbx6244@gmail.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wim Van Sebroeck <wim@linux-watchdog.org>
2020-12-18 05:05:27 -07:00
|
|
|
- rockchip,px30-wdt
|
dt-binding: watchdog: add Rockchip compatibles to snps,dw-wdt.yaml
The Rockchip watchdog compatibles below are already in use,
but somehow never added to a document,
so add them to the snps,dw-wdt.yaml file.
"rockchip,rk3066-wdt", "snps,dw-wdt"
"rockchip,rk3188-wdt", "snps,dw-wdt"
"rockchip,rk3288-wdt", "snps,dw-wdt"
"rockchip,rk3368-wdt", "snps,dw-wdt"
make ARCH=arm dtbs_check
DT_SCHEMA_FILES=Documentation/devicetree/bindings/watchdog/snps,dw-wdt.yaml
make ARCH=arm64 dtbs_check
DT_SCHEMA_FILES=Documentation/devicetree/bindings/watchdog/snps,dw-wdt.yaml
Signed-off-by: Johan Jonker <jbx6244@gmail.com>
Reviewed-by: Rob Herring <robh@kernel.org>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Link: https://lore.kernel.org/r/20201116142539.12377-1-jbx6244@gmail.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wim Van Sebroeck <wim@linux-watchdog.org>
2020-11-16 07:25:39 -07:00
|
|
|
- rockchip,rk3066-wdt
|
2022-09-09 15:01:56 -07:00
|
|
|
- rockchip,rk3128-wdt
|
dt-binding: watchdog: add Rockchip compatibles to snps,dw-wdt.yaml
The Rockchip watchdog compatibles below are already in use,
but somehow never added to a document,
so add them to the snps,dw-wdt.yaml file.
"rockchip,rk3066-wdt", "snps,dw-wdt"
"rockchip,rk3188-wdt", "snps,dw-wdt"
"rockchip,rk3288-wdt", "snps,dw-wdt"
"rockchip,rk3368-wdt", "snps,dw-wdt"
make ARCH=arm dtbs_check
DT_SCHEMA_FILES=Documentation/devicetree/bindings/watchdog/snps,dw-wdt.yaml
make ARCH=arm64 dtbs_check
DT_SCHEMA_FILES=Documentation/devicetree/bindings/watchdog/snps,dw-wdt.yaml
Signed-off-by: Johan Jonker <jbx6244@gmail.com>
Reviewed-by: Rob Herring <robh@kernel.org>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Link: https://lore.kernel.org/r/20201116142539.12377-1-jbx6244@gmail.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wim Van Sebroeck <wim@linux-watchdog.org>
2020-11-16 07:25:39 -07:00
|
|
|
- rockchip,rk3188-wdt
|
dt-binding: watchdog: add more Rockchip compatibles to snps,dw-wdt.yaml
The watchdog compatible strings are suppose to be SoC orientated.
In the more recently added Rockchip SoC dtsi files only
the fallback string "snps,dw-wdt" is used, so add the following
compatible strings:
"rockchip,px30-wdt", "snps,dw-wdt"
"rockchip,rk3228-wdt", "snps,dw-wdt"
"rockchip,rk3308-wdt", "snps,dw-wdt"
"rockchip,rk3328-wdt", "snps,dw-wdt"
"rockchip,rk3399-wdt", "snps,dw-wdt"
"rockchip,rv1108-wdt", "snps,dw-wdt"
make ARCH=arm dtbs_check
DT_SCHEMA_FILES=Documentation/devicetree/bindings/watchdog/snps,dw-wdt.yaml
make ARCH=arm64 dtbs_check
DT_SCHEMA_FILES=Documentation/devicetree/bindings/watchdog/snps,dw-wdt.yaml
Signed-off-by: Johan Jonker <jbx6244@gmail.com>
Acked-by: Rob Herring <robh@kernel.org>
Reviewed-by: Heiko Stuebner <heiko@sntech.de>
Link: https://lore.kernel.org/r/20201218120534.13788-1-jbx6244@gmail.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wim Van Sebroeck <wim@linux-watchdog.org>
2020-12-18 05:05:27 -07:00
|
|
|
- rockchip,rk3228-wdt
|
dt-binding: watchdog: add Rockchip compatibles to snps,dw-wdt.yaml
The Rockchip watchdog compatibles below are already in use,
but somehow never added to a document,
so add them to the snps,dw-wdt.yaml file.
"rockchip,rk3066-wdt", "snps,dw-wdt"
"rockchip,rk3188-wdt", "snps,dw-wdt"
"rockchip,rk3288-wdt", "snps,dw-wdt"
"rockchip,rk3368-wdt", "snps,dw-wdt"
make ARCH=arm dtbs_check
DT_SCHEMA_FILES=Documentation/devicetree/bindings/watchdog/snps,dw-wdt.yaml
make ARCH=arm64 dtbs_check
DT_SCHEMA_FILES=Documentation/devicetree/bindings/watchdog/snps,dw-wdt.yaml
Signed-off-by: Johan Jonker <jbx6244@gmail.com>
Reviewed-by: Rob Herring <robh@kernel.org>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Link: https://lore.kernel.org/r/20201116142539.12377-1-jbx6244@gmail.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wim Van Sebroeck <wim@linux-watchdog.org>
2020-11-16 07:25:39 -07:00
|
|
|
- rockchip,rk3288-wdt
|
dt-binding: watchdog: add more Rockchip compatibles to snps,dw-wdt.yaml
The watchdog compatible strings are suppose to be SoC orientated.
In the more recently added Rockchip SoC dtsi files only
the fallback string "snps,dw-wdt" is used, so add the following
compatible strings:
"rockchip,px30-wdt", "snps,dw-wdt"
"rockchip,rk3228-wdt", "snps,dw-wdt"
"rockchip,rk3308-wdt", "snps,dw-wdt"
"rockchip,rk3328-wdt", "snps,dw-wdt"
"rockchip,rk3399-wdt", "snps,dw-wdt"
"rockchip,rv1108-wdt", "snps,dw-wdt"
make ARCH=arm dtbs_check
DT_SCHEMA_FILES=Documentation/devicetree/bindings/watchdog/snps,dw-wdt.yaml
make ARCH=arm64 dtbs_check
DT_SCHEMA_FILES=Documentation/devicetree/bindings/watchdog/snps,dw-wdt.yaml
Signed-off-by: Johan Jonker <jbx6244@gmail.com>
Acked-by: Rob Herring <robh@kernel.org>
Reviewed-by: Heiko Stuebner <heiko@sntech.de>
Link: https://lore.kernel.org/r/20201218120534.13788-1-jbx6244@gmail.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wim Van Sebroeck <wim@linux-watchdog.org>
2020-12-18 05:05:27 -07:00
|
|
|
- rockchip,rk3308-wdt
|
|
|
|
- rockchip,rk3328-wdt
|
dt-binding: watchdog: add Rockchip compatibles to snps,dw-wdt.yaml
The Rockchip watchdog compatibles below are already in use,
but somehow never added to a document,
so add them to the snps,dw-wdt.yaml file.
"rockchip,rk3066-wdt", "snps,dw-wdt"
"rockchip,rk3188-wdt", "snps,dw-wdt"
"rockchip,rk3288-wdt", "snps,dw-wdt"
"rockchip,rk3368-wdt", "snps,dw-wdt"
make ARCH=arm dtbs_check
DT_SCHEMA_FILES=Documentation/devicetree/bindings/watchdog/snps,dw-wdt.yaml
make ARCH=arm64 dtbs_check
DT_SCHEMA_FILES=Documentation/devicetree/bindings/watchdog/snps,dw-wdt.yaml
Signed-off-by: Johan Jonker <jbx6244@gmail.com>
Reviewed-by: Rob Herring <robh@kernel.org>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Link: https://lore.kernel.org/r/20201116142539.12377-1-jbx6244@gmail.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wim Van Sebroeck <wim@linux-watchdog.org>
2020-11-16 07:25:39 -07:00
|
|
|
- rockchip,rk3368-wdt
|
dt-binding: watchdog: add more Rockchip compatibles to snps,dw-wdt.yaml
The watchdog compatible strings are suppose to be SoC orientated.
In the more recently added Rockchip SoC dtsi files only
the fallback string "snps,dw-wdt" is used, so add the following
compatible strings:
"rockchip,px30-wdt", "snps,dw-wdt"
"rockchip,rk3228-wdt", "snps,dw-wdt"
"rockchip,rk3308-wdt", "snps,dw-wdt"
"rockchip,rk3328-wdt", "snps,dw-wdt"
"rockchip,rk3399-wdt", "snps,dw-wdt"
"rockchip,rv1108-wdt", "snps,dw-wdt"
make ARCH=arm dtbs_check
DT_SCHEMA_FILES=Documentation/devicetree/bindings/watchdog/snps,dw-wdt.yaml
make ARCH=arm64 dtbs_check
DT_SCHEMA_FILES=Documentation/devicetree/bindings/watchdog/snps,dw-wdt.yaml
Signed-off-by: Johan Jonker <jbx6244@gmail.com>
Acked-by: Rob Herring <robh@kernel.org>
Reviewed-by: Heiko Stuebner <heiko@sntech.de>
Link: https://lore.kernel.org/r/20201218120534.13788-1-jbx6244@gmail.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wim Van Sebroeck <wim@linux-watchdog.org>
2020-12-18 05:05:27 -07:00
|
|
|
- rockchip,rk3399-wdt
|
2021-04-29 01:11:45 -07:00
|
|
|
- rockchip,rk3568-wdt
|
2024-09-03 08:22:36 -07:00
|
|
|
- rockchip,rk3576-wdt
|
2023-03-28 14:00:48 -07:00
|
|
|
- rockchip,rk3588-wdt
|
dt-binding: watchdog: add more Rockchip compatibles to snps,dw-wdt.yaml
The watchdog compatible strings are suppose to be SoC orientated.
In the more recently added Rockchip SoC dtsi files only
the fallback string "snps,dw-wdt" is used, so add the following
compatible strings:
"rockchip,px30-wdt", "snps,dw-wdt"
"rockchip,rk3228-wdt", "snps,dw-wdt"
"rockchip,rk3308-wdt", "snps,dw-wdt"
"rockchip,rk3328-wdt", "snps,dw-wdt"
"rockchip,rk3399-wdt", "snps,dw-wdt"
"rockchip,rv1108-wdt", "snps,dw-wdt"
make ARCH=arm dtbs_check
DT_SCHEMA_FILES=Documentation/devicetree/bindings/watchdog/snps,dw-wdt.yaml
make ARCH=arm64 dtbs_check
DT_SCHEMA_FILES=Documentation/devicetree/bindings/watchdog/snps,dw-wdt.yaml
Signed-off-by: Johan Jonker <jbx6244@gmail.com>
Acked-by: Rob Herring <robh@kernel.org>
Reviewed-by: Heiko Stuebner <heiko@sntech.de>
Link: https://lore.kernel.org/r/20201218120534.13788-1-jbx6244@gmail.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wim Van Sebroeck <wim@linux-watchdog.org>
2020-12-18 05:05:27 -07:00
|
|
|
- rockchip,rv1108-wdt
|
dt-binding: watchdog: add Rockchip compatibles to snps,dw-wdt.yaml
The Rockchip watchdog compatibles below are already in use,
but somehow never added to a document,
so add them to the snps,dw-wdt.yaml file.
"rockchip,rk3066-wdt", "snps,dw-wdt"
"rockchip,rk3188-wdt", "snps,dw-wdt"
"rockchip,rk3288-wdt", "snps,dw-wdt"
"rockchip,rk3368-wdt", "snps,dw-wdt"
make ARCH=arm dtbs_check
DT_SCHEMA_FILES=Documentation/devicetree/bindings/watchdog/snps,dw-wdt.yaml
make ARCH=arm64 dtbs_check
DT_SCHEMA_FILES=Documentation/devicetree/bindings/watchdog/snps,dw-wdt.yaml
Signed-off-by: Johan Jonker <jbx6244@gmail.com>
Reviewed-by: Rob Herring <robh@kernel.org>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Link: https://lore.kernel.org/r/20201116142539.12377-1-jbx6244@gmail.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wim Van Sebroeck <wim@linux-watchdog.org>
2020-11-16 07:25:39 -07:00
|
|
|
- const: snps,dw-wdt
|
2020-05-30 00:35:51 -07:00
|
|
|
|
|
|
|
reg:
|
|
|
|
maxItems: 1
|
|
|
|
|
|
|
|
interrupts:
|
|
|
|
description: DW Watchdog pre-timeout interrupt
|
|
|
|
maxItems: 1
|
|
|
|
|
|
|
|
clocks:
|
2020-05-30 00:35:52 -07:00
|
|
|
minItems: 1
|
2020-05-30 00:35:51 -07:00
|
|
|
items:
|
|
|
|
- description: Watchdog timer reference clock
|
2020-05-30 00:35:52 -07:00
|
|
|
- description: APB3 interface clock
|
|
|
|
|
|
|
|
clock-names:
|
|
|
|
minItems: 1
|
|
|
|
items:
|
|
|
|
- const: tclk
|
|
|
|
- const: pclk
|
2020-05-30 00:35:51 -07:00
|
|
|
|
|
|
|
resets:
|
|
|
|
description: Phandle to the DW Watchdog reset lane
|
|
|
|
maxItems: 1
|
|
|
|
|
2020-05-30 00:35:53 -07:00
|
|
|
snps,watchdog-tops:
|
|
|
|
$ref: /schemas/types.yaml#/definitions/uint32-array
|
|
|
|
description: |
|
|
|
|
DW APB Watchdog custom timer intervals - Timeout Period ranges (TOPs).
|
|
|
|
Each TOP is a number loaded into the watchdog counter at the moment of
|
|
|
|
the timer restart. The counter decrementing happens each tick of the
|
|
|
|
reference clock. Therefore the TOPs array is equivalent to an array of
|
|
|
|
the timer expiration intervals supported by the DW APB Watchdog. Note
|
|
|
|
DW APB Watchdog IP-core might be synthesized with fixed TOP values,
|
|
|
|
in which case this property is unnecessary with default TOPs utilized.
|
|
|
|
default: [0x0001000 0x0002000 0x0004000 0x0008000
|
|
|
|
0x0010000 0x0020000 0x0040000 0x0080000
|
|
|
|
0x0100000 0x0200000 0x0400000 0x0800000
|
|
|
|
0x1000000 0x2000000 0x4000000 0x8000000]
|
|
|
|
minItems: 16
|
|
|
|
maxItems: 16
|
|
|
|
|
2020-05-30 00:35:51 -07:00
|
|
|
required:
|
|
|
|
- compatible
|
|
|
|
- reg
|
|
|
|
- clocks
|
|
|
|
|
2023-11-05 11:41:53 -07:00
|
|
|
unevaluatedProperties: false
|
|
|
|
|
2020-05-30 00:35:51 -07:00
|
|
|
examples:
|
|
|
|
- |
|
|
|
|
watchdog@ffd02000 {
|
2023-04-15 02:51:08 -07:00
|
|
|
compatible = "snps,dw-wdt";
|
|
|
|
reg = <0xffd02000 0x1000>;
|
|
|
|
interrupts = <0 171 4>;
|
|
|
|
clocks = <&per_base_clk>;
|
|
|
|
resets = <&wdt_rst>;
|
2020-05-30 00:35:51 -07:00
|
|
|
};
|
2020-05-30 00:35:53 -07:00
|
|
|
|
|
|
|
- |
|
|
|
|
watchdog@ffd02000 {
|
2023-04-15 02:51:08 -07:00
|
|
|
compatible = "snps,dw-wdt";
|
|
|
|
reg = <0xffd02000 0x1000>;
|
|
|
|
interrupts = <0 171 4>;
|
|
|
|
clocks = <&per_base_clk>;
|
|
|
|
clock-names = "tclk";
|
|
|
|
snps,watchdog-tops = <0x000000FF 0x000001FF 0x000003FF
|
|
|
|
0x000007FF 0x0000FFFF 0x0001FFFF
|
|
|
|
0x0003FFFF 0x0007FFFF 0x000FFFFF
|
|
|
|
0x001FFFFF 0x003FFFFF 0x007FFFFF
|
|
|
|
0x00FFFFFF 0x01FFFFFF 0x03FFFFFF
|
|
|
|
0x07FFFFFF>;
|
2020-05-30 00:35:53 -07:00
|
|
|
};
|
2020-05-30 00:35:51 -07:00
|
|
|
...
|