sprd-hwspinlock.txt 812 B

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