diff options
author | Boris Brezillon <boris.brezillon@free-electrons.com> | 2015-08-18 11:09:00 +0300 |
---|---|---|
committer | Gregory CLEMENT <gregory.clement@free-electrons.com> | 2015-10-09 18:08:01 +0300 |
commit | eb69e001983d16f5897ad0b0c8e15d06eecab01d (patch) | |
tree | c62bd97148b84b49adcf28e8d8354dc6085f82df /arch/arm/boot/dts/dove.dtsi | |
parent | d716f2e837ac6cdf3244130ca3abc1e560048941 (diff) | |
download | linux-eb69e001983d16f5897ad0b0c8e15d06eecab01d.tar.xz |
ARM: mvebu: use new bindings for existing crypto devices
The new bindings split the crypto and sram node in two separate devices.
Modify the existing crypto nodes to match the new representation.
Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
Diffstat (limited to 'arch/arm/boot/dts/dove.dtsi')
-rw-r--r-- | arch/arm/boot/dts/dove.dtsi | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/arch/arm/boot/dts/dove.dtsi b/arch/arm/boot/dts/dove.dtsi index 179121630ad7..9bb31314f5e9 100644 --- a/arch/arm/boot/dts/dove.dtsi +++ b/arch/arm/boot/dts/dove.dtsi @@ -264,11 +264,12 @@ crypto: crypto-engine@30000 { compatible = "marvell,orion-crypto"; - reg = <0x30000 0x10000>, - <0xffffe000 0x800>; - reg-names = "regs", "sram"; + reg = <0x30000 0x10000>; + reg-names = "regs"; interrupts = <31>; clocks = <&gate_clk 15>; + marvell,crypto-srams = <&crypto_sram>; + marvell,crypto-sram-size = <0x800>; status = "okay"; }; @@ -767,6 +768,14 @@ interrupts = <47>; status = "disabled"; }; + + crypto_sram: sa-sram@ffffe000 { + compatible = "mmio-sram"; + reg = <0xffffe000 0x800>; + clocks = <&gate_clk 15>; + #address-cells = <1>; + #size-cells = <1>; + }; }; }; }; |