Skip to content

Commit

Permalink
ARM64: dts: meson-gx: add clock CLKID_RNG0 to hwrng node
Browse files Browse the repository at this point in the history
Add clock CLKID_RNG0 to HW randon number generator node.

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
  • Loading branch information
Heiner Kallweit authored and Herbert Xu committed Mar 16, 2017
1 parent e56e12a commit 1b3f6d1
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion arch/arm64/boot/dts/amlogic/meson-gx.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -380,7 +380,7 @@
#size-cells = <2>;
ranges = <0x0 0x0 0x0 0xc8834000 0x0 0x2000>;

rng {
hwrng: rng {
compatible = "amlogic,meson-rng";
reg = <0x0 0x0 0x0 0x4>;
};
Expand Down
5 changes: 5 additions & 0 deletions arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -524,3 +524,8 @@
&vpu {
compatible = "amlogic,meson-gxbb-vpu", "amlogic,meson-gx-vpu";
};

&hwrng {
clocks = <&clkc CLKID_RNG0>;
clock-names = "core";
};

0 comments on commit 1b3f6d1

Please sign in to comment.