Skip to content

Add Intel Agilex SoC support

Ley Foon Tan u-boot 8 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v8 Latest19 patches 0 repliesNew
  2. v719 patches 0 repliesSuperseded
  3. v619 patches 0 repliesSuperseded
Earlier versions · 5
VersionPostedPatchesRepliesStatus
v519 patches0 repliesSuperseded
v417 patches0 repliesSuperseded
v317 patches0 repliesSuperseded
v215 patches0 repliesSuperseded
v115 patches0 repliesSuperseded

Changes in v8 from the cover letter

-------
Patch 12:
- Fixed missing CONFIG_ prefix for TARGET_SOCFPGA_STRATIX10. Patch 17:
- Include socfpga_agilex-u-boot.dtsi in socfpga_agilex_socdk-u-boot.dtsi, instead of include it in socfpga_agilex_socdk.dts.

Patches in v8 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/19arm: socfpga: agilex: Add base address for Intel Agilex SoCarch/arm/mach-socfpga/include/mach/base_addr_s10.h+4 -00 replies
2/19arm: socfpga: Move firewall code to firewall filearch/arm/mach-socfpga/Makefile arch/arm/mach-socfpga/firewall.c arch/arm/mach-socfpga/include/mach/firewall.h +2 more+26 -2000 replies
3/19arm: socfpga: Move Stratix10 and Agilex reset manager common codearch/arm/mach-socfpga/include/mach/reset_manager.h arch/arm/mach-socfpga/include/mach/reset_manager_s10.h arch/arm/mach-socfpga/include/mach/reset_manager_soc64.h +1 more+49 -1060 replies
4/19arm: socfpga: agilex: Add reset manager supportarch/arm/mach-socfpga/include/mach/reset_manager.h+2 -10 replies
5/19arm: socfpga: Move Stratix10 and Agilex system manager common codearch/arm/mach-socfpga/clock_manager_s10.c arch/arm/mach-socfpga/firewall.c arch/arm/mach-socfpga/include/mach/system_manager.h +9 more+159 -1560 replies
6/19arm: socfpga: agilex: Add system manager supportarch/arm/mach-socfpga/include/mach/system_manager.h+2 -10 replies
7/19arm: socfpga: Move Stratix10 and Agilex clock manager common codearch/arm/mach-socfpga/include/mach/clock_manager_s10.h arch/arm/mach-socfpga/include/mach/clock_manager_soc64.h+26 -130 replies
8/19arm: socfpga: Fix CLKMGR_INTOSC_HZ to 400MHzarch/arm/mach-socfpga/include/mach/clock_manager_soc64.h+1 -30 replies
9/19clk: agilex: Add clock driver for Agilexarch/arm/mach-socfpga/misc.c drivers/clk/altera/Makefile drivers/clk/altera/clk-agilex.c +2 more+893 -00 replies
10/19arm: socfpga: agilex: Add clock wrapper functionsarch/arm/mach-socfpga/Makefile arch/arm/mach-socfpga/clock_manager_agilex.c arch/arm/mach-socfpga/include/mach/clock_manager.h +1 more+105 -00 replies
11/19cache: Add Arteris Ncore cache coherent unit driverdrivers/cache/Kconfig drivers/cache/Makefile drivers/cache/cache-ncore.c+173 -00 replies
12/19arm: agilex: Add clock handoff offset for Agilexarch/arm/mach-socfpga/include/mach/handoff_s10.h arch/arm/mach-socfpga/wrap_pll_config_s10.c+10 -40 replies
13/19ddr: altera: Restructure Stratix 10 SDRAM driverdrivers/ddr/altera/Makefile drivers/ddr/altera/sdram_s10.c drivers/ddr/altera/sdram_s10.h +2 more+340 -4790 replies
14/19ddr: altera: agilex: Add SDRAM driver for Agilexdrivers/ddr/altera/Kconfig drivers/ddr/altera/Makefile drivers/ddr/altera/sdram_agilex.c +2 more+174 -30 replies
15/19board: intel: agilex: Add socdk board support for Intel Agilex SoCboard/intel/agilex-socdk/MAINTAINERS board/intel/agilex-socdk/Makefile board/intel/agilex-socdk/socfpga.c+21 -00 replies
16/19arm: socfpga: agilex: Add SPL for Agilex SoCarch/arm/mach-socfpga/Makefile arch/arm/mach-socfpga/spl_agilex.c+101 -00 replies
17/19arm: dts: agilex: Add base dtsi and devkit dtsarch/arm/dts/Makefile arch/arm/dts/socfpga_agilex-u-boot.dtsi arch/arm/dts/socfpga_agilex.dtsi +2 more+899 -06 replies
18/19configs: socfpga: Move Stratix10 and Agilex common CONFIGsinclude/configs/socfpga_soc64_common.h include/configs/socfpga_stratix10_socdk.h+7 -1941 reply
19/19arm: socfpga: agilex: Enable Agilex SoC buildarch/arm/Kconfig arch/arm/mach-socfpga/Kconfig arch/arm/mach-socfpga/Makefile +3 more+104 -30 replies

