[PATCH] ARM: zynq: Wire single qspi on couple of boards
Michal Simek
monstr at monstr.eu
Mon Aug 23 08:49:08 CEST 2021
pá 6. 8. 2021 v 13:34 odesílatel Michal Simek <michal.simek at xilinx.com> napsal:
>
> Single configuration is working fine and no issue to enable it.
>
> Signed-off-by: Michal Simek <michal.simek at xilinx.com>
> ---
>
> arch/arm/dts/zynq-zc702.dts | 8 ++++++++
> arch/arm/dts/zynq-zc706.dts | 8 ++++++++
> arch/arm/dts/zynq-zc770-xm010.dts | 8 ++++++++
> arch/arm/dts/zynq-zc770-xm013.dts | 8 ++++++++
> 4 files changed, 32 insertions(+)
>
> diff --git a/arch/arm/dts/zynq-zc702.dts b/arch/arm/dts/zynq-zc702.dts
> index 57a47409b915..f2e05a55b958 100644
> --- a/arch/arm/dts/zynq-zc702.dts
> +++ b/arch/arm/dts/zynq-zc702.dts
> @@ -409,6 +409,14 @@
> &qspi {
> u-boot,dm-pre-reloc;
> status = "okay";
> + num-cs = <1>;
> + flash at 0 {
> + compatible = "n25q128a11", "jedec,spi-nor";
> + reg = <0x0>;
> + spi-tx-bus-width = <1>;
> + spi-rx-bus-width = <4>;
> + spi-max-frequency = <50000000>;
> + };
> };
>
> &sdhci0 {
> diff --git a/arch/arm/dts/zynq-zc706.dts b/arch/arm/dts/zynq-zc706.dts
> index 87308c0333d3..cb919e40533e 100644
> --- a/arch/arm/dts/zynq-zc706.dts
> +++ b/arch/arm/dts/zynq-zc706.dts
> @@ -307,6 +307,14 @@
> &qspi {
> u-boot,dm-pre-reloc;
> status = "okay";
> + num-cs = <1>;
> + flash at 0 {
> + compatible = "n25q128a11", "jedec,spi-nor";
> + reg = <0x0>;
> + spi-tx-bus-width = <1>;
> + spi-rx-bus-width = <4>;
> + spi-max-frequency = <50000000>;
> + };
> };
>
> &sdhci0 {
> diff --git a/arch/arm/dts/zynq-zc770-xm010.dts b/arch/arm/dts/zynq-zc770-xm010.dts
> index c547d7921d9c..002ff9f7f489 100644
> --- a/arch/arm/dts/zynq-zc770-xm010.dts
> +++ b/arch/arm/dts/zynq-zc770-xm010.dts
> @@ -62,6 +62,14 @@
>
> &qspi {
> status = "okay";
> + num-cs = <1>;
> + flash at 0 {
> + compatible = "n25q128a11", "jedec,spi-nor";
> + reg = <0x0>;
> + spi-tx-bus-width = <1>;
> + spi-rx-bus-width = <4>;
> + spi-max-frequency = <50000000>;
> + };
> };
>
> &sdhci0 {
> diff --git a/arch/arm/dts/zynq-zc770-xm013.dts b/arch/arm/dts/zynq-zc770-xm013.dts
> index 7218ee3ad8ef..455c8a961057 100644
> --- a/arch/arm/dts/zynq-zc770-xm013.dts
> +++ b/arch/arm/dts/zynq-zc770-xm013.dts
> @@ -61,6 +61,14 @@
>
> &qspi {
> status = "okay";
> + num-cs = <1>;
> + flash at 0 {
> + compatible = "n25q128a11", "jedec,spi-nor";
> + reg = <0x0>;
> + spi-tx-bus-width = <1>;
> + spi-rx-bus-width = <4>;
> + spi-max-frequency = <50000000>;
> + };
> };
>
> &spi0 {
> --
> 2.32.0
>
Applied.
M
--
Michal Simek, Ing. (M.Eng), OpenPGP -> KeyID: FE3D1F91
w: www.monstr.eu p: +42-0-721842854
Maintainer of Linux kernel - Xilinx Microblaze
Maintainer of Linux kernel - Xilinx Zynq ARM and ZynqMP ARM64 SoCs
U-Boot custodian - Xilinx Microblaze/Zynq/ZynqMP/Versal SoCs
More information about the U-Boot
mailing list