mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-12-14 15:23:07 +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>
116 lines
1.9 KiB
Text
116 lines
1.9 KiB
Text
// SPDX-License-Identifier: GPL-2.0+
|
|
/*
|
|
* Xilinx CC108 board DTS
|
|
*
|
|
* (C) Copyright 2007-2018 Xilinx, Inc.
|
|
* (C) Copyright 2007-2013 Michal Simek
|
|
* (C) Copyright 2007-2012 PetaLogix Qld Pty Ltd
|
|
*
|
|
* Michal SIMEK <monstr@monstr.eu>
|
|
*/
|
|
/dts-v1/;
|
|
/include/ "zynq-7000.dtsi"
|
|
|
|
/ {
|
|
model = "Xilinx CC108 board";
|
|
compatible = "xlnx,zynq-cc108", "xlnx,zynq-7000";
|
|
|
|
aliases {
|
|
ethernet0 = &gem0;
|
|
serial0 = &uart0;
|
|
spi0 = &qspi;
|
|
};
|
|
|
|
chosen {
|
|
bootargs = "";
|
|
stdout-path = "serial0:115200n8";
|
|
};
|
|
|
|
memory@0 {
|
|
device_type = "memory";
|
|
reg = <0x0 0x20000000>;
|
|
};
|
|
|
|
usb_phy0: phy0 {
|
|
compatible = "usb-nop-xceiv";
|
|
#phy-cells = <0>;
|
|
};
|
|
|
|
usb_phy1: phy1 {
|
|
compatible = "usb-nop-xceiv";
|
|
#phy-cells = <0>;
|
|
};
|
|
};
|
|
|
|
&gem0 {
|
|
status = "okay";
|
|
phy-mode = "rgmii-id";
|
|
phy-handle = <ðernet_phy>;
|
|
|
|
ethernet_phy: ethernet-phy@1 {
|
|
reg = <1>;
|
|
device_type = "ethernet-phy";
|
|
};
|
|
};
|
|
|
|
&qspi {
|
|
status = "okay";
|
|
is-dual = <0>;
|
|
num-cs = <1>;
|
|
flash@0 { /* 16 MB */
|
|
compatible = "n25q128a11", "jedec,spi-nor";
|
|
reg = <0x0>;
|
|
spi-max-frequency = <50000000>;
|
|
spi-tx-bus-width = <1>;
|
|
spi-rx-bus-width = <4>;
|
|
#address-cells = <1>;
|
|
#size-cells = <1>;
|
|
partition@0 {
|
|
label = "qspi-fsbl-uboot-bs";
|
|
reg = <0x0 0x400000>; /* 4MB */
|
|
};
|
|
partition@400000 {
|
|
label = "qspi-linux";
|
|
reg = <0x400000 0x400000>; /* 4MB */
|
|
};
|
|
partition@800000 {
|
|
label = "qspi-rootfs";
|
|
reg = <0x800000 0x400000>; /* 4MB */
|
|
};
|
|
partition@c00000 {
|
|
label = "qspi-devicetree";
|
|
reg = <0xc00000 0x100000>; /* 1MB */
|
|
};
|
|
partition@d00000 {
|
|
label = "qspi-scratch";
|
|
reg = <0xd00000 0x200000>; /* 2MB */
|
|
};
|
|
partition@f00000 {
|
|
label = "qspi-uboot-env";
|
|
reg = <0xf00000 0x100000>; /* 1MB */
|
|
};
|
|
};
|
|
};
|
|
|
|
&sdhci1 {
|
|
status = "okay";
|
|
broken-cd ;
|
|
wp-inverted ;
|
|
};
|
|
|
|
&uart0 {
|
|
u-boot,dm-pre-reloc;
|
|
status = "okay";
|
|
};
|
|
|
|
&usb0 {
|
|
status = "okay";
|
|
dr_mode = "host";
|
|
usb-phy = <&usb_phy0>;
|
|
};
|
|
|
|
&usb1 {
|
|
status = "okay";
|
|
dr_mode = "host";
|
|
usb-phy = <&usb_phy1>;
|
|
};
|