109 lines · yaml
1# SPDX-License-Identifier: GPL-2.0-only2%YAML 1.23---4$id: http://devicetree.org/schemas/watchdog/snps,dw-wdt.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: Synopsys Designware Watchdog Timer8 9maintainers:10 - Jamie Iles <jamie@jamieiles.com>11 12allOf:13 - $ref: watchdog.yaml#14 15properties:16 compatible:17 oneOf:18 - const: snps,dw-wdt19 - items:20 - enum:21 - rockchip,px30-wdt22 - rockchip,rk3066-wdt23 - rockchip,rk3128-wdt24 - rockchip,rk3188-wdt25 - rockchip,rk3228-wdt26 - rockchip,rk3288-wdt27 - rockchip,rk3308-wdt28 - rockchip,rk3328-wdt29 - rockchip,rk3368-wdt30 - rockchip,rk3399-wdt31 - rockchip,rk3568-wdt32 - rockchip,rk3576-wdt33 - rockchip,rk3588-wdt34 - rockchip,rv1108-wdt35 - const: snps,dw-wdt36 37 reg:38 maxItems: 139 40 interrupts:41 description: DW Watchdog pre-timeout interrupt42 maxItems: 143 44 clocks:45 minItems: 146 items:47 - description: Watchdog timer reference clock48 - description: APB3 interface clock49 50 clock-names:51 minItems: 152 items:53 - const: tclk54 - const: pclk55 56 resets:57 description: Phandle to the DW Watchdog reset lane58 maxItems: 159 60 snps,watchdog-tops:61 $ref: /schemas/types.yaml#/definitions/uint32-array62 description: |63 DW APB Watchdog custom timer intervals - Timeout Period ranges (TOPs).64 Each TOP is a number loaded into the watchdog counter at the moment of65 the timer restart. The counter decrementing happens each tick of the66 reference clock. Therefore the TOPs array is equivalent to an array of67 the timer expiration intervals supported by the DW APB Watchdog. Note68 DW APB Watchdog IP-core might be synthesized with fixed TOP values,69 in which case this property is unnecessary with default TOPs utilized.70 default: [0x0001000 0x0002000 0x0004000 0x000800071 0x0010000 0x0020000 0x0040000 0x008000072 0x0100000 0x0200000 0x0400000 0x080000073 0x1000000 0x2000000 0x4000000 0x8000000]74 minItems: 1675 maxItems: 1676 77required:78 - compatible79 - reg80 - clocks81 82unevaluatedProperties: false83 84examples:85 - |86 watchdog@ffd02000 {87 compatible = "snps,dw-wdt";88 reg = <0xffd02000 0x1000>;89 interrupts = <0 171 4>;90 clocks = <&per_base_clk>;91 resets = <&wdt_rst>;92 };93 94 - |95 watchdog@ffd02000 {96 compatible = "snps,dw-wdt";97 reg = <0xffd02000 0x1000>;98 interrupts = <0 171 4>;99 clocks = <&per_base_clk>;100 clock-names = "tclk";101 snps,watchdog-tops = <0x000000FF 0x000001FF 0x000003FF102 0x000007FF 0x0000FFFF 0x0001FFFF103 0x0003FFFF 0x0007FFFF 0x000FFFFF104 0x001FFFFF 0x003FFFFF 0x007FFFFF105 0x00FFFFFF 0x01FFFFFF 0x03FFFFFF106 0x07FFFFFF>;107 };108...109