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 /* OMAP4 SoCs */ >> 43 hwspinlock: spinlock@4a0f6000 { 43 compatible = "ti,omap4-hwspinlock"; 44 compatible = "ti,omap4-hwspinlock"; 44 reg = <0x4a0f6000 0x1000>; 45 reg = <0x4a0f6000 0x1000>; 45 #hwlock-cells = <1>; 46 #hwlock-cells = <1>; >> 47 }; >> 48 >> 49 - | >> 50 / { >> 51 /* K3 AM65x SoCs */ >> 52 model = "Texas Instruments K3 AM654 SoC"; >> 53 compatible = "ti,am654-evm", "ti,am654"; >> 54 #address-cells = <2>; >> 55 #size-cells = <2>; >> 56 >> 57 bus@100000 { >> 58 compatible = "simple-bus"; >> 59 #address-cells = <2>; >> 60 #size-cells = <2>; >> 61 ranges = <0x00 0x00100000 0x00 0x00100000 0x00 0x00020000>, /* ctrl mmr */ >> 62 <0x00 0x30800000 0x00 0x30800000 0x00 0x0bc00000>; /* Main NavSS */ >> 63 >> 64 bus@30800000 { >> 65 compatible = "simple-mfd"; >> 66 #address-cells = <2>; >> 67 #size-cells = <2>; >> 68 ranges = <0x00 0x30800000 0x00 0x30800000 0x00 0x0bc00000>; >> 69 >> 70 spinlock@30e00000 { >> 71 compatible = "ti,am654-hwspinlock"; >> 72 reg = <0x00 0x30e00000 0x00 0x1000>; >> 73 #hwlock-cells = <1>; >> 74 }; >> 75 }; >> 76 }; 46 }; 77 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.