ARM: dts: Configure omap3 rng
authorTony Lindgren <tony@atomide.com>
Wed, 23 Oct 2019 18:39:42 +0000 (11:39 -0700)
committerTony Lindgren <tony@atomide.com>
Wed, 30 Oct 2019 15:14:03 +0000 (08:14 -0700)
commit308607e5545f964ad3917919201ce4d9491f7fdb
tree6fd04ebb3e24110a0e083ac474c7560f39ba95ba
parent54ecb8f7028c5eb3d740bb82b0f1d90f2df63c5c
ARM: dts: Configure omap3 rng

Looks like omap3 RNG is similar to the omap2 rng, let's get it working
by configring the dts node for it.

We must also add rng_ick to core_l4_clkdm as noted by Adam Ford.

And please note that the RNG is likely disabled on HS devices. At least
n900 does not have it accessible, and instead omap3-rom-rng driver must
be used. So let's tag RNG as disabled on n900 as noted by Pali Rohár
<pali.rohar@gmail.com>.

On am3517 at least the clocks need to be configured to get it working
as noted by Adam Ford, so let's tag it disabled for now.

Cc: Aaro Koskinen <aaro.koskinen@iki.fi>
Cc: Adam Ford <aford173@gmail.com>
Cc: Pali Rohár <pali.rohar@gmail.com>
Cc: Sebastian Reichel <sre@kernel.org>
Cc: Tero Kristo <t-kristo@ti.com>
Tested-by: Adam Ford <aford173@gmail.com> #logicpd-torpedo-37xx-devkit
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/boot/dts/am3517.dtsi
arch/arm/boot/dts/omap3-n900.dts
arch/arm/boot/dts/omap3.dtsi
arch/arm/boot/dts/omap34xx-omap36xx-clocks.dtsi