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)
committerJo-Philipp Wich <jo@mein.io>
Sat, 21 Jul 2018 16:38:18 +0000 (18:38 +0200)
commit90b15b00a29b4dfe4b2f942d30d07008f8121636
tree6719accd42ec23cad738ebb2063cf29d4740fe4f
parenta80276235a66e0ee873611911ef5d15c53edd8f4
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>
(cherry picked from commit e97aaf483c71fd5e3072ec2dce53354fc97357c9)
target/linux/mpc85xx/files/arch/powerpc/boot/dts/tl-wdr4900-v1.dts