]> git.karo-electronics.de Git - linux-beck.git/commitdiff
ARM: dts: r8a7792: add MSIOF support
authorSergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Mon, 5 Sep 2016 20:55:57 +0000 (23:55 +0300)
committerSimon Horman <horms+renesas@verge.net.au>
Fri, 4 Nov 2016 09:36:13 +0000 (10:36 +0100)
Define the generic R8A7792 parts of the MSIOF0/1 device nodes.

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 839cd70c4c75b26d6d2c38917c7e641a8349a713..a75e0cd312c5ecdff0e45112cbf8d862ecd79cee 100644 (file)
@@ -26,6 +26,8 @@
                i2c4 = &i2c4;
                i2c5 = &i2c5;
                spi0 = &qspi;
+               spi1 = &msiof0;
+               spi2 = &msiof1;
                vin0 = &vin0;
                vin1 = &vin1;
                vin2 = &vin2;
                        status = "disabled";
                };
 
+               msiof0: spi@e6e20000 {
+                       compatible = "renesas,msiof-r8a7792";
+                       reg = <0 0xe6e20000 0 0x0064>;
+                       interrupts = <GIC_SPI 156 IRQ_TYPE_LEVEL_HIGH>;
+                       clocks = <&mstp0_clks R8A7792_CLK_MSIOF0>;
+                       dmas = <&dmac0 0x51>, <&dmac0 0x52>,
+                              <&dmac1 0x51>, <&dmac1 0x52>;
+                       dma-names = "tx", "rx", "tx", "rx";
+                       power-domains = <&sysc R8A7792_PD_ALWAYS_ON>;
+                       #address-cells = <1>;
+                       #size-cells = <0>;
+                       status = "disabled";
+               };
+
+               msiof1: spi@e6e10000 {
+                       compatible = "renesas,msiof-r8a7792";
+                       reg = <0 0xe6e10000 0 0x0064>;
+                       interrupts = <GIC_SPI 157 IRQ_TYPE_LEVEL_HIGH>;
+                       clocks = <&mstp2_clks R8A7792_CLK_MSIOF1>;
+                       dmas = <&dmac0 0x55>, <&dmac0 0x56>,
+                              <&dmac1 0x55>, <&dmac1 0x56>;
+                       dma-names = "tx", "rx", "tx", "rx";
+                       power-domains = <&sysc R8A7792_PD_ALWAYS_ON>;
+                       #address-cells = <1>;
+                       #size-cells = <0>;
+                       status = "disabled";
+               };
+
                du: display@feb00000 {
                        compatible = "renesas,du-r8a7792";
                        reg = <0 0xfeb00000 0 0x40000>;