[PATCH v1 1/2] meson-a1: dts: add hw rng node

Alexey Romanov AVRomanov at sberdevices.ru
Fri Jun 23 12:57:25 CEST 2023


On Thu, Jun 22, 2023 at 06:19:33PM +0200, neil.armstrong at linaro.org wrote:
> On 21/06/2023 15:29, Alexey Romanov wrote:
> > Add support for hardware random number generator
> > of Amlogic Meson SoCs.
> > 
> > Signed-off-by: Alexey Romanov <avromanov at sberdevices.ru>
> > ---
> >   arch/arm/dts/meson-a1.dtsi | 5 +++++
> >   1 file changed, 5 insertions(+)
> > 
> > diff --git a/arch/arm/dts/meson-a1.dtsi b/arch/arm/dts/meson-a1.dtsi
> > index f3560cbc3a4..1f57c137384 100644
> > --- a/arch/arm/dts/meson-a1.dtsi
> > +++ b/arch/arm/dts/meson-a1.dtsi
> > @@ -140,6 +140,11 @@
> >   				clock-names = "xtal", "pclk", "baud";
> >   				status = "disabled";
> >   			};
> > +
> > +			hwrng: rng at 5118 {
> > +				compatible = "amlogic,meson-rng";
> > +				reg = <0x0 0x5118 0x0 0x4>;
> > +			};
> >   		};
> >   		gic: interrupt-controller at ff901000 {
> 
> Weird, you introduced amlogic,meson-rng-s4 previously but you don't use it here ?
> 
> Anyway please add those to Linux first, them sync the DT to u-boot afterwards,
> 
> Thanks,
> Neil

The patch updates the functionality of A1 and the previous one for S4.
It seemed logical to me to add changes in different patchsets.

Yeah, I will send changes first for Linux dts. Thank you.

-- 
Thank you,
Alexey


More information about the U-Boot mailing list