mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH 00/15] barebox Layerscape support
@ 2019-03-13  9:41 Sascha Hauer
  2019-03-13  9:41 ` [PATCH 01/15] mci: imx-esdhc: Actually enable cache snooping Sascha Hauer
                   ` (14 more replies)
  0 siblings, 15 replies; 19+ messages in thread
From: Sascha Hauer @ 2019-03-13  9:41 UTC (permalink / raw)
  To: Barebox List

This series adds initial barebox support for the NXP Layerscape
architecture, currently in the form of the LS1046a SoC. What we
have now is:

- NXP LS1046ardb board support
- TQ TQMLS1046a board
- SD/MMC support
- watchdog
- DDR including SPD EEPROM on I2C bus
- I2C support
- FMan ethernet

Sascha

Sascha Hauer (15):
  mci: imx-esdhc: Actually enable cache snooping
  Add Freescale QUICC Engine firmware support
  net: Add Freescale FMan ethernet support
  ARM: Add arm64 pbl udelay
  esdhc-xload: Add support for Layerscape
  watchdog: imx: Add register accessor functions
  watchdog: imx: Add big endian register access support
  scripts: Add Layerscape image tool
  i2c: i.MX: Add layerscape support
  ddr: fsl: Add Freescale ddr driver
  ARM: Add basic Layerscape support
  clk: Add Layerscape clk support
  ARM: Layerscape: Add LS1046a RDB board support
  ARM: Layerscape: Add TQ TQMLS1046a board support
  ARM: Add layerscape_defconfig

 arch/arm/Kconfig                              |   10 +
 arch/arm/Makefile                             |    1 +
 arch/arm/boards/Makefile                      |    2 +
 arch/arm/boards/ls1046ardb/Makefile           |    4 +
 arch/arm/boards/ls1046ardb/board.c            |   36 +
 .../defaultenv-ls1046ardb/nv/dev.eth4.mode    |    1 +
 .../defaultenv-ls1046ardb/nv/dev.eth5.mode    |    1 +
 .../defaultenv-ls1046ardb/nv/dev.eth6.mode    |    1 +
 .../defaultenv-ls1046ardb/nv/dev.eth7.mode    |    1 +
 arch/arm/boards/ls1046ardb/lowlevel.c         |  231 ++
 arch/arm/boards/ls1046ardb/ls1046ardb_pbi.cfg |   22 +
 .../boards/ls1046ardb/ls1046ardb_qspi_pbi.cfg |   26 +
 .../boards/ls1046ardb/ls1046ardb_rcw_emmc.cfg |    7 +
 .../boards/ls1046ardb/ls1046ardb_rcw_qspi.cfg |    7 +
 .../boards/ls1046ardb/ls1046ardb_rcw_sd.cfg   |    7 +
 arch/arm/boards/ls1046ardb/start.S            |   11 +
 arch/arm/boards/tqmls1046a/Makefile           |    3 +
 arch/arm/boards/tqmls1046a/board.c            |   32 +
 .../defaultenv-tqmls1046a/nv/dev.eth4.mode    |    1 +
 .../defaultenv-tqmls1046a/nv/dev.eth5.mode    |    1 +
 .../defaultenv-tqmls1046a/nv/dev.eth6.mode    |    1 +
 .../defaultenv-tqmls1046a/nv/dev.eth7.mode    |    1 +
 arch/arm/boards/tqmls1046a/lowlevel.c         |  217 ++
 arch/arm/boards/tqmls1046a/start.S            |   12 +
 .../boards/tqmls1046a/tqmls1046a_pbi_qspi.cfg |   33 +
 .../boards/tqmls1046a/tqmls1046a_pbi_sd.cfg   |   35 +
 .../tqmls1046a_rcw_emmc_3333_5559.cfg         |   84 +
 .../tqmls1046a_rcw_qspi_3333_5559.cfg         |   84 +
 .../tqmls1046a_rcw_sd_3333_5559.cfg           |   84 +
 arch/arm/configs/layerscape_defconfig         |  111 +
 arch/arm/dts/Makefile                         |    2 +
 arch/arm/dts/fsl-ls1046a-rdb.dts              |   98 +
 arch/arm/dts/fsl-tqmls1046a-mbls10xxa.dts     |  240 ++
 arch/arm/dts/fsl-tqmls1046a.dtsi              |   54 +
 arch/arm/lib64/Makefile                       |    2 +-
 arch/arm/lib64/pbl.c                          |   17 +
 arch/arm/mach-layerscape/Kconfig              |   21 +
 arch/arm/mach-layerscape/Makefile             |    4 +
 arch/arm/mach-layerscape/errata.c             |  195 ++
 arch/arm/mach-layerscape/icid.c               |  243 ++
 .../mach-layerscape/include/mach/debug_ll.h   |   34 +
 .../arm/mach-layerscape/include/mach/errata.h |    7 +
 .../mach-layerscape/include/mach/layerscape.h |    7 +
 .../mach-layerscape/include/mach/lowlevel.h   |    7 +
 arch/arm/mach-layerscape/include/mach/xload.h |    6 +
 arch/arm/mach-layerscape/lowlevel-ls1046a.c   |  246 ++
 arch/arm/mach-layerscape/lowlevel.S           |   18 +
 common/Kconfig                                |    8 +
 drivers/Kconfig                               |    1 +
 drivers/Makefile                              |    1 +
 drivers/clk/Makefile                          |    1 +
 drivers/clk/clk-qoric.c                       |  665 +++++
 drivers/ddr/Kconfig                           |    1 +
 drivers/ddr/Makefile                          |    1 +
 drivers/ddr/fsl/Kconfig                       |   16 +
 drivers/ddr/fsl/Makefile                      |   12 +
 drivers/ddr/fsl/arm_ddr_gen3.c                |  204 ++
 drivers/ddr/fsl/ctrl_regs.c                   | 2539 +++++++++++++++++
 drivers/ddr/fsl/ddr1_dimm_params.c            |  319 +++
 drivers/ddr/fsl/ddr2_dimm_params.c            |  320 +++
 drivers/ddr/fsl/ddr3_dimm_params.c            |  325 +++
 drivers/ddr/fsl/ddr4_dimm_params.c            |  352 +++
 drivers/ddr/fsl/fsl_ddr.h                     |  234 ++
 drivers/ddr/fsl/fsl_ddr_gen4.c                |  501 ++++
 drivers/ddr/fsl/lc_common_dimm_params.c       |  542 ++++
 drivers/ddr/fsl/main.c                        |  444 +++
 drivers/ddr/fsl/options.c                     | 1133 ++++++++
 drivers/ddr/fsl/util.c                        |   98 +
 drivers/i2c/busses/Kconfig                    |    2 +-
 drivers/i2c/busses/i2c-imx.c                  |    4 +-
 drivers/mci/imx-esdhc-pbl.c                   |   60 +-
 drivers/mci/imx-esdhc.c                       |    3 +-
 drivers/net/Kconfig                           |    8 +
 drivers/net/Makefile                          |    1 +
 drivers/net/fsl-fman.c                        | 1333 +++++++++
 drivers/watchdog/Kconfig                      |    2 +-
 drivers/watchdog/Makefile                     |    1 +
 drivers/watchdog/imxwd.c                      |   46 +-
 firmware/Makefile                             |    2 +
 images/Makefile                               |    3 +-
 images/Makefile.layerscape                    |   59 +
 include/soc/fsl/fsl_ddr_sdram.h               |  558 ++++
 include/soc/fsl/fsl_fman.h                    |  439 +++
 include/soc/fsl/fsl_immap.h                   |  184 ++
 include/soc/fsl/fsl_memac.h                   |  256 ++
 include/soc/fsl/fsl_qbman.h                   |   74 +
 include/soc/fsl/immap_lsch2.h                 |  355 +++
 include/soc/fsl/qe.h                          |  264 ++
 lib/Kconfig                                   |    4 +
 lib/Makefile                                  |    1 +
 lib/fsl-qe-firmware.c                         |   64 +
 scripts/Makefile                              |    1 +
 scripts/pblimage.c                            |  432 +++
 93 files changed, 14120 insertions(+), 21 deletions(-)
 create mode 100644 arch/arm/boards/ls1046ardb/Makefile
 create mode 100644 arch/arm/boards/ls1046ardb/board.c
 create mode 100644 arch/arm/boards/ls1046ardb/defaultenv-ls1046ardb/nv/dev.eth4.mode
 create mode 100644 arch/arm/boards/ls1046ardb/defaultenv-ls1046ardb/nv/dev.eth5.mode
 create mode 100644 arch/arm/boards/ls1046ardb/defaultenv-ls1046ardb/nv/dev.eth6.mode
 create mode 100644 arch/arm/boards/ls1046ardb/defaultenv-ls1046ardb/nv/dev.eth7.mode
 create mode 100644 arch/arm/boards/ls1046ardb/lowlevel.c
 create mode 100644 arch/arm/boards/ls1046ardb/ls1046ardb_pbi.cfg
 create mode 100644 arch/arm/boards/ls1046ardb/ls1046ardb_qspi_pbi.cfg
 create mode 100644 arch/arm/boards/ls1046ardb/ls1046ardb_rcw_emmc.cfg
 create mode 100644 arch/arm/boards/ls1046ardb/ls1046ardb_rcw_qspi.cfg
 create mode 100644 arch/arm/boards/ls1046ardb/ls1046ardb_rcw_sd.cfg
 create mode 100644 arch/arm/boards/ls1046ardb/start.S
 create mode 100644 arch/arm/boards/tqmls1046a/Makefile
 create mode 100644 arch/arm/boards/tqmls1046a/board.c
 create mode 100644 arch/arm/boards/tqmls1046a/defaultenv-tqmls1046a/nv/dev.eth4.mode
 create mode 100644 arch/arm/boards/tqmls1046a/defaultenv-tqmls1046a/nv/dev.eth5.mode
 create mode 100644 arch/arm/boards/tqmls1046a/defaultenv-tqmls1046a/nv/dev.eth6.mode
 create mode 100644 arch/arm/boards/tqmls1046a/defaultenv-tqmls1046a/nv/dev.eth7.mode
 create mode 100644 arch/arm/boards/tqmls1046a/lowlevel.c
 create mode 100644 arch/arm/boards/tqmls1046a/start.S
 create mode 100644 arch/arm/boards/tqmls1046a/tqmls1046a_pbi_qspi.cfg
 create mode 100644 arch/arm/boards/tqmls1046a/tqmls1046a_pbi_sd.cfg
 create mode 100644 arch/arm/boards/tqmls1046a/tqmls1046a_rcw_emmc_3333_5559.cfg
 create mode 100644 arch/arm/boards/tqmls1046a/tqmls1046a_rcw_qspi_3333_5559.cfg
 create mode 100644 arch/arm/boards/tqmls1046a/tqmls1046a_rcw_sd_3333_5559.cfg
 create mode 100644 arch/arm/configs/layerscape_defconfig
 create mode 100644 arch/arm/dts/fsl-ls1046a-rdb.dts
 create mode 100644 arch/arm/dts/fsl-tqmls1046a-mbls10xxa.dts
 create mode 100644 arch/arm/dts/fsl-tqmls1046a.dtsi
 create mode 100644 arch/arm/lib64/pbl.c
 create mode 100644 arch/arm/mach-layerscape/Kconfig
 create mode 100644 arch/arm/mach-layerscape/Makefile
 create mode 100644 arch/arm/mach-layerscape/errata.c
 create mode 100644 arch/arm/mach-layerscape/icid.c
 create mode 100644 arch/arm/mach-layerscape/include/mach/debug_ll.h
 create mode 100644 arch/arm/mach-layerscape/include/mach/errata.h
 create mode 100644 arch/arm/mach-layerscape/include/mach/layerscape.h
 create mode 100644 arch/arm/mach-layerscape/include/mach/lowlevel.h
 create mode 100644 arch/arm/mach-layerscape/include/mach/xload.h
 create mode 100644 arch/arm/mach-layerscape/lowlevel-ls1046a.c
 create mode 100644 arch/arm/mach-layerscape/lowlevel.S
 create mode 100644 drivers/clk/clk-qoric.c
 create mode 100644 drivers/ddr/Kconfig
 create mode 100644 drivers/ddr/Makefile
 create mode 100644 drivers/ddr/fsl/Kconfig
 create mode 100644 drivers/ddr/fsl/Makefile
 create mode 100644 drivers/ddr/fsl/arm_ddr_gen3.c
 create mode 100644 drivers/ddr/fsl/ctrl_regs.c
 create mode 100644 drivers/ddr/fsl/ddr1_dimm_params.c
 create mode 100644 drivers/ddr/fsl/ddr2_dimm_params.c
 create mode 100644 drivers/ddr/fsl/ddr3_dimm_params.c
 create mode 100644 drivers/ddr/fsl/ddr4_dimm_params.c
 create mode 100644 drivers/ddr/fsl/fsl_ddr.h
 create mode 100644 drivers/ddr/fsl/fsl_ddr_gen4.c
 create mode 100644 drivers/ddr/fsl/lc_common_dimm_params.c
 create mode 100644 drivers/ddr/fsl/main.c
 create mode 100644 drivers/ddr/fsl/options.c
 create mode 100644 drivers/ddr/fsl/util.c
 create mode 100644 drivers/net/fsl-fman.c
 create mode 100644 images/Makefile.layerscape
 create mode 100644 include/soc/fsl/fsl_ddr_sdram.h
 create mode 100644 include/soc/fsl/fsl_fman.h
 create mode 100644 include/soc/fsl/fsl_immap.h
 create mode 100644 include/soc/fsl/fsl_memac.h
 create mode 100644 include/soc/fsl/fsl_qbman.h
 create mode 100644 include/soc/fsl/immap_lsch2.h
 create mode 100644 include/soc/fsl/qe.h
 create mode 100644 lib/fsl-qe-firmware.c
 create mode 100644 scripts/pblimage.c

