From: Quanyang Wang <quanyang.w...@windriver.com>

There are mt25qu512a(64MB)x2 flashes at zcu102 rev1.0 board. So we add
an overlay partition node to enlarge the total flash size to 128MB.

And this is also for flash_lock/unlock since the top sectors in flash
must be visible in order to be locked/unlocked.

Signed-off-by: Quanyang Wang <quanyang.w...@windriver.com>
---
 arch/arm64/boot/dts/xilinx/zynqmp-zcu102-rev1.0.dts | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/arch/arm64/boot/dts/xilinx/zynqmp-zcu102-rev1.0.dts 
b/arch/arm64/boot/dts/xilinx/zynqmp-zcu102-rev1.0.dts
index d508f3359943f..5afa2d4e1520b 100644
--- a/arch/arm64/boot/dts/xilinx/zynqmp-zcu102-rev1.0.dts
+++ b/arch/arm64/boot/dts/xilinx/zynqmp-zcu102-rev1.0.dts
@@ -34,3 +34,12 @@ board_revision: board-revision@e0 {
                reg = <0xe0 0x3>;
        };
 };
+
+&qspi {
+       flash@0 {
+               partition@800000 { /* There are mt25qu512a x2 at rev1.0 board */
+                       label = "qspi-rootfs";
+                       reg = <0x800000 0x7800000>;
+               };
+       };
+};
-- 
2.25.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#10542): 
https://lists.yoctoproject.org/g/linux-yocto/message/10542
Mute This Topic: https://lists.yoctoproject.org/mt/86435174/21656
Group Owner: linux-yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/linux-yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to