From: Artem Lapkin <email2tema@gmail.com>
To: linux-arm-kernel@lists.infradead.org
Cc: devicetree@vger.kernel.org, gouwa@khadas.com,
linux-kernel@vger.kernel.org, robh+dt@kernel.org,
nick@khadas.com, jbx6244@gmail.com, art@khadas.com
Subject: [PATCH v2 1/2] arm64: dts: rockchip: add spiflash node to rk3399-khadas-edge
Date: Wed, 23 Sep 2020 21:14:23 +0800 [thread overview]
Message-ID: <20200923131424.1612960-2-art@khadas.com> (raw)
In-Reply-To: <20200923131424.1612960-1-art@khadas.com>
The Khadas Edge Boards uses winbond - w25q128 spi flash with 104Mhz
Signed-off-by: Artem Lapkin <art@khadas.com>
Tested-by: Artem Lapkin <art@khadas.com>
---
arch/arm64/boot/dts/rockchip/rk3399-khadas-edge.dtsi | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/arch/arm64/boot/dts/rockchip/rk3399-khadas-edge.dtsi b/arch/arm64/boot/dts/rockchip/rk3399-khadas-edge.dtsi
index e36837c04dc..c67420578fa 100644
--- a/arch/arm64/boot/dts/rockchip/rk3399-khadas-edge.dtsi
+++ b/arch/arm64/boot/dts/rockchip/rk3399-khadas-edge.dtsi
@@ -690,6 +690,16 @@ &sdhci {
status = "okay";
};
+&spi1 {
+ status = "okay";
+
+ spiflash: flash@0 {
+ compatible = "winbond,w25q128fw", "jedec,spi-nor";
+ reg = <0>;
+ spi-max-frequency = <104000000>;
+ };
+};
+
&tcphy0 {
status = "okay";
};
--
2.25.1
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
next prev parent reply other threads:[~2020-09-23 13:16 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-09-23 13:14 [PATCH v2 0/2] arm64: dts: rockchip: add spiflash and ir-receiver nodes to rk3399-khadas-edge Artem Lapkin
2020-09-23 13:14 ` Artem Lapkin [this message]
2020-09-23 13:14 ` [PATCH v2 2/2] arm64: dts: rockchip: add ir-receiver node " Artem Lapkin
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=20200923131424.1612960-2-art@khadas.com \
--to=email2tema@gmail.com \
--cc=art@khadas.com \
--cc=devicetree@vger.kernel.org \
--cc=gouwa@khadas.com \
--cc=jbx6244@gmail.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=nick@khadas.com \
--cc=robh+dt@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).