aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXianwei Zhao <[email protected]>2024-07-19 16:08:12 +0800
committerNeil Armstrong <[email protected]>2024-08-20 17:26:52 +0200
commit84ed73ee34d152032633e540f159c482ede4c10b (patch)
treec99b194a7906e846ba40aa140606ef06c007707b
parent4b26afe7d216183bcb2b1aa2c0096cafdf7a9ea2 (diff)
arm64: dts: amlogic: c3: add ao secure node
Add node for board info registers, which allows getting SoC family and board revision. For example, with MESON_GX_SOCINFO config enabled we can get the following information for board with Amlogic C3 SoC: soc soc0: Amlogic C3 (C308L) Revision 3d:a (1:1) Detected Signed-off-by: Xianwei Zhao <[email protected]> Reviewed-by: Neil Armstrong <[email protected]> Acked-by: Conor Dooley <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Neil Armstrong <[email protected]>
-rw-r--r--arch/arm64/boot/dts/amlogic/amlogic-c3.dtsi7
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/amlogic/amlogic-c3.dtsi b/arch/arm64/boot/dts/amlogic/amlogic-c3.dtsi
index f8fb060c49ae..c913dd409e64 100644
--- a/arch/arm64/boot/dts/amlogic/amlogic-c3.dtsi
+++ b/arch/arm64/boot/dts/amlogic/amlogic-c3.dtsi
@@ -129,6 +129,13 @@
clock-names = "xtal", "pclk", "baud";
};
+ sec_ao: ao-secure@10220 {
+ compatible = "amlogic,c3-ao-secure",
+ "amlogic,meson-gx-ao-secure",
+ "syscon";
+ reg = <0x0 0x10220 0x0 0x140>;
+ amlogic,has-chip-id;
+ };
};
};
};