diff mbox series

[v4,2/3] arm: ls1028a: use the new flexspi driver

Message ID 20191217231000.16313-2-michael@walle.cc
State Accepted
Commit 922ac0f661507b6ec24a17a6ad0a949c6d5bcca1
Delegated to: Priyanka Jain
Headers show
Series [v4,1/3] spi: nxp_fspi: new driver for the FlexSPI controller | expand

Commit Message

Michael Walle Dec. 17, 2019, 11:09 p.m. UTC
Also align the fspi node with the kernel one.

Signed-off-by: Michael Walle <michael@walle.cc>
Reviewed-by: Kuldeep Singh <kuldeep.singh@nxp.com>
---
changes since v1:
 - none
changes since v2:
 - none
changes since v3:
 - none

 arch/arm/dts/fsl-ls1028a.dtsi | 14 ++++++++------
 1 file changed, 8 insertions(+), 6 deletions(-)

Comments

Priyanka Jain Feb. 5, 2020, 6:32 a.m. UTC | #1
>-----Original Message-----
>From: Michael Walle <michael@walle.cc>
>Sent: Wednesday, December 18, 2019 4:40 AM
>To: u-boot@lists.denx.de
>Cc: Vignesh R <vigneshr@ti.com>; Prabhakar X
><prabhakar.kushwaha@nxp.com>; Kuldeep Singh <kuldeep.singh@nxp.com>;
>Priyanka Jain <priyanka.jain@nxp.com>; Michael Walle <michael@walle.cc>
>Subject: [PATCH v4 2/3] arm: ls1028a: use the new flexspi driver
>
>Also align the fspi node with the kernel one.
>
>Signed-off-by: Michael Walle <michael@walle.cc>
>Reviewed-by: Kuldeep Singh <kuldeep.singh@nxp.com>
>---
2/3, 3/3 of the series applied on u-boot-fsl-qoriq/master. Awaiting upstream 
-priyankajain
diff mbox series

Patch

diff --git a/arch/arm/dts/fsl-ls1028a.dtsi b/arch/arm/dts/fsl-ls1028a.dtsi
index 43a154e8e7..774e477542 100644
--- a/arch/arm/dts/fsl-ls1028a.dtsi
+++ b/arch/arm/dts/fsl-ls1028a.dtsi
@@ -49,14 +49,16 @@ 
 			     <1 10 0x8>; /* Hypervisor PPI, active-low */
 	};
 
-	fspi: flexspi@20C0000 {
-		compatible = "nxp,dn-fspi";
+	fspi: flexspi@20c0000 {
+		compatible = "nxp,lx2160a-fspi";
 		#address-cells = <1>;
 		#size-cells = <0>;
-		reg = <0x0 0x20C0000 0x0 0x10000>,
-			<0x0 0x20000000 0x0 0x10000000>; /*64MB flash*/
-		reg-names = "FSPI", "FSPI-memory";
-		num-cs = <1>;
+		reg = <0x0 0x20c0000 0x0 0x10000>,
+		      <0x0 0x20000000 0x0 0x10000000>;
+		reg-names = "fspi_base", "fspi_mmap";
+		clocks = <&clockgen 4 3>, <&clockgen 4 3>;
+		clock-names = "fspi_en", "fspi";
+		interrupts = <0 25 0x4>;
 		status = "disabled";
 	};