mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2025-12-19 16:31:27 +01:00
spi: nxp_fspi: Support i.MX8QXP flexspi
Add the compatible string and driver data for i.MX8QXP. Signed-off-by: Ye Li <ye.li@nxp.com>
This commit is contained in:
parent
c320edc9c0
commit
2866c33218
@ -337,6 +337,15 @@ static struct nxp_fspi_devtype_data imxrt1170_data = {
|
||||
.little_endian = true,
|
||||
};
|
||||
|
||||
static const struct nxp_fspi_devtype_data imx8qxp_data = {
|
||||
.rxfifo = SZ_512, /* (64 * 64 bits) */
|
||||
.txfifo = SZ_1K, /* (128 * 64 bits) */
|
||||
.ahb_buf_size = SZ_2K, /* (256 * 64 bits) */
|
||||
.quirks = 0,
|
||||
.lut_num = 32,
|
||||
.little_endian = true, /* little-endian */
|
||||
};
|
||||
|
||||
struct nxp_fspi {
|
||||
struct udevice *dev;
|
||||
void __iomem *iobase;
|
||||
@ -1081,6 +1090,7 @@ static const struct udevice_id nxp_fspi_ids[] = {
|
||||
{ .compatible = "nxp,lx2160a-fspi", .data = (ulong)&lx2160a_data, },
|
||||
{ .compatible = "nxp,imx8mm-fspi", .data = (ulong)&imx8mm_data, },
|
||||
{ .compatible = "nxp,imx8mp-fspi", .data = (ulong)&imx8mm_data, },
|
||||
{ .compatible = "nxp,imx8qxp-fspi", .data = (ulong)&imx8qxp_data, },
|
||||
{ .compatible = "nxp,imxrt1170-fspi", .data = (ulong)&imxrt1170_data, },
|
||||
{ }
|
||||
};
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user