mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] arm: dts: xilinx: parallella: Enable QSPI and NOR flash
@ 2026-09-17 22:53 Aleksander Jan Bajkowski
  0 siblings, 0 replies; only message in thread
From: Aleksander Jan Bajkowski @ 2026-09-17 22:53 UTC (permalink / raw)
  To: robh, krzk+dt, conor+dt, michal.simek, olek2, devicetree,
	linux-arm-kernel, linux-kernel

The Parallella board has a SPI-NOR flash connected to the QSPI controller.
Enable the QSPI controller and add the corresponding SPI-NOR flash node
to allow the system to access it.

Signed-off-by: Aleksander Jan Bajkowski <olek2@wp.pl>
---
 arch/arm/boot/dts/xilinx/zynq-parallella.dts | 33 ++++++++++++++++++++
 1 file changed, 33 insertions(+)

diff --git a/arch/arm/boot/dts/xilinx/zynq-parallella.dts b/arch/arm/boot/dts/xilinx/zynq-parallella.dts
index 366af4fcf8d9..1903aa1cd83b 100644
--- a/arch/arm/boot/dts/xilinx/zynq-parallella.dts
+++ b/arch/arm/boot/dts/xilinx/zynq-parallella.dts
@@ -78,6 +78,39 @@ ldo2 {
 	};
 };
 
+&qspi {
+	bootph-all;
+	status = "okay";
+	num-cs = <1>;
+
+	flash@0 {
+		compatible = "jedec,spi-nor";
+		reg = <0>;
+		spi-tx-bus-width = <4>;
+		spi-rx-bus-width = <4>;
+		spi-max-frequency = <50000000>;
+		m25p,fast-read;
+
+		partitions {
+			compatible = "fixed-partitions";
+			#address-cells = <1>;
+			#size-cells = <1>;
+
+			partition@0 {
+				label = "uboot";
+				reg = <0x0 0x4e0000>;
+				read-only;
+			};
+
+			partition@4e0000 {
+				label = "uboot-env";
+				reg = <0x4e0000 0x10000>;
+				read-only;
+			};
+		};
+	};
+};
+
 &sdhci1 {
 	status = "okay";
 };
-- 
2.53.0


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2026-09-17 22:53 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-17 22:53 [PATCH] arm: dts: xilinx: parallella: Enable QSPI and NOR flash Aleksander Jan Bajkowski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®