brintos

brintos / linux-shallow public Read only

0
0
Text · 1.3 KiB · 730d9a3 Raw
65 lines · yaml
1# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause2%YAML 1.23---4$id: http://devicetree.org/schemas/watchdog/sprd,sp9860-wdt.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: Spreadtrum SP9860 watchdog timer8 9maintainers:10  - Orson Zhai <orsonzhai@gmail.com>11  - Baolin Wang <baolin.wang7@gmail.com>12  - Chunyan Zhang <zhang.lyra@gmail.com>13 14allOf:15  - $ref: watchdog.yaml#16 17properties:18  compatible:19    const: sprd,sp9860-wdt20 21  reg:22    maxItems: 123 24  interrupts:25    maxItems: 126 27  clocks:28    maxItems: 229 30  clock-names:31    items:32      - const: enable33      - const: rtc_enable34 35required:36  - compatible37  - reg38  - interrupts39  - clocks40  - clock-names41  - timeout-sec42 43unevaluatedProperties: false44 45examples:46  - |47    #include <dt-bindings/clock/sprd,sc9860-clk.h>48    #include <dt-bindings/interrupt-controller/arm-gic.h>49    #include <dt-bindings/interrupt-controller/irq.h>50 51    soc {52        #address-cells = <2>;53        #size-cells = <2>;54 55        watchdog@40310000 {56            compatible = "sprd,sp9860-wdt";57            reg = <0 0x40310000 0 0x1000>;58            interrupts = <GIC_SPI 61 IRQ_TYPE_LEVEL_HIGH>;59            clocks = <&aon_gate CLK_APCPU_WDG_EB>, <&aon_gate CLK_AP_WDG_RTC_EB>;60            clock-names = "enable", "rtc_enable";61            timeout-sec = <12>;62        };63    };64...65