[PATCH v2 1/3] arm64: dts: ti: k3-am64-main: Add hwspinlock node

Suman Anna s-anna at ti.com
Mon Mar 22 18:54:28 GMT 2021


The AM64x SoC contains a HwSpinlock IP instance that is a minor variant
of the IP on existing TI K3 SoCs such as AM65x, J721E or J7200 SoCs.
Add the DT node for this on AM64x SoCs. The node is present within the
MAIN domain, and is added as a child node under the cbass_main node.

Signed-off-by: Suman Anna <s-anna at ti.com>
Reviewed-by: Gowtham Tammana <g-tammana at ti.com>
---
 arch/arm64/boot/dts/ti/k3-am64-main.dtsi | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/arch/arm64/boot/dts/ti/k3-am64-main.dtsi b/arch/arm64/boot/dts/ti/k3-am64-main.dtsi
index a03b66456062..b34b98969b47 100644
--- a/arch/arm64/boot/dts/ti/k3-am64-main.dtsi
+++ b/arch/arm64/boot/dts/ti/k3-am64-main.dtsi
@@ -563,4 +563,10 @@ ospi0: spi at fc40000 {
 			power-domains = <&k3_pds 75 TI_SCI_PD_EXCLUSIVE>;
 		};
 	};
+
+	hwspinlock: spinlock at 2a000000 {
+		compatible = "ti,am64-hwspinlock";
+		reg = <0x00 0x2a000000 0x00 0x1000>;
+		#hwlock-cells = <1>;
+	};
 };
-- 
2.30.1




More information about the linux-arm-kernel mailing list