ARM: dts: ixp4xx: Add crypto engine
authorLinus Walleij <linus.walleij@linaro.org>
Sat, 5 Jun 2021 16:10:07 +0000 (18:10 +0200)
committerOlof Johansson <olof@lixom.net>
Sat, 12 Jun 2021 15:34:36 +0000 (08:34 -0700)
Add the crypto engine as a child of the NPE.

Link: https://lore.kernel.org/r/20210605161007.3397216-1-linus.walleij@linaro.org
Cc: Corentin Labbe <clabbe@baylibre.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Olof Johansson <olof@lixom.net>
arch/arm/boot/dts/intel-ixp4xx.dtsi

index 528d5dc..a50427a 100644 (file)
                npe: npe@c8006000 {
                        compatible = "intel,ixp4xx-network-processing-engine";
                        reg = <0xc8006000 0x1000>, <0xc8007000 0x1000>, <0xc8008000 0x1000>;
+
+                       /* NPE-C contains a crypto accelerator */
+                       crypto {
+                               compatible = "intel,ixp4xx-crypto";
+                               intel,npe-handle = <&npe 2>;
+                               queue-rx = <&qmgr 30>;
+                               queue-txready = <&qmgr 29>;
+                       };
                };
 
                /* This is known as EthB */