summaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts/r8a77470-iwg23s-sbc.dts
diff options
context:
space:
mode:
authorFabrizio Castro <fabrizio.castro@bp.renesas.com>2018-11-08 18:04:43 +0100
committerSimon Horman <horms+renesas@verge.net.au>2018-11-28 13:55:30 +0100
commit91f5c32dd0c8fc662694de4d8c5eeb61e4b4210b (patch)
tree5afe449484c43a77e8a94d083b6a9165dd689faa /arch/arm/boot/dts/r8a77470-iwg23s-sbc.dts
parentARM: dts: r8a77470: Add QSPI support (diff)
downloadlinux-91f5c32dd0c8fc662694de4d8c5eeb61e4b4210b.tar.xz
linux-91f5c32dd0c8fc662694de4d8c5eeb61e4b4210b.zip
ARM: dts: iwg23s-sbc: Add QSPI flash support
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>
Diffstat (limited to 'arch/arm/boot/dts/r8a77470-iwg23s-sbc.dts')
-rw-r--r--arch/arm/boot/dts/r8a77470-iwg23s-sbc.dts26
1 files changed, 26 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/r8a77470-iwg23s-sbc.dts b/arch/arm/boot/dts/r8a77470-iwg23s-sbc.dts
index 52f23b858885..40b7f98d6013 100644
--- a/arch/arm/boot/dts/r8a77470-iwg23s-sbc.dts
+++ b/arch/arm/boot/dts/r8a77470-iwg23s-sbc.dts
@@ -96,6 +96,11 @@
power-source = <1800>;
};
+ qspi0_pins: qspi0 {
+ groups = "qspi0_ctrl", "qspi0_data2";
+ function = "qspi0";
+ };
+
scif1_pins: scif1 {
groups = "scif1_data_b";
function = "scif1";
@@ -114,6 +119,27 @@
};
};
+&qspi0 {
+ pinctrl-0 = <&qspi0_pins>;
+ pinctrl-names = "default";
+
+ status = "okay";
+
+ /* WARNING - This device contains the bootloader. Handle with care. */
+ flash: flash@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;
+ };
+};
+
&rwdt {
timeout-sec = <60>;
status = "okay";