dt-bindings: hwlock: Update OMAP binding for TI K3 AM65x SoCs
authorSuman Anna <s-anna@ti.com>
Wed, 12 Sep 2018 16:03:00 +0000 (11:03 -0500)
committerSuman Anna <s-anna@ti.com>
Tue, 11 Dec 2018 18:08:01 +0000 (12:08 -0600)
The TI K3 AM65x family of SoCs have a HwSpinlock IP that is based
on the existing HwSpinlock IP present in OMAP architecture based
SoCs. Update the existing OMAP HwSpinlock binding for this IP on
TI K3 AM65x SoCs.

Signed-off-by: Suman Anna <s-anna@ti.com>
Documentation/devicetree/bindings/hwlock/omap-hwspinlock.txt

index 2c9804f4f4ac1cd206f6eff8fe5bae8c8d0d02ac..91d6878ae250cb86530c11d30f4ae99cea1068ab 100644 (file)
@@ -1,12 +1,16 @@
-OMAP4+ HwSpinlock Driver
-========================
+TI HwSpinlock for OMAP and K3 based SoCs
+=========================================
 
 Required properties:
-- compatible:          Should be "ti,omap4-hwspinlock" for
-                           OMAP44xx, OMAP54xx, AM33xx, AM43xx, DRA7xx SoCs
+- compatible:          Should be one of the following,
+                         "ti,omap4-hwspinlock" for
+                               OMAP44xx, OMAP54xx, AM33xx, AM43xx, DRA7xx SoCs
+                         "ti,am654-hwspinlock" for
+                               K3 AM65x SoCs
 - reg:                 Contains the hwspinlock module register address space
                        (base address and length)
 - ti,hwmods:           Name of the hwmod associated with the hwspinlock device
+                       (for OMAP architecture based SoCs only)
 - #hwlock-cells:       Should be 1. The OMAP hwspinlock users will use a
                        0-indexed relative hwlock number as the argument
                        specifier value for requesting a specific hwspinlock
@@ -17,10 +21,19 @@ Please look at the generic hwlock binding for usage information for consumers,
 
 Example:
 
-/* OMAP4 */
+1. OMAP4 SoCs
 hwspinlock: spinlock@4a0f6000 {
        compatible = "ti,omap4-hwspinlock";
        reg = <0x4a0f6000 0x1000>;
        ti,hwmods = "spinlock";
        #hwlock-cells = <1>;
 };
+
+2. AM65x SoCs
+&cbass_main {
+       hwspinlock: spinlock@30e00000 {
+               compatible = "ti,am654-hwspinlock";
+               reg = <0x00 0x30e00000 0x00 0x1000>;
+               #hwlock-cells = <1>;
+       };
+};