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 << 17 - ti,am654-hwspinlock # for K3 AM65x, J 16 - ti,am654-hwspinlock # for K3 AM65x, J721E and J7200 SoCs 18 17 19 reg: 18 reg: 20 maxItems: 1 19 maxItems: 1 21 20 22 "#hwlock-cells": 21 "#hwlock-cells": 23 const: 1 22 const: 1 24 description: | 23 description: | 25 The OMAP hwspinlock users will use a 0-i 24 The OMAP hwspinlock users will use a 0-indexed relative hwlock number as 26 the argument specifier value for request 25 the argument specifier value for requesting a specific hwspinlock within 27 a hwspinlock bank. 26 a hwspinlock bank. 28 27 29 Please look at the generic hwlock bindin 28 Please look at the generic hwlock binding for usage information for 30 consumers, "Documentation/devicetree/bin 29 consumers, "Documentation/devicetree/bindings/hwlock/hwlock.txt" 31 30 32 required: 31 required: 33 - compatible 32 - compatible 34 - reg 33 - reg 35 - "#hwlock-cells" 34 - "#hwlock-cells" 36 35 37 additionalProperties: false 36 additionalProperties: false 38 37 39 examples: 38 examples: 40 39 41 - | 40 - | 42 spinlock@4a0f6000 { !! 41 /* OMAP4 SoCs */ >> 42 hwspinlock: 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 }; >> 47 >> 48 - | >> 49 / { >> 50 /* K3 AM65x SoCs */ >> 51 model = "Texas Instruments K3 AM654 SoC"; >> 52 compatible = "ti,am654-evm", "ti,am654"; >> 53 #address-cells = <2>; >> 54 #size-cells = <2>; >> 55 >> 56 bus@100000 { >> 57 compatible = "simple-bus"; >> 58 #address-cells = <2>; >> 59 #size-cells = <2>; >> 60 ranges = <0x00 0x00100000 0x00 0x00100000 0x00 0x00020000>, /* ctrl mmr */ >> 61 <0x00 0x30800000 0x00 0x30800000 0x00 0x0bc00000>; /* Main NavSS */ >> 62 >> 63 bus@30800000 { >> 64 compatible = "simple-mfd"; >> 65 #address-cells = <2>; >> 66 #size-cells = <2>; >> 67 ranges = <0x00 0x30800000 0x00 0x30800000 0x00 0x0bc00000>; >> 68 >> 69 spinlock@30e00000 { >> 70 compatible = "ti,am654-hwspinlock"; >> 71 reg = <0x00 0x30e00000 0x00 0x1000>; >> 72 #hwlock-cells = <1>; >> 73 }; >> 74 }; >> 75 }; 46 }; 76 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.