blob: 581db9d941bad570334103f457971f0bb1cfe397 [file] [log] [blame]
Tom Rini53633a82024-02-29 12:33:36 -05001SPRD Hardware Spinlock Device Binding
2-------------------------------------
3
4Required properties :
5- compatible : should be "sprd,hwspinlock-r3p0".
6- reg : the register address of hwspinlock.
7- #hwlock-cells : hwlock users only use the hwlock id to represent a specific
8 hwlock, so the number of cells should be <1> here.
9- clock-names : Must contain "enable".
10- clocks : Must contain a phandle entry for the clock in clock-names, see the
11 common clock bindings.
12
13Please look at the generic hwlock binding for usage information for consumers,
14"Documentation/devicetree/bindings/hwlock/hwlock.txt"
15
16Example of hwlock provider:
17 hwspinlock@40500000 {
18 compatible = "sprd,hwspinlock-r3p0";
19 reg = <0 0x40500000 0 0x1000>;
20 #hwlock-cells = <1>;
21 clock-names = "enable";
22 clocks = <&clk_aon_apb_gates0 22>;
23 };