diff options
author | Fabrizio Castro <fabrizio.castro@bp.renesas.com> | 2017-09-13 18:05:39 +0100 |
---|---|---|
committer | Simon Horman <horms+renesas@verge.net.au> | 2017-09-21 10:42:33 +0200 |
commit | 781e923a5fe4751d3aaa740ca3de0f9d179c34ef (patch) | |
tree | 5541e72a589264d353255d9457b97607b15e1fc8 /arch/arm/boot/dts/r8a7743-iwg20m.dtsi | |
parent | 450c03718e971880ae067dc5f94a86f961acd6c3 (diff) | |
download | linux-781e923a5fe4751d3aaa740ca3de0f9d179c34ef.tar.bz2 |
ARM: dts: iwg20m: Add SPI NOR support
Add support for the SPI NOR device used to boot up the system
to the System on Module DT.
Signed-off-by: Fabrizio Castro <fabrizio.castro@bp.renesas.com>
Signed-off-by: Chris Paterson <chris.paterson2@renesas.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
Diffstat (limited to 'arch/arm/boot/dts/r8a7743-iwg20m.dtsi')
-rw-r--r-- | arch/arm/boot/dts/r8a7743-iwg20m.dtsi | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/r8a7743-iwg20m.dtsi b/arch/arm/boot/dts/r8a7743-iwg20m.dtsi index 4119737cb883..75a8ca571846 100644 --- a/arch/arm/boot/dts/r8a7743-iwg20m.dtsi +++ b/arch/arm/boot/dts/r8a7743-iwg20m.dtsi @@ -44,6 +44,11 @@ function = "mmc"; }; + qspi_pins: qspi { + groups = "qspi_ctrl", "qspi_data2"; + function = "qspi"; + }; + sdhi0_pins: sd0 { groups = "sdhi0_data4", "sdhi0_ctrl"; function = "sdhi0"; @@ -61,6 +66,27 @@ status = "okay"; }; +&qspi { + pinctrl-0 = <&qspi_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 = "sst,sst25vf016b", "jedec,spi-nor"; + reg = <0>; + spi-max-frequency = <50000000>; + spi-tx-bus-width = <1>; + spi-rx-bus-width = <1>; + m25p,fast-read; + spi-cpol; + spi-cpha; + }; +}; + &sdhi0 { pinctrl-0 = <&sdhi0_pins>; pinctrl-names = "default"; |