Meson A1: add HW RNG and AO Secure nodes
Subsystems (2)
v2 cover Meson A1: add HW RNG and AO Secure nodes
Hello!
This patchest adds HW RNG and AO Secure definition in device tree for Amlogic A1-series.
V2:
- Rebased over latest amlogic U-Boot branch.
Alexey Romanov (2):
meson-a1: dts: add hw rng node
meson-a1: dts: add ao secure node
arch/arm/dts/meson-a1.dtsi | 11 +++++++++++ 1 file changed, 11 insertions(+)
Signature · 1 line
2.25.1
PATCH v2 1/2 meson-a1: dts: add hw rng node
Add support for hardware random number generator
of Amlogic Meson SoCs.
--- arch/arm/dts/meson-a1.dtsi | 5 +++++ 1 file changed, 5 insertions(+)
arch/arm/dts/meson-a1.dtsi +5 -0
@@ -124,6 +124,11 @@ clock-names = "xtal", "pclk", "baud"; status = "disabled"; }; + + hwrng: rng@5118 { + compatible = "amlogic,meson-rng"; + reg = <0x0 0x5118 0x0 0x4>; + }; }; gic: interrupt-controller@ff901000 {
Signature · 1 line
2.25.1
PATCH v2 2/2 meson-a1: dts: add ao secure node
In reply to Alexey Romanovao-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)
--- arch/arm/dts/meson-a1.dtsi | 6 ++++++ 1 file changed, 6 insertions(+)
arch/arm/dts/meson-a1.dtsi +6 -0
@@ -129,6 +129,12 @@ 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 {
Signature · 1 line
2.25.1
[email protected]
maintainerFrom: Neil Armstrong <[email protected]>
Hi,
Quoted 8 lines · Alexey Romanov
This patchest adds HW RNG and AO Secure definition in device tree for Amlogic A1-series.
V2:
- Rebased over latest amlogic U-Boot branch.
[...]
Thanks, Applied to https://source.denx.de/u-boot/custodians/u-boot-amlogic (u-boot-amlogic)
[1/2] meson-a1: dts: add hw rng node
https://source.denx.de/u-boot/custodians/u-boot-amlogic/-/commit/87dfb37d54e59f89b61d43970861ad81d66f38ca [2/2] meson-a1: dts: add ao secure node https://source.denx.de/u-boot/custodians/u-boot-amlogic/-/commit/7b4116f8f78f73906da59cbc93c7874948323e4b
Signature · 1 line
Neil