Reviews trailers per patch

All 19 patches have a Reviewed-by or Acked-by.

PatchSimon Goldschmidt
1/19R-b
2/19R-b
3/19R-b
4/19R-b
5/19R-b
6/19R-b
7/19R-b
8/19R-b
9/19R-b
10/19R-b
11/19R-b
12/19R-b
13/19R-b
14/19R-b
15/19R-b
16/19R-b
17/19R-b
18/19R-b
19/19R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v8 thread

Cover letter [U-Boot] [PATCH v8 00/19] Add Intel Agilex SoC support

This is 8th version of patchset to add Intel Agilex SoC[1] support.

This patchset needs to apply after patchset in [2] for manager driver struct to defines conversion and [3] for enable cache driver build in SPL.

Patch status:
Have changes: Patch 12, 17
Other patches unchanged.

Detail changelog can find in commit message.

Intel Agilex SoC is with a 64-bit quad core ARM Cortex-A53 MPCore hard processor system (HPS). New IPs in Agilex are CCU, clock manager and SDRAM, other IPs have minor changes compared to Stratix 10.

Intel Agilex HPS TRM:
https://www.intel.com/content/dam/www/programmable/us/en/pdfs/literature/hb/agilex/mnl-1100.pdf

v7->v8:
-------
Patch 12:
- Fixed missing CONFIG_ prefix for TARGET_SOCFPGA_STRATIX10. Patch 17:
- Include socfpga_agilex-u-boot.dtsi in socfpga_agilex_socdk-u-boot.dtsi, instead of include it in socfpga_agilex_socdk.dts.

History:
---------
[v1]: https://patchwork.ozlabs.org/cover/1097830/
[v2]: https://patchwork.ozlabs.org/cover/1127440/
[v3]: https://patchwork.ozlabs.org/cover/1149863/
[v4]: https://patchwork.ozlabs.org/cover/1161483/
[v5]: https://patchwork.ozlabs.org/cover/1175076/
[v6]: https://patchwork.ozlabs.org/cover/1191577/
[v7]: https://patchwork.ozlabs.org/cover/1200811/

[1]: https://www.intel.com/content/www/us/en/products/programmable/fpga/agilex.html
[2]: https://patchwork.ozlabs.org/cover/1191562/ ("arm: socfpga: Convert drivers from struct to defines") [3]: https://patchwork.ozlabs.org/patch/1191569/ ("spl: Allow cache drivers to be used in SPL")

