From: "Horia Geantă" <horia.geanta@nxp.com>
To: Herbert Xu <herbert@gondor.apana.org.au>,
Rob Herring <robh+dt@kernel.org>, Olof Johansson <olof@lixom.net>
Cc: <linux-crypto@vger.kernel.org>, <linux-kernel@vger.kernel.org>,
"David S. Miller" <davem@davemloft.net>,
Mingkai Hu <mingkai.hu@nxp.com>, Scott Wood <scott.wood@nxp.com>,
Alexandru Porosanu <alexandru.porosanu@nxp.com>,
"Tudor Ambarus" <tudor-dan.ambarus@nxp.com>,
Cristian Stoica <cristian.stoica@nxp.com>,
Fabio Estevam <fabio.estevam@nxp.com>
Subject: [PATCH v2 8/8] arm64: dts: ls1043a: add crypto node
Date: Thu, 5 May 2016 18:36:57 +0300 [thread overview]
Message-ID: <1462462617-28153-1-git-send-email-horia.geanta@nxp.com> (raw)
In-Reply-To: <1462462435-27403-1-git-send-email-horia.geanta@nxp.com>
LS1043A has a SEC v5.4 security engine.
For now don't add rtic or sec_mon subnodes, since these features
haven't been tested yet.
Signed-off-by: Horia Geantă <horia.geanta@nxp.com>
---
arch/arm64/boot/dts/freescale/fsl-ls1043a-rdb.dts | 4 +++
arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi | 43 +++++++++++++++++++++++
2 files changed, 47 insertions(+)
diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1043a-rdb.dts b/arch/arm64/boot/dts/freescale/fsl-ls1043a-rdb.dts
index ce235577e90f..9b5b75a4f02a 100644
--- a/arch/arm64/boot/dts/freescale/fsl-ls1043a-rdb.dts
+++ b/arch/arm64/boot/dts/freescale/fsl-ls1043a-rdb.dts
@@ -49,6 +49,10 @@
/ {
model = "LS1043A RDB Board";
+
+ aliases {
+ crypto = &crypto;
+ };
};
&i2c0 {
diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi b/arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi
index be72bf5b58b5..529c198494d5 100644
--- a/arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi
+++ b/arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi
@@ -159,6 +159,49 @@
big-endian;
};
+ crypto: crypto@1700000 {
+ compatible = "fsl,sec-v5.4", "fsl,sec-v5.0",
+ "fsl,sec-v4.0";
+ fsl,sec-era = <3>;
+ #address-cells = <1>;
+ #size-cells = <1>;
+ ranges = <0x0 0x00 0x1700000 0x100000>;
+ reg = <0x00 0x1700000 0x0 0x100000>;
+ interrupts = <0 75 0x4>;
+
+ sec_jr0: jr@10000 {
+ compatible = "fsl,sec-v5.4-job-ring",
+ "fsl,sec-v5.0-job-ring",
+ "fsl,sec-v4.0-job-ring";
+ reg = <0x10000 0x10000>;
+ interrupts = <0 71 0x4>;
+ };
+
+ sec_jr1: jr@20000 {
+ compatible = "fsl,sec-v5.4-job-ring",
+ "fsl,sec-v5.0-job-ring",
+ "fsl,sec-v4.0-job-ring";
+ reg = <0x20000 0x10000>;
+ interrupts = <0 72 0x4>;
+ };
+
+ sec_jr2: jr@30000 {
+ compatible = "fsl,sec-v5.4-job-ring",
+ "fsl,sec-v5.0-job-ring",
+ "fsl,sec-v4.0-job-ring";
+ reg = <0x30000 0x10000>;
+ interrupts = <0 73 0x4>;
+ };
+
+ sec_jr3: jr@40000 {
+ compatible = "fsl,sec-v5.4-job-ring",
+ "fsl,sec-v5.0-job-ring",
+ "fsl,sec-v4.0-job-ring";
+ reg = <0x40000 0x10000>;
+ interrupts = <0 74 0x4>;
+ };
+ };
+
dcfg: dcfg@1ee0000 {
compatible = "fsl,ls1043a-dcfg", "syscon";
reg = <0x0 0x1ee0000 0x0 0x10000>;
--
2.4.4
next prev parent reply other threads:[~2016-05-05 15:37 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-05-05 15:33 [PATCH v2 0/8] crypto: caam - add support for LS1043A SoC Horia Geantă
2016-05-05 15:35 ` [PATCH v2 1/8] asm-generic/io.h: allow barriers in io{read,write}{16,32}be Horia Geantă
2016-05-05 16:29 ` Arnd Bergmann
2016-05-05 15:35 ` [PATCH v2 2/8] asm-generic/io.h: add io{read,write}64 accessors Horia Geantă
2016-05-05 16:29 ` Arnd Bergmann
2016-05-10 9:33 ` Herbert Xu
2016-05-10 9:34 ` Herbert Xu
2016-05-05 15:36 ` [PATCH v2 3/8] arm64: add io{read,write}64be accessors Horia Geantă
2016-05-05 17:25 ` Catalin Marinas
2016-05-05 15:36 ` [PATCH v2 4/8] powerpc: add io{read,write}64 accessors Horia Geantă
2016-05-09 8:20 ` Horia Ioan Geanta Neag
2016-05-10 18:50 ` Scott Wood
2016-05-11 0:35 ` Michael Ellerman
2016-05-05 15:36 ` [PATCH v2 5/8] crypto: caam - fix offset field in hw sg entries Horia Geantă
2016-05-05 15:36 ` [PATCH v2 6/8] crypto: caam - handle core endianness != caam endianness Horia Geantă
2016-05-16 14:52 ` Tudor-Dan Ambarus
2016-05-05 15:36 ` [PATCH v2 7/8] crypto: caam - add ARCH_LAYERSCAPE to supported architectures Horia Geantă
2016-05-05 15:36 ` Horia Geantă [this message]
2016-05-09 8:28 ` [PATCH v2 8/8] arm64: dts: ls1043a: add crypto node Horia Ioan Geanta Neag
2016-05-16 15:49 ` [PATCH v2 0/8] crypto: caam - add support for LS1043A SoC Horia Ioan Geanta Neag
2016-05-17 0:08 ` Herbert Xu
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=1462462617-28153-1-git-send-email-horia.geanta@nxp.com \
--to=horia.geanta@nxp.com \
--cc=alexandru.porosanu@nxp.com \
--cc=cristian.stoica@nxp.com \
--cc=davem@davemloft.net \
--cc=fabio.estevam@nxp.com \
--cc=herbert@gondor.apana.org.au \
--cc=linux-crypto@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mingkai.hu@nxp.com \
--cc=olof@lixom.net \
--cc=robh+dt@kernel.org \
--cc=scott.wood@nxp.com \
--cc=tudor-dan.ambarus@nxp.com \
/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
all inboxes | Powered by JetHome®