-- 
2.20.1


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 19+ messages in thread

end of thread, other threads:[~2019-03-22  6:41 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-03-13  9:41 [PATCH 00/15] barebox Layerscape support Sascha Hauer
2019-03-13  9:41 ` [PATCH 01/15] mci: imx-esdhc: Actually enable cache snooping Sascha Hauer
2019-03-13  9:41 ` [PATCH 02/15] Add Freescale QUICC Engine firmware support Sascha Hauer
2019-03-13  9:41 ` [PATCH 03/15] net: Add Freescale FMan ethernet support Sascha Hauer
2019-03-13  9:41 ` [PATCH 04/15] ARM: Add arm64 pbl udelay Sascha Hauer
2019-03-19 18:12   ` Andrey Smirnov
2019-03-20  8:16     ` Sascha Hauer
2019-03-22  6:41       ` Andrey Smirnov
2019-03-13  9:41 ` [PATCH 05/15] esdhc-xload: Add support for Layerscape Sascha Hauer
2019-03-13  9:41 ` [PATCH 06/15] watchdog: imx: Add register accessor functions Sascha Hauer
2019-03-13  9:41 ` [PATCH 07/15] watchdog: imx: Add big endian register access support Sascha Hauer
2019-03-13  9:41 ` [PATCH 08/15] scripts: Add Layerscape image tool Sascha Hauer
2019-03-13  9:41 ` [PATCH 09/15] i2c: i.MX: Add layerscape support Sascha Hauer
2019-03-13  9:41 ` [PATCH 10/15] ddr: fsl: Add Freescale ddr driver Sascha Hauer
2019-03-13  9:41 ` [PATCH 11/15] ARM: Add basic Layerscape support Sascha Hauer
2019-03-13  9:41 ` [PATCH 12/15] clk: Add Layerscape clk support Sascha Hauer
2019-03-13  9:42 ` [PATCH 13/15] ARM: Layerscape: Add LS1046a RDB board support Sascha Hauer
2019-03-13  9:42 ` [PATCH 14/15] ARM: Layerscape: Add TQ TQMLS1046a " Sascha Hauer
2019-03-13  9:42 ` [PATCH 15/15] ARM: Add layerscape_defconfig Sascha Hauer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox