All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/8] riscv: Add AST2700 platform support
@ 2024-08-19 10:16 Chia-Wei Wang
  2024-08-19 10:16 ` [PATCH 1/8] riscv: Make A ISA extension selectable Chia-Wei Wang
                   ` (7 more replies)
  0 siblings, 8 replies; 18+ messages in thread
From: Chia-Wei Wang @ 2024-08-19 10:16 UTC (permalink / raw)
  To: rick, ycliang, trini, ryan_chen, joel, u-boot

AST2700 is the 7th generation of Aspeed BMC SoCs.

A 32-bits Ibex RISC-V core is integrated as the boot MCU to run the
first stage bootloader, SPL, for the platform initialization.

This patch series starts by revising RISC-V common code to relax certain
restrictions for finer platform resource tuning. As this MCU adopts the
"small" configuration provided by Ibex and has limited SRAM space.

In addition to the RV common code revision, the other patches provides the
basic AST2700 platform code and DRAM/Timer drivers to succuessfully boot
SPL and U-Boot on this Ibex-based MCU.

Chia-Wei Wang (8):
  riscv: Make A ISA extension selectable
  riscv: Make stack size shift configurable
  riscv: u-boot-spl.lds: Remove _image_binary_end alignment
  riscv: Add AST2700 SoC initial platform support
  timer: Add AST2700 IBEX timer support
  board: ibex_ast2700: Add FMC header support
  ram: ast2700: Add DRAM controller initialization
  configs: ibex-ast2700: Enable DRAM and timer driver

 arch/riscv/Kconfig                            |   12 +-
 arch/riscv/cpu/ast2700/Kconfig                |    6 +
 arch/riscv/cpu/ast2700/Makefile               |    1 +
 arch/riscv/cpu/ast2700/cpu.c                  |   23 +
 arch/riscv/cpu/u-boot-spl.lds                 |    2 -
 arch/riscv/dts/Makefile                       |    1 +
 arch/riscv/dts/ast2700-ibex.dts               |   22 +
 arch/riscv/dts/ast2700-u-boot.dtsi            |   40 +
 arch/riscv/dts/ast2700.dtsi                   |   76 +
 arch/riscv/include/asm/arch-ast2700/fmc_hdr.h |   52 +
 arch/riscv/include/asm/arch-ast2700/scu.h     |  145 +
 arch/riscv/include/asm/arch-ast2700/sdram.h   |  137 +
 arch/riscv/include/asm/arch-ast2700/sli.h     |   82 +
 board/aspeed/ibex_ast2700/Kconfig             |   21 +
 board/aspeed/ibex_ast2700/MAINTAINERS         |    7 +
 board/aspeed/ibex_ast2700/Makefile            |    3 +
 board/aspeed/ibex_ast2700/fmc_hdr.c           |   64 +
 board/aspeed/ibex_ast2700/ibex_ast2700.c      |   85 +
 board/aspeed/ibex_ast2700/sli.c               |   72 +
 configs/ibex-ast2700_defconfig                |   94 +
 drivers/ram/Makefile                          |    2 +-
 drivers/ram/aspeed/Kconfig                    |   27 +-
 drivers/ram/aspeed/Makefile                   |    1 +
 ..._ddrphy_phyinit_ddr4-3200-nodimm-train2D.c | 2700 +++++++
 ..._ddrphy_phyinit_ddr5-3200-nodimm-train2D.c | 6930 +++++++++++++++++
 drivers/ram/aspeed/sdram_ast2700.c            | 1036 +++
 drivers/timer/Kconfig                         |    6 +
 drivers/timer/Makefile                        |    1 +
 drivers/timer/ast_ibex_timer.c                |   45 +
 include/configs/ibex_ast2700.h                |   12 +
 30 files changed, 11696 insertions(+), 9 deletions(-)
 create mode 100644 arch/riscv/cpu/ast2700/Kconfig
 create mode 100644 arch/riscv/cpu/ast2700/Makefile
 create mode 100644 arch/riscv/cpu/ast2700/cpu.c
 create mode 100644 arch/riscv/dts/ast2700-ibex.dts
 create mode 100644 arch/riscv/dts/ast2700-u-boot.dtsi
 create mode 100644 arch/riscv/dts/ast2700.dtsi
 create mode 100644 arch/riscv/include/asm/arch-ast2700/fmc_hdr.h
 create mode 100644 arch/riscv/include/asm/arch-ast2700/scu.h
 create mode 100644 arch/riscv/include/asm/arch-ast2700/sdram.h
 create mode 100644 arch/riscv/include/asm/arch-ast2700/sli.h
 create mode 100644 board/aspeed/ibex_ast2700/Kconfig
 create mode 100644 board/aspeed/ibex_ast2700/MAINTAINERS
 create mode 100644 board/aspeed/ibex_ast2700/Makefile
 create mode 100644 board/aspeed/ibex_ast2700/fmc_hdr.c
 create mode 100644 board/aspeed/ibex_ast2700/ibex_ast2700.c
 create mode 100644 board/aspeed/ibex_ast2700/sli.c
 create mode 100644 configs/ibex-ast2700_defconfig
 create mode 100644 drivers/ram/aspeed/dwc_ddrphy_phyinit_ddr4-3200-nodimm-train2D.c
 create mode 100644 drivers/ram/aspeed/dwc_ddrphy_phyinit_ddr5-3200-nodimm-train2D.c
 create mode 100644 drivers/ram/aspeed/sdram_ast2700.c
 create mode 100644 drivers/timer/ast_ibex_timer.c
 create mode 100644 include/configs/ibex_ast2700.h

-- 
2.25.1


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

end of thread, other threads:[~2024-09-10  2:33 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-08-19 10:16 [PATCH 0/8] riscv: Add AST2700 platform support Chia-Wei Wang
2024-08-19 10:16 ` [PATCH 1/8] riscv: Make A ISA extension selectable Chia-Wei Wang
2024-09-09  8:17   ` Leo Liang
2024-08-19 10:16 ` [PATCH 2/8] riscv: Make stack size shift configurable Chia-Wei Wang
2024-09-09  8:18   ` Leo Liang
2024-08-19 10:16 ` [PATCH 3/8] riscv: u-boot-spl.lds: Remove _image_binary_end alignment Chia-Wei Wang
2024-09-09 12:20   ` Leo Liang
2024-08-19 10:17 ` [PATCH 4/8] riscv: Add AST2700 SoC initial platform support Chia-Wei Wang
2024-09-09 12:17   ` Leo Liang
2024-09-10  2:32     ` ChiaWei Wang
2024-08-19 10:17 ` [PATCH 5/8] timer: Add AST2700 IBEX timer support Chia-Wei Wang
2024-09-09 12:21   ` Leo Liang
2024-08-19 10:17 ` [PATCH 6/8] board: ibex_ast2700: Add FMC header support Chia-Wei Wang
2024-09-09 12:22   ` Leo Liang
2024-08-19 10:17 ` [PATCH 7/8] ram: ast2700: Add DRAM controller initialization Chia-Wei Wang
2024-09-09 12:22   ` Leo Liang
2024-08-19 10:17 ` [PATCH 8/8] configs: ibex-ast2700: Enable DRAM and timer driver Chia-Wei Wang
2024-09-09 12:23   ` Leo Liang

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.