From: Michael Walle <michael@walle.cc>
To: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org,
linux-arm-kernel@lists.infradead.org
Cc: Shawn Guo <shawnguo@kernel.org>, Rob Herring <robh+dt@kernel.org>,
Mark Rutland <mark.rutland@arm.com>, Li Yang <leoyang.li@nxp.com>,
Michael Walle <michael@walle.cc>
Subject: [PATCH v2 1/4] arm64: dts: freescale: sl28: add SPI flash
Date: Wed, 11 Mar 2020 08:49:26 +0100 [thread overview]
Message-ID: <20200311074929.19569-2-michael@walle.cc> (raw)
In-Reply-To: <20200311074929.19569-1-michael@walle.cc>
There is a SPI flash on this carrier connected to the third DSPI
controller. Add it.
Signed-off-by: Michael Walle <michael@walle.cc>
---
.../dts/freescale/fsl-ls1028a-kontron-sl28-var3-ads2.dts | 9 +++++++++
.../boot/dts/freescale/fsl-ls1028a-kontron-sl28.dts | 6 ++++++
2 files changed, 15 insertions(+)
diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1028a-kontron-sl28-var3-ads2.dts b/arch/arm64/boot/dts/freescale/fsl-ls1028a-kontron-sl28-var3-ads2.dts
index 7de55f2aa7dc..7aee14193dbd 100644
--- a/arch/arm64/boot/dts/freescale/fsl-ls1028a-kontron-sl28-var3-ads2.dts
+++ b/arch/arm64/boot/dts/freescale/fsl-ls1028a-kontron-sl28-var3-ads2.dts
@@ -68,6 +68,15 @@
};
};
+&dspi2 {
+ flash@0 {
+ compatible = "jedec,spi-nor";
+ m25p,fast-read;
+ spi-max-frequency = <100000000>;
+ reg = <0>;
+ };
+};
+
&i2c4 {
status = "okay";
diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1028a-kontron-sl28.dts b/arch/arm64/boot/dts/freescale/fsl-ls1028a-kontron-sl28.dts
index e6ad2f64e64e..58603bce5b0e 100644
--- a/arch/arm64/boot/dts/freescale/fsl-ls1028a-kontron-sl28.dts
+++ b/arch/arm64/boot/dts/freescale/fsl-ls1028a-kontron-sl28.dts
@@ -17,6 +17,8 @@
crypto = &crypto;
serial0 = &duart0;
serial1 = &duart1;
+ spi0 = &fspi;
+ spi1 = &dspi2;
};
chosen {
@@ -24,6 +26,10 @@
};
};
+&dspi2 {
+ status = "okay";
+};
+
&duart0 {
status = "okay";
};
--
2.20.1
next prev parent reply other threads:[~2020-03-11 7:49 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-03-11 7:49 [PATCH v2 0/4] arm64: dts: ls1028a: various sl28 fixes/updates Michael Walle
2020-03-11 7:49 ` Michael Walle [this message]
2020-03-11 7:49 ` [PATCH v2 2/4] arm64: dts: ls1028a: sl28: fix on-board EEPROMS Michael Walle
2020-03-11 7:49 ` [PATCH v2 3/4] arm64: dts: ls1028a: sl28: expose switch ports in KBox A-230-LS Michael Walle
2020-03-11 7:49 ` [PATCH v2 4/4] arm64: dts: ls1028a: sl28: add support for variant 2 Michael Walle
2020-03-16 1:16 ` [PATCH v2 0/4] arm64: dts: ls1028a: various sl28 fixes/updates Shawn Guo
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=20200311074929.19569-2-michael@walle.cc \
--to=michael@walle.cc \
--cc=devicetree@vger.kernel.org \
--cc=leoyang.li@nxp.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mark.rutland@arm.com \
--cc=robh+dt@kernel.org \
--cc=shawnguo@kernel.org \
/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;
as well as URLs for NNTP newsgroup(s).