Skip to content

Commit b2ee6b7

Browse files
Boris Brezillongclement
authored andcommitted
ARM: mvebu: add crypto related nodes to armada-xp.dtsi
Add crypto related nodes to armada-xp.dtsi. Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com> Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
1 parent 97dd823 commit b2ee6b7

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed

arch/arm/boot/dts/armada-xp.dtsi

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -241,6 +241,18 @@
241241
compatible = "marvell,armada-xp-neta";
242242
};
243243

244+
crypto@90000 {
245+
compatible = "marvell,armada-xp-crypto";
246+
reg = <0x90000 0x10000>;
247+
reg-names = "regs";
248+
interrupts = <48>, <49>;
249+
clocks = <&gateclk 23>, <&gateclk 23>;
250+
clock-names = "cesa0", "cesa1";
251+
marvell,crypto-srams = <&crypto_sram0>,
252+
<&crypto_sram1>;
253+
marvell,crypto-sram-size = <0x800>;
254+
};
255+
244256
xor@f0900 {
245257
compatible = "marvell,orion-xor";
246258
reg = <0xF0900 0x100
@@ -261,6 +273,24 @@
261273
};
262274
};
263275
};
276+
277+
crypto_sram0: sa-sram0 {
278+
compatible = "mmio-sram";
279+
reg = <MBUS_ID(0x09, 0x09) 0 0x800>;
280+
clocks = <&gateclk 23>;
281+
#address-cells = <1>;
282+
#size-cells = <1>;
283+
ranges = <0 MBUS_ID(0x09, 0x09) 0 0x800>;
284+
};
285+
286+
crypto_sram1: sa-sram1 {
287+
compatible = "mmio-sram";
288+
reg = <MBUS_ID(0x09, 0x05) 0 0x800>;
289+
clocks = <&gateclk 23>;
290+
#address-cells = <1>;
291+
#size-cells = <1>;
292+
ranges = <0 MBUS_ID(0x09, 0x05) 0 0x800>;
293+
};
264294
};
265295

266296
clocks {

0 commit comments

Comments
 (0)