aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm64/boot/dts/marvell/armada-80x0.dtsi
diff options
context:
space:
mode:
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>2018-01-02 15:55:58 +0100
committerGregory CLEMENT <gregory.clement@free-electrons.com>2018-01-05 17:02:43 +0100
commit91f1be92eb511c549b1e2e723bdeb13e7cb33a99 (patch)
treeace45e65312f587c162963e645dfa3275653dbff /arch/arm64/boot/dts/marvell/armada-80x0.dtsi
parentarm64: dts: marvell: de-duplicate CP110 description (diff)
downloadlinux-dev-91f1be92eb511c549b1e2e723bdeb13e7cb33a99.tar.xz
linux-dev-91f1be92eb511c549b1e2e723bdeb13e7cb33a99.zip
arm64: dts: marvell: replace cpm by cp0, cps by cp1
In preparation for the introduction of more than 2 CPs in upcoming SoCs, it makes sense to move away from the "CP master" (cpm) and "CP slave" (cps) naming, and use instead cp0/cp1. This commit is the result of: sed 's%cpm%cp0g%' arch/arm64/boot/dts/marvell/* sed 's%cps%cp1g%' arch/arm64/boot/dts/marvell/* So it is a purely mechaninal change. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Suggested-by: Hanna Hawa <hannah@marvell.com> Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
Diffstat (limited to 'arch/arm64/boot/dts/marvell/armada-80x0.dtsi')
-rw-r--r--arch/arm64/boot/dts/marvell/armada-80x0.dtsi34
1 files changed, 17 insertions, 17 deletions
diff --git a/arch/arm64/boot/dts/marvell/armada-80x0.dtsi b/arch/arm64/boot/dts/marvell/armada-80x0.dtsi
index 5e038e7b7b30..0d36b0fa7153 100644
--- a/arch/arm64/boot/dts/marvell/armada-80x0.dtsi
+++ b/arch/arm64/boot/dts/marvell/armada-80x0.dtsi
@@ -46,19 +46,19 @@
/ {
aliases {
- gpio1 = &cps_gpio1;
- gpio2 = &cpm_gpio2;
- spi1 = &cpm_spi0;
- spi2 = &cpm_spi1;
- spi3 = &cps_spi0;
- spi4 = &cps_spi1;
+ gpio1 = &cp1_gpio1;
+ gpio2 = &cp0_gpio2;
+ spi1 = &cp0_spi0;
+ spi2 = &cp0_spi1;
+ spi3 = &cp1_spi0;
+ spi4 = &cp1_spi1;
};
};
/*
* Instantiate the master CP110
*/
-#define CP110_NAME cpm
+#define CP110_NAME cp0
#define CP110_BASE f2000000
#define CP110_PCIE_IO_BASE 0xf9000000
#define CP110_PCIE_MEM_BASE 0xf6000000
@@ -79,7 +79,7 @@
/*
* Instantiate the slave CP110
*/
-#define CP110_NAME cps
+#define CP110_NAME cp1
#define CP110_BASE f4000000
#define CP110_PCIE_IO_BASE 0xfd000000
#define CP110_PCIE_MEM_BASE 0xfa000000
@@ -98,23 +98,23 @@
#undef CP110_PCIE2_BASE
/* The 80x0 has two CP blocks, but uses only one block from each. */
-&cps_gpio1 {
+&cp1_gpio1 {
status = "okay";
};
-&cpm_gpio2 {
+&cp0_gpio2 {
status = "okay";
};
-&cpm_syscon0 {
- cpm_pinctrl: pinctrl {
- compatible = "marvell,armada-8k-cpm-pinctrl";
+&cp0_syscon0 {
+ cp0_pinctrl: pinctrl {
+ compatible = "marvell,armada-8k-cp0-pinctrl";
};
};
-&cps_syscon0 {
- cps_pinctrl: pinctrl {
- compatible = "marvell,armada-8k-cps-pinctrl";
+&cp1_syscon0 {
+ cp1_pinctrl: pinctrl {
+ compatible = "marvell,armada-8k-cp1-pinctrl";
nand_pins: nand-pins {
marvell,pins =
@@ -135,7 +135,7 @@
};
};
-&cps_crypto {
+&cp1_crypto {
/*
* The cryptographic engine found on the cp110
* master is enabled by default at the SoC