From: Scott Wood <oss@buserror.net>
To: Tim Small <tim@seoss.co.uk>, linuxppc-dev@lists.ozlabs.org
Subject: Re: NXP p1010se device trees only correct for P1010E/P1014E, not P1010/P1014 SoCs.
Date: Fri, 06 Jul 2018 13:41:41 -0500 [thread overview]
Message-ID: <bdc2e385580cc08bcbf9d5b3595cbca5162314f8.camel@buserror.net> (raw)
In-Reply-To: <1ed6ce0c-f7df-615b-ffdb-8dab25b506f6@seoss.co.uk>
On Fri, 2018-07-06 at 15:50 +0100, Tim Small wrote:
> Hello,
>
> I contributed a patch to OpenWRT a couple of days ago to fix the device
> tree for a device which uses an NXP p1014 without the SEC4 module. I
> was wondering about getting a similar fix applied upstream...
>
> The device uses the P1014 (without SEC4 functionality), and includes:
>
> fsl/p1010si-pre.dtsi and fsl/p1010si-post.dtsi
>
> ... in its device tree. The latter pulls in leads to a node for
> soc@ffe00000/crypto@30000 - which then causes the CAAM modules to be
> used for crypto operations, when then fail at runtime.
>
> AN4938 states that there are versions of both the p1010 and p1014
> without the SEC4 module.
>
> The P1010 errata at:
>
> https://media.digikey.com/pdf/PCNs/Freescale/P1010CE_RevL.pdf
>
> (table 2 on page 2), says that the P1010 and P1014 don't have the SEC4
> module, only the P1010E and P1014E models do.
>
> So, I think there should probably be device trees for p101xE (with SEC)
> and p101x (without SEC).
>
> Any thoughts? Not really sure how best to do that... My openwrt patch
> just does a:
>
> /delete-node/ crypto@30000;
>
> after the p1010si-post.dtsi include.
U-Boot should already be removing the node on non-E chips -- see
ft_cpu_setup() in arch/powerpc/cpu/mpc85xx/fdt.c
-Scott
next prev parent reply other threads:[~2018-07-06 18:44 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-07-06 14:50 NXP p1010se device trees only correct for P1010E/P1014E, not P1010/P1014 SoCs Tim Small
2018-07-06 18:41 ` Scott Wood [this message]
2018-07-09 8:38 ` Tim Small
2018-07-09 22:21 ` Scott Wood
2018-07-20 14:32 ` TP Link WDR4900 (was NXP p1010se device trees only correct for P1010E/P1014E, not P1010/P1014 SoCs) Tim Small
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=bdc2e385580cc08bcbf9d5b3595cbca5162314f8.camel@buserror.net \
--to=oss@buserror.net \
--cc=linuxppc-dev@lists.ozlabs.org \
--cc=tim@seoss.co.uk \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox