1*c66ec88fSEmmanuel VadotTI HwSpinlock for OMAP and K3 based SoCs 2*c66ec88fSEmmanuel Vadot========================================= 3*c66ec88fSEmmanuel Vadot 4*c66ec88fSEmmanuel VadotRequired properties: 5*c66ec88fSEmmanuel Vadot- compatible: Should be one of the following, 6*c66ec88fSEmmanuel Vadot "ti,omap4-hwspinlock" for 7*c66ec88fSEmmanuel Vadot OMAP44xx, OMAP54xx, AM33xx, AM43xx, DRA7xx SoCs 8*c66ec88fSEmmanuel Vadot "ti,am654-hwspinlock" for 9*c66ec88fSEmmanuel Vadot K3 AM65x and J721E SoCs 10*c66ec88fSEmmanuel Vadot- reg: Contains the hwspinlock module register address space 11*c66ec88fSEmmanuel Vadot (base address and length) 12*c66ec88fSEmmanuel Vadot- ti,hwmods: Name of the hwmod associated with the hwspinlock device 13*c66ec88fSEmmanuel Vadot (for OMAP architecture based SoCs only) 14*c66ec88fSEmmanuel Vadot- #hwlock-cells: Should be 1. The OMAP hwspinlock users will use a 15*c66ec88fSEmmanuel Vadot 0-indexed relative hwlock number as the argument 16*c66ec88fSEmmanuel Vadot specifier value for requesting a specific hwspinlock 17*c66ec88fSEmmanuel Vadot within a hwspinlock bank. 18*c66ec88fSEmmanuel Vadot 19*c66ec88fSEmmanuel VadotPlease look at the generic hwlock binding for usage information for consumers, 20*c66ec88fSEmmanuel Vadot"Documentation/devicetree/bindings/hwlock/hwlock.txt" 21*c66ec88fSEmmanuel Vadot 22*c66ec88fSEmmanuel VadotExample: 23*c66ec88fSEmmanuel Vadot 24*c66ec88fSEmmanuel Vadot1. OMAP4 SoCs 25*c66ec88fSEmmanuel Vadothwspinlock: spinlock@4a0f6000 { 26*c66ec88fSEmmanuel Vadot compatible = "ti,omap4-hwspinlock"; 27*c66ec88fSEmmanuel Vadot reg = <0x4a0f6000 0x1000>; 28*c66ec88fSEmmanuel Vadot ti,hwmods = "spinlock"; 29*c66ec88fSEmmanuel Vadot #hwlock-cells = <1>; 30*c66ec88fSEmmanuel Vadot}; 31*c66ec88fSEmmanuel Vadot 32*c66ec88fSEmmanuel Vadot2. AM65x SoCs and J721E SoCs 33*c66ec88fSEmmanuel Vadot&cbass_main { 34*c66ec88fSEmmanuel Vadot cbass_main_navss: interconnect0 { 35*c66ec88fSEmmanuel Vadot hwspinlock: spinlock@30e00000 { 36*c66ec88fSEmmanuel Vadot compatible = "ti,am654-hwspinlock"; 37*c66ec88fSEmmanuel Vadot reg = <0x00 0x30e00000 0x00 0x1000>; 38*c66ec88fSEmmanuel Vadot #hwlock-cells = <1>; 39*c66ec88fSEmmanuel Vadot }; 40*c66ec88fSEmmanuel Vadot }; 41*c66ec88fSEmmanuel Vadot}; 42