diff options
author | Scott K Logan <logans@cottsay.net> | 2020-09-25 01:43:53 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-11-10 12:37:29 +0100 |
commit | 3283d4d78412e9097c6fa3cfad34876bc26f52b2 (patch) | |
tree | 7172d999bb6a132ad35d6a710b6720db6891fc33 | |
parent | 69e0e917c7c85e88cd63954a9b6366e7c157c727 (diff) | |
download | linux-stable-3283d4d78412e9097c6fa3cfad34876bc26f52b2.tar.gz linux-stable-3283d4d78412e9097c6fa3cfad34876bc26f52b2.tar.bz2 linux-stable-3283d4d78412e9097c6fa3cfad34876bc26f52b2.zip |
arm64: dts: meson: add missing g12 rng clock
[ Upstream commit a1afbbb0285797e01313779c71287d936d069245 ]
This adds the missing perpheral clock for the RNG for Amlogic G12. As
stated in amlogic,meson-rng.yaml, this isn't always necessary for the
RNG to function, but is better to have in case the clock is disabled for
some reason prior to loading.
Signed-off-by: Scott K Logan <logans@cottsay.net>
Suggested-by: Neil Armstrong <narmstrong@baylibre.com>
Reviewed-by: Neil Armstrong <narmstrong@baylibre.com>
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
Link: https://lore.kernel.org/r/520a1a8ec7a958b3d918d89563ec7e93a4100a45.camel@cottsay.net
Signed-off-by: Sasha Levin <sashal@kernel.org>
-rw-r--r-- | arch/arm64/boot/dts/amlogic/meson-g12-common.dtsi | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/amlogic/meson-g12-common.dtsi b/arch/arm64/boot/dts/amlogic/meson-g12-common.dtsi index 1234bc797429..354ef2f3eac6 100644 --- a/arch/arm64/boot/dts/amlogic/meson-g12-common.dtsi +++ b/arch/arm64/boot/dts/amlogic/meson-g12-common.dtsi @@ -167,6 +167,8 @@ hwrng: rng@218 { compatible = "amlogic,meson-rng"; reg = <0x0 0x218 0x0 0x4>; + clocks = <&clkc CLKID_RNG0>; + clock-names = "core"; }; }; |