[RFC 3/5] ARM: dts: rtd1195: Add SB2 sem nodes
From: Andreas FÃrber
Date: Mon Dec 02 2019 - 17:06:04 EST
Add DT nodes to SB2 for hardware semaphores on RTD1195 SoC.
Signed-off-by: Andreas FÃrber <afaerber@xxxxxxx>
---
arch/arm/boot/dts/rtd1195.dtsi | 14 ++++++++++++++
1 file changed, 14 insertions(+)
diff --git a/arch/arm/boot/dts/rtd1195.dtsi b/arch/arm/boot/dts/rtd1195.dtsi
index 21897210d9d0..6fd12a2d766e 100644
--- a/arch/arm/boot/dts/rtd1195.dtsi
+++ b/arch/arm/boot/dts/rtd1195.dtsi
@@ -215,3 +215,17 @@
status = "disabled";
};
};
+
+&sb2 {
+ sb2_hd_sem: hwspinlock@0 {
+ compatible = "realtek,rtd1195-sb2-sem";
+ reg = <0x0 0x4>;
+ #hwlock-cells = <0>;
+ };
+
+ sb2_hd_sem_new: hwspinlock@620 {
+ compatible = "realtek,rtd1195-sb2-sem";
+ reg = <0x620 0x20>;
+ #hwlock-cells = <1>;
+ };
+};
--
2.16.4