Add SIE Cronos platform
Subsystems (3)
PATCH 4/4 Add SIE Cronos platform
Cronos is an internal OpenBMC-based management card for SIE systems
Signed-off-by Jason Gomes <[email protected]>
Signed-off-by Georgy Yakovlev <[email protected]>
Signed-off-by Timothy Pearson <[email protected]>
--- arch/arm/dts/Makefile | 1 + arch/arm/dts/ast2600-sie-cronos-v1.dts | 249 ++++ arch/arm/mach-aspeed/ast2600/Kconfig | 7 + board/sie/sie_cronos/Kconfig | 17 + board/sie/sie_cronos/Makefile | 2 + board/sie/sie_cronos/cronos.c | 1478 +++++++++++++++++++++++ board/sie/sie_cronos/fru_eeprom.c | 163 +++ board/sie/sie_cronos/fru_eeprom.h | 5 + board/sie/sie_cronos/i2c.c | 231 ++++ configs/sie_cronos_openbmc_defconfig | 1495 ++++++++++++++++++++++++ include/configs/sie_cronos.h | 27 + 11 files changed, 3675 insertions(+) create mode 100644 arch/arm/dts/ast2600-sie-cronos-v1.dts create mode 100644 board/sie/sie_cronos/Kconfig create mode 100644 board/sie/sie_cronos/Makefile create mode 100644 board/sie/sie_cronos/cronos.c create mode 100644 board/sie/sie_cronos/fru_eeprom.c create mode 100644 board/sie/sie_cronos/fru_eeprom.h create mode 100644 board/sie/sie_cronos/i2c.c create mode 100755 configs/sie_cronos_openbmc_defconfig create mode 100644 include/configs/sie_cronos.h
arch/arm/dts/Makefile +1 -0
@@ -696,6 +696,7 @@ dtb-$(CONFIG_ARCH_ASPEED) += \ ast2600-pfr.dtb \ ast2600-qcom-dc-scm-v1.dtb \ ast2600-s6q.dtb \ + ast2600-sie-cronos-v1.dtb \ ast2600-slt.dtb \ ast2600-tacoma.dtb \ ast2600-tacoma.dtb \
arch/arm/dts/ast2600-sie-cronos-v1.dts new file +249 -0
249 lines not on this page · raw message
arch/arm/mach-aspeed/ast2600/Kconfig +7 -0
@@ -25,6 +25,12 @@ config TARGET_FPGA_AST2600 This is mainly for internal development. Note that most implementation is co-code with EVB-AST2600. +config TARGET_SIE_CRONOS + bool "SIE-CRONOS" + depends on ASPEED_AST2600 + help + Sony Interactive Entertainment Cronos board. + config TARGET_SLT_AST2600 bool "SLT-AST2600" depends on ASPEED_AST2600
@@ -62,6 +68,7 @@ endchoice source "board/aspeed/evb_ast2600/Kconfig" source "board/aspeed/fpga_ast2600/Kconfig" +source "board/sie/sie_cronos/Kconfig" source "board/aspeed/slt_ast2600/Kconfig" source "board/aspeed/ast2600_ibm/Kconfig" source "board/aspeed/ast2600_intel/Kconfig"
board/sie/sie_cronos/Kconfig new file +17 -0
@@ -0,0 +1,17 @@ +if TARGET_SIE_CRONOS + +config SYS_BOARD + default "sie_cronos" + +config SYS_VENDOR + default "sie" + +config SYS_CONFIG_NAME + string "board configuration name" + default "sie_cronos" + +config BOARD_SPECIFIC_OPTIONS # dummy + def_bool y + select PHY_MARVELL_APPLY_MII_RXTX_ERRATA + +endif
board/sie/sie_cronos/Makefile new file +2 -0
@@ -0,0 +1,2 @@ +obj-y += cronos.o +obj-y += fru_eeprom.o
board/sie/sie_cronos/cronos.c new file +1478 -0
1,478 lines not on this page · raw message
board/sie/sie_cronos/fru_eeprom.c new file +163 -0
163 lines not on this page · raw message
board/sie/sie_cronos/fru_eeprom.h new file +5 -0
@@ -0,0 +1,5 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ +/* Copyright 2022 Sony Interactive Entertainment LLC */ + +int css_fru_eeprom_get_mac (unsigned char * mac_addr); +int css_fru_eeprom_get_hwtype (char *hw_type,uint8_t length);
board/sie/sie_cronos/i2c.c new file +231 -0
231 lines not on this page · raw message
configs/sie_cronos_openbmc_defconfig new file +1495 -0
829 lines not on this page · raw message
The rest of this diff is not shown. View the raw message.
Signature · 1 line
2.39.5
Part of the diff is not shown here. View the raw message.