1 # SPDX-License-Identifier: (GPL-2.0-only OR BS 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2 %YAML 1.2 2 %YAML 1.2 3 --- 3 --- 4 $id: http://devicetree.org/schemas/reset/altr, 4 $id: http://devicetree.org/schemas/reset/altr,rst-mgr.yaml# 5 $schema: http://devicetree.org/meta-schemas/co 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 6 6 7 title: Altera SOCFPGA Reset Manager 7 title: Altera SOCFPGA Reset Manager 8 8 9 maintainers: 9 maintainers: 10 - Dinh Nguyen <dinguyen@kernel.org> !! 10 - Dinh Nguyen <dinguyen@altera.com> 11 11 12 properties: 12 properties: 13 compatible: 13 compatible: 14 oneOf: 14 oneOf: 15 - description: Cyclone5/Arria5/Arria10 15 - description: Cyclone5/Arria5/Arria10 16 const: altr,rst-mgr 16 const: altr,rst-mgr 17 - description: Stratix10 ARM64 SoC 17 - description: Stratix10 ARM64 SoC 18 items: 18 items: 19 - const: altr,stratix10-rst-mgr 19 - const: altr,stratix10-rst-mgr 20 - const: altr,rst-mgr 20 - const: altr,rst-mgr 21 21 22 reg: 22 reg: 23 maxItems: 1 23 maxItems: 1 24 24 25 altr,modrst-offset: 25 altr,modrst-offset: 26 $ref: /schemas/types.yaml#/definitions/uin 26 $ref: /schemas/types.yaml#/definitions/uint32 27 description: Offset of the first modrst re 27 description: Offset of the first modrst register 28 28 29 '#reset-cells': 29 '#reset-cells': 30 const: 1 30 const: 1 31 31 32 required: 32 required: 33 - compatible 33 - compatible 34 - reg 34 - reg >> 35 - altr,modrst-offset 35 - '#reset-cells' 36 - '#reset-cells' 36 << 37 if: << 38 properties: << 39 compatible: << 40 contains: << 41 const: altr,stratix10-rst-mgr << 42 then: << 43 properties: << 44 altr,modrst-offset: false << 45 37 46 additionalProperties: false 38 additionalProperties: false 47 39 48 examples: 40 examples: 49 - | 41 - | 50 rstmgr@ffd05000 { 42 rstmgr@ffd05000 { 51 compatible = "altr,rst-mgr"; 43 compatible = "altr,rst-mgr"; 52 reg = <0xffd05000 0x1000>; 44 reg = <0xffd05000 0x1000>; 53 altr,modrst-offset = <0x10>; 45 altr,modrst-offset = <0x10>; 54 #reset-cells = <1>; 46 #reset-cells = <1>; 55 }; 47 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.