Skip to content

Commit e2c0776

Browse files
jiajiehoConchuOD
authored andcommitted
riscv: dts: starfive - Add crypto and DMA node for JH7110
Add hardware crypto module and dedicated dma controller node to StarFive JH7110 SoC. Co-developed-by: Huan Feng <huan.feng@starfivetech.com> Signed-off-by: Huan Feng <huan.feng@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 b127dbf commit e2c0776

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

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

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -821,6 +821,33 @@
821821
<&syscrg JH7110_SYSRST_WDT_CORE>;
822822
};
823823

824+
crypto: crypto@16000000 {
825+
compatible = "starfive,jh7110-crypto";
826+
reg = <0x0 0x16000000 0x0 0x4000>;
827+
clocks = <&stgcrg JH7110_STGCLK_SEC_AHB>,
828+
<&stgcrg JH7110_STGCLK_SEC_MISC_AHB>;
829+
clock-names = "hclk", "ahb";
830+
interrupts = <28>;
831+
resets = <&stgcrg JH7110_STGRST_SEC_AHB>;
832+
dmas = <&sdma 1 2>, <&sdma 0 2>;
833+
dma-names = "tx", "rx";
834+
};
835+
836+
sdma: dma-controller@16008000 {
837+
compatible = "arm,pl080", "arm,primecell";
838+
arm,primecell-periphid = <0x00041080>;
839+
reg = <0x0 0x16008000 0x0 0x4000>;
840+
interrupts = <29>;
841+
clocks = <&stgcrg JH7110_STGCLK_SEC_AHB>;
842+
clock-names = "apb_pclk";
843+
resets = <&stgcrg JH7110_STGRST_SEC_AHB>;
844+
lli-bus-interface-ahb1;
845+
mem-bus-interface-ahb1;
846+
memcpy-burst-size = <256>;
847+
memcpy-bus-width = <32>;
848+
#dma-cells = <2>;
849+
};
850+
824851
mmc0: mmc@16010000 {
825852
compatible = "starfive,jh7110-mmc";
826853
reg = <0x0 0x16010000 0x0 0x10000>;

0 commit comments

Comments
 (0)