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)
committerHauke Mehrtens <hauke@hauke-m.de>
Sat, 7 Jul 2018 16:19:39 +0000 (18:19 +0200)
commite97aaf483c71fd5e3072ec2dce53354fc97357c9
tree952bc813c97f56d579f3815f187d2cfd66f53dd1
parent191078e83d127f5ed9a38366d2edaac49f9333c5
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>
target/linux/mpc85xx/files/arch/powerpc/boot/dts/tl-wdr4900-v1.dts