Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

dt-bindings: watchdog: marvell GTI system watchdog driver

Add binding documentation for the Marvell GTI system
watchdog driver.

Signed-off-by: Bharat Bhushan <bbhushan2@marvell.com>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Link: https://lore.kernel.org/r/20230803032523.6242-1-bbhushan2@marvell.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wim Van Sebroeck <wim@linux-watchdog.org>

authored by

Bharat Bhushan and committed by
Wim Van Sebroeck
e81e57fe 130c3f7e

+83
+83
Documentation/devicetree/bindings/watchdog/marvell,cn10624-wdt.yaml
··· 1 + # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2 + %YAML 1.2 3 + --- 4 + $id: http://devicetree.org/schemas/watchdog/marvell,cn10624-wdt.yaml# 5 + $schema: http://devicetree.org/meta-schemas/core.yaml# 6 + 7 + title: Marvell Global Timer (GTI) system watchdog 8 + 9 + maintainers: 10 + - Bharat Bhushan <bbhushan2@marvell.com> 11 + 12 + allOf: 13 + - $ref: watchdog.yaml# 14 + 15 + properties: 16 + compatible: 17 + oneOf: 18 + - enum: 19 + - marvell,cn9670-wdt 20 + - marvell,cn10624-wdt 21 + 22 + - items: 23 + - enum: 24 + - marvell,cn9880-wdt 25 + - marvell,cnf9535-wdt 26 + - const: marvell,cn9670-wdt 27 + 28 + - items: 29 + - enum: 30 + - marvell,cn10308-wdt 31 + - marvell,cnf10518-wdt 32 + - const: marvell,cn10624-wdt 33 + 34 + reg: 35 + maxItems: 1 36 + 37 + interrupts: 38 + maxItems: 1 39 + 40 + clocks: 41 + maxItems: 1 42 + 43 + clock-names: 44 + items: 45 + - const: refclk 46 + 47 + marvell,wdt-timer-index: 48 + $ref: /schemas/types.yaml#/definitions/uint32 49 + minimum: 0 50 + maximum: 63 51 + description: 52 + An SoC have many timers (up to 64), firmware can reserve one or more timer 53 + for some other use case and configures one of the global timer as watchdog 54 + timer. Firmware will update this field with the timer number configured 55 + as watchdog timer. 56 + 57 + required: 58 + - compatible 59 + - reg 60 + - interrupts 61 + - clocks 62 + - clock-names 63 + 64 + unevaluatedProperties: false 65 + 66 + examples: 67 + - | 68 + #include <dt-bindings/interrupt-controller/arm-gic.h> 69 + soc { 70 + #address-cells = <2>; 71 + #size-cells = <2>; 72 + 73 + watchdog@802000040000 { 74 + compatible = "marvell,cn9670-wdt"; 75 + reg = <0x00008020 0x00040000 0x00000000 0x00020000>; 76 + interrupts = <GIC_SPI 38 IRQ_TYPE_EDGE_RISING>; 77 + clocks = <&sclk>; 78 + clock-names = "refclk"; 79 + marvell,wdt-timer-index = <63>; 80 + }; 81 + }; 82 + 83 + ...