Skip to content

Commit d1152bc

Browse files
montjoiemmind
authored andcommitted
arm64: dts: rockchip: add rk3328 crypto node
rk3328 has a crypto IP handled by the rk3288 crypto driver so adds a node for it. Signed-off-by: Corentin Labbe <clabbe@baylibre.com> Link: https://lore.kernel.org/r/20220927075511.3147847-28-clabbe@baylibre.com Signed-off-by: Heiko Stuebner <heiko@sntech.de>
1 parent 04a299e commit d1152bc

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

arch/arm64/boot/dts/rockchip/rk3328.dtsi

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1025,6 +1025,17 @@
10251025
(GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>;
10261026
};
10271027

1028+
crypto: crypto@ff060000 {
1029+
compatible = "rockchip,rk3328-crypto";
1030+
reg = <0x0 0xff060000 0x0 0x4000>;
1031+
interrupts = <GIC_SPI 30 IRQ_TYPE_LEVEL_HIGH>;
1032+
clocks = <&cru HCLK_CRYPTO_MST>, <&cru HCLK_CRYPTO_SLV>,
1033+
<&cru SCLK_CRYPTO>;
1034+
clock-names = "hclk_master", "hclk_slave", "sclk";
1035+
resets = <&cru SRST_CRYPTO>;
1036+
reset-names = "crypto-rst";
1037+
};
1038+
10281039
pinctrl: pinctrl {
10291040
compatible = "rockchip,rk3328-pinctrl";
10301041
rockchip,grf = <&grf>;

0 commit comments

Comments
 (0)