1*5956d97fSEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2*5956d97fSEmmanuel Vadot%YAML 1.2 3*5956d97fSEmmanuel Vadot--- 4*5956d97fSEmmanuel Vadot$id: "http://devicetree.org/schemas/reset/microchip,rst.yaml#" 5*5956d97fSEmmanuel Vadot$schema: "http://devicetree.org/meta-schemas/core.yaml#" 6*5956d97fSEmmanuel Vadot 7*5956d97fSEmmanuel Vadottitle: Microchip Sparx5 Switch Reset Controller 8*5956d97fSEmmanuel Vadot 9*5956d97fSEmmanuel Vadotmaintainers: 10*5956d97fSEmmanuel Vadot - Steen Hegelund <steen.hegelund@microchip.com> 11*5956d97fSEmmanuel Vadot - Lars Povlsen <lars.povlsen@microchip.com> 12*5956d97fSEmmanuel Vadot 13*5956d97fSEmmanuel Vadotdescription: | 14*5956d97fSEmmanuel Vadot The Microchip Sparx5 Switch provides reset control and implements the following 15*5956d97fSEmmanuel Vadot functions 16*5956d97fSEmmanuel Vadot - One Time Switch Core Reset (Soft Reset) 17*5956d97fSEmmanuel Vadot 18*5956d97fSEmmanuel Vadotproperties: 19*5956d97fSEmmanuel Vadot $nodename: 20*5956d97fSEmmanuel Vadot pattern: "^reset-controller@[0-9a-f]+$" 21*5956d97fSEmmanuel Vadot 22*5956d97fSEmmanuel Vadot compatible: 23*5956d97fSEmmanuel Vadot const: microchip,sparx5-switch-reset 24*5956d97fSEmmanuel Vadot 25*5956d97fSEmmanuel Vadot reg: 26*5956d97fSEmmanuel Vadot items: 27*5956d97fSEmmanuel Vadot - description: global control block registers 28*5956d97fSEmmanuel Vadot 29*5956d97fSEmmanuel Vadot reg-names: 30*5956d97fSEmmanuel Vadot items: 31*5956d97fSEmmanuel Vadot - const: gcb 32*5956d97fSEmmanuel Vadot 33*5956d97fSEmmanuel Vadot "#reset-cells": 34*5956d97fSEmmanuel Vadot const: 1 35*5956d97fSEmmanuel Vadot 36*5956d97fSEmmanuel Vadot cpu-syscon: 37*5956d97fSEmmanuel Vadot $ref: "/schemas/types.yaml#/definitions/phandle" 38*5956d97fSEmmanuel Vadot description: syscon used to access CPU reset 39*5956d97fSEmmanuel Vadot 40*5956d97fSEmmanuel Vadotrequired: 41*5956d97fSEmmanuel Vadot - compatible 42*5956d97fSEmmanuel Vadot - reg 43*5956d97fSEmmanuel Vadot - reg-names 44*5956d97fSEmmanuel Vadot - "#reset-cells" 45*5956d97fSEmmanuel Vadot - cpu-syscon 46*5956d97fSEmmanuel Vadot 47*5956d97fSEmmanuel VadotadditionalProperties: false 48*5956d97fSEmmanuel Vadot 49*5956d97fSEmmanuel Vadotexamples: 50*5956d97fSEmmanuel Vadot - | 51*5956d97fSEmmanuel Vadot reset: reset-controller@11010008 { 52*5956d97fSEmmanuel Vadot compatible = "microchip,sparx5-switch-reset"; 53*5956d97fSEmmanuel Vadot reg = <0x11010008 0x4>; 54*5956d97fSEmmanuel Vadot reg-names = "gcb"; 55*5956d97fSEmmanuel Vadot #reset-cells = <1>; 56*5956d97fSEmmanuel Vadot cpu-syscon = <&cpu_ctrl>; 57*5956d97fSEmmanuel Vadot }; 58*5956d97fSEmmanuel Vadot 59