Skip to contentSkip to conversation

Add-CoreCourse-socfpga-Boards

PATCH Superseded Brian Sune 1 participant 3 messages Jan 27

Subsystems (3)

v4 of 7 Superseded Latest is v7 →

lore
Share & tools
lore

Brian Sune

author
#0 lore raw

v4 cover Add-CoreCourse-socfpga-Boards

Introduce CoreCourse boards to mainstream.

Altera SoCFPGA GEN5 boards:
AC501 - small formfactor
AC550 - complex development board

Brian Sune (2):
Add CoreCourse socfpga Board AC501
Add CoreCourse socfpga Board AC550

 arch/arm/dts/Makefile                         |   2 +
 arch/arm/dts/socfpga_cyclone5_ac501soc.dts    |  85 +++
 arch/arm/dts/socfpga_cyclone5_ac550soc.dts    | 131 ++++
 .../dts/socfpga_cyclone_ac501soc-u-boot.dtsi  |  44 ++
 .../dts/socfpga_cyclone_ac550soc-u-boot.dtsi  |  44 ++
 arch/arm/mach-socfpga/Kconfig                 |  14 +
 board/corecourse/ac501soc/MAINTAINERS         |   6 +
 board/corecourse/ac501soc/qts/iocsr_config.h  | 664 ++++++++++++++++++
 board/corecourse/ac501soc/qts/pinmux_config.h | 222 ++++++
 board/corecourse/ac501soc/qts/pll_config.h    |  86 +++
 board/corecourse/ac501soc/qts/sdram_config.h  | 349 +++++++++
 board/corecourse/ac550soc/MAINTAINERS         |   6 +
 board/corecourse/ac550soc/qts/iocsr_config.h  | 664 ++++++++++++++++++
 board/corecourse/ac550soc/qts/pinmux_config.h | 222 ++++++
 board/corecourse/ac550soc/qts/pll_config.h    |  86 +++
 board/corecourse/ac550soc/qts/sdram_config.h  | 349 +++++++++
 configs/socfpga_ac501soc_defconfig            |  85 +++
 configs/socfpga_ac550soc_defconfig            |  85 +++
 18 files changed, 3144 insertions(+)
 create mode 100644 arch/arm/dts/socfpga_cyclone5_ac501soc.dts
 create mode 100644 arch/arm/dts/socfpga_cyclone5_ac550soc.dts
 create mode 100644 arch/arm/dts/socfpga_cyclone_ac501soc-u-boot.dtsi
 create mode 100644 arch/arm/dts/socfpga_cyclone_ac550soc-u-boot.dtsi
 create mode 100644 board/corecourse/ac501soc/MAINTAINERS
 create mode 100644 board/corecourse/ac501soc/qts/iocsr_config.h
 create mode 100644 board/corecourse/ac501soc/qts/pinmux_config.h
 create mode 100644 board/corecourse/ac501soc/qts/pll_config.h
 create mode 100644 board/corecourse/ac501soc/qts/sdram_config.h
 create mode 100644 board/corecourse/ac550soc/MAINTAINERS
 create mode 100644 board/corecourse/ac550soc/qts/iocsr_config.h
 create mode 100644 board/corecourse/ac550soc/qts/pinmux_config.h
 create mode 100644 board/corecourse/ac550soc/qts/pll_config.h
 create mode 100644 board/corecourse/ac550soc/qts/sdram_config.h
 create mode 100644 configs/socfpga_ac501soc_defconfig
 create mode 100644 configs/socfpga_ac550soc_defconfig
Signature · 1 line
2.34.1
author
#1 lore raw

PATCH v4 1/2 Add CoreCourse socfpga Board AC501

CoreCourse Altera GEN5 Cyclone V board
do support different size and formfactor.
Now introducing AC501 C5 to mainstream u-boot
This is a UBGA-484 based board with basic
feature. More info on [1]

