WDR4900v1 remove dt node for absent hw crypto.
[openwrt/openwrt.git] / target / linux / mpc85xx / files / arch / powerpc / boot / dts / tl-wdr4900-v1.dts
index 2ad58d3fda14a30bb77770ea40a71f623e9217e8..bde5eb9575ba7b99b3f82411865dc6b19b547dde 100644 (file)
@@ -13,7 +13,7 @@
 
 / {
        model = "TP-Link TL-WDR4900 v1";
-       compatible = "tp-link,TL-WDR4900v1";
+       compatible = "tplink,tl-wdr4900-v1";
 
        chosen {
                bootargs = "console=ttyS0,115200";
 };
 
 /include/ "fsl/p1010si-post.dtsi"
+
+/*
+ * The TL-WDR4900 v1 uses the NXP (Freescale) P1014 SoC which is closely
+ * related to the P1010.
+ *
+ * NXP QP1010FS.pdf "QorIQ P1010 and P1014 Communications Processors"
+ * datasheet states that the P1014 does not include the accelerated crypto
+ * module (CAAM/SEC4) which is present in the P1010.
+ *
+ * NXP Appliation Note AN4938 Rev. 2 implies that some P1014 may contain the
+ * SEC4 module, but states that SoCs with System Version Register values
+ * 0x80F10110 or 0x80F10120 do not have the security feature.
+ *
+ * All v1.3 TL-WDR4900 tested have SVR == 0x80F10110 which AN4938 describes
+ * as: core rev 1.0, "P1014 (without security)".
+ *
+ * The SVR value is reported by uboot on the serial console.
+ */
+
+/ {
+       soc: soc@ffe00000 {
+               /delete-node/ crypto@30000; /* Pulled in by p1010si-post */
+       };
+};