]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
meson-a1: dts: add ao secure node
authorAlexey Romanov <avromanov@salutedevices.com>
Tue, 10 Oct 2023 10:06:17 +0000 (13:06 +0300)
committerNeil Armstrong <neil.armstrong@linaro.org>
Thu, 12 Oct 2023 11:39:41 +0000 (13:39 +0200)
ao-secure node can be used to get information about the board,
so, for example, using show_board_info() we can get following
information for board with Meson A1 SoC:

SoC: Amlogic Meson A1 (A113L) Revision 2c:a (1:a)

Signed-off-by: Alexey Romanov <avromanov@salutedevices.com>
Link: https://lore.kernel.org/r/20231010100623.74475-3-avromanov@salutedevices.com
Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
arch/arm/dts/meson-a1.dtsi

index e6e72d40043ecc4f24c500e213f2ee82976c794b..e3a42c5b248def5afcd8bfcad5fee319bfcf914d 100644 (file)
                                compatible = "amlogic,meson-rng";
                                reg = <0x0 0x5118 0x0 0x4>;
                        };
+
+                       sec_AO: ao-secure@5a20 {
+                               compatible = "amlogic,meson-gx-ao-secure", "syscon";
+                               reg = <0x0 0x5a20 0x0 0x140>;
+                               amlogic,has-chip-id;
+                       };
                };
 
                gic: interrupt-controller@ff901000 {