0001 SPRD Hardware Spinlock Device Binding
0002 -------------------------------------
0003
0004 Required properties :
0005 - compatible : should be "sprd,hwspinlock-r3p0".
0006 - reg : the register address of hwspinlock.
0007 - #hwlock-cells : hwlock users only use the hwlock id to represent a specific
0008 hwlock, so the number of cells should be <1> here.
0009 - clock-names : Must contain "enable".
0010 - clocks : Must contain a phandle entry for the clock in clock-names, see the
0011 common clock bindings.
0012
0013 Please look at the generic hwlock binding for usage information for consumers,
0014 "Documentation/devicetree/bindings/hwlock/hwlock.txt"
0015
0016 Example of hwlock provider:
0017 hwspinlock@40500000 {
0018 compatible = "sprd,hwspinlock-r3p0";
0019 reg = <0 0x40500000 0 0x1000>;
0020 #hwlock-cells = <1>;
0021 clock-names = "enable";
0022 clocks = <&clk_aon_apb_gates0 22>;
0023 };