[PATCH v2 4/6] arm: dts: owl-s500: Add reserved-memory range for Owl SoC serial number

From: Cristian Ciocaltea
Date: Tue Mar 30 2021 - 09:49:28 EST


Provide access to the reserved memory region where the Actions Semi Owl
S500 SoC serial number can be read from.

Signed-off-by: Cristian Ciocaltea <cristian.ciocaltea@xxxxxxxxx>
---
arch/arm/boot/dts/owl-s500.dtsi | 11 +++++++++++
1 file changed, 11 insertions(+)

diff --git a/arch/arm/boot/dts/owl-s500.dtsi b/arch/arm/boot/dts/owl-s500.dtsi
index 739b4b9cec8c..e4c61a9c6e39 100644
--- a/arch/arm/boot/dts/owl-s500.dtsi
+++ b/arch/arm/boot/dts/owl-s500.dtsi
@@ -23,6 +23,17 @@ aliases {
chosen {
};

+ reserved-memory {
+ #address-cells = <1>;
+ #size-cells = <1>;
+ ranges;
+
+ soc_serial: soc-serial@800 {
+ compatible = "actions,s500-soc-serial", "actions,owl-soc-serial";
+ reg = <0x800 0x8>;
+ };
+ };
+
cpus {
#address-cells = <1>;
#size-cells = <0>;
--
2.31.1