Re: [U-Boot] [PATCH] armv8: ls1046afrwy: Add support for LS1046AFRWY platform
> -Original Message- > From: U-Boot On Behalf Of Vabhav Sharma > Sent: Thursday, May 9, 2019 7:34 PM > To: u-boot@lists.denx.de > Cc: Pramod Kumar ; Pankit Garg > ; Varun Sethi ; Camelia Alexandra > Groza > Subject: [U-Boot] [PATCH] armv8: ls1046afrwy: Add support for LS1046AFRWY > platform > > LS1046AFRWY board supports LS1046A family SoCs. This patch add base support > for this board. > Board support's 4GB ddr memory, i2c, micro-click module,microSD card, serial > console,qspi nor flash,ifc nand flash,qsgmii network interface, usb 3.0 and > serdes interface to support two x1gen3 pcie interface. > > Signed-off-by: Camelia Groza > Signed-off-by: Madalin Bucur > Signed-off-by: Pankit Garg > Signed-off-by: Pramod Kumar > Signed-off-by: Rajesh Bhagat > Signed-off-by: Vabhav Sharma > --- This patch has been applied to fsl-qoriq master, awaiting upstream. --pk ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot
Re: [U-Boot] [PATCH] armv8: ls1046afrwy: Add support for LS1046AFRWY platform
Dear Prabhakar, > -Original Message- > From: Prabhakar Kushwaha > Sent: Tuesday, May 21, 2019 7:45 PM > To: Vabhav Sharma ; u-boot@lists.denx.de > Cc: Pramod Kumar ; Pankit Garg > ; Varun Sethi ; Camelia > Alexandra Groza > Subject: RE: [U-Boot] [PATCH] armv8: ls1046afrwy: Add support for > LS1046AFRWY platform > > Dear Vabhav, > > > -Original Message- > > From: U-Boot On Behalf Of Vabhav > Sharma > > Sent: Thursday, May 9, 2019 7:34 PM > > To: u-boot@lists.denx.de > > Cc: Pramod Kumar ; Pankit Garg > > ; Varun Sethi ; Camelia > > Alexandra Groza > > Subject: [U-Boot] [PATCH] armv8: ls1046afrwy: Add support for > > LS1046AFRWY platform > > > > LS1046AFRWY board supports LS1046A family SoCs. This patch add base > > support for this board. > > Board support's 4GB ddr memory, i2c, micro-click module,microSD card, > > serial console,qspi nor flash,ifc nand flash,qsgmii network interface, > > usb 3.0 and serdes interface to support two x1gen3 pcie interface. > > > > Signed-off-by: Camelia Groza > > Signed-off-by: Madalin Bucur > > Signed-off-by: Pankit Garg > > Signed-off-by: Pramod Kumar > > Signed-off-by: Rajesh Bhagat > > Signed-off-by: Vabhav Sharma > > --- > > arch/arm/Kconfig | 17 ++ > > arch/arm/cpu/armv8/Kconfig | 1 + > > arch/arm/cpu/armv8/fsl-layerscape/ls1046a_serdes.c | 2 + > > arch/arm/dts/Makefile | 1 + > > arch/arm/dts/fsl-ls1046a-frwy.dts | 34 +++ > > board/freescale/ls1046afrwy/Kconfig| 17 ++ > > board/freescale/ls1046afrwy/MAINTAINERS| 17 ++ > > board/freescale/ls1046afrwy/Makefile | 9 + > > board/freescale/ls1046afrwy/README | 76 +++ > > board/freescale/ls1046afrwy/ddr.c | 24 ++ > > board/freescale/ls1046afrwy/eth.c | 114 ++ > > board/freescale/ls1046afrwy/ls1046afrwy.c | 249 > > + > > board/freescale/ls1046afrwy/ls1046afrwy_pbi.cfg| 22 ++ > > .../freescale/ls1046afrwy/ls1046afrwy_qspi_pbi.cfg | 26 +++ > > .../freescale/ls1046afrwy/ls1046afrwy_rcw_qspi.cfg | 7 + > > board/freescale/ls1046afrwy/ls1046afrwy_rcw_sd.cfg | 7 + > > configs/ls1046afrwy_tfa_defconfig | 58 + > > include/configs/ls1046a_common.h | 13 +- > > include/configs/ls1046afrwy.h | 204 + > > include/fm_eth.h | 12 + > > 20 files changed, 908 insertions(+), 2 deletions(-) create mode > > 100644 arch/arm/dts/fsl-ls1046a-frwy.dts create mode 100644 > > board/freescale/ls1046afrwy/Kconfig > > create mode 100644 board/freescale/ls1046afrwy/MAINTAINERS > > create mode 100644 board/freescale/ls1046afrwy/Makefile > > create mode 100644 board/freescale/ls1046afrwy/README > > create mode 100644 board/freescale/ls1046afrwy/ddr.c create mode > > 100644 board/freescale/ls1046afrwy/eth.c create mode 100644 > > board/freescale/ls1046afrwy/ls1046afrwy.c > > create mode 100644 board/freescale/ls1046afrwy/ls1046afrwy_pbi.cfg > > create mode 100644 > > board/freescale/ls1046afrwy/ls1046afrwy_qspi_pbi.cfg > > create mode 100644 > > board/freescale/ls1046afrwy/ls1046afrwy_rcw_qspi.cfg > > create mode 100644 board/freescale/ls1046afrwy/ls1046afrwy_rcw_sd.cfg > > create mode 100644 configs/ls1046afrwy_tfa_defconfig create mode > > 100644 include/configs/ls1046afrwy.h > > > > diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index > > f91c590..15699a2 > > 100644 > > --- a/arch/arm/Kconfig > > +++ b/arch/arm/Kconfig > > @@ -1329,6 +1329,22 @@ config TARGET_LS1046ARDB > > development platform that supports the QorIQ LS1046A > > Layerscape Architecture processor. > > > > +config TARGET_LS1046AFRWY > > + bool "Support ls1046afrwy" > > + select ARCH_LS1046A > > + select ARM64 > > + select ARMV8_MULTIENTRY > > + select BOARD_EARLY_INIT_F > > + select BOARD_LATE_INIT > > + select DM_SPI_FLASH if DM_SPI > > + select POWER_MC34VR500 > > + select SUPPORT_SPL > > + imply SCSI > > + help > > + Support for Freescale LS1046AFRWY platform. > > + The LS1046A Freeway Board (FRWY) is a high-performance > > + development platform that supports the QorIQ LS1046A > > + Layerscape Architecture processor. > > config TARGET_H2
Re: [U-Boot] [PATCH] armv8: ls1046afrwy: Add support for LS1046AFRWY platform
Dear Vabhav, > -Original Message- > From: U-Boot On Behalf Of Vabhav > Sharma > Sent: Thursday, May 9, 2019 7:34 PM > To: u-boot@lists.denx.de > Cc: Pramod Kumar ; Pankit Garg > ; Varun Sethi ; Camelia > Alexandra Groza > Subject: [U-Boot] [PATCH] armv8: ls1046afrwy: Add support for > LS1046AFRWY platform > > LS1046AFRWY board supports LS1046A family SoCs. This patch add base > support for this board. > Board support's 4GB ddr memory, i2c, micro-click module,microSD card, serial > console,qspi nor flash,ifc nand flash,qsgmii network interface, usb 3.0 and > serdes interface to support two x1gen3 pcie interface. > > Signed-off-by: Camelia Groza > Signed-off-by: Madalin Bucur > Signed-off-by: Pankit Garg > Signed-off-by: Pramod Kumar > Signed-off-by: Rajesh Bhagat > Signed-off-by: Vabhav Sharma > --- > arch/arm/Kconfig | 17 ++ > arch/arm/cpu/armv8/Kconfig | 1 + > arch/arm/cpu/armv8/fsl-layerscape/ls1046a_serdes.c | 2 + > arch/arm/dts/Makefile | 1 + > arch/arm/dts/fsl-ls1046a-frwy.dts | 34 +++ > board/freescale/ls1046afrwy/Kconfig| 17 ++ > board/freescale/ls1046afrwy/MAINTAINERS| 17 ++ > board/freescale/ls1046afrwy/Makefile | 9 + > board/freescale/ls1046afrwy/README | 76 +++ > board/freescale/ls1046afrwy/ddr.c | 24 ++ > board/freescale/ls1046afrwy/eth.c | 114 ++ > board/freescale/ls1046afrwy/ls1046afrwy.c | 249 > + > board/freescale/ls1046afrwy/ls1046afrwy_pbi.cfg| 22 ++ > .../freescale/ls1046afrwy/ls1046afrwy_qspi_pbi.cfg | 26 +++ > .../freescale/ls1046afrwy/ls1046afrwy_rcw_qspi.cfg | 7 + > board/freescale/ls1046afrwy/ls1046afrwy_rcw_sd.cfg | 7 + > configs/ls1046afrwy_tfa_defconfig | 58 + > include/configs/ls1046a_common.h | 13 +- > include/configs/ls1046afrwy.h | 204 + > include/fm_eth.h | 12 + > 20 files changed, 908 insertions(+), 2 deletions(-) create mode 100644 > arch/arm/dts/fsl-ls1046a-frwy.dts create mode 100644 > board/freescale/ls1046afrwy/Kconfig > create mode 100644 board/freescale/ls1046afrwy/MAINTAINERS > create mode 100644 board/freescale/ls1046afrwy/Makefile > create mode 100644 board/freescale/ls1046afrwy/README > create mode 100644 board/freescale/ls1046afrwy/ddr.c create mode > 100644 board/freescale/ls1046afrwy/eth.c create mode 100644 > board/freescale/ls1046afrwy/ls1046afrwy.c > create mode 100644 board/freescale/ls1046afrwy/ls1046afrwy_pbi.cfg > create mode 100644 board/freescale/ls1046afrwy/ls1046afrwy_qspi_pbi.cfg > create mode 100644 board/freescale/ls1046afrwy/ls1046afrwy_rcw_qspi.cfg > create mode 100644 board/freescale/ls1046afrwy/ls1046afrwy_rcw_sd.cfg > create mode 100644 configs/ls1046afrwy_tfa_defconfig create mode 100644 > include/configs/ls1046afrwy.h > > diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index f91c590..15699a2 > 100644 > --- a/arch/arm/Kconfig > +++ b/arch/arm/Kconfig > @@ -1329,6 +1329,22 @@ config TARGET_LS1046ARDB > development platform that supports the QorIQ LS1046A > Layerscape Architecture processor. > > +config TARGET_LS1046AFRWY > + bool "Support ls1046afrwy" > + select ARCH_LS1046A > + select ARM64 > + select ARMV8_MULTIENTRY > + select BOARD_EARLY_INIT_F > + select BOARD_LATE_INIT > + select DM_SPI_FLASH if DM_SPI > + select POWER_MC34VR500 > + select SUPPORT_SPL > + imply SCSI > + help > + Support for Freescale LS1046AFRWY platform. > + The LS1046A Freeway Board (FRWY) is a high-performance > + development platform that supports the QorIQ LS1046A > + Layerscape Architecture processor. > config TARGET_H2200 > bool "Support h2200" > select CPU_PXA > @@ -1617,6 +1633,7 @@ source "board/freescale/ls1021aiot/Kconfig" > source "board/freescale/ls1046aqds/Kconfig" > source "board/freescale/ls1043ardb/Kconfig" > source "board/freescale/ls1046ardb/Kconfig" > +source "board/freescale/ls1046afrwy/Kconfig" > source "board/freescale/ls1012aqds/Kconfig" > source "board/freescale/ls1012ardb/Kconfig" > source "board/freescale/ls1012afrdm/Kconfig" > diff --git a/arch/arm/cpu/armv8/Kconfig b/arch/arm/cpu/armv8/Kconfig > index 7405c3a..ed31df1 100644 > --- a/arch/arm/cpu/armv8/Kconfig > +++ b/arch/arm/cpu/armv8/Kconfig > @@ -106,6 +106,7 @@ c
[U-Boot] [PATCH] armv8: ls1046afrwy: Add support for LS1046AFRWY platform
LS1046AFRWY board supports LS1046A family SoCs. This patch add base support for this board. Board support's 4GB ddr memory, i2c, micro-click module,microSD card, serial console,qspi nor flash,ifc nand flash,qsgmii network interface, usb 3.0 and serdes interface to support two x1gen3 pcie interface. Signed-off-by: Camelia Groza Signed-off-by: Madalin Bucur Signed-off-by: Pankit Garg Signed-off-by: Pramod Kumar Signed-off-by: Rajesh Bhagat Signed-off-by: Vabhav Sharma --- arch/arm/Kconfig | 17 ++ arch/arm/cpu/armv8/Kconfig | 1 + arch/arm/cpu/armv8/fsl-layerscape/ls1046a_serdes.c | 2 + arch/arm/dts/Makefile | 1 + arch/arm/dts/fsl-ls1046a-frwy.dts | 34 +++ board/freescale/ls1046afrwy/Kconfig| 17 ++ board/freescale/ls1046afrwy/MAINTAINERS| 17 ++ board/freescale/ls1046afrwy/Makefile | 9 + board/freescale/ls1046afrwy/README | 76 +++ board/freescale/ls1046afrwy/ddr.c | 24 ++ board/freescale/ls1046afrwy/eth.c | 114 ++ board/freescale/ls1046afrwy/ls1046afrwy.c | 249 + board/freescale/ls1046afrwy/ls1046afrwy_pbi.cfg| 22 ++ .../freescale/ls1046afrwy/ls1046afrwy_qspi_pbi.cfg | 26 +++ .../freescale/ls1046afrwy/ls1046afrwy_rcw_qspi.cfg | 7 + board/freescale/ls1046afrwy/ls1046afrwy_rcw_sd.cfg | 7 + configs/ls1046afrwy_tfa_defconfig | 58 + include/configs/ls1046a_common.h | 13 +- include/configs/ls1046afrwy.h | 204 + include/fm_eth.h | 12 + 20 files changed, 908 insertions(+), 2 deletions(-) create mode 100644 arch/arm/dts/fsl-ls1046a-frwy.dts create mode 100644 board/freescale/ls1046afrwy/Kconfig create mode 100644 board/freescale/ls1046afrwy/MAINTAINERS create mode 100644 board/freescale/ls1046afrwy/Makefile create mode 100644 board/freescale/ls1046afrwy/README create mode 100644 board/freescale/ls1046afrwy/ddr.c create mode 100644 board/freescale/ls1046afrwy/eth.c create mode 100644 board/freescale/ls1046afrwy/ls1046afrwy.c create mode 100644 board/freescale/ls1046afrwy/ls1046afrwy_pbi.cfg create mode 100644 board/freescale/ls1046afrwy/ls1046afrwy_qspi_pbi.cfg create mode 100644 board/freescale/ls1046afrwy/ls1046afrwy_rcw_qspi.cfg create mode 100644 board/freescale/ls1046afrwy/ls1046afrwy_rcw_sd.cfg create mode 100644 configs/ls1046afrwy_tfa_defconfig create mode 100644 include/configs/ls1046afrwy.h diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index f91c590..15699a2 100644 --- a/arch/arm/Kconfig +++ b/arch/arm/Kconfig @@ -1329,6 +1329,22 @@ config TARGET_LS1046ARDB development platform that supports the QorIQ LS1046A Layerscape Architecture processor. +config TARGET_LS1046AFRWY + bool "Support ls1046afrwy" + select ARCH_LS1046A + select ARM64 + select ARMV8_MULTIENTRY + select BOARD_EARLY_INIT_F + select BOARD_LATE_INIT + select DM_SPI_FLASH if DM_SPI + select POWER_MC34VR500 + select SUPPORT_SPL + imply SCSI + help + Support for Freescale LS1046AFRWY platform. + The LS1046A Freeway Board (FRWY) is a high-performance + development platform that supports the QorIQ LS1046A + Layerscape Architecture processor. config TARGET_H2200 bool "Support h2200" select CPU_PXA @@ -1617,6 +1633,7 @@ source "board/freescale/ls1021aiot/Kconfig" source "board/freescale/ls1046aqds/Kconfig" source "board/freescale/ls1043ardb/Kconfig" source "board/freescale/ls1046ardb/Kconfig" +source "board/freescale/ls1046afrwy/Kconfig" source "board/freescale/ls1012aqds/Kconfig" source "board/freescale/ls1012ardb/Kconfig" source "board/freescale/ls1012afrdm/Kconfig" diff --git a/arch/arm/cpu/armv8/Kconfig b/arch/arm/cpu/armv8/Kconfig index 7405c3a..ed31df1 100644 --- a/arch/arm/cpu/armv8/Kconfig +++ b/arch/arm/cpu/armv8/Kconfig @@ -106,6 +106,7 @@ config PSCI_RESET !TARGET_LS1012AFRWY && \ !TARGET_LS1043ARDB && !TARGET_LS1043AQDS && \ !TARGET_LS1046ARDB && !TARGET_LS1046AQDS && \ + !TARGET_LS1046AFRWY && \ !TARGET_LS2081ARDB && !TARGET_LX2160ARDB && \ !TARGET_LX2160AQDS && \ !ARCH_UNIPHIER && !TARGET_S32V234EVB diff --git a/arch/arm/cpu/armv8/fsl-layerscape/ls1046a_serdes.c b/arch/arm/cpu/armv8/fsl-layerscape/ls1046a_serdes.c index f8310f2..caa4862 100644 --- a/arch/arm/cpu/armv8/fsl-layerscape/ls1046a_serdes.c +++ b/arch/arm/cpu/armv8/fsl-layerscape/ls1046a_serdes.c @@ -1,6 +1,7 @@ // SPDX-License-Identifier: GPL-2.0+ /* * Copyright 2016 Freescale Semiconductor, Inc. + * Copyright 2019 NXP */ #include @@ -33,6 +34,7 @@ static struct serdes_config