summaryrefslogtreecommitdiffstats
path: root/spec/build/bsps/powerpc/gen5200
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2019-07-19 13:09:43 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2020-09-14 07:11:32 +0200
commitf3f0370f1054f4e49aa8f5ea70485d673e8e94b6 (patch)
tree11d44920353aea9bf4301eb267f8c831e622520e /spec/build/bsps/powerpc/gen5200
parenti386/score: fix assembly mnemonic (diff)
downloadrtems-f3f0370f1054f4e49aa8f5ea70485d673e8e94b6.tar.bz2
build: Alternative build system based on waf
Update #3818.
Diffstat (limited to 'spec/build/bsps/powerpc/gen5200')
-rw-r--r--spec/build/bsps/powerpc/gen5200/abi.yml21
-rw-r--r--spec/build/bsps/powerpc/gen5200/bspicecube.yml19
-rw-r--r--spec/build/bsps/powerpc/gen5200/bsppm520cr825.yml19
-rw-r--r--spec/build/bsps/powerpc/gen5200/bsppm520ze30.yml19
-rw-r--r--spec/build/bsps/powerpc/gen5200/grp.yml64
-rw-r--r--spec/build/bsps/powerpc/gen5200/obj.yml117
-rw-r--r--spec/build/bsps/powerpc/gen5200/objnet.yml16
-rw-r--r--spec/build/bsps/powerpc/gen5200/optbenchirq.yml15
-rw-r--r--spec/build/bsps/powerpc/gen5200/optenirqnest.yml18
-rw-r--r--spec/build/bsps/powerpc/gen5200/optgpiomsk.yml22
-rw-r--r--spec/build/bsps/powerpc/gen5200/optgpioval.yml22
-rw-r--r--spec/build/bsps/powerpc/gen5200/opticecub.yml18
-rw-r--r--spec/build/bsps/powerpc/gen5200/optpm520cr825.yml18
-rw-r--r--spec/build/bsps/powerpc/gen5200/optpm520ze30.yml18
-rw-r--r--spec/build/bsps/powerpc/gen5200/optprintkminor.yml16
-rw-r--r--spec/build/bsps/powerpc/gen5200/optpscgps.yml16
-rw-r--r--spec/build/bsps/powerpc/gen5200/optsinglechar.yml15
-rw-r--r--spec/build/bsps/powerpc/gen5200/optuartmsk.yml25
-rw-r--r--spec/build/bsps/powerpc/gen5200/optuartstermirq.yml15
-rw-r--r--spec/build/bsps/powerpc/gen5200/optuboot.yml21
-rw-r--r--spec/build/bsps/powerpc/gen5200/start.yml14
21 files changed, 528 insertions, 0 deletions
diff --git a/spec/build/bsps/powerpc/gen5200/abi.yml b/spec/build/bsps/powerpc/gen5200/abi.yml
new file mode 100644
index 0000000000..032924fbc9
--- /dev/null
+++ b/spec/build/bsps/powerpc/gen5200/abi.yml
@@ -0,0 +1,21 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-string: null
+- split: null
+- env-append: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default:
+- -mcpu=603e
+- -mstrict-align
+- -meabi
+- -msdata=sysv
+- -fno-common
+default-by-variant: []
+description: |
+ ABI flags
+enabled-by: true
+links: []
+name: ABI_FLAGS
+type: build
diff --git a/spec/build/bsps/powerpc/gen5200/bspicecube.yml b/spec/build/bsps/powerpc/gen5200/bspicecube.yml
new file mode 100644
index 0000000000..7f95524151
--- /dev/null
+++ b/spec/build/bsps/powerpc/gen5200/bspicecube.yml
@@ -0,0 +1,19 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+arch: powerpc
+bsp: icecube
+build-type: bsp
+cflags: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+enabled-by: true
+family: gen5200
+includes: []
+install: []
+links:
+- role: build-dependency
+ uid: ../../opto2
+- role: build-dependency
+ uid: grp
+source: []
+type: build
diff --git a/spec/build/bsps/powerpc/gen5200/bsppm520cr825.yml b/spec/build/bsps/powerpc/gen5200/bsppm520cr825.yml
new file mode 100644
index 0000000000..cb5aa0b048
--- /dev/null
+++ b/spec/build/bsps/powerpc/gen5200/bsppm520cr825.yml
@@ -0,0 +1,19 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+arch: powerpc
+bsp: pm520_cr825
+build-type: bsp
+cflags: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+enabled-by: true
+family: gen5200
+includes: []
+install: []
+links:
+- role: build-dependency
+ uid: ../../opto2
+- role: build-dependency
+ uid: grp
+source: []
+type: build
diff --git a/spec/build/bsps/powerpc/gen5200/bsppm520ze30.yml b/spec/build/bsps/powerpc/gen5200/bsppm520ze30.yml
new file mode 100644
index 0000000000..cc005c5782
--- /dev/null
+++ b/spec/build/bsps/powerpc/gen5200/bsppm520ze30.yml
@@ -0,0 +1,19 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+arch: powerpc
+bsp: pm520_ze30
+build-type: bsp
+cflags: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+enabled-by: true
+family: gen5200
+includes: []
+install: []
+links:
+- role: build-dependency
+ uid: ../../opto2
+- role: build-dependency
+ uid: grp
+source: []
+type: build
diff --git a/spec/build/bsps/powerpc/gen5200/grp.yml b/spec/build/bsps/powerpc/gen5200/grp.yml
new file mode 100644
index 0000000000..3132c60559
--- /dev/null
+++ b/spec/build/bsps/powerpc/gen5200/grp.yml
@@ -0,0 +1,64 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+build-type: group
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+enabled-by: true
+includes: []
+install: []
+ldflags: []
+links:
+- role: build-dependency
+ uid: ../../linkcmds
+- role: build-dependency
+ uid: ../../obj
+- role: build-dependency
+ uid: ../../objirq
+- role: build-dependency
+ uid: ../crti
+- role: build-dependency
+ uid: ../crtn
+- role: build-dependency
+ uid: abi
+- role: build-dependency
+ uid: obj
+- role: build-dependency
+ uid: objnet
+- role: build-dependency
+ uid: optbenchirq
+- role: build-dependency
+ uid: optenirqnest
+- role: build-dependency
+ uid: optgpiomsk
+- role: build-dependency
+ uid: optgpioval
+- role: build-dependency
+ uid: opticecub
+- role: build-dependency
+ uid: optpm520cr825
+- role: build-dependency
+ uid: optpm520ze30
+- role: build-dependency
+ uid: optprintkminor
+- role: build-dependency
+ uid: optpscgps
+- role: build-dependency
+ uid: optsinglechar
+- role: build-dependency
+ uid: optuartmsk
+- role: build-dependency
+ uid: optuartstermirq
+- role: build-dependency
+ uid: optuboot
+- role: build-dependency
+ uid: start
+- role: build-dependency
+ uid: ../grp
+- role: build-dependency
+ uid: ../obj
+- role: build-dependency
+ uid: ../objexc
+- role: build-dependency
+ uid: ../../bspopts
+type: build
+use-after: []
+use-before: []
diff --git a/spec/build/bsps/powerpc/gen5200/obj.yml b/spec/build/bsps/powerpc/gen5200/obj.yml
new file mode 100644
index 0000000000..2f83305cad
--- /dev/null
+++ b/spec/build/bsps/powerpc/gen5200/obj.yml
@@ -0,0 +1,117 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+build-type: objects
+cflags: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+cxxflags: []
+enabled-by: true
+includes: []
+install:
+- destination: ${BSP_INCLUDEDIR}
+ source:
+ - bsps/powerpc/gen5200/include/bsp.h
+ - bsps/powerpc/gen5200/include/tm27.h
+- destination: ${BSP_INCLUDEDIR}/bsp
+ source:
+ - bsps/powerpc/gen5200/include/bsp/ata.h
+ - bsps/powerpc/gen5200/include/bsp/bestcomm.h
+ - bsps/powerpc/gen5200/include/bsp/bestcomm_ops.h
+ - bsps/powerpc/gen5200/include/bsp/i2c.h
+ - bsps/powerpc/gen5200/include/bsp/i2cdrv.h
+ - bsps/powerpc/gen5200/include/bsp/irq.h
+ - bsps/powerpc/gen5200/include/bsp/mpc5200.h
+ - bsps/powerpc/gen5200/include/bsp/mscan-base.h
+ - bsps/powerpc/gen5200/include/bsp/mscan.h
+ - bsps/powerpc/gen5200/include/bsp/nvram.h
+ - bsps/powerpc/gen5200/include/bsp/slicetimer.h
+ - bsps/powerpc/gen5200/include/bsp/u-boot-config.h
+- destination: ${BSP_INCLUDEDIR}/bsp/bestcomm
+ source:
+ - bsps/powerpc/gen5200/include/bsp/bestcomm/bestcomm_api.h
+ - bsps/powerpc/gen5200/include/bsp/bestcomm/bestcomm_glue.h
+ - bsps/powerpc/gen5200/include/bsp/bestcomm/bestcomm_priv.h
+ - bsps/powerpc/gen5200/include/bsp/bestcomm/dma_image.capi.h
+ - bsps/powerpc/gen5200/include/bsp/bestcomm/dma_image.h
+- destination: ${BSP_INCLUDEDIR}/bsp/bestcomm/${BSP_INCLUDEDIR}
+ source:
+ - bsps/powerpc/gen5200/include/bsp/bestcomm/include/ppctypes.h
+- destination: ${BSP_INCLUDEDIR}/bsp/bestcomm/${BSP_INCLUDEDIR}/mgt5200
+ source:
+ - bsps/powerpc/gen5200/include/bsp/bestcomm/include/mgt5200/mgt5200.h
+ - bsps/powerpc/gen5200/include/bsp/bestcomm/include/mgt5200/sdma.h
+- destination: ${BSP_INCLUDEDIR}/bsp/bestcomm/task/api
+ source:
+ - bsps/powerpc/gen5200/include/bsp/bestcomm/task_api/bestcomm_api_mem.h
+ - bsps/powerpc/gen5200/include/bsp/bestcomm/task_api/bestcomm_cntrl.h
+ - bsps/powerpc/gen5200/include/bsp/bestcomm/task_api/tasksetup_bdtable.h
+ - bsps/powerpc/gen5200/include/bsp/bestcomm/task_api/tasksetup_general.h
+- destination: ${BSP_LIBDIR}
+ source:
+ - bsps/powerpc/gen5200/start/linkcmds.gen5200_base
+ - bsps/powerpc/gen5200/start/linkcmds.icecube
+ - bsps/powerpc/gen5200/start/linkcmds.pm520_cr825
+ - bsps/powerpc/gen5200/start/linkcmds.pm520_ze30
+links: []
+source:
+- bsps/powerpc/gen5200/ata/ata-dma-pio-single.c
+- bsps/powerpc/gen5200/ata/ata-instance.c
+- bsps/powerpc/gen5200/ata/idecfg.c
+- bsps/powerpc/gen5200/ata/pcmcia_ide.c
+- bsps/powerpc/gen5200/bestcomm/bestcomm_api.c
+- bsps/powerpc/gen5200/bestcomm/bestcomm_glue.c
+- bsps/powerpc/gen5200/bestcomm/dma_image.c
+- bsps/powerpc/gen5200/bestcomm/dma_image.reloc.c
+- bsps/powerpc/gen5200/bestcomm/load_task.c
+- bsps/powerpc/gen5200/bestcomm/tasksetup_ata.c
+- bsps/powerpc/gen5200/bestcomm/tasksetup_bdtable.c
+- bsps/powerpc/gen5200/bestcomm/tasksetup_crc16_dp_0.c
+- bsps/powerpc/gen5200/bestcomm/tasksetup_crc16_dp_1.c
+- bsps/powerpc/gen5200/bestcomm/tasksetup_fec_rx_bd.c
+- bsps/powerpc/gen5200/bestcomm/tasksetup_fec_tx_bd.c
+- bsps/powerpc/gen5200/bestcomm/tasksetup_gen_dp_0.c
+- bsps/powerpc/gen5200/bestcomm/tasksetup_gen_dp_1.c
+- bsps/powerpc/gen5200/bestcomm/tasksetup_gen_dp_2.c
+- bsps/powerpc/gen5200/bestcomm/tasksetup_gen_dp_3.c
+- bsps/powerpc/gen5200/bestcomm/tasksetup_gen_dp_bd_0.c
+- bsps/powerpc/gen5200/bestcomm/tasksetup_gen_dp_bd_1.c
+- bsps/powerpc/gen5200/bestcomm/tasksetup_gen_rx_bd.c
+- bsps/powerpc/gen5200/bestcomm/tasksetup_gen_tx_bd.c
+- bsps/powerpc/gen5200/bestcomm/tasksetup_lpc.c
+- bsps/powerpc/gen5200/bestcomm/tasksetup_pci_rx.c
+- bsps/powerpc/gen5200/bestcomm/tasksetup_pci_tx.c
+- bsps/powerpc/gen5200/console/console.c
+- bsps/powerpc/gen5200/dev/mpc5200-ata.c
+- bsps/powerpc/gen5200/i2c/i2c.c
+- bsps/powerpc/gen5200/i2c/i2cdrv.c
+- bsps/powerpc/gen5200/i2c/mpc5200mbus.c
+- bsps/powerpc/gen5200/irq/irq.c
+- bsps/powerpc/gen5200/mscan/mscan-base.c
+- bsps/powerpc/gen5200/mscan/mscan.c
+- bsps/powerpc/gen5200/nvram/nvram.c
+- bsps/powerpc/gen5200/rtc/pcf8563.c
+- bsps/powerpc/gen5200/rtc/todcfg.c
+- bsps/powerpc/gen5200/slicetimer/slicetimer.c
+- bsps/powerpc/gen5200/start/bestcomm.c
+- bsps/powerpc/gen5200/start/bspreset.c
+- bsps/powerpc/gen5200/start/bspstart.c
+- bsps/powerpc/gen5200/start/cpuinit.c
+- bsps/powerpc/gen5200/start/uboot_support.c
+- bsps/powerpc/shared/btimer/btimer-ppc-dec.c
+- bsps/powerpc/shared/cache/cache.c
+- bsps/powerpc/shared/clock/clock.c
+- bsps/powerpc/shared/mmu/bat.c
+- bsps/powerpc/shared/mmu/mmuAsm.S
+- bsps/powerpc/shared/mmu/pte121.c
+- bsps/powerpc/shared/start/bspidle.c
+- bsps/powerpc/shared/start/memcpy.c
+- bsps/powerpc/shared/start/showbats.c
+- bsps/powerpc/shared/u-boot/uboot_dump_bdinfo.c
+- bsps/powerpc/shared/u-boot/uboot_getenv.c
+- bsps/shared/dev/getentropy/getentropy-cpucounter.c
+- bsps/shared/dev/rtc/rtc-support.c
+- bsps/shared/start/bsp-uboot-board-info.c
+- bsps/shared/start/bspfatal-default.c
+- bsps/shared/start/bspgetworkarea-default.c
+- bsps/shared/start/sbrk.c
+type: build
diff --git a/spec/build/bsps/powerpc/gen5200/objnet.yml b/spec/build/bsps/powerpc/gen5200/objnet.yml
new file mode 100644
index 0000000000..31f2ceff57
--- /dev/null
+++ b/spec/build/bsps/powerpc/gen5200/objnet.yml
@@ -0,0 +1,16 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+build-type: objects
+cflags: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+cxxflags: []
+enabled-by:
+- RTEMS_NETWORKING
+includes:
+- cpukit/libnetworking
+install: []
+links: []
+source:
+- bsps/powerpc/gen5200/net/network.c
+type: build
diff --git a/spec/build/bsps/powerpc/gen5200/optbenchirq.yml b/spec/build/bsps/powerpc/gen5200/optbenchirq.yml
new file mode 100644
index 0000000000..3ade789573
--- /dev/null
+++ b/spec/build/bsps/powerpc/gen5200/optbenchirq.yml
@@ -0,0 +1,15 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-boolean: null
+- define-condition: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: false
+default-by-variant: []
+description: |
+ If set to !0, enable code to benchmark IRQ processing.
+enabled-by: true
+links: []
+name: BENCHMARK_IRQ_PROCESSING
+type: build
diff --git a/spec/build/bsps/powerpc/gen5200/optenirqnest.yml b/spec/build/bsps/powerpc/gen5200/optenirqnest.yml
new file mode 100644
index 0000000000..2dfcefb5ea
--- /dev/null
+++ b/spec/build/bsps/powerpc/gen5200/optenirqnest.yml
@@ -0,0 +1,18 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-boolean: null
+- define-condition: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: true
+default-by-variant:
+- value: false
+ variants:
+ - powerpc/icecube
+description: |
+ If set to !0, allow nested IRQ processing.
+enabled-by: true
+links: []
+name: ALLOW_IRQ_NESTING
+type: build
diff --git a/spec/build/bsps/powerpc/gen5200/optgpiomsk.yml b/spec/build/bsps/powerpc/gen5200/optgpiomsk.yml
new file mode 100644
index 0000000000..c39ec0ce43
--- /dev/null
+++ b/spec/build/bsps/powerpc/gen5200/optgpiomsk.yml
@@ -0,0 +1,22 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-integer: null
+- define: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: 856625015
+default-by-variant:
+- value: 58670855
+ variants:
+ - powerpc/pm520_ze30
+description: |
+ Defines the bits cleared in the MPC5200 GPIOPCR register during
+ initialization. Must match the hardware requirements. Must be consistent
+ with BSP_GPIOPCR_INITVAL. The bits are cleared via BSP_GPIOPCR_INITMASK and
+ then set via BSP_GPIOPCR_INITVAL.
+enabled-by: true
+format: '{:#010x}'
+links: []
+name: BSP_GPIOPCR_INITMASK
+type: build
diff --git a/spec/build/bsps/powerpc/gen5200/optgpioval.yml b/spec/build/bsps/powerpc/gen5200/optgpioval.yml
new file mode 100644
index 0000000000..029df6a4f7
--- /dev/null
+++ b/spec/build/bsps/powerpc/gen5200/optgpioval.yml
@@ -0,0 +1,22 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-integer: null
+- define: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: 17105988
+default-by-variant:
+- value: 22356228
+ variants:
+ - powerpc/pm520_ze30
+description: |
+ Defines the bits set in the MPC5200 GPIOPCR register during initialization.
+ Must match the hardware requirements. Must be consistent with
+ BSP_GPIOPCR_INITMASK. The bits are cleared via BSP_GPIOPCR_INITMASK and then
+ set via BSP_GPIOPCR_INITVAL.
+enabled-by: true
+format: '{:#010x}'
+links: []
+name: BSP_GPIOPCR_INITVAL
+type: build
diff --git a/spec/build/bsps/powerpc/gen5200/opticecub.yml b/spec/build/bsps/powerpc/gen5200/opticecub.yml
new file mode 100644
index 0000000000..c93eafa7b2
--- /dev/null
+++ b/spec/build/bsps/powerpc/gen5200/opticecub.yml
@@ -0,0 +1,18 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-boolean: null
+- define-condition: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: false
+default-by-variant:
+- value: true
+ variants:
+ - powerpc/icecube
+description: |
+ enable settings for IceCube
+enabled-by: true
+links: []
+name: MPC5200_BOARD_ICECUBE
+type: build
diff --git a/spec/build/bsps/powerpc/gen5200/optpm520cr825.yml b/spec/build/bsps/powerpc/gen5200/optpm520cr825.yml
new file mode 100644
index 0000000000..72d96a0696
--- /dev/null
+++ b/spec/build/bsps/powerpc/gen5200/optpm520cr825.yml
@@ -0,0 +1,18 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-boolean: null
+- define-condition: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: false
+default-by-variant:
+- value: true
+ variants:
+ - powerpc/pm520_cr825
+description: |
+ enable settings for PM520 CR825
+enabled-by: true
+links: []
+name: MPC5200_BOARD_PM520_CR825
+type: build
diff --git a/spec/build/bsps/powerpc/gen5200/optpm520ze30.yml b/spec/build/bsps/powerpc/gen5200/optpm520ze30.yml
new file mode 100644
index 0000000000..8a285a99aa
--- /dev/null
+++ b/spec/build/bsps/powerpc/gen5200/optpm520ze30.yml
@@ -0,0 +1,18 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-boolean: null
+- define-condition: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: false
+default-by-variant:
+- value: true
+ variants:
+ - powerpc/pm520_ze30
+description: |
+ enable settings for PM520 ZE30
+enabled-by: true
+links: []
+name: MPC5200_BOARD_PM520_ZE30
+type: build
diff --git a/spec/build/bsps/powerpc/gen5200/optprintkminor.yml b/spec/build/bsps/powerpc/gen5200/optprintkminor.yml
new file mode 100644
index 0000000000..fd101467b9
--- /dev/null
+++ b/spec/build/bsps/powerpc/gen5200/optprintkminor.yml
@@ -0,0 +1,16 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-integer: null
+- define: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: 0
+default-by-variant: []
+description: |
+ console minor number used by printk()
+enabled-by: true
+format: '{}'
+links: []
+name: PRINTK_MINOR
+type: build
diff --git a/spec/build/bsps/powerpc/gen5200/optpscgps.yml b/spec/build/bsps/powerpc/gen5200/optpscgps.yml
new file mode 100644
index 0000000000..1a80a6b34e
--- /dev/null
+++ b/spec/build/bsps/powerpc/gen5200/optpscgps.yml
@@ -0,0 +1,16 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-integer: null
+- define: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: 0
+default-by-variant: []
+description: |
+ PSC index for GPS module, if defined results in '/dev/gps'
+enabled-by: true
+format: '{}'
+links: []
+name: MPC5200_PSC_INDEX_FOR_GPS_MODULE
+type: build
diff --git a/spec/build/bsps/powerpc/gen5200/optsinglechar.yml b/spec/build/bsps/powerpc/gen5200/optsinglechar.yml
new file mode 100644
index 0000000000..26f3e4b8a6
--- /dev/null
+++ b/spec/build/bsps/powerpc/gen5200/optsinglechar.yml
@@ -0,0 +1,15 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-boolean: null
+- define-condition: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: false
+default-by-variant: []
+description: |
+ enable single character mode for the PSC console driver
+enabled-by: true
+links: []
+name: SINGLE_CHAR_MODE
+type: build
diff --git a/spec/build/bsps/powerpc/gen5200/optuartmsk.yml b/spec/build/bsps/powerpc/gen5200/optuartmsk.yml
new file mode 100644
index 0000000000..2a211006e4
--- /dev/null
+++ b/spec/build/bsps/powerpc/gen5200/optuartmsk.yml
@@ -0,0 +1,25 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-integer: null
+- define: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: 1
+default-by-variant:
+- value: 57
+ variants:
+ - powerpc/pm520_ze30
+- value: 7
+ variants:
+ - powerpc/pm520_cr825
+- value: 1
+ variants:
+ - powerpc/icecube
+description: |
+ bit mask to specify the UARTS (PSCs), which should be enabled on this board. Must match the hardware requirements. PSC1 corresponds to the LSB
+enabled-by: true
+format: '{:#010x}'
+links: []
+name: BSP_UART_AVAIL_MASK
+type: build
diff --git a/spec/build/bsps/powerpc/gen5200/optuartstermirq.yml b/spec/build/bsps/powerpc/gen5200/optuartstermirq.yml
new file mode 100644
index 0000000000..219d19a564
--- /dev/null
+++ b/spec/build/bsps/powerpc/gen5200/optuartstermirq.yml
@@ -0,0 +1,15 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-boolean: null
+- define-condition: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: true
+default-by-variant: []
+description: |
+ enable interrupt support for the PSC console driver
+enabled-by: true
+links: []
+name: UARTS_USE_TERMIOS_INT
+type: build
diff --git a/spec/build/bsps/powerpc/gen5200/optuboot.yml b/spec/build/bsps/powerpc/gen5200/optuboot.yml
new file mode 100644
index 0000000000..19ed770a9f
--- /dev/null
+++ b/spec/build/bsps/powerpc/gen5200/optuboot.yml
@@ -0,0 +1,21 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-boolean: null
+- define-condition: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: false
+default-by-variant:
+- value: true
+ variants:
+ - powerpc/pm520.*
+- value: true
+ variants:
+ - powerpc/icecube
+description: |
+ enable U-Boot startup
+enabled-by: true
+links: []
+name: HAS_UBOOT
+type: build
diff --git a/spec/build/bsps/powerpc/gen5200/start.yml b/spec/build/bsps/powerpc/gen5200/start.yml
new file mode 100644
index 0000000000..22f4e14fb4
--- /dev/null
+++ b/spec/build/bsps/powerpc/gen5200/start.yml
@@ -0,0 +1,14 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+asflags: []
+build-type: start-file
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+enabled-by: true
+includes: []
+install-path: ${BSP_LIBDIR}
+links: []
+source:
+- bsps/powerpc/gen5200/start/start.S
+target: start.o
+type: build