[1] https://corecourse.cn/forum.php?mod=viewthread&tid=27704&highlight=AC501

---
 arch/arm/dts/Makefile                         |   1 +
 arch/arm/dts/socfpga_cyclone5_ac501soc.dts    |  85 +++
 .../dts/socfpga_cyclone_ac501soc-u-boot.dtsi  |  44 ++
 arch/arm/mach-socfpga/Kconfig                 |   7 +
 board/corecourse/ac501soc/MAINTAINERS         |   6 +
 board/corecourse/ac501soc/qts/iocsr_config.h  | 664 ++++++++++++++++++
 board/corecourse/ac501soc/qts/pinmux_config.h | 222 ++++++
 board/corecourse/ac501soc/qts/pll_config.h    |  86 +++
 board/corecourse/ac501soc/qts/sdram_config.h  | 349 +++++++++
 configs/socfpga_ac501soc_defconfig            |  85 +++
 10 files changed, 1549 insertions(+)
 create mode 100644 arch/arm/dts/socfpga_cyclone5_ac501soc.dts
 create mode 100644 arch/arm/dts/socfpga_cyclone_ac501soc-u-boot.dtsi
 create mode 100644 board/corecourse/ac501soc/MAINTAINERS
 create mode 100644 board/corecourse/ac501soc/qts/iocsr_config.h
 create mode 100644 board/corecourse/ac501soc/qts/pinmux_config.h
 create mode 100644 board/corecourse/ac501soc/qts/pll_config.h
 create mode 100644 board/corecourse/ac501soc/qts/sdram_config.h
 create mode 100644 configs/socfpga_ac501soc_defconfig
arch/arm/dts/Makefile +1 -0
index 3cd762977cb..2210b44f9bf 100644
@@ -469,6 +469,7 @@ dtb-$(CONFIG_ARCH_SOCFPGA) +=				\
 	socfpga_cyclone5_socrates.dtb			\
 	socfpga_cyclone5_sr1500.dtb			\
 	socfpga_cyclone5_vining_fpga.dtb		\
+	socfpga_cyclone5_ac501soc.dtb			\
 	socfpga_n5x_socdk.dtb				\
 	socfpga_stratix10_socdk.dtb
 
arch/arm/dts/socfpga_cyclone5_ac501soc.dts new file +85 -0

85 lines not on this page · raw message

arch/arm/dts/socfpga_cyclone_ac501soc-u-boot.dtsi new file +44 -0

44 lines not on this page · raw message

arch/arm/mach-socfpga/Kconfig +7 -0
index f2e959b5662..1a0fcd64296 100644
@@ -239,6 +239,10 @@ config TARGET_SOCFPGA_TERASIC_SOCKIT
 	bool "Terasic SoCkit (Cyclone V)"
 	select TARGET_SOCFPGA_CYCLONE5
 
+config TARGET_SOCFPGA_CORECOURSE_AC501SOC
+	bool "CoreCourse AC501SoC (Cyclone V)"
+	select TARGET_SOCFPGA_CYCLONE5
+
 endchoice
 
 config SYS_BOARD
@@ -263,6 +267,7 @@ config SYS_BOARD
 	default "sr1500" if TARGET_SOCFPGA_SR1500
 	default "stratix10-socdk" if TARGET_SOCFPGA_STRATIX10_SOCDK
 	default "vining_fpga" if TARGET_SOCFPGA_SOFTING_VINING_FPGA
+	default "ac501soc" if TARGET_SOCFPGA_CORECOURSE_AC501SOC
 
 config SYS_VENDOR
 	default "intel" if TARGET_SOCFPGA_AGILEX7M_SOCDK
@@ -284,6 +289,7 @@ config SYS_VENDOR
 	default "terasic" if TARGET_SOCFPGA_TERASIC_DE10_NANO
 	default "terasic" if TARGET_SOCFPGA_TERASIC_DE10_STANDARD
 	default "terasic" if TARGET_SOCFPGA_TERASIC_SOCKIT
