1*d5b0e70fSEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2*d5b0e70fSEmmanuel Vadot%YAML 1.2 3*d5b0e70fSEmmanuel Vadot--- 4*d5b0e70fSEmmanuel Vadot$id: http://devicetree.org/schemas/reset/snps,axs10x-reset.yaml# 5*d5b0e70fSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml# 6*d5b0e70fSEmmanuel Vadot 7*d5b0e70fSEmmanuel Vadottitle: AXS10x reset controller 8*d5b0e70fSEmmanuel Vadot 9*d5b0e70fSEmmanuel Vadotmaintainers: 10*d5b0e70fSEmmanuel Vadot - Eugeniy Paltsev <Eugeniy.Paltsev@synopsys.com> 11*d5b0e70fSEmmanuel Vadot 12*d5b0e70fSEmmanuel Vadotdescription: | 13*d5b0e70fSEmmanuel Vadot This binding describes the ARC AXS10x boards custom IP-block which allows 14*d5b0e70fSEmmanuel Vadot to control reset signals of selected peripherals. For example DW GMAC, etc... 15*d5b0e70fSEmmanuel Vadot This block is controlled via memory-mapped register (AKA CREG) which 16*d5b0e70fSEmmanuel Vadot represents up-to 32 reset lines. 17*d5b0e70fSEmmanuel Vadot As of today only the following lines are used: 18*d5b0e70fSEmmanuel Vadot - DW GMAC - line 5 19*d5b0e70fSEmmanuel Vadot 20*d5b0e70fSEmmanuel Vadotproperties: 21*d5b0e70fSEmmanuel Vadot compatible: 22*d5b0e70fSEmmanuel Vadot const: snps,axs10x-reset 23*d5b0e70fSEmmanuel Vadot 24*d5b0e70fSEmmanuel Vadot reg: 25*d5b0e70fSEmmanuel Vadot maxItems: 1 26*d5b0e70fSEmmanuel Vadot 27*d5b0e70fSEmmanuel Vadot '#reset-cells': 28*d5b0e70fSEmmanuel Vadot const: 1 29*d5b0e70fSEmmanuel Vadot 30*d5b0e70fSEmmanuel Vadotrequired: 31*d5b0e70fSEmmanuel Vadot - compatible 32*d5b0e70fSEmmanuel Vadot - reg 33*d5b0e70fSEmmanuel Vadot - '#reset-cells' 34*d5b0e70fSEmmanuel Vadot 35*d5b0e70fSEmmanuel VadotadditionalProperties: false 36*d5b0e70fSEmmanuel Vadot 37*d5b0e70fSEmmanuel Vadotexamples: 38*d5b0e70fSEmmanuel Vadot - | 39*d5b0e70fSEmmanuel Vadot reset: reset-controller@11220 { 40*d5b0e70fSEmmanuel Vadot compatible = "snps,axs10x-reset"; 41*d5b0e70fSEmmanuel Vadot #reset-cells = <1>; 42*d5b0e70fSEmmanuel Vadot reg = <0x11220 0x4>; 43*d5b0e70fSEmmanuel Vadot }; 44*d5b0e70fSEmmanuel Vadot 45*d5b0e70fSEmmanuel Vadot // Specifying reset lines connected to IP modules: 46*d5b0e70fSEmmanuel Vadot ethernet { 47*d5b0e70fSEmmanuel Vadot resets = <&reset 5>; 48*d5b0e70fSEmmanuel Vadot }; 49