[RFC 5/5] arm64: dts: realtek: rtd139x: Add SB2 sem nodes

From: Andreas FÃrber
Date: Mon Dec 02 2019 - 17:05:57 EST


Add DT nodes to SB2 for hardware semaphores in RTD1395 SoC family.

Signed-off-by: Andreas FÃrber <afaerber@xxxxxxx>
---
arch/arm64/boot/dts/realtek/rtd139x.dtsi | 14 ++++++++++++++
1 file changed, 14 insertions(+)

diff --git a/arch/arm64/boot/dts/realtek/rtd139x.dtsi b/arch/arm64/boot/dts/realtek/rtd139x.dtsi
index a3c10ceeb586..586b05350274 100644
--- a/arch/arm64/boot/dts/realtek/rtd139x.dtsi
+++ b/arch/arm64/boot/dts/realtek/rtd139x.dtsi
@@ -191,3 +191,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