Ley Foon Tan (19):
arm: socfpga: agilex: Add base address for Intel Agilex SoC
arm: socfpga: Move firewall code to firewall file
arm: socfpga: Move Stratix10 and Agilex reset manager common code
arm: socfpga: agilex: Add reset manager support
arm: socfpga: Move Stratix10 and Agilex system manager common code
arm: socfpga: agilex: Add system manager support
arm: socfpga: Move Stratix10 and Agilex clock manager common code
arm: socfpga: Fix CLKMGR_INTOSC_HZ to 400MHz
clk: agilex: Add clock driver for Agilex
arm: socfpga: agilex: Add clock wrapper functions
cache: Add Arteris Ncore cache coherent unit driver
arm: agilex: Add clock handoff offset for Agilex
ddr: altera: Restructure Stratix 10 SDRAM driver
ddr: altera: agilex: Add SDRAM driver for Agilex
board: intel: agilex: Add socdk board support for Intel Agilex SoC
arm: socfpga: agilex: Add SPL for Agilex SoC
arm: dts: agilex: Add base dtsi and devkit dts
configs: socfpga: Move Stratix10 and Agilex common CONFIGs
arm: socfpga: agilex: Enable Agilex SoC build

 arch/arm/Kconfig                              |   4 +-
 arch/arm/dts/Makefile                         |   1 +
 arch/arm/dts/socfpga_agilex-u-boot.dtsi       |  96 +++
 arch/arm/dts/socfpga_agilex.dtsi              | 622 ++++++++++++++++++
 arch/arm/dts/socfpga_agilex_socdk-u-boot.dtsi |  39 ++
 arch/arm/dts/socfpga_agilex_socdk.dts         | 141 ++++
 arch/arm/mach-socfpga/Kconfig                 |  16 +
 arch/arm/mach-socfpga/Makefile                |  17 +
 arch/arm/mach-socfpga/clock_manager_agilex.c  |  85 +++
 arch/arm/mach-socfpga/clock_manager_s10.c     |   3 +-
 .../mach-socfpga/{spl_s10.c => firewall.c}    | 122 +---
 .../mach-socfpga/include/mach/base_addr_s10.h |   4 +
 .../mach-socfpga/include/mach/clock_manager.h |   2 +
 .../include/mach/clock_manager_agilex.h       |  14 +
 .../include/mach/clock_manager_s10.h          |  16 +-
 .../include/mach/clock_manager_soc64.h        |  21 +
 .../mach/{firewall_s10.h => firewall.h}       |  10 +-
 .../mach-socfpga/include/mach/handoff_s10.h   |   9 +-
 .../mach-socfpga/include/mach/reset_manager.h |   5 +-
 .../include/mach/reset_manager_s10.h          |  95 ---
 .../include/mach/reset_manager_soc64.h        |  38 ++
 .../include/mach/system_manager.h             |   5 +-
 .../include/mach/system_manager_s10.h         | 124 ----
 .../include/mach/system_manager_soc64.h       | 123 ++++
 arch/arm/mach-socfpga/mailbox_s10.c           |   2 +-
 arch/arm/mach-socfpga/misc.c                  |   5 +
 arch/arm/mach-socfpga/misc_s10.c              |   2 +-
 arch/arm/mach-socfpga/reset_manager_s10.c     |  35 +-
 arch/arm/mach-socfpga/spl_agilex.c            |  98 +++
 arch/arm/mach-socfpga/spl_s10.c               |  95 +--
 arch/arm/mach-socfpga/system_manager_s10.c    |  26 +-
 arch/arm/mach-socfpga/wrap_pll_config_s10.c   |  15 +-
 board/intel/agilex-socdk/MAINTAINERS          |   7 +
 board/intel/agilex-socdk/Makefile             |   7 +
 board/intel/agilex-socdk/socfpga.c            |   7 +
 configs/socfpga_agilex_defconfig              |  60 ++
 drivers/cache/Kconfig                         |   8 +
 drivers/cache/Makefile                        |   1 +
 drivers/cache/cache-ncore.c                   | 164 +++++
 drivers/clk/altera/Makefile                   |   1 +
 drivers/clk/altera/clk-agilex.c               | 579 ++++++++++++++++
 drivers/clk/altera/clk-agilex.h               | 237 +++++++
 drivers/ddr/altera/Kconfig                    |   6 +-
 drivers/ddr/altera/Makefile                   |   3 +-
 drivers/ddr/altera/sdram_agilex.c             | 168 +++++
 drivers/ddr/altera/sdram_s10.c                | 298 +--------
 drivers/ddr/altera/sdram_s10.h                | 148 +----
 drivers/ddr/altera/sdram_soc64.c              | 304 +++++++++
 .../ddr/altera/{sdram_s10.h => sdram_soc64.h} |  71 +-
 include/configs/socfpga_agilex_socdk.h        |  12 +
 ...ratix10_socdk.h => socfpga_soc64_common.h} |  14 +-
 include/configs/socfpga_stratix10_socdk.h     | 193 +-----
 include/dt-bindings/clock/agilex-clock.h      |  71 ++
 53 files changed, 3091 insertions(+), 1158 deletions(-)
 create mode 100644 arch/arm/dts/socfpga_agilex-u-boot.dtsi
 create mode 100644 arch/arm/dts/socfpga_agilex.dtsi
 create mode 100644 arch/arm/dts/socfpga_agilex_socdk-u-boot.dtsi
 create mode 100644 arch/arm/dts/socfpga_agilex_socdk.dts
 create mode 100644 arch/arm/mach-socfpga/clock_manager_agilex.c
 copy arch/arm/mach-socfpga/{spl_s10.c => firewall.c} (53%)
 create mode 100644 arch/arm/mach-socfpga/include/mach/clock_manager_agilex.h
 create mode 100644 arch/arm/mach-socfpga/include/mach/clock_manager_soc64.h
 rename arch/arm/mach-socfpga/include/mach/{firewall_s10.h => firewall.h} (94%)
 delete mode 100644 arch/arm/mach-socfpga/include/mach/reset_manager_s10.h
 create mode 100644 arch/arm/mach-socfpga/include/mach/reset_manager_soc64.h
 delete mode 100644 arch/arm/mach-socfpga/include/mach/system_manager_s10.h
 create mode 100644 arch/arm/mach-socfpga/include/mach/system_manager_soc64.h
 create mode 100644 arch/arm/mach-socfpga/spl_agilex.c
 create mode 100644 board/intel/agilex-socdk/MAINTAINERS
 create mode 100644 board/intel/agilex-socdk/Makefile
 create mode 100644 board/intel/agilex-socdk/socfpga.c
 create mode 100644 configs/socfpga_agilex_defconfig
 create mode 100644 drivers/cache/cache-ncore.c
 create mode 100644 drivers/clk/altera/clk-agilex.c
 create mode 100644 drivers/clk/altera/clk-agilex.h
 create mode 100644 drivers/ddr/altera/sdram_agilex.c
 create mode 100644 drivers/ddr/altera/sdram_soc64.c
 copy drivers/ddr/altera/{sdram_s10.h => sdram_soc64.h} (79%)
 create mode 100644 include/configs/socfpga_agilex_socdk.h
 copy include/configs/{socfpga_stratix10_socdk.h => socfpga_soc64_common.h} (94%)
 create mode 100644 include/dt-bindings/clock/agilex-clock.h
Signature · 1 line
2.19.0