Skip to content

Commit 87ddf5b

Browse files
jiajiehoConchuOD
authored andcommitted
riscv: dts: starfive - Add hwrng node for JH7110 SoC
Add hardware rng controller node for StarFive JH7110 SoC. Co-developed-by: Jenny Zhang <jenny.zhang@starfivetech.com> Signed-off-by: Jenny Zhang <jenny.zhang@starfivetech.com> Signed-off-by: Jia Jie Ho <jiajie.ho@starfivetech.com> Acked-by: Palmer Dabbelt <palmer@rivosinc.com> Signed-off-by: Conor Dooley <conor.dooley@microchip.com>
1 parent e2c0776 commit 87ddf5b

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

arch/riscv/boot/dts/starfive/jh7110.dtsi

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -848,6 +848,16 @@
848848
#dma-cells = <2>;
849849
};
850850

851+
rng: rng@1600c000 {
852+
compatible = "starfive,jh7110-trng";
853+
reg = <0x0 0x1600C000 0x0 0x4000>;
854+
clocks = <&stgcrg JH7110_STGCLK_SEC_AHB>,
855+
<&stgcrg JH7110_STGCLK_SEC_MISC_AHB>;
856+
clock-names = "hclk", "ahb";
857+
resets = <&stgcrg JH7110_STGRST_SEC_AHB>;
858+
interrupts = <30>;
859+
};
860+
851861
mmc0: mmc@16010000 {
852862
compatible = "starfive,jh7110-mmc";
853863
reg = <0x0 0x16010000 0x0 0x10000>;

0 commit comments

Comments
 (0)