Message ID | 20240719-soc_info-v3-5-020a3b687c0c@amlogic.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | Add new Amlogic SoCs info defines. | expand |
On 19/07/2024 10:08, Xianwei Zhao via B4 Relay wrote: > From: Xianwei Zhao <xianwei.zhao@amlogic.com> > > 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 T7 SoC: > soc soc0: Amlogic T7 (A311D2) Revision 36:c (1:1) Detected. > > Signed-off-by: Xianwei Zhao <xianwei.zhao@amlogic.com> > --- > arch/arm64/boot/dts/amlogic/amlogic-t7.dtsi | 8 ++++++++ > 1 file changed, 8 insertions(+) > > diff --git a/arch/arm64/boot/dts/amlogic/amlogic-t7.dtsi b/arch/arm64/boot/dts/amlogic/amlogic-t7.dtsi > index c23efc6c7ac0..ec743cad57db 100644 > --- a/arch/arm64/boot/dts/amlogic/amlogic-t7.dtsi > +++ b/arch/arm64/boot/dts/amlogic/amlogic-t7.dtsi > @@ -194,6 +194,14 @@ uart_a: serial@78000 { > interrupts = <GIC_SPI 168 IRQ_TYPE_EDGE_RISING>; > status = "disabled"; > }; > + > + sec_ao: ao-secure@10220 { > + compatible = "amlogic,t7-ao-secure", > + "amlogic,meson-gx-ao-secure", > + "syscon"; > + reg = <0x0 0x10220 0x0 0x140>; > + amlogic,has-chip-id; > + }; > }; > > }; > Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
diff --git a/arch/arm64/boot/dts/amlogic/amlogic-t7.dtsi b/arch/arm64/boot/dts/amlogic/amlogic-t7.dtsi index c23efc6c7ac0..ec743cad57db 100644 --- a/arch/arm64/boot/dts/amlogic/amlogic-t7.dtsi +++ b/arch/arm64/boot/dts/amlogic/amlogic-t7.dtsi @@ -194,6 +194,14 @@ uart_a: serial@78000 { interrupts = <GIC_SPI 168 IRQ_TYPE_EDGE_RISING>; status = "disabled"; }; + + sec_ao: ao-secure@10220 { + compatible = "amlogic,t7-ao-secure", + "amlogic,meson-gx-ao-secure", + "syscon"; + reg = <0x0 0x10220 0x0 0x140>; + amlogic,has-chip-id; + }; }; };