From: biju.das@bp.renesas.com (Biju Das)
To: cip-dev@lists.cip-project.org
Subject: [cip-dev] [PATCH 4.4.y-cip 5/5] ARM: dts: iwg23s-sbc: Add QSPI flash support
Date: Tue, 16 Jul 2019 07:42:21 +0100 [thread overview]
Message-ID: <1563259341-37180-6-git-send-email-biju.das@bp.renesas.com> (raw)
In-Reply-To: <1563259341-37180-1-git-send-email-biju.das@bp.renesas.com>
commit 91f5c32dd0c8fc662694de4d8c5eeb61e4b4210b upstream.
This commit adds QSPI flash support to the iwg23s board specific
device tree.
Signed-off-by: Fabrizio Castro <fabrizio.castro@bp.renesas.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
Signed-off-by: Biju Das <biju.das@bp.renesas.com>
---
arch/arm/boot/dts/r8a77470-iwg23s-sbc.dts | 26 ++++++++++++++++++++++++++
1 file changed, 26 insertions(+)
diff --git a/arch/arm/boot/dts/r8a77470-iwg23s-sbc.dts b/arch/arm/boot/dts/r8a77470-iwg23s-sbc.dts
index 4ceff9c..48b168d 100644
--- a/arch/arm/boot/dts/r8a77470-iwg23s-sbc.dts
+++ b/arch/arm/boot/dts/r8a77470-iwg23s-sbc.dts
@@ -54,12 +54,38 @@
function = "avb";
};
+ qspi0_pins: qspi0 {
+ groups = "qspi0_ctrl", "qspi0_data2";
+ function = "qspi0";
+ };
+
scif1_pins: scif1 {
groups = "scif1_data_b";
function = "scif1";
};
};
+&qspi0 {
+ pinctrl-0 = <&qspi0_pins>;
+ pinctrl-names = "default";
+
+ status = "okay";
+
+ /* WARNING - This device contains the bootloader. Handle with care. */
+ flash: flash at 0 {
+ #address-cells = <1>;
+ #size-cells = <1>;
+ compatible = "issi,is25lp016d", "jedec,spi-nor";
+ reg = <0>;
+ spi-max-frequency = <133000000>;
+ spi-tx-bus-width = <1>;
+ spi-rx-bus-width = <1>;
+ m25p,fast-read;
+ spi-cpol;
+ spi-cpha;
+ };
+};
+
&scif1 {
pinctrl-0 = <&scif1_pins>;
pinctrl-names = "default";
--
2.7.4
next prev parent reply other threads:[~2019-07-16 6:42 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-07-16 6:42 [cip-dev] [PATCH 4.4.y-cip 0/5] Add QSPI support Biju Das
2019-07-16 6:42 ` [cip-dev] [PATCH 4.4.y-cip 1/5] dt-bindings: spi: rspi: Add r8a7744 to the compatible list Biju Das
2019-07-16 6:42 ` [cip-dev] [PATCH 4.4.y-cip 2/5] spi: rspi: Add r8a77470 " Biju Das
2019-07-16 6:42 ` [cip-dev] [PATCH 4.4.y-cip 3/5] mtd: spi-nor: Add support for is25lp016d Biju Das
2019-07-16 6:42 ` [cip-dev] [PATCH 4.4.y-cip 4/5] ARM: dts: r8a77470: Add QSPI support Biju Das
2019-07-16 6:42 ` Biju Das [this message]
2019-07-16 9:00 ` [cip-dev] [PATCH 4.4.y-cip 0/5] " Pavel Machek
2019-07-16 16:56 ` Pavel Machek
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=1563259341-37180-6-git-send-email-biju.das@bp.renesas.com \
--to=biju.das@bp.renesas.com \
--cc=cip-dev@lists.cip-project.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.