Skip to contentSkip to conversation

ARM: dts: ls1021a: Add support for QSPI with ls1021a SoC

PATCH RESEND Applied SZ Lin 3 participants 4 messages Sep 12, 2017 – Nov 16, 2017 Device tree bindings

lore
Share & tools
lore

SZ Lin

author
#0 lore raw

PATCH RESEND 1/1 ARM: dts: ls1021a: Add support for QSPI with ls1021a SoC

Add QSPI node support, and this function is disabled by default This setting could be overwritten in board-level definitions

---
 arch/arm/boot/dts/ls1021a.dtsi | 14 ++++++++++++++
 1 file changed, 14 insertions(+)
arch/arm/boot/dts/ls1021a.dtsi +14 -0
index 7bb9df2c1460..9da876e47810 100644
@@ -154,6 +154,20 @@
 			big-endian;
 		};
 
+		qspi: quadspi at 1550000 {
+			compatible = "fsl,ls1021a-qspi";
+			#address-cells = <1>;
+			#size-cells = <0>;
+			reg = <0x0 0x1550000 0x0 0x10000>,
+			      <0x0 0x40000000 0x0 0x40000000>;
+			reg-names = "QuadSPI", "QuadSPI-memory";
+			interrupts = <GIC_SPI 131 IRQ_TYPE_LEVEL_HIGH>;
+			clock-names = "qspi_en", "qspi";
+			clocks = <&clockgen 4 1>, <&clockgen 4 1>;
+			big-endian;
+			status = "disabled";
+		};
+
 		esdhc: esdhc at 1560000 {
 			compatible = "fsl,esdhc";
 			reg = <0x0 0x1560000 0x0 0x10000>;
Signature · 1 line
2.14.1
Acked-by on v1 1/1
#2 lore raw
In reply to SZ Lin
Quoted 2 lines · SZ Lin

Add QSPI node support, and this function is disabled by default This setting could be overwritten in board-level definitions

Adding Shawn Guo.

Quoted 2 lines
Quoted 36 lines
---
 arch/arm/boot/dts/ls1021a.dtsi | 14 ++++++++++++++
 1 file changed, 14 insertions(+)
arch/arm/boot/dts/ls1021a.dtsi +14 -1
index 7bb9df2c1460..9da876e47810 100644
@@ -154,6 +154,20 @@
                        big-endian;
                };
 
+               qspi: quadspi at 1550000 {
+                       compatible = "fsl,ls1021a-qspi";
+                       #address-cells = <1>;
+                       #size-cells = <0>;
+                       reg = <0x0 0x1550000 0x0 0x10000>,
+                             <0x0 0x40000000 0x0 0x40000000>;
+                       reg-names = "QuadSPI", "QuadSPI-memory";
+                       interrupts = <GIC_SPI 131 IRQ_TYPE_LEVEL_HIGH>;
+                       clock-names = "qspi_en", "qspi";
+                       clocks = <&clockgen 4 1>, <&clockgen 4 1>;
+                       big-endian;
+                       status = "disabled";
+               };
+
                esdhc: esdhc at 1560000 {
                        compatible = "fsl,esdhc";
                        reg = <0x0 0x1560000 0x0 0x10000>;
--

2.14.1

--
To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo at vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html