+	default "corecourse" if TARGET_SOCFPGA_CORECOURSE_AC501SOC
 
 config SYS_SOC
 	default "socfpga"
@@ -310,5 +316,6 @@ config SYS_CONFIG_NAME
 	default "socfpga_sr1500" if TARGET_SOCFPGA_SR1500
 	default "socfpga_stratix10_socdk" if TARGET_SOCFPGA_STRATIX10_SOCDK
 	default "socfpga_vining_fpga" if TARGET_SOCFPGA_SOFTING_VINING_FPGA
+	default "socfpga_ac501soc" if TARGET_SOCFPGA_CORECOURSE_AC501SOC
 
 endif
board/corecourse/ac501soc/MAINTAINERS new file +6 -0
new file mode 100644
index 00000000000..1feac0c0584
@@ -0,0 +1,6 @@
+SOCFPGA BOARD
+M:	Brian Sune <[email protected]>
+S:	Maintained
+F:	board/corecourse/ac501soc/
+F:	include/configs/socfpga_ac501soc.h
+F:	configs/socfpga_ac501soc_defconfig
board/corecourse/ac501soc/qts/iocsr_config.h new file +664 -0

664 lines not on this page · raw message

board/corecourse/ac501soc/qts/pinmux_config.h new file +222 -0

222 lines not on this page · raw message

board/corecourse/ac501soc/qts/pll_config.h new file +86 -0

86 lines not on this page · raw message

board/corecourse/ac501soc/qts/sdram_config.h new file +349 -0

349 lines not on this page · raw message

configs/socfpga_ac501soc_defconfig new file +85 -0

85 lines not on this page · raw message

Signature · 1 line
2.34.1
author
#2 lore raw

PATCH v4 2/2 Add CoreCourse socfpga Board AC550

In reply to Brian Sune

CoreCourse Altera GEN5 Cyclone V board
do support different size and formfactor.
Now introducing AC550 C5 to mainstream u-boot
This is a more complex and unified board with
codec, WIFI feature. More info on [1]

[1] https://corecourse.cn/forum.php?mod=viewthread&tid=29788&extra=page%3D1

---
 arch/arm/dts/Makefile                         |   1 +
 arch/arm/dts/socfpga_cyclone5_ac550soc.dts    | 131 ++++
 .../dts/socfpga_cyclone_ac550soc-u-boot.dtsi  |  44 ++
 arch/arm/mach-socfpga/Kconfig                 |   7 +
 board/corecourse/ac550soc/MAINTAINERS         |   6 +
 board/corecourse/ac550soc/qts/iocsr_config.h  | 664 ++++++++++++++++++
 board/corecourse/ac550soc/qts/pinmux_config.h | 222 ++++++
 board/corecourse/ac550soc/qts/pll_config.h    |  86 +++
 board/corecourse/ac550soc/qts/sdram_config.h  | 349 +++++++++
 configs/socfpga_ac550soc_defconfig            |  85 +++
 10 files changed, 1595 insertions(+)
 create mode 100644 arch/arm/dts/socfpga_cyclone5_ac550soc.dts
 create mode 100644 arch/arm/dts/socfpga_cyclone_ac550soc-u-boot.dtsi
 create mode 100644 board/corecourse/ac550soc/MAINTAINERS
 create mode 100644 board/corecourse/ac550soc/qts/iocsr_config.h
 create mode 100644 board/corecourse/ac550soc/qts/pinmux_config.h
 create mode 100644 board/corecourse/ac550soc/qts/pll_config.h
 create mode 100644 board/corecourse/ac550soc/qts/sdram_config.h
 create mode 100644 configs/socfpga_ac550soc_defconfig
