Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
freebsd
GitHub Repository: freebsd/freebsd-src
Path: blob/main/sys/contrib/device-tree/Bindings/hwlock/omap-hwspinlock.txt
48375 views
1
TI HwSpinlock for OMAP and K3 based SoCs
2
=========================================
3
4
Required 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
19
Please look at the generic hwlock binding for usage information for consumers,
20
"Documentation/devicetree/bindings/hwlock/hwlock.txt"
21
22
Example:
23
24
1. OMAP4 SoCs
25
hwspinlock: spinlock@4a0f6000 {
26
compatible = "ti,omap4-hwspinlock";
27
reg = <0x4a0f6000 0x1000>;
28
ti,hwmods = "spinlock";
29
#hwlock-cells = <1>;
30
};
31
32
2. 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
43