1b7ab0cb0SDilip Kota# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 2b7ab0cb0SDilip Kota%YAML 1.2 3b7ab0cb0SDilip Kota--- 4b7ab0cb0SDilip Kota$id: http://devicetree.org/schemas/reset/intel,rcu-gw.yaml# 5b7ab0cb0SDilip Kota$schema: http://devicetree.org/meta-schemas/core.yaml# 6b7ab0cb0SDilip Kota 7b7ab0cb0SDilip Kotatitle: System Reset Controller on Intel Gateway SoCs 8b7ab0cb0SDilip Kota 9b7ab0cb0SDilip Kotamaintainers: 10b7ab0cb0SDilip Kota - Dilip Kota <eswara.kota@linux.intel.com> 11b7ab0cb0SDilip Kota 12b7ab0cb0SDilip Kotaproperties: 13b7ab0cb0SDilip Kota compatible: 14b7ab0cb0SDilip Kota enum: 15b7ab0cb0SDilip Kota - intel,rcu-lgm 16b7ab0cb0SDilip Kota - intel,rcu-xrx200 17b7ab0cb0SDilip Kota 18b7ab0cb0SDilip Kota reg: 19b7ab0cb0SDilip Kota description: Reset controller registers. 20b7ab0cb0SDilip Kota maxItems: 1 21b7ab0cb0SDilip Kota 22b7ab0cb0SDilip Kota intel,global-reset: 23b7ab0cb0SDilip Kota description: Global reset register offset and bit offset. 24*3d21a460SRob Herring $ref: /schemas/types.yaml#/definitions/uint32-array 2568131a0bSRob Herring items: 2668131a0bSRob Herring - description: Register offset 2768131a0bSRob Herring - description: Register bit offset 2868131a0bSRob Herring minimum: 0 2968131a0bSRob Herring maximum: 31 30b7ab0cb0SDilip Kota 31b7ab0cb0SDilip Kota "#reset-cells": 32b7ab0cb0SDilip Kota minimum: 2 33b7ab0cb0SDilip Kota maximum: 3 34b7ab0cb0SDilip Kota description: | 35b7ab0cb0SDilip Kota First cell is reset request register offset. 36b7ab0cb0SDilip Kota Second cell is bit offset in reset request register. 37b7ab0cb0SDilip Kota Third cell is bit offset in reset status register. 38b7ab0cb0SDilip Kota For LGM SoC, reset cell count is 2 as bit offset in 39b7ab0cb0SDilip Kota reset request and reset status registers is same. Whereas 40b7ab0cb0SDilip Kota 3 for legacy SoCs as bit offset differs. 41b7ab0cb0SDilip Kota 42b7ab0cb0SDilip Kotarequired: 43b7ab0cb0SDilip Kota - compatible 44b7ab0cb0SDilip Kota - reg 45b7ab0cb0SDilip Kota - intel,global-reset 46b7ab0cb0SDilip Kota - "#reset-cells" 47b7ab0cb0SDilip Kota 48b7ab0cb0SDilip KotaadditionalProperties: false 49b7ab0cb0SDilip Kota 50b7ab0cb0SDilip Kotaexamples: 51b7ab0cb0SDilip Kota - | 52b7ab0cb0SDilip Kota rcu0: reset-controller@e0000000 { 53b7ab0cb0SDilip Kota compatible = "intel,rcu-lgm"; 54b7ab0cb0SDilip Kota reg = <0xe0000000 0x20000>; 55b7ab0cb0SDilip Kota intel,global-reset = <0x10 30>; 56b7ab0cb0SDilip Kota #reset-cells = <2>; 57b7ab0cb0SDilip Kota }; 58b7ab0cb0SDilip Kota 59b7ab0cb0SDilip Kota pwm: pwm@e0d00000 { 60b7ab0cb0SDilip Kota compatible = "intel,lgm-pwm"; 61b7ab0cb0SDilip Kota reg = <0xe0d00000 0x30>; 62b7ab0cb0SDilip Kota clocks = <&cgu0 1>; 63b7ab0cb0SDilip Kota #pwm-cells = <2>; 64b7ab0cb0SDilip Kota resets = <&rcu0 0x30 21>; 65b7ab0cb0SDilip Kota }; 66