xref: /freebsd/sys/contrib/device-tree/Bindings/hwlock/sprd-hwspinlock.txt (revision e6bfd18d21b225af6a0ed67ceeaf1293b7b9eba5)
1SPRD 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	};
24