Commit e738c5f1 authored by Christophe Leroy's avatar Christophe Leroy Committed by Scott Wood

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: default avatarChristophe Leroy <christophe.leroy@c-s.fr>
Signed-off-by: default avatarScott Wood <oss@buserror.net>
parent 0400d655
...@@ -72,7 +72,7 @@ soc@ff000000 { ...@@ -72,7 +72,7 @@ soc@ff000000 {
#address-cells = <1>; #address-cells = <1>;
#size-cells = <1>; #size-cells = <1>;
device_type = "soc"; device_type = "soc";
ranges = <0x0 0xff000000 0x4000>; ranges = <0x0 0xff000000 0x28000>;
bus-frequency = <0>; bus-frequency = <0>;
// Temporary -- will go away once kernel uses ranges for get_immrbase(). // Temporary -- will go away once kernel uses ranges for get_immrbase().
...@@ -224,6 +224,17 @@ i2c@860 { ...@@ -224,6 +224,17 @@ i2c@860 {
#size-cells = <0>; #size-cells = <0>;
}; };
}; };
crypto@20000 {
compatible = "fsl,sec1.2", "fsl,sec1.0";
reg = <0x20000 0x8000>;
interrupts = <1 1>;
interrupt-parent = <&PIC>;
fsl,num-channels = <1>;
fsl,channel-fifo-len = <24>;
fsl,exec-units-mask = <0x4c>;
fsl,descriptor-types-mask = <0x05000154>;
};
}; };
chosen { chosen {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment