Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

arm64: dts: amlogic: a4: 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 A4 SoC:
soc soc0: Amlogic A4 (A113L2) Revision 40:b (1:1) Detected.

Signed-off-by: Xianwei Zhao <xianwei.zhao@amlogic.com>
Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
Acked-by: Conor Dooley <conor.dooley@microchip.com>
Link: https://lore.kernel.org/r/20240719-soc_info-v3-6-020a3b687c0c@amlogic.com
Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>

authored by

Xianwei Zhao and committed by
Neil Armstrong
b2d7fd0e 4c23177c

+8
+8
arch/arm64/boot/dts/amlogic/amlogic-a4-common.dtsi
··· 67 67 clock-names = "xtal", "pclk", "baud"; 68 68 status = "disabled"; 69 69 }; 70 + 71 + sec_ao: ao-secure@10220 { 72 + compatible = "amlogic,a4-ao-secure", 73 + "amlogic,meson-gx-ao-secure", 74 + "syscon"; 75 + reg = <0x0 0x10220 0x0 0x140>; 76 + amlogic,has-chip-id; 77 + }; 70 78 }; 71 79 }; 72 80 };