xref: /freebsd/sys/contrib/device-tree/Bindings/hwlock/omap-hwspinlock.txt (revision e6bfd18d21b225af6a0ed67ceeaf1293b7b9eba5)
1TI HwSpinlock for OMAP and K3 based SoCs
2=========================================
3
4Required properties:
5- compatible:		Should be one of the following,
6			  "ti,omap4-hwspinlock" for
7				OMAP44xx, OMAP54xx, AM33xx, AM43xx, DRA7xx SoCs
8			  "ti,am654-hwspinlock" for
9				K3 AM65x and J721E SoCs
10- reg:			Contains the hwspinlock module register address space
11			(base address and length)
12- ti,hwmods:		Name of the hwmod associated with the hwspinlock device
13			(for OMAP architecture based SoCs only)
14- #hwlock-cells:	Should be 1. The OMAP hwspinlock users will use a
15			0-indexed relative hwlock number as the argument
16			specifier value for requesting a specific hwspinlock
17			within a hwspinlock bank.
18
19Please look at the generic hwlock binding for usage information for consumers,
20"Documentation/devicetree/bindings/hwlock/hwlock.txt"
21
22Example:
23
241. OMAP4 SoCs
25hwspinlock: spinlock@4a0f6000 {
26	compatible = "ti,omap4-hwspinlock";
27	reg = <0x4a0f6000 0x1000>;
28	ti,hwmods = "spinlock";
29	#hwlock-cells = <1>;
30};
31
322. AM65x SoCs and J721E SoCs
33&cbass_main {
34	cbass_main_navss: interconnect0 {
35		hwspinlock: spinlock@30e00000 {
36			compatible = "ti,am654-hwspinlock";
37			reg = <0x00 0x30e00000 0x00 0x1000>;
38			#hwlock-cells = <1>;
39		};
40	};
41};
42