Skip to content

Commit 1b3f6d1

Browse files
hkallweitherbertx
authored andcommitted
ARM64: dts: meson-gx: add clock CLKID_RNG0 to hwrng node
Add clock CLKID_RNG0 to HW randon number generator node. Signed-off-by: Heiner Kallweit <[email protected]> Signed-off-by: Herbert Xu <[email protected]>
1 parent e56e12a commit 1b3f6d1

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

arch/arm64/boot/dts/amlogic/meson-gx.dtsi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -380,7 +380,7 @@
380380
#size-cells = <2>;
381381
ranges = <0x0 0x0 0x0 0xc8834000 0x0 0x2000>;
382382

383-
rng {
383+
hwrng: rng {
384384
compatible = "amlogic,meson-rng";
385385
reg = <0x0 0x0 0x0 0x4>;
386386
};

arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -524,3 +524,8 @@
524524
&vpu {
525525
compatible = "amlogic,meson-gxbb-vpu", "amlogic,meson-gx-vpu";
526526
};
527+
528+
&hwrng {
529+
clocks = <&clkc CLKID_RNG0>;
530+
clock-names = "core";
531+
};

0 commit comments

Comments
 (0)