ARM: dts: r8a7792: add QSPI support
authorSergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Fri, 2 Sep 2016 22:08:45 +0000 (01:08 +0300)
committerSimon Horman <horms+renesas@verge.net.au>
Mon, 5 Sep 2016 12:32:43 +0000 (14:32 +0200)
Define the generic R8A7792 part of the QSPI device node.

Based  on the original (and large) patch by Vladimir Barinov
<vladimir.barinov@cogentembedded.com>.

Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
arch/arm/boot/dts/r8a7792.dtsi

index 6ff3e365d56ad6ebe5c5c02a612630b7e5c55b96..713141d38b3ea960fcee7dfdbd9317bbc0527536 100644 (file)
@@ -25,6 +25,7 @@
                i2c3 = &i2c3;
                i2c4 = &i2c4;
                i2c5 = &i2c5;
+               spi0 = &qspi;
                vin0 = &vin0;
                vin1 = &vin1;
                vin2 = &vin2;
                        status = "disabled";
                };
 
+               qspi: spi@e6b10000 {
+                       compatible = "renesas,qspi-r8a7792", "renesas,qspi";
+                       reg = <0 0xe6b10000 0 0x2c>;
+                       interrupts = <GIC_SPI 184 IRQ_TYPE_LEVEL_HIGH>;
+                       clocks = <&mstp9_clks R8A7792_CLK_QSPI_MOD>;
+                       dmas = <&dmac0 0x17>, <&dmac0 0x18>,
+                              <&dmac1 0x17>, <&dmac1 0x18>;
+                       dma-names = "tx", "rx", "tx", "rx";
+                       power-domains = <&sysc R8A7792_PD_ALWAYS_ON>;
+                       num-cs = <1>;
+                       #address-cells = <1>;
+                       #size-cells = <0>;
+                       status = "disabled";
+               };
+
                du: display@feb00000 {
                        compatible = "renesas,du-r8a7792";
                        reg = <0 0xfeb00000 0 0x40000>;
This page took 0.025817 seconds and 5 git commands to generate.