diff options
author | Andrew Lunn <andrew@lunn.ch> | 2012-09-03 14:29:34 -0400 |
---|---|---|
committer | Jason Cooper <jason@lakedaemon.net> | 2012-09-22 10:40:00 -0400 |
commit | f37fbd36c5f9fe716ddf783415a67de03fb0dc3d (patch) | |
tree | ad911d76e1c4f3b66b7831b6beca4f3d4859be73 /arch/arm/boot/dts/kirkwood.dtsi | |
parent | 2eecb477765840c175133117010a789e58824680 (diff) |
Crypto: CESA: Add support for DT based instantiation.
Based on work by Michael Walle and Jason Cooper.
Added support for getting the interrupt number and address of SRAM
from DT.
Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Tested-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
Signed-off-by: Jason Cooper <jason@lakedaemon.net>
Conflicts:
arch/arm/mach-kirkwood/board-dt.c
Diffstat (limited to 'arch/arm/boot/dts/kirkwood.dtsi')
-rw-r--r-- | arch/arm/boot/dts/kirkwood.dtsi | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/arch/arm/boot/dts/kirkwood.dtsi b/arch/arm/boot/dts/kirkwood.dtsi index cef9616f330a..4e5b8154a5be 100644 --- a/arch/arm/boot/dts/kirkwood.dtsi +++ b/arch/arm/boot/dts/kirkwood.dtsi | |||
@@ -14,7 +14,8 @@ | |||
14 | 14 | ||
15 | ocp@f1000000 { | 15 | ocp@f1000000 { |
16 | compatible = "simple-bus"; | 16 | compatible = "simple-bus"; |
17 | ranges = <0 0xf1000000 0x4000000>; | 17 | ranges = <0x00000000 0xf1000000 0x4000000 |
18 | 0xf5000000 0xf5000000 0x0000400>; | ||
18 | #address-cells = <1>; | 19 | #address-cells = <1>; |
19 | #size-cells = <1>; | 20 | #size-cells = <1>; |
20 | 21 | ||
@@ -105,5 +106,14 @@ | |||
105 | clock-frequency = <100000>; | 106 | clock-frequency = <100000>; |
106 | status = "disabled"; | 107 | status = "disabled"; |
107 | }; | 108 | }; |
109 | |||
110 | crypto@30000 { | ||
111 | compatible = "marvell,orion-crypto"; | ||
112 | reg = <0x30000 0x10000>, | ||
113 | <0xf5000000 0x800>; | ||
114 | reg-names = "regs", "sram"; | ||
115 | interrupts = <22>; | ||
116 | status = "okay"; | ||
117 | }; | ||
108 | }; | 118 | }; |
109 | }; | 119 | }; |