Path: blob/main/sys/contrib/device-tree/Bindings/hwlock/sprd-hwspinlock.txt
48375 views
SPRD Hardware Spinlock Device Binding1-------------------------------------23Required 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 specific7hwlock, 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 the10common clock bindings.1112Please look at the generic hwlock binding for usage information for consumers,13"Documentation/devicetree/bindings/hwlock/hwlock.txt"1415Example of hwlock provider:16hwspinlock@40500000 {17compatible = "sprd,hwspinlock-r3p0";18reg = <0 0x40500000 0 0x1000>;19#hwlock-cells = <1>;20clock-names = "enable";21clocks = <&clk_aon_apb_gates0 22>;22};232425