1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2%YAML 1.2 3--- 4$id: http://devicetree.org/schemas/reset/atmel,at91sam9260-reset.yaml# 5$schema: http://devicetree.org/meta-schemas/core.yaml# 6 7title: Atmel/Microchip System Reset Controller 8 9maintainers: 10 - Claudiu Beznea <claudiu.beznea@microchip.com> 11 12description: | 13 The system reset controller can be used to reset the CPU. In case of 14 SAMA7G5 it can also reset some devices (e.g. USB PHYs). 15 16properties: 17 compatible: 18 oneOf: 19 - items: 20 - enum: 21 - atmel,at91sam9260-rstc 22 - atmel,at91sam9g45-rstc 23 - atmel,sama5d3-rstc 24 - microchip,sam9x60-rstc 25 - microchip,sama7g5-rstc 26 - items: 27 - const: atmel,sama5d3-rstc 28 - const: atmel,at91sam9g45-rstc 29 - items: 30 - enum: 31 - microchip,sam9x7-rstc 32 - const: microchip,sam9x60-rstc 33 34 reg: 35 minItems: 1 36 items: 37 - description: base registers for system reset control 38 - description: registers for device specific reset control 39 40 clocks: 41 maxItems: 1 42 43 "#reset-cells": 44 const: 1 45 46required: 47 - compatible 48 - reg 49 - clocks 50 51allOf: 52 - if: 53 properties: 54 compatible: 55 contains: 56 enum: 57 - microchip,sama7g5-rstc 58 then: 59 required: 60 - "#reset-cells" 61 62additionalProperties: false 63 64examples: 65 - | 66 #include <dt-bindings/clock/at91.h> 67 68 reset-controller@fffffd00 { 69 compatible = "atmel,at91sam9260-rstc"; 70 reg = <0xfffffd00 0x10>; 71 clocks = <&pmc PMC_TYPE_CORE PMC_SLOW>; 72 }; 73