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/hwlock/ti,o 4 $id: http://devicetree.org/schemas/hwlock/ti,omap-hwspinlock.yaml# 5 $schema: http://devicetree.org/meta-schemas/co 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 6 6 7 title: TI HwSpinlock for OMAP and K3 based SoC 7 title: TI HwSpinlock for OMAP and K3 based SoCs 8 8 9 maintainers: 9 maintainers: 10 - Suman Anna <s-anna@ti.com> 10 - Suman Anna <s-anna@ti.com> 11 11 12 properties: 12 properties: 13 compatible: 13 compatible: 14 enum: 14 enum: 15 - ti,omap4-hwspinlock # for OMAP44xx, O 15 - ti,omap4-hwspinlock # for OMAP44xx, OMAP54xx, AM33xx, AM43xx, DRA7xx SoCs 16 - ti,am64-hwspinlock # for K3 AM64x So 16 - ti,am64-hwspinlock # for K3 AM64x SoCs 17 - ti,am654-hwspinlock # for K3 AM65x, J 17 - ti,am654-hwspinlock # for K3 AM65x, J721E and J7200 SoCs 18 18 19 reg: 19 reg: 20 maxItems: 1 20 maxItems: 1 21 21 22 "#hwlock-cells": 22 "#hwlock-cells": 23 const: 1 23 const: 1 24 description: | 24 description: | 25 The OMAP hwspinlock users will use a 0-i 25 The OMAP hwspinlock users will use a 0-indexed relative hwlock number as 26 the argument specifier value for request 26 the argument specifier value for requesting a specific hwspinlock within 27 a hwspinlock bank. 27 a hwspinlock bank. 28 28 29 Please look at the generic hwlock bindin 29 Please look at the generic hwlock binding for usage information for 30 consumers, "Documentation/devicetree/bin 30 consumers, "Documentation/devicetree/bindings/hwlock/hwlock.txt" 31 31 32 required: 32 required: 33 - compatible 33 - compatible 34 - reg 34 - reg 35 - "#hwlock-cells" 35 - "#hwlock-cells" 36 36 37 additionalProperties: false 37 additionalProperties: false 38 38 39 examples: 39 examples: 40 40 41 - | 41 - | 42 spinlock@4a0f6000 { 42 spinlock@4a0f6000 { 43 compatible = "ti,omap4-hwspinlock"; 43 compatible = "ti,omap4-hwspinlock"; 44 reg = <0x4a0f6000 0x1000>; 44 reg = <0x4a0f6000 0x1000>; 45 #hwlock-cells = <1>; 45 #hwlock-cells = <1>; 46 }; 46 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.