0001 # SPDX-License-Identifier: (GPL-2.0-only or BSD-2-Clause)
0002 %YAML 1.2
0003 ---
0004 $id: http://devicetree.org/schemas/hwlock/ti,omap-hwspinlock.yaml#
0005 $schema: http://devicetree.org/meta-schemas/core.yaml#
0006
0007 title: TI HwSpinlock for OMAP and K3 based SoCs
0008
0009 maintainers:
0010 - Suman Anna <s-anna@ti.com>
0011
0012 properties:
0013 compatible:
0014 enum:
0015 - ti,omap4-hwspinlock # for OMAP44xx, OMAP54xx, AM33xx, AM43xx, DRA7xx SoCs
0016 - ti,am64-hwspinlock # for K3 AM64x SoCs
0017 - ti,am654-hwspinlock # for K3 AM65x, J721E and J7200 SoCs
0018
0019 reg:
0020 maxItems: 1
0021
0022 "#hwlock-cells":
0023 const: 1
0024 description: |
0025 The OMAP hwspinlock users will use a 0-indexed relative hwlock number as
0026 the argument specifier value for requesting a specific hwspinlock within
0027 a hwspinlock bank.
0028
0029 Please look at the generic hwlock binding for usage information for
0030 consumers, "Documentation/devicetree/bindings/hwlock/hwlock.txt"
0031
0032 required:
0033 - compatible
0034 - reg
0035 - "#hwlock-cells"
0036
0037 additionalProperties: false
0038
0039 examples:
0040
0041 - |
0042 spinlock@4a0f6000 {
0043 compatible = "ti,omap4-hwspinlock";
0044 reg = <0x4a0f6000 0x1000>;
0045 #hwlock-cells = <1>;
0046 };