diff options
author | Sergei Shtylyov <sergei.shtylyov@cogentembedded.com> | 2015-08-10 23:59:24 +0200 |
---|---|---|
committer | Simon Horman <horms+renesas@verge.net.au> | 2015-09-14 03:16:34 +0200 |
commit | 740b4a9f07fe73b5ccd2bc3dc365dc359e1a332d (patch) | |
tree | ad8ecb9a4327d07fbea7ea5df58516477e83171f /arch/arm/boot/dts/r8a7794.dtsi | |
parent | ARM: shmobile: r8a7794: add GPIO DT support (diff) | |
download | linux-740b4a9f07fe73b5ccd2bc3dc365dc359e1a332d.tar.xz linux-740b4a9f07fe73b5ccd2bc3dc365dc359e1a332d.zip |
ARM: shmobile: r8a7794: add QSPI DT support
Define the generic R8A7794 part of the QSPI device node.
Based on original patch by Hisashi Nakamura <hisashi.nakamura.ak@renesas.com>.
Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Acked-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
Diffstat (limited to 'arch/arm/boot/dts/r8a7794.dtsi')
-rw-r--r-- | arch/arm/boot/dts/r8a7794.dtsi | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/r8a7794.dtsi b/arch/arm/boot/dts/r8a7794.dtsi index e9fab31e0709..e0f32ede2181 100644 --- a/arch/arm/boot/dts/r8a7794.dtsi +++ b/arch/arm/boot/dts/r8a7794.dtsi @@ -19,6 +19,10 @@ #address-cells = <2>; #size-cells = <2>; + aliases { + spi0 = &qspi; + }; + cpus { #address-cells = <1>; #size-cells = <0>; @@ -537,6 +541,20 @@ status = "disabled"; }; + qspi: spi@e6b10000 { + compatible = "renesas,qspi-r8a7794", "renesas,qspi"; + reg = <0 0xe6b10000 0 0x2c>; + interrupts = <0 184 IRQ_TYPE_LEVEL_HIGH>; + clocks = <&mstp9_clks R8A7794_CLK_QSPI_MOD>; + dmas = <&dmac0 0x17>, <&dmac0 0x18>; + dma-names = "tx", "rx"; + power-domains = <&cpg_clocks>; + num-cs = <1>; + #address-cells = <1>; + #size-cells = <0>; + status = "disabled"; + }; + clocks { #address-cells = <2>; #size-cells = <2>; |