arm: armada: Add Octeon TX2 CN9130 base support
Subsystems (3)
cover arm: armada: Add Octeon TX2 CN9130 base support
This patchset adds the base support for the Marvell Octeon TX2 CN9130 CRB. This includes the necessary restructuring of the dtsi files to support the AP807.
Thanks,
Stefan
Konstantin Porotchkin (6):
cmd/mvebu: fix the bubt command
arm: armada: dts: Use a single dtsi for cp110 die description
arm: armada: dts: Add support for ap807-based platforms
arm: armada: configs: Move environment location for mvebu
arm: octeontx2: Add dtsi/dts files for Octeon TX2 CN9130 CRB
arm: octeontx2: Add Octeon TX2 CN9130 CRB support
arch/arm/dts/Makefile | 4 +-
arch/arm/dts/armada-7040-db-nand.dts | 73 +---
arch/arm/dts/armada-7040-db.dts | 81 ++--
arch/arm/dts/armada-7040.dtsi | 91 +++--
arch/arm/dts/armada-8020.dtsi | 56 ---
arch/arm/dts/armada-8040-clearfog-gt-8k.dts | 72 ++--
arch/arm/dts/armada-8040-db.dts | 101 ++---
arch/arm/dts/armada-8040-mcbin.dts | 64 +--
arch/arm/dts/armada-8040-puzzle-m801.dts | 94 ++---
arch/arm/dts/armada-8040.dtsi | 116 ++++--
arch/arm/dts/armada-8k.dtsi | 18 +
arch/arm/dts/armada-ap806-quad.dtsi | 82 ----
arch/arm/dts/armada-ap806.dtsi | 281 ++-----------
arch/arm/dts/armada-ap807.dtsi | 40 ++
arch/arm/dts/armada-ap80x-quad.dtsi | 52 +++
arch/arm/dts/armada-ap80x.dtsi | 211 ++++++++++
arch/arm/dts/armada-common.dtsi | 30 ++
arch/arm/dts/armada-cp110-slave.dtsi | 368 ------------------
...da-cp110-master.dtsi => armada-cp110.dtsi} | 282 ++++++--------
arch/arm/dts/cn9130-crb-A.dts | 57 +++
arch/arm/dts/cn9130-crb-B.dts | 61 +++
arch/arm/dts/cn9130-crb.dtsi | 253 ++++++++++++
arch/arm/dts/cn9130.dtsi | 73 ++++
arch/arm/mach-mvebu/Kconfig | 10 +
board/Marvell/octeontx2_cn913x/MAINTAINERS | 6 +
board/Marvell/octeontx2_cn913x/Makefile | 8 +
board/Marvell/octeontx2_cn913x/board.c | 45 +++
cmd/mvebu/Kconfig | 2 +-
cmd/mvebu/bubt.c | 2 +-
configs/mvebu_crb_cn9130_defconfig | 84 ++++
configs/mvebu_db-88f3720_defconfig | 2 +-
configs/mvebu_db_armada8k_defconfig | 2 +-
32 files changed, 1415 insertions(+), 1306 deletions(-)
delete mode 100644 arch/arm/dts/armada-8020.dtsi
create mode 100644 arch/arm/dts/armada-8k.dtsi
delete mode 100644 arch/arm/dts/armada-ap806-quad.dtsi
create mode 100644 arch/arm/dts/armada-ap807.dtsi
create mode 100644 arch/arm/dts/armada-ap80x-quad.dtsi
create mode 100644 arch/arm/dts/armada-ap80x.dtsi
create mode 100644 arch/arm/dts/armada-common.dtsi
delete mode 100644 arch/arm/dts/armada-cp110-slave.dtsi
rename arch/arm/dts/{armada-cp110-master.dtsi => armada-cp110.dtsi} (55%)
create mode 100644 arch/arm/dts/cn9130-crb-A.dts
create mode 100644 arch/arm/dts/cn9130-crb-B.dts
create mode 100644 arch/arm/dts/cn9130-crb.dtsi
create mode 100644 arch/arm/dts/cn9130.dtsi
create mode 100644 board/Marvell/octeontx2_cn913x/MAINTAINERS
create mode 100644 board/Marvell/octeontx2_cn913x/Makefile
create mode 100644 board/Marvell/octeontx2_cn913x/board.c
create mode 100644 configs/mvebu_crb_cn9130_defconfigSignature · 1 line
2.31.1
PATCH 1/6 cmd/mvebu: fix the bubt command
From: Konstantin Porotchkin <[email protected]>
- fix the dependency for MMC boot (add XENON to MVEBU_MMC)
- fix the bubt destination assignment (missing # in "else" case)
---
cmd/mvebu/Kconfig | 2 +- cmd/mvebu/bubt.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
cmd/mvebu/Kconfig +1 -1
@@ -33,7 +33,7 @@ config MVEBU_SPI_BOOT config MVEBU_MMC_BOOT bool "eMMC flash boot" - depends on MVEBU_MMC + depends on MVEBU_MMC || MMC_SDHCI_XENON help Enable boot from eMMC boot partition Allow usage of eMMC/SD device as a target for "bubt" command
cmd/mvebu/bubt.c +1 -1
@@ -798,7 +798,7 @@ struct bubt_dev *find_bubt_dev(char *dev_name)#define DEFAULT_BUBT_DST "nand"#elif defined(CONFIG_MVEBU_MMC_BOOT )#define DEFAULT_BUBT_DST "mmc" -else +#else #define DEFAULT_BUBT_DST "error"#endif #endif /* DEFAULT_BUBT_DST */
Signature · 1 line
2.31.1
PATCH 2/6 arm: armada: dts: Use a single dtsi for cp110 die description
In reply to Stefan RoeseFrom: Konstantin Porotchkin <[email protected]>
Use a single dtsi file for CP110 die instead of master/slave. Moving to single file will allow miltiple DTSI inclusions with re-defined CP index and name.
This change will also allow support for SoCs containing more than two CP110 dies on board.
Move pin control definitions from CP110 DTS to board DTS files
---
arch/arm/dts/armada-7040-db-nand.dts | 73 +---
arch/arm/dts/armada-7040-db.dts | 81 ++--
arch/arm/dts/armada-7040.dtsi | 88 +++--
arch/arm/dts/armada-8020.dtsi | 63 ++-
arch/arm/dts/armada-8040-clearfog-gt-8k.dts | 72 ++--
arch/arm/dts/armada-8040-db.dts | 101 ++---
arch/arm/dts/armada-8040-mcbin.dts | 64 +--
arch/arm/dts/armada-8040-puzzle-m801.dts | 94 ++---
arch/arm/dts/armada-8040.dtsi | 113 ++++--
arch/arm/dts/armada-8k.dtsi | 18 +
arch/arm/dts/armada-common.dtsi | 30 ++
arch/arm/dts/armada-cp110-slave.dtsi | 368 ------------------
...da-cp110-master.dtsi => armada-cp110.dtsi} | 282 ++++++--------
13 files changed, 503 insertions(+), 944 deletions(-)
create mode 100644 arch/arm/dts/armada-8k.dtsi
create mode 100644 arch/arm/dts/armada-common.dtsi
delete mode 100644 arch/arm/dts/armada-cp110-slave.dtsi
rename arch/arm/dts/{armada-cp110-master.dtsi => armada-cp110.dtsi} (55%)arch/arm/dts/armada-7040-db-nand.dts +18 -55
@@ -1,43 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0+ /* - * Copyright (C) 2017 Marvell Technology Group Ltd. - * - * This file is dual-licensed: you can use it either under the terms - * of the GPLv2 or the X11 license, at your option. Note that this dual - * licensing only applies to this file, and not this project as a - * whole. - * - * a) This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License as - * published by the Free Software Foundation; either version 2 of the - * License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * Or, alternatively, - * - * b) Permission is hereby granted, free of charge, to any person - * obtaining a copy of this software and associated documentation - * files (the "Software"), to deal in the Software without - * restriction, including without limitation the rights to use, - * copy, modify, merge, publish, distribute, sublicense, and/or - * sell copies of the Software, and to permit persons to whom the - * Software is furnished to do so, subject to the following - * conditions: - * - * The above copyright notice and this permission notice shall be - * included in all copies or substantial portions of the Software. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES - * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT - * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, - * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING - * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR - * OTHER DEALINGS IN THE SOFTWARE. + * Copyright (C) 2016- 2021 Marvell International Ltd. */ /*
@@ -58,8 +21,8 @@ }; aliases { - i2c0 = &cpm_i2c0; - spi0 = &cpm_spi1; + i2c0 = &cp0_i2c0; + spi0 = &cp0_spi1; }; memory at 00000000 {
@@ -83,18 +46,18 @@ }; -&cpm_pcie2 { +&cp0_pcie2 { status = "okay"; }; -&cpm_i2c0 { +&cp0_i2c0 { pinctrl-names = "default"; - pinctrl-0 = <&cpm_i2c0_pins>; + pinctrl-0 = <&cp0_i2c0_pins>; status = "okay"; clock-frequency = <100000>; }; -&cpm_pinctl { +&cp0_pinctl { /* MPP Bus: * AUDIO [0-5] * GBE [6-11]
@@ -122,9 +85,9 @@ 0xe 0xe 0x0>; }; -&cpm_spi1 { +&cp0_spi1 { pinctrl-names = "default"; - pinctrl-0 = <&cpm_spi0_pins>; + pinctrl-0 = <&cp0_spi0_pins>; status = "disabled"; spi-flash at 0 {
@@ -152,19 +115,19 @@ }; }; -&cpm_sata0 { +&cp0_sata0 { status = "okay"; }; -&cpm_usb3_0 { +&cp0_usb3_0 { status = "okay"; }; -&cpm_usb3_1 { +&cp0_usb3_1 { status = "okay"; }; -&cpm_comphy { +&cp0_comphy { phy0 { phy-type = <PHY_TYPE_SGMII2>; phy-speed = <PHY_SPEED_3_125G>;
@@ -196,15 +159,15 @@ }; }; -&cpm_nand { +&cp0_nand { status = "okay"; }; -&cpm_utmi0 { +&cp0_utmi0 { status = "okay"; }; -&cpm_utmi1 { +&cp0_utmi1 { status = "okay"; };
@@ -215,7 +178,7 @@ non-removable; }; -&cpm_sdhci0 { +&cp0_sdhci0 { status = "okay"; bus-width = <4>; no-1-8-v;
arch/arm/dts/armada-7040-db.dts +22 -59
166 lines not on this page · raw message
arch/arm/dts/armada-7040.dtsi +48 -40
102 lines not on this page · raw message
arch/arm/dts/armada-8020.dtsi +22 -41
74 lines not on this page · raw message
arch/arm/dts/armada-8040-clearfog-gt-8k.dts +36 -36
200 lines not on this page · raw message
arch/arm/dts/armada-8040-db.dts +32 -69
218 lines not on this page · raw message
arch/arm/dts/armada-8040-mcbin.dts +32 -32
176 lines not on this page · raw message
arch/arm/dts/armada-8040-puzzle-m801.dts +47 -47
243 lines not on this page · raw message
arch/arm/dts/armada-8040.dtsi +72 -41
127 lines not on this page · raw message
arch/arm/dts/armada-8k.dtsi new file +18 -0
@@ -0,0 +1,18 @@ +// SPDX-License-Identifier: GPL-2.0 +/* + * Copyright (C) 2018 - 2021 Marvell International Ltd. + */ +/* Common definitions used by Armada 8K DTs */ + +/* This defines used to calculate the base address of each CP */ +#define CP110_BASE_OFFSET (0xf2000000) +#define CP110_SPACE_SIZE (0x02000000) +#define CP110_BASE (CP110_BASE_OFFSET + \ + ((CP110_NUM % 2) * CP110_SPACE_SIZE)) + +#define CP110_PCIE_MEM_SIZE(iface) (0xf00000) +#define CP110_PCIEx_CPU_MEM_BASE(iface) \ + (0xf6000000 + (CP110_NUM % 2) * 0x4000000 + (iface) * 0x1000000) +#define CP110_PCIEx_BUS_MEM_BASE(iface) \ + (CP110_PCIEx_CPU_MEM_BASE(iface)) +#define CP110_PCIE_BUS_MEM_CFG (0x82000000)
arch/arm/dts/armada-common.dtsi new file +30 -0
@@ -0,0 +1,30 @@ +// SPDX-License-Identifier: GPL-2.0+ +/* + * Copyright (C) 2021 Marvell International Ltd. + */ + +/* Common definitions used by Armada 7K/8K DTs */ +#define PASTER(x, y) x ## _ ## y +#define EVALUATOR(x, y) PASTER(x, y) + +/* This define used to create die label: + * For example: + * CP110 master: + * CP110_LABEL(spi0) -> cp0_spi0 + * CP110 slave: + * CP110_LABEL(usb0) -> cp1_usb0 + */ +#define CP110_LABEL(name) EVALUATOR(CP110_NAME, name) + +#define APPEND_NX(A, B) A ##-## B +#define APPEND(A, B) APPEND_NX(A, B) + +#define STRINGIZE_NX(x) #x +#define STRINGIZE(x) STRINGIZE_NX(x) + +/* Same idea here, but this define convert the name to string: + * For example: + * master: CP110_STRING_LABEL(ppv2) -> "cp0-ppv2" + * slave: CP110_STRING_LABEL(ppv2) -> "cp1-ppv2" + */ +#define CP110_STRING_LABEL(name) STRINGIZE(APPEND(CP110_NAME, name))
arch/arm/dts/armada-cp110-slave.dtsi deleted +0 -368
368 lines not on this page · raw message
arch/arm/dts/armada-cp110.dtsi renamed from arch/arm/dts/armada-cp110-master.dtsi +126 -156
470 lines not on this page · raw message
Signature · 1 line
2.31.1
PATCH 3/6 arm: armada: dts: Add support for ap807-based platforms
In reply to Stefan RoeseFrom: Konstantin Porotchkin <[email protected]>
Add support for SoCs based on AP807 die.
Remove unused include file for Armada-8020 SoC.
---
arch/arm/dts/armada-7040.dtsi | 3 +- arch/arm/dts/armada-8020.dtsi | 37 ---- arch/arm/dts/armada-8040.dtsi | 3 +- arch/arm/dts/armada-ap806-quad.dtsi | 82 -------- arch/arm/dts/armada-ap806.dtsi | 281 +++------------------------- arch/arm/dts/armada-ap807.dtsi | 40 ++++ arch/arm/dts/armada-ap80x-quad.dtsi | 52 +++++ arch/arm/dts/armada-ap80x.dtsi | 211 +++++++++++++++++++++ 8 files changed, 330 insertions(+), 379 deletions(-) delete mode 100644 arch/arm/dts/armada-8020.dtsi delete mode 100644 arch/arm/dts/armada-ap806-quad.dtsi create mode 100644 arch/arm/dts/armada-ap807.dtsi create mode 100644 arch/arm/dts/armada-ap80x-quad.dtsi create mode 100644 arch/arm/dts/armada-ap80x.dtsi
arch/arm/dts/armada-7040.dtsi +2 -1
@@ -11,7 +11,8 @@ #include <dt-bindings/gpio/gpio.h> #include "armada-common.dtsi" #include "armada-8k.dtsi" -#include "armada-ap806-quad.dtsi" +#include "armada-ap806.dtsi" +#include "armada-ap80x-quad.dtsi" /* CP110-0 Settings */ #define CP110_NAME cp0
arch/arm/dts/armada-8020.dtsi deleted +0 -37
@@ -1,37 +0,0 @@ -// SPDX-License-Identifier: GPL-2.0+ -/* - * Copyright (C) 2016- 2021 Marvell International Ltd. - */ - -/* - * Device Tree file for the Armada 8020 SoC, made of an AP806 Dual and - * two CP110. - */ - -#include "armada-common.dtsi" -#include "armada-8k.dtsi" -#include "armada-ap806-dual.dtsi" - -/* CP110-0 Settings */ -#define CP110_NAME cp0 -#define CP110_NUM 0 - -#include "armada-cp110.dtsi" - -#undef CP110_NAME -#undef CP110_NUM - -/* CP110-1 Settings */ -#define CP110_NAME cp1 -#define CP110_NUM 1 - -#include "armada-cp110.dtsi" - -#undef CP110_NAME -#undef CP110_NUM - -/ { - model = "Marvell Armada 8020"; - compatible = "marvell,armada8020", "marvell,armada-ap806-dual", - "marvell,armada-ap806"; -};
arch/arm/dts/armada-8040.dtsi +2 -1
@@ -11,7 +11,8 @@ #include <dt-bindings/gpio/gpio.h> #include "armada-common.dtsi" #include "armada-8k.dtsi" -#include "armada-ap806-quad.dtsi" +#include "armada-ap806.dtsi" +#include "armada-ap80x-quad.dtsi" /* CP110-0 Settings */ #define CP110_NAME cp0
arch/arm/dts/armada-ap806-quad.dtsi deleted +0 -82
82 lines not on this page · raw message
arch/arm/dts/armada-ap806.dtsi +23 -258
297 lines not on this page · raw message
arch/arm/dts/armada-ap807.dtsi new file +40 -0
@@ -0,0 +1,40 @@ +// SPDX-License-Identifier: GPL-2.0 +/* + * Copyright (C) 2020 Marvell International Ltd. + */ + +/* + * Device Tree file for Marvell Armada AP807. + */ + +/* AP807 Settings */ +#define AP_NAME ap807 + +#include "armada-ap80x.dtsi" + +/ { + model = "Marvell Armada AP807"; + + AP_NAME { + config-space { + sar-reg { + compatible = "marvell,sample-at-reset-common", + "marvell,sample-at-reset-ap807"; + reg = <0x6F8200 0x8>; + sar-driver = "ap807_sar"; + sar-name = "ap807_sar"; + status = "okay"; + }; + + thermal: thermal at 6f8084 { + compatible = "marvell,mvebu-thermal", + "marvell,thermal-ext-sensor"; + reg = <0x6f8084 0x12>; + gain = <394>; + offset = <128900>; + divisor = <1000>; + status = "okay"; + }; + }; + }; +};
arch/arm/dts/armada-ap80x-quad.dtsi new file +52 -0
52 lines not on this page · raw message
arch/arm/dts/armada-ap80x.dtsi new file +211 -0
211 lines not on this page · raw message
Signature · 1 line
2.31.1
PATCH 4/6 arm: armada: configs: Move environment location for mvebu
In reply to Stefan RoeseFrom: Konstantin Porotchkin <[email protected]>
Move the default environment location to the end of 4MB flash region. This change allows to accomodate larger flash boot images making space for forthcoming code changes.
---
configs/mvebu_db-88f3720_defconfig | 2 +- configs/mvebu_db_armada8k_defconfig | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
configs/mvebu_db-88f3720_defconfig +1 -1
@@ -6,7 +6,7 @@ CONFIG_SYS_MALLOC_F_LEN=0x2000 CONFIG_NR_DRAM_BANKS=1 CONFIG_TARGET_MVEBU_ARMADA_37XX=y CONFIG_ENV_SIZE=0x10000 -CONFIG_ENV_OFFSET=0x180000 +CONFIG_ENV_OFFSET=0x3f0000 CONFIG_ENV_SECT_SIZE=0x10000 CONFIG_DM_GPIO=y CONFIG_DEBUG_UART_BASE=0xd0012000
configs/mvebu_db_armada8k_defconfig +1 -1
@@ -6,7 +6,7 @@ CONFIG_SYS_MALLOC_F_LEN=0x2000 CONFIG_NR_DRAM_BANKS=2 CONFIG_TARGET_MVEBU_ARMADA_8K=y CONFIG_ENV_SIZE=0x10000 -CONFIG_ENV_OFFSET=0x180000 +CONFIG_ENV_OFFSET=0x3f0000 CONFIG_ENV_SECT_SIZE=0x10000 CONFIG_DEBUG_UART_BASE=0xf0512000 CONFIG_DEBUG_UART_CLOCK=200000000
Signature · 1 line
2.31.1
PATCH 5/6 arm: octeontx2: Add dtsi/dts files for Octeon TX2 CN9130 CRB
In reply to Stefan RoeseFrom: Konstantin Porotchkin <[email protected]>
This patch adds the dtsi/dts files needed to support the Marvell Octeon TX2 CN9130 CRB. This is only the base port with not all interfaces supported fully.
---
arch/arm/dts/Makefile | 4 +- arch/arm/dts/cn9130-crb-A.dts | 57 ++++++++ arch/arm/dts/cn9130-crb-B.dts | 61 ++++++++ arch/arm/dts/cn9130-crb.dtsi | 253 ++++++++++++++++++++++++++++++++++ arch/arm/dts/cn9130.dtsi | 73 ++++++++++ 5 files changed, 447 insertions(+), 1 deletion(-) create mode 100644 arch/arm/dts/cn9130-crb-A.dts create mode 100644 arch/arm/dts/cn9130-crb-B.dts create mode 100644 arch/arm/dts/cn9130-crb.dtsi create mode 100644 arch/arm/dts/cn9130.dtsi
arch/arm/dts/Makefile +3 -1
@@ -237,7 +237,9 @@ dtb-$(CONFIG_ARCH_MVEBU) += \ armada-xp-gp.dtb \ armada-xp-maxbcm.dtb \ armada-xp-synology-ds414.dtb \ - armada-xp-theadorable.dtb + armada-xp-theadorable.dtb \ + cn9130-crb-A.dtb \ + cn9130-crb-B.dtb dtb-$(CONFIG_ARCH_UNIPHIER_LD11) += \ uniphier-ld11-global.dtb \
arch/arm/dts/cn9130-crb-A.dts new file +57 -0
57 lines not on this page · raw message
arch/arm/dts/cn9130-crb-B.dts new file +61 -0
61 lines not on this page · raw message
arch/arm/dts/cn9130-crb.dtsi new file +253 -0
253 lines not on this page · raw message
arch/arm/dts/cn9130.dtsi new file +73 -0
73 lines not on this page · raw message
Signature · 1 line
2.31.1
PATCH 6/6 arm: octeontx2: Add Octeon TX2 CN9130 CRB support
In reply to Stefan RoeseFrom: Konstantin Porotchkin <[email protected]>
This patch adds the base support for the Marvell Octeon TX2 CN9130 CRB. Not all interfaces are supported fully yet.
---
arch/arm/mach-mvebu/Kconfig | 10 +++ board/Marvell/octeontx2_cn913x/MAINTAINERS | 6 ++ board/Marvell/octeontx2_cn913x/Makefile | 8 +++ board/Marvell/octeontx2_cn913x/board.c | 45 ++++++++++++ configs/mvebu_crb_cn9130_defconfig | 84 ++++++++++++++++++++++ 5 files changed, 153 insertions(+) create mode 100644 board/Marvell/octeontx2_cn913x/MAINTAINERS create mode 100644 board/Marvell/octeontx2_cn913x/Makefile create mode 100644 board/Marvell/octeontx2_cn913x/board.c create mode 100644 configs/mvebu_crb_cn9130_defconfig
arch/arm/mach-mvebu/Kconfig +10 -0
@@ -141,6 +141,13 @@ config TARGET_MVEBU_ARMADA_8K select BOARD_LATE_INIT imply SCSI +config TARGET_OCTEONTX2_CN913x + bool "Support CN913x platforms" + select ARMADA_8K + imply BOARD_EARLY_INIT_R + select BOARD_LATE_INIT + imply SCSI + config TARGET_DB_MV784MP_GP bool "Support db-mv784mp-gp" select MV78460
@@ -187,6 +194,7 @@ config SYS_BOARD default "turris_omnia" if TARGET_TURRIS_OMNIA default "turris_mox" if TARGET_TURRIS_MOX default "mvebu_armada-8k" if TARGET_MVEBU_ARMADA_8K + default "octeontx2_cn913x" if TARGET_OCTEONTX2_CN913x default "db-mv784mp-gp" if TARGET_DB_MV784MP_GP default "ds414" if TARGET_DS414 default "maxbcm" if TARGET_MAXBCM
@@ -204,6 +212,7 @@ config SYS_CONFIG_NAME default "db-88f6820-gp" if TARGET_DB_88F6820_GP default "db-88f6820-amc" if TARGET_DB_88F6820_AMC default "mvebu_armada-8k" if TARGET_MVEBU_ARMADA_8K + default "mvebu_armada-8k" if TARGET_OCTEONTX2_CN913x default "db-mv784mp-gp" if TARGET_DB_MV784MP_GP default "ds414" if TARGET_DS414 default "maxbcm" if TARGET_MAXBCM
@@ -222,6 +231,7 @@ config SYS_VENDOR default "Marvell" if TARGET_DB_88F6820_GP default "Marvell" if TARGET_DB_88F6820_AMC default "Marvell" if TARGET_MVEBU_ARMADA_8K + default "Marvell" if TARGET_OCTEONTX2_CN913x default "Marvell" if TARGET_DB_XC3_24G4XG default "Marvell" if TARGET_MVEBU_DB_88F7040 default "solidrun" if TARGET_CLEARFOG
board/Marvell/octeontx2_cn913x/MAINTAINERS new file +6 -0
@@ -0,0 +1,6 @@ +OCTEONTX2_CN913x BOARD +M: Kostya Porotchkin <[email protected]> +S: Maintained +F: board/Marvell/octeontx2_cn913x/ +F: include/configs/octeontx2_cn913x.h +F: configs/mvebu_db_cn91xx_defconfig
board/Marvell/octeontx2_cn913x/Makefile new file +8 -0
@@ -0,0 +1,8 @@ +# +# Copyright (C) 2016 Stefan Roese <[email protected]> +# Copyright (C) 2019 Marvell International Ltd. +# +# SPDX-License-Identifier: GPL-2.0+ +# + +obj-y := board.o
board/Marvell/octeontx2_cn913x/board.c new file +45 -0
45 lines not on this page · raw message
configs/mvebu_crb_cn9130_defconfig new file +84 -0
84 lines not on this page · raw message
Signature · 1 line
2.31.1
cover arm: armada: Add Octeon TX2 CN9130 base support
In reply to Stefan RoeseQuoted 59 lines · Stefan Roese
This patchset adds the base support for the Marvell Octeon TX2 CN9130 CRB. This includes the necessary restructuring of the dtsi files to support the AP807.
Thanks,
StefanKonstantin Porotchkin (6):
cmd/mvebu: fix the bubt command
arm: armada: dts: Use a single dtsi for cp110 die description
arm: armada: dts: Add support for ap807-based platforms
arm: armada: configs: Move environment location for mvebu
arm: octeontx2: Add dtsi/dts files for Octeon TX2 CN9130 CRB
arm: octeontx2: Add Octeon TX2 CN9130 CRB supportarch/arm/dts/Makefile | 4 +- arch/arm/dts/armada-7040-db-nand.dts | 73 +--- arch/arm/dts/armada-7040-db.dts | 81 ++-- arch/arm/dts/armada-7040.dtsi | 91 +++-- arch/arm/dts/armada-8020.dtsi | 56 --- arch/arm/dts/armada-8040-clearfog-gt-8k.dts | 72 ++-- arch/arm/dts/armada-8040-db.dts | 101 ++--- arch/arm/dts/armada-8040-mcbin.dts | 64 +-- arch/arm/dts/armada-8040-puzzle-m801.dts | 94 ++--- arch/arm/dts/armada-8040.dtsi | 116 ++++-- arch/arm/dts/armada-8k.dtsi | 18 + arch/arm/dts/armada-ap806-quad.dtsi | 82 ---- arch/arm/dts/armada-ap806.dtsi | 281 ++----------- arch/arm/dts/armada-ap807.dtsi | 40 ++ arch/arm/dts/armada-ap80x-quad.dtsi | 52 +++ arch/arm/dts/armada-ap80x.dtsi | 211 ++++++++++ arch/arm/dts/armada-common.dtsi | 30 ++ arch/arm/dts/armada-cp110-slave.dtsi | 368 ------------------ ...da-cp110-master.dtsi => armada-cp110.dtsi} | 282 ++++++-------- arch/arm/dts/cn9130-crb-A.dts | 57 +++ arch/arm/dts/cn9130-crb-B.dts | 61 +++ arch/arm/dts/cn9130-crb.dtsi | 253 ++++++++++++ arch/arm/dts/cn9130.dtsi | 73 ++++ arch/arm/mach-mvebu/Kconfig | 10 + board/Marvell/octeontx2_cn913x/MAINTAINERS | 6 + board/Marvell/octeontx2_cn913x/Makefile | 8 + board/Marvell/octeontx2_cn913x/board.c | 45 +++ cmd/mvebu/Kconfig | 2 +- cmd/mvebu/bubt.c | 2 +- configs/mvebu_crb_cn9130_defconfig | 84 ++++ configs/mvebu_db-88f3720_defconfig | 2 +- configs/mvebu_db_armada8k_defconfig | 2 +- 32 files changed, 1415 insertions(+), 1306 deletions(-)delete mode 100644
arch/arm/dts/armada-8020.dtsi
create mode 100644arch/arm/dts/armada-8k.dtsi
delete mode 100644arch/arm/dts/armada-ap806-quad.dtsi
create mode 100644arch/arm/dts/armada-ap807.dtsi
create mode 100644arch/arm/dts/armada-ap80x-quad.dtsi
create mode 100644arch/arm/dts/armada-ap80x.dtsi
create mode 100644arch/arm/dts/armada-common.dtsi
delete mode 100644arch/arm/dts/armada-cp110-slave.dtsirenamearch/arm/dts/{armada-cp110-master.dtsi=>armada-cp110.dtsi} (55%)
Quoted 9 lines
create mode 100644
arch/arm/dts/cn9130-crb-A.dtscreate mode 100644arch/arm/dts/cn9130-crb-B.dtscreate mode 100644arch/arm/dts/cn9130-crb.dtsicreate mode 100644arch/arm/dts/cn9130.dtsi
create mode 100644 board/Marvell/octeontx2_cn913x/MAINTAINERS create mode 100644 board/Marvell/octeontx2_cn913x/Makefile create mode 100644board/Marvell/octeontx2_cn913x/board.ccreate mode 100644 configs/mvebu_crb_cn9130_defconfig
Applied to u-boot-marvell/master
Thanks,
Stefan