~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/Documentation/devicetree/bindings/crypto/fsl-sec2.txt

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

Diff markup

Differences between /Documentation/devicetree/bindings/crypto/fsl-sec2.txt (Architecture m68k) and /Documentation/devicetree/bindings/crypto/fsl-sec2.txt (Architecture sparc)


  1 Freescale SoC SEC Security Engines versions 1.      1 Freescale SoC SEC Security Engines versions 1.x-2.x-3.x
  2                                                     2 
  3 Required properties:                                3 Required properties:
  4                                                     4 
  5 - compatible : Should contain entries for this      5 - compatible : Should contain entries for this and backward compatible
  6   SEC versions, high to low, e.g., "fsl,sec2.1      6   SEC versions, high to low, e.g., "fsl,sec2.1", "fsl,sec2.0" (SEC2/3)
  7                              e.g., "fsl,sec1.2      7                              e.g., "fsl,sec1.2", "fsl,sec1.0" (SEC1)
  8     warning: SEC1 and SEC2 are mutually exclus      8     warning: SEC1 and SEC2 are mutually exclusive
  9 - reg : Offset and length of the register set       9 - reg : Offset and length of the register set for the device
 10 - interrupts : the SEC's interrupt number          10 - interrupts : the SEC's interrupt number
 11 - fsl,num-channels : An integer representing t     11 - fsl,num-channels : An integer representing the number of channels
 12   available.                                       12   available.
 13 - fsl,channel-fifo-len : An integer representi     13 - fsl,channel-fifo-len : An integer representing the number of
 14   descriptor pointers each channel fetch fifo      14   descriptor pointers each channel fetch fifo can hold.
 15 - fsl,exec-units-mask : The bitmask representi     15 - fsl,exec-units-mask : The bitmask representing what execution units
 16   (EUs) are available. It's a single 32-bit ce     16   (EUs) are available. It's a single 32-bit cell. EU information
 17   should be encoded following the SEC's Descri     17   should be encoded following the SEC's Descriptor Header Dword
 18   EU_SEL0 field documentation, i.e. as follows     18   EU_SEL0 field documentation, i.e. as follows:
 19                                                    19 
 20         bit 0  = reserved - should be 0            20         bit 0  = reserved - should be 0
 21         bit 1  = set if SEC has the ARC4 EU (A     21         bit 1  = set if SEC has the ARC4 EU (AFEU)
 22         bit 2  = set if SEC has the DES/3DES E     22         bit 2  = set if SEC has the DES/3DES EU (DEU)
 23         bit 3  = set if SEC has the message di     23         bit 3  = set if SEC has the message digest EU (MDEU/MDEU-A)
 24         bit 4  = set if SEC has the random num     24         bit 4  = set if SEC has the random number generator EU (RNG)
 25         bit 5  = set if SEC has the public key     25         bit 5  = set if SEC has the public key EU (PKEU)
 26         bit 6  = set if SEC has the AES EU (AE     26         bit 6  = set if SEC has the AES EU (AESU)
 27         bit 7  = set if SEC has the Kasumi EU      27         bit 7  = set if SEC has the Kasumi EU (KEU)
 28         bit 8  = set if SEC has the CRC EU (CR     28         bit 8  = set if SEC has the CRC EU (CRCU)
 29         bit 11 = set if SEC has the message di     29         bit 11 = set if SEC has the message digest EU extended alg set (MDEU-B)
 30                                                    30 
 31 remaining bits are reserved for future SEC EUs     31 remaining bits are reserved for future SEC EUs.
 32                                                    32 
 33 - fsl,descriptor-types-mask : The bitmask repr     33 - fsl,descriptor-types-mask : The bitmask representing what descriptors
 34   are available. It's a single 32-bit cell. De     34   are available. It's a single 32-bit cell. Descriptor type information
 35   should be encoded following the SEC's Descri     35   should be encoded following the SEC's Descriptor Header Dword DESC_TYPE
 36   field documentation, i.e. as follows:            36   field documentation, i.e. as follows:
 37                                                    37 
 38         bit 0  = set if SEC supports the aesu_     38         bit 0  = set if SEC supports the aesu_ctr_nonsnoop desc. type
 39         bit 1  = set if SEC supports the ipsec     39         bit 1  = set if SEC supports the ipsec_esp descriptor type
 40         bit 2  = set if SEC supports the commo     40         bit 2  = set if SEC supports the common_nonsnoop desc. type
 41         bit 3  = set if SEC supports the 802.1     41         bit 3  = set if SEC supports the 802.11i AES ccmp desc. type
 42         bit 4  = set if SEC supports the hmac_     42         bit 4  = set if SEC supports the hmac_snoop_no_afeu desc. type
 43         bit 5  = set if SEC supports the srtp      43         bit 5  = set if SEC supports the srtp descriptor type
 44         bit 6  = set if SEC supports the non_h     44         bit 6  = set if SEC supports the non_hmac_snoop_no_afeu desc.type
 45         bit 7  = set if SEC supports the pkeu_     45         bit 7  = set if SEC supports the pkeu_assemble descriptor type
 46         bit 8  = set if SEC supports the aesu_     46         bit 8  = set if SEC supports the aesu_key_expand_output desc.type
 47         bit 9  = set if SEC supports the pkeu_     47         bit 9  = set if SEC supports the pkeu_ptmul descriptor type
 48         bit 10 = set if SEC supports the commo     48         bit 10 = set if SEC supports the common_nonsnoop_afeu desc. type
 49         bit 11 = set if SEC supports the pkeu_     49         bit 11 = set if SEC supports the pkeu_ptadd_dbl descriptor type
 50                                                    50 
 51   ..and so on and so forth.                        51   ..and so on and so forth.
 52                                                    52 
 53 Example:                                           53 Example:
 54                                                    54 
 55         /* MPC8548E */                             55         /* MPC8548E */
 56         crypto@30000 {                             56         crypto@30000 {
 57                 compatible = "fsl,sec2.1", "fs     57                 compatible = "fsl,sec2.1", "fsl,sec2.0";
 58                 reg = <0x30000 0x10000>;           58                 reg = <0x30000 0x10000>;
 59                 interrupts = <29 2>;               59                 interrupts = <29 2>;
 60                 interrupt-parent = <&mpic>;        60                 interrupt-parent = <&mpic>;
 61                 fsl,num-channels = <4>;            61                 fsl,num-channels = <4>;
 62                 fsl,channel-fifo-len = <24>;       62                 fsl,channel-fifo-len = <24>;
 63                 fsl,exec-units-mask = <0xfe>;      63                 fsl,exec-units-mask = <0xfe>;
 64                 fsl,descriptor-types-mask = <0     64                 fsl,descriptor-types-mask = <0x12b0ebf>;
 65         };                                         65         };
                                                      

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php