WDR4900v1 remove dt node for absent hw crypto.
authorTim Small <tim@seoss.co.uk>
Wed, 4 Jul 2018 13:05:18 +0000 (14:05 +0100)
committerYousong Zhou <zhouyousong@yunionyun.com>
Sun, 22 Jul 2018 01:06:10 +0000 (01:06 +0000)
commit28d4e55432701a3db2068c357b515fc1b5e44794
treec4ae965b4939fb5e38afdd8dbd37d95f3334529b
parent21c317a892071e8cc8fc268df18130540d3db358
WDR4900v1 remove dt node for absent hw crypto.

The WDR4900v1 uses the P1040 SoC, so the device tree pulls in the
definition for the related P1010 SoC.  However, the P1040 lacks the
CAAM/SEC4 hardware crypto accelerator which the P1010 device tree
defines.  If left defined, this causes the CAAM drivers (if present) to
attempt to use the non-existent device, making various crypto-related
operations (e.g. macsec and ipsec) fail.

This commit overrides the incorrect dt node definition in the included
file.

See also:
 - https://bugs.openwrt.org/index.php?do=details&task_id=1262
 - https://community.nxp.com/thread/338432#comment-474107

Signed-off-by: Tim Small <tim@seoss.co.uk>
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
(cherry picked from commit e97aaf483c71fd5e3072ec2dce53354fc97357c9)
target/linux/mpc85xx/files/arch/powerpc/boot/dts/tl-wdr4900-v1.dts