This patch series add dts support for various boards like 1028ardb,
1028aqds, ls1046afrwy, ls1046ardb and ls1088ardb.
QSPI dts nodes are sorted alphabeticaly and dtsi nodes are sorted
addresswise.
Patch 1 adds support for ls1028ardb and ls1028aqds.
Patch 2 adds support for ls1046afrwy.
Patch 3 adds support for ls1046ardb.
Patch 4 adds support for ls2080a.
Patch 5 adds support for ls1088ardb and ls1088aqds.
Ashish Kumar (4):
arm64: dts: ls1028a: Add FlexSPI support
arm64: dts: ls1046a: Update QSPI node properties of ls1046ardb
arm64: dts: ls208x: Remove non-compatible driver device from qspi node
arm64: dts: ls1088a: Add QSPI support for NXP LS1088
Kuldeep Singh (1):
arm64: dts: ls1046a: Add QSPI node for ls1046afrwy
.../boot/dts/freescale/fsl-ls1028a-qds.dts | 15 ++++++++++++
.../boot/dts/freescale/fsl-ls1028a-rdb.dts | 15 ++++++++++++
.../arm64/boot/dts/freescale/fsl-ls1028a.dtsi | 13 ++++++++++
.../boot/dts/freescale/fsl-ls1046a-frwy.dts | 14 +++++++++++
.../boot/dts/freescale/fsl-ls1046a-rdb.dts | 16 ++++++-------
.../boot/dts/freescale/fsl-ls1088a-qds.dts | 24 +++++++++++++++++++
.../boot/dts/freescale/fsl-ls1088a-rdb.dts | 24 +++++++++++++++++++
.../arm64/boot/dts/freescale/fsl-ls1088a.dtsi | 13 ++++++++++
.../arm64/boot/dts/freescale/fsl-ls208xa.dtsi | 2 +-
9 files changed, 127 insertions(+), 9 deletions(-)
--
2.17.1
Add fspi node property for LS1028A SoC for FlexSPI driver.
Property added for FlexSPI controller and for the connected
slave device for the LS1028ARDB and LS1028AQDS target.
RDB and QDS are having one SPI-NOR flash device, mt35xu02g
connected at CS0.
This flash device "mt35xu02g" is tested for octal read
Signed-off-by: Xiaowei Bao <[email protected]>
Signed-off-by: Ashish Kumar <[email protected]>
---
v2:
Rebased to top
Use "jedec,spi-nor" in compatibles
arch/arm64/boot/dts/freescale/fsl-ls1028a-qds.dts | 15 +++++++++++++++
arch/arm64/boot/dts/freescale/fsl-ls1028a-rdb.dts | 15 +++++++++++++++
arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi | 13 +++++++++++++
3 files changed, 43 insertions(+)
diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1028a-qds.dts b/arch/arm64/boot/dts/freescale/fsl-ls1028a-qds.dts
index 5b9d4b35dd35..ca409d907b36 100644
--- a/arch/arm64/boot/dts/freescale/fsl-ls1028a-qds.dts
+++ b/arch/arm64/boot/dts/freescale/fsl-ls1028a-qds.dts
@@ -123,6 +123,21 @@
status = "okay";
};
+&fspi {
+ status = "okay";
+
+ mt35xu02g0: flash@0 {
+ compatible = "jedec,spi-nor";
+ #address-cells = <1>;
+ #size-cells = <1>;
+ spi-max-frequency = <50000000>;
+ /* The following setting enables 1-1-8 (CMD-ADDR-DATA) mode */
+ spi-rx-bus-width = <8>; /* 8 SPI Rx lines */
+ spi-tx-bus-width = <1>; /* 1 SPI Tx line */
+ reg = <0>;
+ };
+};
+
&i2c0 {
status = "okay";
diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1028a-rdb.dts b/arch/arm64/boot/dts/freescale/fsl-ls1028a-rdb.dts
index 9720a190049f..af25c09ea427 100644
--- a/arch/arm64/boot/dts/freescale/fsl-ls1028a-rdb.dts
+++ b/arch/arm64/boot/dts/freescale/fsl-ls1028a-rdb.dts
@@ -96,6 +96,21 @@
status = "okay";
};
+&fspi {
+ status = "okay";
+
+ mt35xu02g0: flash@0 {
+ compatible = "jedec,spi-nor";
+ #address-cells = <1>;
+ #size-cells = <1>;
+ spi-max-frequency = <50000000>;
+ /* The following setting enables 1-1-8 (CMD-ADDR-DATA) mode */
+ spi-rx-bus-width = <8>; /* 8 SPI Rx lines */
+ spi-tx-bus-width = <1>; /* 1 SPI Tx line */
+ reg = <0>;
+ };
+};
+
&i2c0 {
status = "okay";
diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi b/arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi
index 8e8a77eb596a..f7b79fce3df5 100644
--- a/arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi
+++ b/arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi
@@ -271,6 +271,19 @@
status = "disabled";
};
+ fspi: spi@20c0000 {
+ compatible = "nxp,lx2160a-fspi";
+ #address-cells = <1>;
+ #size-cells = <0>;
+ reg = <0x0 0x20c0000 0x0 0x10000>,
+ <0x0 0x20000000 0x0 0x10000000>;
+ reg-names = "fspi_base", "fspi_mmap";
+ interrupts = <GIC_SPI 25 IRQ_TYPE_LEVEL_HIGH>;
+ clocks = <&clockgen 4 3>, <&clockgen 4 3>;
+ clock-names = "fspi_en", "fspi";
+ status = "disabled";
+ };
+
esdhc: mmc@2140000 {
compatible = "fsl,ls1028a-esdhc", "fsl,esdhc";
reg = <0x0 0x2140000 0x0 0x10000>;
--
2.17.1
Since device properties are different, so remove fsl, ls1021a-qspi.
ls1021a-qspi is to be used only for Big-endian verion of QSPI controller
Signed-off-by: Kuldeep Singh <[email protected]>
Signed-off-by: Ashish Kumar <[email protected]>
---
v2:
Rebased to top
arch/arm64/boot/dts/freescale/fsl-ls208xa.dtsi | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm64/boot/dts/freescale/fsl-ls208xa.dtsi b/arch/arm64/boot/dts/freescale/fsl-ls208xa.dtsi
index 7a0be8eaa84a..8b2fd278844b 100644
--- a/arch/arm64/boot/dts/freescale/fsl-ls208xa.dtsi
+++ b/arch/arm64/boot/dts/freescale/fsl-ls208xa.dtsi
@@ -619,7 +619,7 @@
qspi: spi@20c0000 {
status = "disabled";
- compatible = "fsl,ls2080a-qspi", "fsl,ls1021a-qspi";
+ compatible = "fsl,ls2080a-qspi";
#address-cells = <1>;
#size-cells = <0>;
reg = <0x0 0x20c0000 0x0 0x10000>,
--
2.17.1
On Wed, Dec 04, 2019 at 04:28:13PM +0530, Ashish Kumar wrote:
> This patch series add dts support for various boards like 1028ardb,
> 1028aqds, ls1046afrwy, ls1046ardb and ls1088ardb.
> QSPI dts nodes are sorted alphabeticaly and dtsi nodes are sorted
> addresswise.
>
> Patch 1 adds support for ls1028ardb and ls1028aqds.
>
> Patch 2 adds support for ls1046afrwy.
>
> Patch 3 adds support for ls1046ardb.
>
> Patch 4 adds support for ls2080a.
>
> Patch 5 adds support for ls1088ardb and ls1088aqds.
>
> Ashish Kumar (4):
> arm64: dts: ls1028a: Add FlexSPI support
> arm64: dts: ls1046a: Update QSPI node properties of ls1046ardb
> arm64: dts: ls208x: Remove non-compatible driver device from qspi node
> arm64: dts: ls1088a: Add QSPI support for NXP LS1088
>
> Kuldeep Singh (1):
> arm64: dts: ls1046a: Add QSPI node for ls1046afrwy
Applied all, thanks.