1*c66ec88fSEmmanuel VadotSIRF Hardware spinlock device Binding 2*c66ec88fSEmmanuel Vadot----------------------------------------------- 3*c66ec88fSEmmanuel Vadot 4*c66ec88fSEmmanuel VadotRequired properties : 5*c66ec88fSEmmanuel Vadot- compatible : shall contain only one of the following: 6*c66ec88fSEmmanuel Vadot "sirf,hwspinlock" 7*c66ec88fSEmmanuel Vadot 8*c66ec88fSEmmanuel Vadot- reg : the register address of hwspinlock 9*c66ec88fSEmmanuel Vadot 10*c66ec88fSEmmanuel Vadot- #hwlock-cells : hwlock users only use the hwlock id to represent a specific 11*c66ec88fSEmmanuel Vadot hwlock, so the number of cells should be <1> here. 12*c66ec88fSEmmanuel Vadot 13*c66ec88fSEmmanuel VadotPlease look at the generic hwlock binding for usage information for consumers, 14*c66ec88fSEmmanuel Vadot"Documentation/devicetree/bindings/hwlock/hwlock.txt" 15*c66ec88fSEmmanuel Vadot 16*c66ec88fSEmmanuel VadotExample of hwlock provider: 17*c66ec88fSEmmanuel Vadot hwlock { 18*c66ec88fSEmmanuel Vadot compatible = "sirf,hwspinlock"; 19*c66ec88fSEmmanuel Vadot reg = <0x13240000 0x00010000>; 20*c66ec88fSEmmanuel Vadot #hwlock-cells = <1>; 21*c66ec88fSEmmanuel Vadot }; 22*c66ec88fSEmmanuel Vadot 23*c66ec88fSEmmanuel VadotExample of hwlock users: 24*c66ec88fSEmmanuel Vadot node { 25*c66ec88fSEmmanuel Vadot ... 26*c66ec88fSEmmanuel Vadot hwlocks = <&hwlock 2>; 27*c66ec88fSEmmanuel Vadot ... 28*c66ec88fSEmmanuel Vadot }; 29