forked from u-boot/u-boot
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
armv8: ls2080ardb: Add QSPI-boot support
QSPI-boot is supported on LS2088ARDB RevF board with LS2088A SoC. LS2088ARDB RevF Board has limitation that QIXIS can not be accessed. CONFIG_FSL_QIXIS is not enabled. Signed-off-by: Priyanka Jain <[email protected]> Signed-off-by: Suresh Gupta <[email protected]> Reviewed-by: York Sun <[email protected]>
- Loading branch information
1 parent
d1418c1
commit 89a168f
Showing
9 changed files
with
195 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
/* | ||
* NXP ls2080a RDB board device tree source for QSPI-boot | ||
* | ||
* Author: Priyanka Jain <[email protected]> | ||
* | ||
* Copyright 2017 NXP | ||
* | ||
* SPDX-License-Identifier: GPL-2.0+ | ||
*/ | ||
|
||
/dts-v1/; | ||
|
||
#include "fsl-ls2080a.dtsi" | ||
|
||
/ { | ||
model = "Freescale Layerscape 2080a RDB Board"; | ||
compatible = "fsl,ls2080a-rdb", "fsl,ls2080a"; | ||
|
||
aliases { | ||
spi0 = &qspi; | ||
spi1 = &dspi; | ||
}; | ||
}; | ||
|
||
&dspi { | ||
bus-num = <0>; | ||
status = "okay"; | ||
|
||
dflash0: n25q512a { | ||
#address-cells = <1>; | ||
#size-cells = <1>; | ||
compatible = "spi-flash"; | ||
spi-max-frequency = <3000000>; | ||
spi-cpol; | ||
spi-cpha; | ||
reg = <0>; | ||
}; | ||
}; | ||
|
||
&qspi { | ||
bus-num = <0>; | ||
status = "okay"; | ||
|
||
qflash0: s25fs512s@0 { | ||
#address-cells = <1>; | ||
#size-cells = <1>; | ||
compatible = "spi-flash"; | ||
spi-max-frequency = <50000000>; | ||
reg = <0>; | ||
}; | ||
|
||
qflash1: s25fs512s@1 { | ||
#address-cells = <1>; | ||
#size-cells = <1>; | ||
compatible = "spi-flash"; | ||
spi-max-frequency = <50000000>; | ||
reg = <1>; | ||
}; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,6 +7,11 @@ F: include/configs/ls2080ardb.h | |
F: configs/ls2080ardb_defconfig | ||
F: configs/ls2080ardb_nand_defconfig | ||
|
||
LS2088A_QSPI-boot BOARD | ||
M: Priyanka Jain <[email protected]> | ||
S: Maintained | ||
F: configs/ls2088ardb_qspi_defconfig | ||
|
||
LS2080A_SECURE_BOOT BOARD | ||
M: Saksham Jain <[email protected]> | ||
S: Maintained | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
CONFIG_ARM=y | ||
CONFIG_TARGET_LS2080ARDB=y | ||
CONFIG_FSL_LS_PPA=y | ||
CONFIG_QSPI_AHB_INIT=y | ||
CONFIG_DEFAULT_DEVICE_TREE="fsl-ls2088a-rdb-qspi" | ||
# CONFIG_SYS_MALLOC_F is not set | ||
CONFIG_FIT_VERBOSE=y | ||
CONFIG_OF_BOARD_SETUP=y | ||
CONFIG_OF_STDOUT_VIA_ALIAS=y | ||
CONFIG_QSPI_BOOT=y | ||
CONFIG_BOOTDELAY=10 | ||
CONFIG_CMD_GREPENV=y | ||
# CONFIG_CMD_IMLS is not set | ||
CONFIG_CMD_GPT=y | ||
CONFIG_CMD_MMC=y | ||
CONFIG_CMD_SF=y | ||
CONFIG_CMD_I2C=y | ||
CONFIG_CMD_DHCP=y | ||
CONFIG_CMD_MII=y | ||
CONFIG_CMD_PING=y | ||
CONFIG_CMD_CACHE=y | ||
CONFIG_CMD_EXT2=y | ||
CONFIG_CMD_FAT=y | ||
CONFIG_OF_CONTROL=y | ||
CONFIG_NET_RANDOM_ETHADDR=y | ||
CONFIG_DM=y | ||
CONFIG_FSL_CAAM=y | ||
CONFIG_DM_SPI_FLASH=y | ||
CONFIG_NETDEVICES=y | ||
CONFIG_E1000=y | ||
CONFIG_PCI=y | ||
CONFIG_DM_PCI=y | ||
CONFIG_DM_PCI_COMPAT=y | ||
CONFIG_PCIE_LAYERSCAPE=y | ||
CONFIG_SYS_NS16550=y | ||
CONFIG_DM_SPI=y | ||
CONFIG_FSL_QSPI=y | ||
CONFIG_FSL_DSPI=y | ||
CONFIG_CMD_USB=y | ||
# CONFIG_CMD_SETEXPR is not set | ||
CONFIG_USB=y | ||
CONFIG_DM_USB=y | ||
CONFIG_USB_XHCI_HCD=y | ||
CONFIG_USB_XHCI_DWC3=y | ||
CONFIG_USB_STORAGE=y | ||
CONFIG_EFI_LOADER_BOUNCE_BUFFER=y |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters