diff options
author | Michal Simek <michal.simek@amd.com> | 2023-10-26 16:04:51 +0200 |
---|---|---|
committer | Michal Simek <michal.simek@amd.com> | 2023-11-07 13:47:09 +0100 |
commit | 0274447bae1e5aa55aa676a6d381036b6c6fc393 (patch) | |
tree | b90bcdba2fa73b846ea135a4379d3b0c5842d040 /arch/arm/dts/versal-mini-qspi-x1-stacked.dts | |
parent | a78761805758c9e751c957f423b2de68ffdb4732 (diff) | |
download | u-boot-0274447bae1e5aa55aa676a6d381036b6c6fc393.zip u-boot-0274447bae1e5aa55aa676a6d381036b6c6fc393.tar.gz u-boot-0274447bae1e5aa55aa676a6d381036b6c6fc393.tar.bz2 |
arm64: versal: Add DTSes for mini qspi/ospi configuration
Mini U-Boot is running out of OCM and it's only purpose is to program non
volatile memories. There are different configurations which ospi/qspi can
be that's why describe them via DT.
DT binding is already approved that's why there is no reason not to add it.
Signed-off-by: Michal Simek <michal.simek@amd.com>
Link: https://lore.kernel.org/r/9518ab1c4299a45e800b8611172edd78c9243132.1698329087.git.michal.simek@amd.com
Diffstat (limited to 'arch/arm/dts/versal-mini-qspi-x1-stacked.dts')
-rw-r--r-- | arch/arm/dts/versal-mini-qspi-x1-stacked.dts | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/arch/arm/dts/versal-mini-qspi-x1-stacked.dts b/arch/arm/dts/versal-mini-qspi-x1-stacked.dts new file mode 100644 index 0000000..905dc77 --- /dev/null +++ b/arch/arm/dts/versal-mini-qspi-x1-stacked.dts @@ -0,0 +1,23 @@ +// SPDX-License-Identifier: GPL-2.0 +/* + * Xilinx Versal QSPI x1 Stacked DTS + * + * Copyright (C) 2018-2019 Xilinx, Inc. + */ + +#include "versal-mini-qspi.dtsi" + +/ { + model = "Xilinx Versal MINI QSPI X1 STACKED"; +}; + +&qspi { + num-cs = <2>; +}; + +&flash0 { + reg = <0>, <1>; + stacked-memories = /bits/ 64 <0x8000000 0x8000000>; /* 128MB */ + spi-tx-bus-width = <1>; + spi-rx-bus-width = <1>; +}; |