diff options
author | Christophe Leroy <christophe.leroy@c-s.fr> | 2018-10-18 09:57:22 -0400 |
---|---|---|
committer | Scott Wood <oss@buserror.net> | 2018-10-22 20:11:55 -0400 |
commit | e738c5f15562635c02a03365cb62cad35051babe (patch) | |
tree | 14aa90025855581116b0170225d7bdbb5e1ed2f0 | |
parent | 0400d65501930e6e99848572b3818914c3b94256 (diff) |
powerpc/8xx: Add DT node for using the SEC engine of the MPC885
The MPC885 has SEC engine version 1.2 with the following details:
- Number of Crypto channels: 1
- Exec Units: DEU, MDEU and AESU
- Available descriptors: 00010, 00100, 00110, 01000, 11000, 11010
It is also supposed to have descriptor 00000, but it doesn't work
properly so we keep it out for the moment.
Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr>
Signed-off-by: Scott Wood <oss@buserror.net>
-rw-r--r-- | arch/powerpc/boot/dts/mpc885ads.dts | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/arch/powerpc/boot/dts/mpc885ads.dts b/arch/powerpc/boot/dts/mpc885ads.dts index 5b037f51741d..3aa300afbbca 100644 --- a/arch/powerpc/boot/dts/mpc885ads.dts +++ b/arch/powerpc/boot/dts/mpc885ads.dts | |||
@@ -72,7 +72,7 @@ | |||
72 | #address-cells = <1>; | 72 | #address-cells = <1>; |
73 | #size-cells = <1>; | 73 | #size-cells = <1>; |
74 | device_type = "soc"; | 74 | device_type = "soc"; |
75 | ranges = <0x0 0xff000000 0x4000>; | 75 | ranges = <0x0 0xff000000 0x28000>; |
76 | bus-frequency = <0>; | 76 | bus-frequency = <0>; |
77 | 77 | ||
78 | // Temporary -- will go away once kernel uses ranges for get_immrbase(). | 78 | // Temporary -- will go away once kernel uses ranges for get_immrbase(). |
@@ -224,6 +224,17 @@ | |||
224 | #size-cells = <0>; | 224 | #size-cells = <0>; |
225 | }; | 225 | }; |
226 | }; | 226 | }; |
227 | |||
228 | crypto@20000 { | ||
229 | compatible = "fsl,sec1.2", "fsl,sec1.0"; | ||
230 | reg = <0x20000 0x8000>; | ||
231 | interrupts = <1 1>; | ||
232 | interrupt-parent = <&PIC>; | ||
233 | fsl,num-channels = <1>; | ||
234 | fsl,channel-fifo-len = <24>; | ||
235 | fsl,exec-units-mask = <0x4c>; | ||
236 | fsl,descriptor-types-mask = <0x05000154>; | ||
237 | }; | ||
227 | }; | 238 | }; |
228 | 239 | ||
229 | chosen { | 240 | chosen { |