arm64: marvell: add support for the slave CP in Armada 8K
Subsystems (2)
cover arm64: marvell: add support for the slave CP in Armada 8K
Hello,
The following set of two patches add support for the slave CP HW block found in the Armada 8K SoCs. As a reminder:
- Armada 7K is an SoC with one AP and one CP. The AP is the part that contains the CPU, cache and a few basic I/Os. The CP is the part that contains most interesting I/Os (PCIe, SATA, USB, Ethernet, etc.)
- Armada 8K is an SoC with one AP and two CPs.
This set of patches add support for the second CP found in Armada 8K, also called the "slave CP110".
Thanks,
Thomas
Thomas Petazzoni (2):
arm64: dts: marvell: add description for the slave CP110 in Armada 8K
arm64: dts: marvell: add description for the Armada 8040 dev board
arch/arm64/boot/dts/marvell/Makefile | 1 +
arch/arm64/boot/dts/marvell/armada-8020.dtsi | 1 +
.../{armada-8020.dtsi => armada-8040-db.dts} | 109 ++++++++-
arch/arm64/boot/dts/marvell/armada-8040.dtsi | 1 +
.../arm64/boot/dts/marvell/armada-cp110-slave.dtsi | 246 +++++++++++++++++++++
5 files changed, 351 insertions(+), 7 deletions(-)
copy arch/arm64/boot/dts/marvell/{armada-8020.dtsi => armada-8040-db.dts} (55%)
create mode 100644 arch/arm64/boot/dts/marvell/armada-cp110-slave.dtsiSignature · 1 line
2.7.4
PATCH 1/2 arm64: dts: marvell: add description for the slave CP110 in Armada 8K
The Armada 8K platforms (8020 and 8040) have two CP110 HW blocks: one master, one slave. So far, only the master CP110 was described. This commit adds the Device Tree description for the slave CP110, and hooks it up in the DT description of the Armada 8020 and Armada 8040 SoCs.
The slave CP110 description is somewhat similar to the master CP110 description except for a number of things like register offsets, interrupt numbers, references to clocks, etc.
--- arch/arm64/boot/dts/marvell/armada-8020.dtsi | 1 + arch/arm64/boot/dts/marvell/armada-8040.dtsi | 1 + .../arm64/boot/dts/marvell/armada-cp110-slave.dtsi | 246 +++++++++++++++++++++ 3 files changed, 248 insertions(+) create mode 100644 arch/arm64/boot/dts/marvell/armada-cp110-slave.dtsi
arch/arm64/boot/dts/marvell/armada-8020.dtsi +1 -0
@@ -47,6 +47,7 @@ #include "armada-ap806-dual.dtsi" #include "armada-cp110-master.dtsi" +#include "armada-cp110-slave.dtsi" / { model = "Marvell Armada 8020";
arch/arm64/boot/dts/marvell/armada-8040.dtsi +1 -0
@@ -47,6 +47,7 @@ #include "armada-ap806-quad.dtsi" #include "armada-cp110-master.dtsi" +#include "armada-cp110-slave.dtsi" / { model = "Marvell Armada 8040";
arch/arm64/boot/dts/marvell/armada-cp110-slave.dtsi new file +246 -0
246 lines not on this page · raw message
Signature · 1 line
2.7.4
PATCH 2/2 arm64: dts: marvell: add description for the Armada 8040 dev board
In reply to Thomas PetazzoniThis commit adds a Device Tree description for the Marvell Armada 8040 Development Board. It features a quad-core Cortex A72 Armada 8040 SoC, with a large number of peripherals: dual Gigabit, dual 10 GBit, 6 PCIe interfaces, 6 SATA ports, 4 USB 3.0 ports, and more.
Only a subset of the functionalities are supported so far, and additional features will be progressively enabled in the future.
--- arch/arm64/boot/dts/marvell/Makefile | 1 + arch/arm64/boot/dts/marvell/armada-8040-db.dts | 150 +++++++++++++++++++++++++ 2 files changed, 151 insertions(+) create mode 100644 arch/arm64/boot/dts/marvell/armada-8040-db.dts
arch/arm64/boot/dts/marvell/Makefile +1 -0
@@ -5,6 +5,7 @@ dtb-$(CONFIG_ARCH_BERLIN) += berlin4ct-stb.dtb # Mvebu SoC Family dtb-$(CONFIG_ARCH_MVEBU) += armada-3720-db.dtb dtb-$(CONFIG_ARCH_MVEBU) += armada-7040-db.dtb +dtb-$(CONFIG_ARCH_MVEBU) += armada-8040-db.dtb always := $(dtb-y) subdir-y := $(dts-dirs)
arch/arm64/boot/dts/marvell/armada-8040-db.dts new file +150 -0
150 lines not on this page · raw message
Signature · 1 line
2.7.4
cover arm64: marvell: add support for the slave CP in Armada 8K
In reply to Thomas PetazzoniHi Thomas,
Quoted 10 lines · Thomas Petazzoni
Hello,
The following set of two patches add support for the slave CP HW block found in the Armada 8K SoCs. As a reminder:
- Armada 7K is an SoC with one AP and one CP. The AP is the part that contains the CPU, cache and a few basic I/Os. The CP is the part that contains most interesting I/Os (PCIe, SATA, USB, Ethernet, etc.)
Quoted 4 lines
- Armada 8K is an SoC with one AP and two CPs.
This set of patches add support for the second CP found in Armada 8K, also called the "slave CP110".
Both patches applied on mvebu/dt64
Thanks,
Gregory
Quoted 21 lines
Thanks,
Thomas
Thomas Petazzoni (2):
arm64: dts: marvell: add description for the slave CP110 in Armada 8K
arm64: dts: marvell: add description for the Armada 8040 dev boardarch/arm64/boot/dts/marvell/Makefile | 1 + arch/arm64/boot/dts/marvell/armada-8020.dtsi | 1 + .../{armada-8020.dtsi => armada-8040-db.dts} | 109 ++++++++- arch/arm64/boot/dts/marvell/armada-8040.dtsi | 1 + .../arm64/boot/dts/marvell/armada-cp110-slave.dtsi | 246 +++++++++++++++++++++ 5 files changed, 351 insertions(+), 7 deletions(-) copy arch/arm64/boot/dts/marvell/{armada-8020.dtsi => armada-8040-db.dts} (55%) create mode 100644 arch/arm64/boot/dts/marvell/armada-cp110-slave.dtsiSignature · 1 line
2.7.4
Signature · 4 lines
Gregory Clement, Free Electrons Kernel, drivers, real-time and embedded Linux development, consulting, training and support. http://free-electrons.com