Re: [PATCH v2 2/3] ARM: dts: r8a77470: Add QSPI support

2018-11-13 Thread Simon Horman
On Fri, Nov 09, 2018 at 11:05:56AM +0100, Simon Horman wrote:
> On Thu, Nov 08, 2018 at 05:04:42PM +, Fabrizio Castro wrote:
> > Add QSPI[01] support to the RZ/G1C SoC specific device tree.
> > 
> > Signed-off-by: Fabrizio Castro 
> 
> Thanks,
> 
> This looks fine to me but I will wait to see if there are other reviews
> before applying.

Thanks again,

applied for v4.21.


Re: [PATCH v2 2/3] ARM: dts: r8a77470: Add QSPI support

2018-11-09 Thread Simon Horman
On Thu, Nov 08, 2018 at 05:04:42PM +, Fabrizio Castro wrote:
> Add QSPI[01] support to the RZ/G1C SoC specific device tree.
> 
> Signed-off-by: Fabrizio Castro 

Thanks,

This looks fine to me but I will wait to see if there are other reviews
before applying.

Reviewed-by: Simon Horman 


[PATCH v2 2/3] ARM: dts: r8a77470: Add QSPI support

2018-11-08 Thread Fabrizio Castro
Add QSPI[01] support to the RZ/G1C SoC specific device tree.

Signed-off-by: Fabrizio Castro 

---
v1->v2:
* Removed aliases

 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 5c0e48d..f4e232b 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_MOD 918>;
+   dmas = < 0x17>, < 0x18>,
+  < 0x17>, < 0x18>;
+   dma-names = "tx", "rx", "tx", "rx";
+   power-domains = < R8A77470_PD_ALWAYS_ON>;
+   num-cs = <1>;
+   #address-cells = <1>;
+   #size-cells = <0>;
+   resets = < 918>;
+   status = "disabled";
+   };
+
+   qspi1: spi@ee20 {
+   compatible = "renesas,qspi-r8a77470", "renesas,qspi";
+   reg = <0 0xee20 0 0x2c>;
+   interrupts = ;
+   clocks = < CPG_MOD 917>;
+   dmas = < 0xd1>, < 0xd2>,
+  < 0xd1>, < 0xd2>;
+   dma-names = "tx", "rx", "tx", "rx";
+   power-domains = < R8A77470_PD_ALWAYS_ON>;
+   num-cs = <1>;
+   #address-cells = <1>;
+   #size-cells = <0>;
+   resets = < 917>;
+   status = "disabled";
+   };
+
scif0: serial@e6e6 {
compatible = "renesas,scif-r8a77470",
 "renesas,rcar-gen2-scif", "renesas,scif";
-- 
2.7.4