powerpc/t2081qds: Add T2081 QDS board support
PATCH v3 1/1 powerpc/t2081qds: Add T2081 QDS board support
T2081 QDS is a high-performance computing evaluation, development and test platform supporting the T2081 QorIQ Power Architecture processor.
T2081QDS board Overview
-----------------------
- T2081 SoC integrating four 64-bit dual-threads e6500 cores up to 1.8GHz
- 2MB shared L2 and 512KB L3 CoreNet platform cache (CPC)
- CoreNet fabric supporting coherent and noncoherent transactions with prioritization and bandwidth allocation
- 32-/64-bit DDR3/DDR3LP SDRAM memory controller with ECC and interleaving
- Ethernet interfaces:
- Two on-board 10M/100M/1G bps RGMII ports
- Two 10Gbps XFI with on-board SFP+ cage
- 1Gbps/2.5Gbps SGMII Riser card
- 10Gbps XAUI Riser card
- Accelerator:
- DPAA components consist of FMan, BMan, QMan, PME, DCE and SEC
- SerDes:
- 8 lanes up to 10.3125GHz
- Supports SGMII, HiGig, XFI, XAUI and Aurora debug,
- IFC:
- 512MB NOR Flash, 2GB NAND Flash, PromJet debug port and Qixis FPGA
- eSPI:
- Three SPI flash (16MB N25Q128A + 16MB EN25S64 + 512KB SST25WF040)
- USB:
- Two USB2.0 ports with internal PHY (one Type-A + one micro Type mini-AB)
- PCIe:
- Four PCI Express controllers (two PCIe 2.0 and two PCIe 3.0 with SR-IOV)
- eSDHC:
- Supports various SD/SDHC/SDXC/eMMC devices with adapter cards and voltage translators
- I2C:
- Four I2C controllers.
- UART:
- Dual 4-pins UART serial ports
---
v3: add fixup devicetree for t2081qds.
v2: some update for serdes and network configuration.
board/freescale/t2080qds/Makefile | 12 - board/freescale/t2080qds/ddr.c | 119 ----- board/freescale/t2080qds/ddr.h | 72 --- board/freescale/t2080qds/eth_t2080qds.c | 517 ------------------- board/freescale/t2080qds/law.c | 34 -- board/freescale/t2080qds/pci.c | 23 - board/freescale/t2080qds/t2080_pbi.cfg | 41 -- board/freescale/t2080qds/t2080_rcw.cfg | 8 - board/freescale/t2080qds/t2080qds.c | 378 -------------- board/freescale/t2080qds/t2080qds.h | 13 - board/freescale/t2080qds/t2080qds_qixis.h | 47 -- board/freescale/t2080qds/tlb.c | 146 ------ board/freescale/t208xqds/Makefile | 14 + board/freescale/t208xqds/ddr.c | 119 +++++ board/freescale/t208xqds/ddr.h | 72 +++ board/freescale/t208xqds/eth_t208xqds.c | 648 ++++++++++++++++++++++++ board/freescale/t208xqds/law.c | 34 ++ board/freescale/t208xqds/pci.c | 23 + board/freescale/t208xqds/t2080_rcw.cfg | 8 + board/freescale/t208xqds/t2081_rcw.cfg | 8 + board/freescale/t208xqds/t208x_pbi.cfg | 41 ++ board/freescale/t208xqds/t208xqds.c | 459 +++++++++++++++++ board/freescale/t208xqds/t208xqds.h | 13 + board/freescale/t208xqds/t208xqds_qixis.h | 49 ++ board/freescale/t208xqds/tlb.c | 146 ++++++ boards.cfg | 15 +- include/configs/T2080QDS.h | 804 ----------------------------- include/configs/T208xQDS.h | 817 ++++++++++++++++++++++++++++++ 28 files changed, 2461 insertions(+), 2219 deletions(-) delete mode 100644 board/freescale/t2080qds/Makefile delete mode 100644 board/freescale/t2080qds/ddr.c delete mode 100644 board/freescale/t2080qds/ddr.h delete mode 100644 board/freescale/t2080qds/eth_t2080qds.c delete mode 100644 board/freescale/t2080qds/law.c delete mode 100644 board/freescale/t2080qds/pci.c delete mode 100644 board/freescale/t2080qds/t2080_pbi.cfg delete mode 100644 board/freescale/t2080qds/t2080_rcw.cfg delete mode 100644 board/freescale/t2080qds/t2080qds.c delete mode 100644 board/freescale/t2080qds/t2080qds.h delete mode 100644 board/freescale/t2080qds/t2080qds_qixis.h delete mode 100644 board/freescale/t2080qds/tlb.c create mode 100644 board/freescale/t208xqds/Makefile create mode 100644 board/freescale/t208xqds/ddr.c create mode 100644 board/freescale/t208xqds/ddr.h create mode 100644 board/freescale/t208xqds/eth_t208xqds.c create mode 100644 board/freescale/t208xqds/law.c create mode 100644 board/freescale/t208xqds/pci.c create mode 100644 board/freescale/t208xqds/t2080_rcw.cfg create mode 100644 board/freescale/t208xqds/t2081_rcw.cfg create mode 100644 board/freescale/t208xqds/t208x_pbi.cfg create mode 100644 board/freescale/t208xqds/t208xqds.c create mode 100644 board/freescale/t208xqds/t208xqds.h create mode 100644 board/freescale/t208xqds/t208xqds_qixis.h create mode 100644 board/freescale/t208xqds/tlb.c delete mode 100644 include/configs/T2080QDS.h create mode 100644 include/configs/T208xQDS.h
board/freescale/t2080qds/Makefile deleted +0 -12
@@ -1,12 +0,0 @@ -# -# Copyright 2013 Freescale Semiconductor, Inc. -# -# SPDX-License-Identifier: GPL-2.0+ -# - -obj-$(CONFIG_T2080QDS) += t2080qds.o -obj-$(CONFIG_T2080QDS) += eth_t2080qds.o -obj-$(CONFIG_PCI) += pci.o -obj-y += ddr.o -obj-y += law.o -obj-y += tlb.o
board/freescale/t2080qds/ddr.c deleted +0 -119
119 lines not on this page · raw message
board/freescale/t2080qds/ddr.h deleted +0 -72
72 lines not on this page · raw message
board/freescale/t2080qds/eth_t2080qds.c deleted +0 -517
517 lines not on this page · raw message
board/freescale/t2080qds/law.c deleted +0 -34
@@ -1,34 +0,0 @@ -/* -* Copyright 2008-2012 Freescale Semiconductor, Inc. -* -* (C) Copyright 2000 -* Wolfgang Denk, DENX Software Engineering, [email protected]. -* -* SPDX-License-Identifier: GPL-2.0+ -*/ - -#include <common.h> -#include <asm/fsl_law.h> -#include <asm/mmu.h> - -struct law_entry law_table[] = { -SET_LAW (CONFIG_SYS_FLASH_BASE_PHYS ,LAW_SIZE_256M ,LAW_TRGT_IF_IFC ), -#ifdef CONFIG_SYS_BMAN_MEM_PHYS -SET_LAW (CONFIG_SYS_BMAN_MEM_PHYS ,LAW_SIZE_32M ,LAW_TRGT_IF_BMAN ), -#endif -#ifdef CONFIG_SYS_QMAN_MEM_PHYS -SET_LAW (CONFIG_SYS_QMAN_MEM_PHYS ,LAW_SIZE_32M ,LAW_TRGT_IF_QMAN ), -#endif -#ifdef QIXIS_BASE_PHYS -SET_LAW (QIXIS_BASE_PHYS ,LAW_SIZE_4K ,LAW_TRGT_IF_IFC ), -#endif -#ifdef CONFIG_SYS_DCSRBAR_PHYS -/* Limit DCSR to 32M to access NPC Trace Buffer */ -SET_LAW (CONFIG_SYS_DCSRBAR_PHYS ,LAW_SIZE_32M ,LAW_TRGT_IF_DCSR ), -#endif -#ifdef CONFIG_SYS_NAND_BASE_PHYS -SET_LAW (CONFIG_SYS_NAND_BASE_PHYS ,LAW_SIZE_1M ,LAW_TRGT_IF_IFC ), -#endif -}; - -int num_law_entries =ARRAY_SIZE (law_table);
board/freescale/t2080qds/pci.c deleted +0 -23
@@ -1,23 +0,0 @@ -/* -* Copyright 2007-2013 Freescale Semiconductor, Inc. -* -* SPDX-License-Identifier: GPL-2.0+ -*/ - -#include <common.h> -#include <command.h> -#include <pci.h> -#include <asm/fsl_pci.h> -#include <libfdt.h> -#include <fdt_support.h> -#include <asm/fsl_serdes.h> - -void pci_init_board (void ) -{ -fsl_pcie_init_board (0 ); -} - -void pci_of_setup (void *blob,bd_t *bd) -{ -FT_FSL_PCI_SETUP ; -}
board/freescale/t2080qds/t2080_pbi.cfg deleted +0 -41
41 lines not on this page · raw message
board/freescale/t2080qds/t2080_rcw.cfg deleted +0 -8
@@ -1,8 +0,0 @@ -#PBL preamble and RCW header -aa55aa55 010e0100 -#SerDes Protocol: 0x66_0x16 -#Core/DDR: 1533Mhz/2133MT/s -12100017 15000000 00000000 00000000 -66160002 00008400 e8104000 c1000000 -00000000 00000000 00000000 000307fc -00000000 00000000 00000000 00000004
board/freescale/t2080qds/t2080qds.c deleted +0 -378
378 lines not on this page · raw message
board/freescale/t2080qds/t2080qds.h deleted +0 -13
@@ -1,13 +0,0 @@ -/* -* Copyright 2011-2013 Freescale Semiconductor, Inc. -* -* SPDX-License-Identifier: GPL-2.0+ -*/ - -#ifndef __CORENET_DS_H__ -#define __CORENET_DS_H__ - -void fdt_fixup_board_enet (void *blob); -void pci_of_setup (void *blob,bd_t *bd); - -#endif
board/freescale/t2080qds/t2080qds_qixis.h deleted +0 -47
47 lines not on this page · raw message
board/freescale/t2080qds/tlb.c deleted +0 -146
146 lines not on this page · raw message
board/freescale/t208xqds/Makefile new file +14 -0
@@ -0,0 +1,14 @@ +# +# Copyright 2013 Freescale Semiconductor, Inc. +# +# SPDX-License-Identifier: GPL-2.0+ +# + +obj-$(CONFIG_T2080QDS) += t208xqds.o +obj-$(CONFIG_T2080QDS) += eth_t208xqds.o +obj-$(CONFIG_T2081QDS) += t208xqds.o +obj-$(CONFIG_T2081QDS) += eth_t208xqds.o +obj-$(CONFIG_PCI) += pci.o +obj-y += ddr.o +obj-y += law.o +obj-y += tlb.o
board/freescale/t208xqds/ddr.c new file +119 -0
119 lines not on this page · raw message
board/freescale/t208xqds/ddr.h new file +72 -0
72 lines not on this page · raw message
board/freescale/t208xqds/eth_t208xqds.c new file +648 -0
648 lines not on this page · raw message
board/freescale/t208xqds/law.c new file +34 -0
@@ -0,0 +1,34 @@ +/* +* Copyright 2008-2012 Freescale Semiconductor, Inc. +* +* (C) Copyright 2000 +* Wolfgang Denk, DENX Software Engineering, [email protected]. +* +* SPDX-License-Identifier: GPL-2.0+ +*/ + +#include <common.h> +#include <asm/fsl_law.h> +#include <asm/mmu.h> + +struct law_entry law_table[] = { +SET_LAW (CONFIG_SYS_FLASH_BASE_PHYS ,LAW_SIZE_256M ,LAW_TRGT_IF_IFC ), +#ifdef CONFIG_SYS_BMAN_MEM_PHYS +SET_LAW (CONFIG_SYS_BMAN_MEM_PHYS ,LAW_SIZE_32M ,LAW_TRGT_IF_BMAN ), +#endif +#ifdef CONFIG_SYS_QMAN_MEM_PHYS +SET_LAW (CONFIG_SYS_QMAN_MEM_PHYS ,LAW_SIZE_32M ,LAW_TRGT_IF_QMAN ), +#endif +#ifdef QIXIS_BASE_PHYS +SET_LAW (QIXIS_BASE_PHYS ,LAW_SIZE_4K ,LAW_TRGT_IF_IFC ), +#endif +#ifdef CONFIG_SYS_DCSRBAR_PHYS +/* Limit DCSR to 32M to access NPC Trace Buffer */ +SET_LAW (CONFIG_SYS_DCSRBAR_PHYS ,LAW_SIZE_32M ,LAW_TRGT_IF_DCSR ), +#endif +#ifdef CONFIG_SYS_NAND_BASE_PHYS +SET_LAW (CONFIG_SYS_NAND_BASE_PHYS ,LAW_SIZE_1M ,LAW_TRGT_IF_IFC ), +#endif +}; + +int num_law_entries =ARRAY_SIZE (law_table);
board/freescale/t208xqds/pci.c new file +23 -0
@@ -0,0 +1,23 @@ +/* +* Copyright 2007-2013 Freescale Semiconductor, Inc. +* +* SPDX-License-Identifier: GPL-2.0+ +*/ + +#include <common.h> +#include <command.h> +#include <pci.h> +#include <asm/fsl_pci.h> +#include <libfdt.h> +#include <fdt_support.h> +#include <asm/fsl_serdes.h> + +void pci_init_board (void ) +{ +fsl_pcie_init_board (0 ); +} + +void pci_of_setup (void *blob,bd_t *bd) +{ +FT_FSL_PCI_SETUP ; +}
board/freescale/t208xqds/t2080_rcw.cfg new file +8 -0
@@ -0,0 +1,8 @@ +#PBL preamble and RCW header +aa55aa55 010e0100 +#SerDes Protocol: 0x66_0x16 +#Core/DDR: 1533Mhz/2133MT/s +12100017 15000000 00000000 00000000 +66160002 00008400 e8104000 c1000000 +00000000 00000000 00000000 000307fc +00000000 00000000 00000000 00000004
board/freescale/t208xqds/t2081_rcw.cfg new file +8 -0
@@ -0,0 +1,8 @@ +#PBL preamble and RCW header +aa55aa55 010e0100 +#Default SerDes Protocol: 0x6C +#Core/DDR: 1533Mhz/2133MT/s +12100017 15000000 00000000 00000000 +6c000002 00008000 e8104000 c1000000 +00000000 00000000 00000000 000307fc +00000000 00000000 00000000 00000004
board/freescale/t208xqds/t208x_pbi.cfg new file +41 -0
41 lines not on this page · raw message
board/freescale/t208xqds/t208xqds.c new file +459 -0
459 lines not on this page · raw message
board/freescale/t208xqds/t208xqds.h new file +13 -0
@@ -0,0 +1,13 @@ +/* +* Copyright 2011-2013 Freescale Semiconductor, Inc. +* +* SPDX-License-Identifier: GPL-2.0+ +*/ + +#ifndef __CORENET_DS_H__ +#define __CORENET_DS_H__ + +void fdt_fixup_board_enet (void *blob); +void pci_of_setup (void *blob,bd_t *bd); + +#endif
board/freescale/t208xqds/t208xqds_qixis.h new file +49 -0
49 lines not on this page · raw message
board/freescale/t208xqds/tlb.c new file +146 -0
102 lines not on this page · raw message
include/configs/T2080QDS.h deleted +0 -804
804 lines not on this page · raw message
include/configs/T208xQDS.h new file +817 -0
817 lines not on this page · raw message
The rest of this diff is not shown. View the raw message.
Signature · 1 line
1.8.0
Part of the diff is not shown here. View the raw message.
PATCH v3 1/1 powerpc/t2081qds: Add T2081 QDS board support
Quoted 89 lines · Shengzhou Liu
T2081 QDS is a high-performance computing evaluation, development and test platform supporting the T2081 QorIQ Power Architecture processor.
T2081QDS board Overview
-----------------------
- T2081 SoC integrating four 64-bit dual-threads e6500 cores up to 1.8GHz
- 2MB shared L2 and 512KB L3 CoreNet platform cache (CPC)
- CoreNet fabric supporting coherent and noncoherent transactions with prioritization and bandwidth allocation
- 32-/64-bit DDR3/DDR3LP SDRAM memory controller with ECC and interleaving
- Ethernet interfaces:
- Two on-board 10M/100M/1G bps RGMII ports
- Two 10Gbps XFI with on-board SFP+ cage
- 1Gbps/2.5Gbps SGMII Riser card
- 10Gbps XAUI Riser card
- Accelerator:
- DPAA components consist of FMan, BMan, QMan, PME, DCE and SEC
- SerDes:
- 8 lanes up to 10.3125GHz
- Supports SGMII, HiGig, XFI, XAUI and Aurora debug,
- IFC:
- 512MB NOR Flash, 2GB NAND Flash, PromJet debug port and Qixis FPGA
- eSPI:
- Three SPI flash (16MB N25Q128A + 16MB EN25S64 + 512KB SST25WF040)
- USB:
- Two USB2.0 ports with internal PHY (one Type-A + one micro Type mini-AB)
- PCIe:
- Four PCI Express controllers (two PCIe 2.0 and two PCIe 3.0 with SR-IOV)
- eSDHC:
- Supports various SD/SDHC/SDXC/eMMC devices with adapter cards and voltage translators
- I2C:
- Four I2C controllers.
- UART:
- Dual 4-pins UART serial portsSigned-off-by Shengzhou Liu <[email protected]>---
v3: add fixup devicetree for t2081qds.
v2: some update for serdes and network configuration.board/freescale/t2080qds/Makefile | 12 - board/freescale/t2080qds/ddr.c | 119 ----- board/freescale/t2080qds/ddr.h | 72 --- board/freescale/t2080qds/eth_t2080qds.c | 517 ------------------- board/freescale/t2080qds/law.c | 34 -- board/freescale/t2080qds/pci.c | 23 - board/freescale/t2080qds/t2080_pbi.cfg | 41 -- board/freescale/t2080qds/t2080_rcw.cfg | 8 - board/freescale/t2080qds/t2080qds.c | 378 -------------- board/freescale/t2080qds/t2080qds.h | 13 - board/freescale/t2080qds/t2080qds_qixis.h | 47 -- board/freescale/t2080qds/tlb.c | 146 ------ board/freescale/t208xqds/Makefile | 14 + board/freescale/t208xqds/ddr.c | 119 +++++ board/freescale/t208xqds/ddr.h | 72 +++ board/freescale/t208xqds/eth_t208xqds.c | 648 ++++++++++++++++++++++++ board/freescale/t208xqds/law.c | 34 ++ board/freescale/t208xqds/pci.c | 23 + board/freescale/t208xqds/t2080_rcw.cfg | 8 + board/freescale/t208xqds/t2081_rcw.cfg | 8 + board/freescale/t208xqds/t208x_pbi.cfg | 41 ++ board/freescale/t208xqds/t208xqds.c | 459 +++++++++++++++++ board/freescale/t208xqds/t208xqds.h | 13 + board/freescale/t208xqds/t208xqds_qixis.h | 49 ++ board/freescale/t208xqds/tlb.c | 146 ++++++ boards.cfg | 15 +- include/configs/T2080QDS.h | 804 ----------------------------- include/configs/T208xQDS.h | 817 ++++++++++++++++++++++++++++++ 28 files changed, 2461 insertions(+), 2219 deletions(-) delete mode 100644 board/freescale/t2080qds/Makefile delete mode 100644 board/freescale/t2080qds/ddr.c delete mode 100644 board/freescale/t2080qds/ddr.h delete mode 100644 board/freescale/t2080qds/eth_t2080qds.c delete mode 100644 board/freescale/t2080qds/law.c delete mode 100644 board/freescale/t2080qds/pci.c delete mode 100644 board/freescale/t2080qds/t2080_pbi.cfg delete mode 100644 board/freescale/t2080qds/t2080_rcw.cfg delete mode 100644 board/freescale/t2080qds/t2080qds.c delete mode 100644 board/freescale/t2080qds/t2080qds.h delete mode 100644 board/freescale/t2080qds/t2080qds_qixis.h delete mode 100644 board/freescale/t2080qds/tlb.c create mode 100644 board/freescale/t208xqds/Makefile create mode 100644 board/freescale/t208xqds/ddr.c create mode 100644 board/freescale/t208xqds/ddr.h create mode 100644 board/freescale/t208xqds/eth_t208xqds.c create mode 100644 board/freescale/t208xqds/law.c create mode 100644 board/freescale/t208xqds/pci.c create mode 100644 board/freescale/t208xqds/t2080_rcw.cfg
Quoted 9 lines
create mode 100644 board/freescale/t208xqds/t2081_rcw.cfg create mode 100644 board/freescale/t208xqds/t208x_pbi.cfg create mode 100644 board/freescale/t208xqds/t208xqds.c create mode 100644 board/freescale/t208xqds/t208xqds.h create mode 100644 board/freescale/t208xqds/t208xqds_qixis.h create mode 100644 board/freescale/t208xqds/tlb.c delete mode 100644 include/configs/T2080QDS.h create mode 100644 include/configs/T208xQDS.h
Next time, please format the patch with this command
git format-patch -M -C --find-copies-harder
It will generate a patch with detection of moving and copies code, so your change set will be much smaller.
York
PATCH v3 1/1 powerpc/t2081qds: Add T2081 QDS board support
In reply to Shengzhou LiuQuoted 36 lines · Shengzhou Liu
T2081 QDS is a high-performance computing evaluation, development and test platform supporting the T2081 QorIQ Power Architecture processor.
T2081QDS board Overview
-----------------------
- T2081 SoC integrating four 64-bit dual-threads e6500 cores up to 1.8GHz
- 2MB shared L2 and 512KB L3 CoreNet platform cache (CPC)
- CoreNet fabric supporting coherent and noncoherent transactions with prioritization and bandwidth allocation
- 32-/64-bit DDR3/DDR3LP SDRAM memory controller with ECC and interleaving
- Ethernet interfaces:
- Two on-board 10M/100M/1G bps RGMII ports
- Two 10Gbps XFI with on-board SFP+ cage
- 1Gbps/2.5Gbps SGMII Riser card
- 10Gbps XAUI Riser card
- Accelerator:
- DPAA components consist of FMan, BMan, QMan, PME, DCE and SEC
- SerDes:
- 8 lanes up to 10.3125GHz
- Supports SGMII, HiGig, XFI, XAUI and Aurora debug,
- IFC:
- 512MB NOR Flash, 2GB NAND Flash, PromJet debug port and Qixis FPGA
- eSPI:
- Three SPI flash (16MB N25Q128A + 16MB EN25S64 + 512KB SST25WF040)
- USB:
- Two USB2.0 ports with internal PHY (one Type-A + one micro Type mini-AB)
- PCIe:
- Four PCI Express controllers (two PCIe 2.0 and two PCIe 3.0 with SR-IOV)
- eSDHC:
- Supports various SD/SDHC/SDXC/eMMC devices with adapter cards and voltage translators
- I2C:
- Four I2C controllers.
- UART:
- Dual 4-pins UART serial ports
Quoted 4 lines
Signed-off-by Shengzhou Liu <[email protected]>---
v3: add fixup devicetree for t2081qds.
v2: some update for serdes and network configuration.
Applied to u-boot-mpc85xx/master. Thanks.
York