1*aa1a8ff2SEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 26be33864SEmmanuel Vadot%YAML 1.2 36be33864SEmmanuel Vadot--- 46be33864SEmmanuel Vadot$id: http://devicetree.org/schemas/hwlock/ti,omap-hwspinlock.yaml# 56be33864SEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml# 66be33864SEmmanuel Vadot 76be33864SEmmanuel Vadottitle: TI HwSpinlock for OMAP and K3 based SoCs 86be33864SEmmanuel Vadot 96be33864SEmmanuel Vadotmaintainers: 106be33864SEmmanuel Vadot - Suman Anna <s-anna@ti.com> 116be33864SEmmanuel Vadot 126be33864SEmmanuel Vadotproperties: 136be33864SEmmanuel Vadot compatible: 146be33864SEmmanuel Vadot enum: 156be33864SEmmanuel Vadot - ti,omap4-hwspinlock # for OMAP44xx, OMAP54xx, AM33xx, AM43xx, DRA7xx SoCs 165def4c47SEmmanuel Vadot - ti,am64-hwspinlock # for K3 AM64x SoCs 176be33864SEmmanuel Vadot - ti,am654-hwspinlock # for K3 AM65x, J721E and J7200 SoCs 186be33864SEmmanuel Vadot 196be33864SEmmanuel Vadot reg: 206be33864SEmmanuel Vadot maxItems: 1 216be33864SEmmanuel Vadot 226be33864SEmmanuel Vadot "#hwlock-cells": 236be33864SEmmanuel Vadot const: 1 246be33864SEmmanuel Vadot description: | 256be33864SEmmanuel Vadot The OMAP hwspinlock users will use a 0-indexed relative hwlock number as 266be33864SEmmanuel Vadot the argument specifier value for requesting a specific hwspinlock within 276be33864SEmmanuel Vadot a hwspinlock bank. 286be33864SEmmanuel Vadot 296be33864SEmmanuel Vadot Please look at the generic hwlock binding for usage information for 306be33864SEmmanuel Vadot consumers, "Documentation/devicetree/bindings/hwlock/hwlock.txt" 316be33864SEmmanuel Vadot 326be33864SEmmanuel Vadotrequired: 336be33864SEmmanuel Vadot - compatible 346be33864SEmmanuel Vadot - reg 356be33864SEmmanuel Vadot - "#hwlock-cells" 366be33864SEmmanuel Vadot 376be33864SEmmanuel VadotadditionalProperties: false 386be33864SEmmanuel Vadot 396be33864SEmmanuel Vadotexamples: 406be33864SEmmanuel Vadot 416be33864SEmmanuel Vadot - | 42c9ccf3a3SEmmanuel Vadot spinlock@4a0f6000 { 436be33864SEmmanuel Vadot compatible = "ti,omap4-hwspinlock"; 446be33864SEmmanuel Vadot reg = <0x4a0f6000 0x1000>; 456be33864SEmmanuel Vadot #hwlock-cells = <1>; 466be33864SEmmanuel Vadot }; 47