diff options
author | Fabrizio Castro <fabrizio.castro@bp.renesas.com> | 2018-11-08 20:04:43 +0300 |
---|---|---|
committer | Simon Horman <horms+renesas@verge.net.au> | 2018-11-28 15:55:30 +0300 |
commit | 91f5c32dd0c8fc662694de4d8c5eeb61e4b4210b (patch) | |
tree | 5afe449484c43a77e8a94d083b6a9165dd689faa /arch/arm/boot/dts/r8a77470-iwg23s-sbc.dts | |
parent | b6239d4219643bd1ac1d0b5a0faedf69cd2a2bfa (diff) | |
download | linux-91f5c32dd0c8fc662694de4d8c5eeb61e4b4210b.tar.xz |
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.dts | 26 |
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"; |