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