[PATCH 3/4] arm: dts: owl-s500: Add socinfo support

Cristian Ciocaltea cristian.ciocaltea at gmail.com
Fri Mar 19 18:28:01 GMT 2021


Update soc node compatible property to enable support for the Actions
Semi Owl soc info driver.

Additionally provide memory addresses where the serial number parts are
accessible.

Signed-off-by: Cristian Ciocaltea <cristian.ciocaltea at gmail.com>
---
 arch/arm/boot/dts/owl-s500.dtsi | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/arch/arm/boot/dts/owl-s500.dtsi b/arch/arm/boot/dts/owl-s500.dtsi
index 739b4b9cec8c..07a165918de9 100644
--- a/arch/arm/boot/dts/owl-s500.dtsi
+++ b/arch/arm/boot/dts/owl-s500.dtsi
@@ -80,10 +80,12 @@ losc: losc {
 	};
 
 	soc {
-		compatible = "simple-bus";
+		compatible = "actions,s500-soc", "simple-bus";
 		#address-cells = <1>;
 		#size-cells = <1>;
 		ranges;
+		actions,serial-number-addrs = <0x800>, /* S/N Low */
+					      <0x804>; /* S/N High */
 
 		scu: scu at b0020000 {
 			compatible = "arm,cortex-a9-scu";
-- 
2.31.0




More information about the linux-arm-kernel mailing list