Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ARM: mvebu: add crypto related nodes to armada 38x dtsi

Add crypto related nodes in armada-38x.dtsi.

[gregory.clement@free-electrons.com: Fix typo for compatible string
armada38x instead of armada375]

Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>

authored by

Boris Brezillon and committed by
Gregory CLEMENT
35c99ec9 9a3ed133

+33
+33
arch/arm/boot/dts/armada-38x.dtsi
··· 509 509 clocks = <&gateclk 4>; 510 510 }; 511 511 512 + crypto@90000 { 513 + compatible = "marvell,armada-38x-crypto"; 514 + reg = <0x90000 0x10000>; 515 + reg-names = "regs"; 516 + interrupts = <GIC_SPI 19 IRQ_TYPE_LEVEL_HIGH>, 517 + <GIC_SPI 20 IRQ_TYPE_LEVEL_HIGH>; 518 + clocks = <&gateclk 23>, <&gateclk 21>, 519 + <&gateclk 14>, <&gateclk 16>; 520 + clock-names = "cesa0", "cesa1", 521 + "cesaz0", "cesaz1"; 522 + marvell,crypto-srams = <&crypto_sram0>, 523 + <&crypto_sram1>; 524 + marvell,crypto-sram-size = <0x800>; 525 + }; 526 + 512 527 rtc@a3800 { 513 528 compatible = "marvell,armada-380-rtc"; 514 529 reg = <0xa3800 0x20>, <0x184a0 0x0c>; ··· 598 583 clocks = <&gateclk 10>; 599 584 status = "disabled"; 600 585 }; 586 + }; 587 + 588 + crypto_sram0: sa-sram0 { 589 + compatible = "mmio-sram"; 590 + reg = <MBUS_ID(0x09, 0x19) 0 0x800>; 591 + clocks = <&gateclk 23>; 592 + #address-cells = <1>; 593 + #size-cells = <1>; 594 + ranges = <0 MBUS_ID(0x09, 0x19) 0 0x800>; 595 + }; 596 + 597 + crypto_sram1: sa-sram1 { 598 + compatible = "mmio-sram"; 599 + reg = <MBUS_ID(0x09, 0x15) 0 0x800>; 600 + clocks = <&gateclk 21>; 601 + #address-cells = <1>; 602 + #size-cells = <1>; 603 + ranges = <0 MBUS_ID(0x09, 0x15) 0 0x800>; 601 604 }; 602 605 }; 603 606