arch/arm/dts/Makefile +1 -0
index 2210b44f9bf..7ef9e9399cd 100644
@@ -470,6 +470,7 @@ dtb-$(CONFIG_ARCH_SOCFPGA) +=				\
 	socfpga_cyclone5_sr1500.dtb			\
 	socfpga_cyclone5_vining_fpga.dtb		\
 	socfpga_cyclone5_ac501soc.dtb			\
+	socfpga_cyclone5_ac550soc.dtb			\
 	socfpga_n5x_socdk.dtb				\
 	socfpga_stratix10_socdk.dtb
 
arch/arm/dts/socfpga_cyclone5_ac550soc.dts new file +131 -0

131 lines not on this page · raw message

arch/arm/dts/socfpga_cyclone_ac550soc-u-boot.dtsi new file +44 -0

44 lines not on this page · raw message

arch/arm/mach-socfpga/Kconfig +7 -0
index 1a0fcd64296..69af0b48348 100644
@@ -243,6 +243,10 @@ config TARGET_SOCFPGA_CORECOURSE_AC501SOC
 	bool "CoreCourse AC501SoC (Cyclone V)"
 	select TARGET_SOCFPGA_CYCLONE5
 
+config TARGET_SOCFPGA_CORECOURSE_AC550SOC
+	bool "CoreCourse AC550SoC (Cyclone V)"
+	select TARGET_SOCFPGA_CYCLONE5
+
 endchoice
 
 config SYS_BOARD
@@ -268,6 +272,7 @@ config SYS_BOARD
 	default "stratix10-socdk" if TARGET_SOCFPGA_STRATIX10_SOCDK
 	default "vining_fpga" if TARGET_SOCFPGA_SOFTING_VINING_FPGA
 	default "ac501soc" if TARGET_SOCFPGA_CORECOURSE_AC501SOC
+	default "ac550soc" if TARGET_SOCFPGA_CORECOURSE_AC550SOC
 
 config SYS_VENDOR
 	default "intel" if TARGET_SOCFPGA_AGILEX7M_SOCDK
@@ -290,6 +295,7 @@ config SYS_VENDOR
 	default "terasic" if TARGET_SOCFPGA_TERASIC_DE10_STANDARD
 	default "terasic" if TARGET_SOCFPGA_TERASIC_SOCKIT
 	default "corecourse" if TARGET_SOCFPGA_CORECOURSE_AC501SOC
+	default "corecourse" if TARGET_SOCFPGA_CORECOURSE_AC550SOC
 
 config SYS_SOC
 	default "socfpga"
@@ -317,5 +323,6 @@ config SYS_CONFIG_NAME
 	default "socfpga_stratix10_socdk" if TARGET_SOCFPGA_STRATIX10_SOCDK
 	default "socfpga_vining_fpga" if TARGET_SOCFPGA_SOFTING_VINING_FPGA
 	default "socfpga_ac501soc" if TARGET_SOCFPGA_CORECOURSE_AC501SOC
+	default "socfpga_ac550soc" if TARGET_SOCFPGA_CORECOURSE_AC550SOC
 
 endif
board/corecourse/ac550soc/MAINTAINERS new file +6 -0
new file mode 100644
index 00000000000..c46d8c70702
@@ -0,0 +1,6 @@
+SOCFPGA BOARD
+M:	Brian Sune <[email protected]>
+S:	Maintained
+F:	board/corecourse/ac550soc/
+F:	include/configs/socfpga_ac550soc.h
+F:	configs/socfpga_ac550soc_defconfig
board/corecourse/ac550soc/qts/iocsr_config.h new file +664 -0

664 lines not on this page · raw message

board/corecourse/ac550soc/qts/pinmux_config.h new file +222 -0

222 lines not on this page · raw message

board/corecourse/ac550soc/qts/pll_config.h new file +86 -0

86 lines not on this page · raw message

board/corecourse/ac550soc/qts/sdram_config.h new file +349 -0

349 lines not on this page · raw message

configs/socfpga_ac550soc_defconfig new file +85 -0

85 lines not on this page · raw message

Signature · 1 line
2.34.1