2019-12-02 22:07:31

by Andreas Färber

[permalink] [raw]
Subject: [RFC 4/5] arm64: dts: realtek: rtd129x: Add SB2 sem nodes

Add DT nodes to SB2 for hardware sempaphores in RTD1295 SoC family.

Signed-off-by: Andreas Färber <[email protected]>
---
arch/arm64/boot/dts/realtek/rtd129x.dtsi | 14 ++++++++++++++
1 file changed, 14 insertions(+)

diff --git a/arch/arm64/boot/dts/realtek/rtd129x.dtsi b/arch/arm64/boot/dts/realtek/rtd129x.dtsi
index 39aefe66a794..93ab6fdd03d4 100644
--- a/arch/arm64/boot/dts/realtek/rtd129x.dtsi
+++ b/arch/arm64/boot/dts/realtek/rtd129x.dtsi
@@ -193,3 +193,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