mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-12-22 03:03:05 +00:00
bc353102a0
Add missing "jedec, spi-nor" compatible string for QSPI flash node. Spi-nor framework uses this compatibility string to probe & initialize flash. With missing compatibility string we are observing below error: Zynq> sf probe 0 0 0 jedec_spi_nor spi_flash@0:0: unrecognized JEDEC id bytes: 00, 00, 00 Failed to initialize SPI flash at 0:0 (error -2) Signed-off-by: Raju Kumar Pothuraju <raju.kumar-pothuraju@xilinx.com> Signed-off-by: Michal Simek <michal.simek@xilinx.com>
96 lines
1.5 KiB
Text
96 lines
1.5 KiB
Text
// SPDX-License-Identifier: GPL-2.0+
|
|
/*
|
|
* Topic Miami board DTS
|
|
*
|
|
* Copyright (C) 2014-2016 Topic Embedded Products
|
|
*/
|
|
/dts-v1/;
|
|
#include "zynq-7000.dtsi"
|
|
|
|
/ {
|
|
model = "Topic Miami Zynq Board";
|
|
compatible = "topic,miami", "xlnx,zynq-7000";
|
|
|
|
aliases {
|
|
serial0 = &uart0;
|
|
spi0 = &qspi;
|
|
i2c0 = &i2c0;
|
|
i2c1 = &i2c1;
|
|
mmc0 = &sdhci0;
|
|
usbotg0 = &usb0;
|
|
};
|
|
|
|
memory@0 {
|
|
device_type = "memory";
|
|
reg = <0x0 0x40000000>;
|
|
};
|
|
|
|
chosen {
|
|
stdout-path = "serial0:115200n8";
|
|
};
|
|
};
|
|
|
|
&qspi {
|
|
u-boot,dm-pre-reloc;
|
|
status = "okay";
|
|
is-dual = <0>;
|
|
num-cs = <1>;
|
|
flash@0 {
|
|
compatible = "st,m25p80", "n25q256a", "jedec,spi-nor";
|
|
m25p,fast-read;
|
|
reg = <0x0>;
|
|
spi-tx-bus-width = <1>;
|
|
spi-rx-bus-width = <4>;
|
|
spi-max-frequency = <100000000>;
|
|
#address-cells = <1>;
|
|
#size-cells = <1>;
|
|
partition@0 {
|
|
label = "qspi-u-boot-spl";
|
|
reg = <0x00000 0x10000>;
|
|
};
|
|
partition@10000 {
|
|
label = "qspi-u-boot-img";
|
|
reg = <0x10000 0x60000>;
|
|
};
|
|
partition@70000 {
|
|
label = "qspi-device-tree";
|
|
reg = <0x70000 0x10000>;
|
|
};
|
|
partition@80000 {
|
|
label = "qspi-linux";
|
|
reg = <0x80000 0x400000>;
|
|
};
|
|
partition@480000 {
|
|
label = "qspi-rootfs";
|
|
reg = <0x480000 0x1b80000>;
|
|
};
|
|
};
|
|
};
|
|
|
|
&i2c0 {
|
|
status = "okay";
|
|
clock-frequency = <400000>;
|
|
};
|
|
|
|
&i2c1 {
|
|
status = "okay";
|
|
clock-frequency = <400000>;
|
|
};
|
|
|
|
&clkc {
|
|
ps-clk-frequency = <33333333>;
|
|
};
|
|
|
|
&sdhci0 {
|
|
u-boot,dm-pre-reloc;
|
|
status = "okay";
|
|
};
|
|
|
|
&uart0 {
|
|
u-boot,dm-pre-reloc;
|
|
status = "okay";
|
|
};
|
|
|
|
&usb0 {
|
|
status = "okay";
|
|
};
|