1*01950c46SEmmanuel Vadot# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 2*01950c46SEmmanuel Vadot%YAML 1.2 3*01950c46SEmmanuel Vadot--- 4*01950c46SEmmanuel Vadot$id: http://devicetree.org/schemas/watchdog/sprd,sp9860-wdt.yaml# 5*01950c46SEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml# 6*01950c46SEmmanuel Vadot 7*01950c46SEmmanuel Vadottitle: Spreadtrum SP9860 watchdog timer 8*01950c46SEmmanuel Vadot 9*01950c46SEmmanuel Vadotmaintainers: 10*01950c46SEmmanuel Vadot - Orson Zhai <orsonzhai@gmail.com> 11*01950c46SEmmanuel Vadot - Baolin Wang <baolin.wang7@gmail.com> 12*01950c46SEmmanuel Vadot - Chunyan Zhang <zhang.lyra@gmail.com> 13*01950c46SEmmanuel Vadot 14*01950c46SEmmanuel VadotallOf: 15*01950c46SEmmanuel Vadot - $ref: watchdog.yaml# 16*01950c46SEmmanuel Vadot 17*01950c46SEmmanuel Vadotproperties: 18*01950c46SEmmanuel Vadot compatible: 19*01950c46SEmmanuel Vadot const: sprd,sp9860-wdt 20*01950c46SEmmanuel Vadot 21*01950c46SEmmanuel Vadot reg: 22*01950c46SEmmanuel Vadot maxItems: 1 23*01950c46SEmmanuel Vadot 24*01950c46SEmmanuel Vadot interrupts: 25*01950c46SEmmanuel Vadot maxItems: 1 26*01950c46SEmmanuel Vadot 27*01950c46SEmmanuel Vadot clocks: 28*01950c46SEmmanuel Vadot maxItems: 2 29*01950c46SEmmanuel Vadot 30*01950c46SEmmanuel Vadot clock-names: 31*01950c46SEmmanuel Vadot items: 32*01950c46SEmmanuel Vadot - const: enable 33*01950c46SEmmanuel Vadot - const: rtc_enable 34*01950c46SEmmanuel Vadot 35*01950c46SEmmanuel Vadotrequired: 36*01950c46SEmmanuel Vadot - compatible 37*01950c46SEmmanuel Vadot - reg 38*01950c46SEmmanuel Vadot - interrupts 39*01950c46SEmmanuel Vadot - clocks 40*01950c46SEmmanuel Vadot - clock-names 41*01950c46SEmmanuel Vadot - timeout-sec 42*01950c46SEmmanuel Vadot 43*01950c46SEmmanuel VadotunevaluatedProperties: false 44*01950c46SEmmanuel Vadot 45*01950c46SEmmanuel Vadotexamples: 46*01950c46SEmmanuel Vadot - | 47*01950c46SEmmanuel Vadot #include <dt-bindings/clock/sprd,sc9860-clk.h> 48*01950c46SEmmanuel Vadot #include <dt-bindings/interrupt-controller/arm-gic.h> 49*01950c46SEmmanuel Vadot #include <dt-bindings/interrupt-controller/irq.h> 50*01950c46SEmmanuel Vadot 51*01950c46SEmmanuel Vadot soc { 52*01950c46SEmmanuel Vadot #address-cells = <2>; 53*01950c46SEmmanuel Vadot #size-cells = <2>; 54*01950c46SEmmanuel Vadot 55*01950c46SEmmanuel Vadot watchdog@40310000 { 56*01950c46SEmmanuel Vadot compatible = "sprd,sp9860-wdt"; 57*01950c46SEmmanuel Vadot reg = <0 0x40310000 0 0x1000>; 58*01950c46SEmmanuel Vadot interrupts = <GIC_SPI 61 IRQ_TYPE_LEVEL_HIGH>; 59*01950c46SEmmanuel Vadot clocks = <&aon_gate CLK_APCPU_WDG_EB>, <&aon_gate CLK_AP_WDG_RTC_EB>; 60*01950c46SEmmanuel Vadot clock-names = "enable", "rtc_enable"; 61*01950c46SEmmanuel Vadot timeout-sec = <12>; 62*01950c46SEmmanuel Vadot }; 63*01950c46SEmmanuel Vadot }; 64*01950c46SEmmanuel Vadot... 65