[PATCH 14/16] ARM: dts: r8a77470: Add QSPI support

2018-11-28 Thread Simon Horman
From: Fabrizio Castro 

Add QSPI[01] support to the RZ/G1C SoC specific device tree.

Signed-off-by: Fabrizio Castro 
Signed-off-by: Simon Horman 
---
 arch/arm/boot/dts/r8a77470.dtsi | 32 
 1 file changed, 32 insertions(+)

diff --git a/arch/arm/boot/dts/r8a77470.dtsi b/arch/arm/boot/dts/r8a77470.dtsi
index 5c0e48d0449a..f4e232bf9d03 100644
--- a/arch/arm/boot/dts/r8a77470.dtsi
+++ b/arch/arm/boot/dts/r8a77470.dtsi
@@ -460,6 +460,38 @@
status = "disabled";
};
 
+   qspi0: spi@e6b1 {
+   compatible = "renesas,qspi-r8a77470", "renesas,qspi";
+   reg = <0 0xe6b1 0 0x2c>;
+   interrupts = ;
+   clocks = <&cpg CPG_MOD 918>;
+   dmas = <&dmac0 0x17>, <&dmac0 0x18>,
+  <&dmac1 0x17>, <&dmac1 0x18>;
+   dma-names = "tx", "rx", "tx", "rx";
+   power-domains = <&sysc R8A77470_PD_ALWAYS_ON>;
+   num-cs = <1>;
+   #address-cells = <1>;
+   #size-cells = <0>;
+   resets = <&cpg 918>;
+   status = "disabled";
+   };
+
+   qspi1: spi@ee20 {
+   compatible = "renesas,qspi-r8a77470", "renesas,qspi";
+   reg = <0 0xee20 0 0x2c>;
+   interrupts = ;
+   clocks = <&cpg CPG_MOD 917>;
+   dmas = <&dmac0 0xd1>, <&dmac0 0xd2>,
+  <&dmac1 0xd1>, <&dmac1 0xd2>;
+   dma-names = "tx", "rx", "tx", "rx";
+   power-domains = <&sysc R8A77470_PD_ALWAYS_ON>;
+   num-cs = <1>;
+   #address-cells = <1>;
+   #size-cells = <0>;
+   resets = <&cpg 917>;
+   status = "disabled";
+   };
+
scif0: serial@e6e6 {
compatible = "renesas,scif-r8a77470",
 "renesas,rcar-gen2-scif", "renesas,scif";
-- 
2.11.0



[PATCH 14/16] ARM: dts: r8a77470: Add QSPI support

2018-11-26 Thread Simon Horman
From: Fabrizio Castro 

Add QSPI[01] support to the RZ/G1C SoC specific device tree.

Signed-off-by: Fabrizio Castro 
Signed-off-by: Simon Horman 
---
 arch/arm/boot/dts/r8a77470.dtsi | 32 
 1 file changed, 32 insertions(+)

diff --git a/arch/arm/boot/dts/r8a77470.dtsi b/arch/arm/boot/dts/r8a77470.dtsi
index 5c0e48d0449a..f4e232bf9d03 100644
--- a/arch/arm/boot/dts/r8a77470.dtsi
+++ b/arch/arm/boot/dts/r8a77470.dtsi
@@ -460,6 +460,38 @@
status = "disabled";
};
 
+   qspi0: spi@e6b1 {
+   compatible = "renesas,qspi-r8a77470", "renesas,qspi";
+   reg = <0 0xe6b1 0 0x2c>;
+   interrupts = ;
+   clocks = <&cpg CPG_MOD 918>;
+   dmas = <&dmac0 0x17>, <&dmac0 0x18>,
+  <&dmac1 0x17>, <&dmac1 0x18>;
+   dma-names = "tx", "rx", "tx", "rx";
+   power-domains = <&sysc R8A77470_PD_ALWAYS_ON>;
+   num-cs = <1>;
+   #address-cells = <1>;
+   #size-cells = <0>;
+   resets = <&cpg 918>;
+   status = "disabled";
+   };
+
+   qspi1: spi@ee20 {
+   compatible = "renesas,qspi-r8a77470", "renesas,qspi";
+   reg = <0 0xee20 0 0x2c>;
+   interrupts = ;
+   clocks = <&cpg CPG_MOD 917>;
+   dmas = <&dmac0 0xd1>, <&dmac0 0xd2>,
+  <&dmac1 0xd1>, <&dmac1 0xd2>;
+   dma-names = "tx", "rx", "tx", "rx";
+   power-domains = <&sysc R8A77470_PD_ALWAYS_ON>;
+   num-cs = <1>;
+   #address-cells = <1>;
+   #size-cells = <0>;
+   resets = <&cpg 917>;
+   status = "disabled";
+   };
+
scif0: serial@e6e6 {
compatible = "renesas,scif-r8a77470",
 "renesas,rcar-gen2-scif", "renesas,scif";
-- 
2.11.0