[PATCH net-next 13/18] arm64: dts: marvell: cp110: use named interrupts for the Ethernet ports

Antoine Tenart
2017-07-24T13:50:07Z

The PPv2 driver now uses named interrupts. Add the interrupt-names
property to the Ethernet ports to use this new functionality. This is
needed as other interrupt descriptions will be added to the Ethernet
ports at some point.

Signed-off-by: Antoine Tenart <antoine.tenart@free-electrons.com>
---

@Dave: Hi! This patch should go through the mvebu tree. Thanks!

arch/arm64/boot/dts/marvell/armada-cp110-master.dtsi | 3 +++
arch/arm64/boot/dts/marvell/armada-cp110-slave.dtsi | 3 +++
2 files changed, 6 insertions(+)

diff --git a/arch/arm64/boot/dts/marvell/armada-cp110-master.dtsi b/arch/arm64/boot/dts/marvell/armada-cp110-master.dtsi
index 4c68605675a8..13763eefeb6e 100644
--- a/arch/arm64/boot/dts/marvell/armada-cp110-master.dtsi
+++ b/arch/arm64/boot/dts/marvell/armada-cp110-master.dtsi
@@ -70,6 +70,7 @@

cpm_eth0: eth0 {
interrupts = <ICU_GRP_NSR 39 IRQ_TYPE_LEVEL_HIGH>;
+ interrupt-names = "rx-shared";
port-id = <0>;
gop-port-id = <0>;
status = "disabled";
@@ -77,6 +78,7 @@

cpm_eth1: eth1 {
interrupts = <ICU_GRP_NSR 40 IRQ_TYPE_LEVEL_HIGH>;
+ interrupt-names = "rx-shared";
port-id = <1>;
gop-port-id = <2>;
status = "disabled";
@@ -84,6 +86,7 @@

cpm_eth2: eth2 {
interrupts = <ICU_GRP_NSR 41 IRQ_TYPE_LEVEL_HIGH>;
+ interrupt-names = "rx-shared";
port-id = <2>;
gop-port-id = <3>;
status = "disabled";
diff --git a/arch/arm64/boot/dts/marvell/armada-cp110-slave.dtsi b/arch/arm64/boot/dts/marvell/armada-cp110-slave.dtsi
index 0dbb59811d00..0382cffef189 100644
--- a/arch/arm64/boot/dts/marvell/armada-cp110-slave.dtsi
+++ b/arch/arm64/boot/dts/marvell/armada-cp110-slave.dtsi
@@ -77,6 +77,7 @@

cps_eth0: eth0 {
interrupts = <ICU_GRP_NSR 39 IRQ_TYPE_LEVEL_HIGH>;
+ interrupt-names = "rx-shared";
port-id = <0>;
gop-port-id = <0>;
status = "disabled";
@@ -84,6 +85,7 @@

cps_eth1: eth1 {
interrupts = <ICU_GRP_NSR 40 IRQ_TYPE_LEVEL_HIGH>;
+ interrupt-names = "rx-shared";
port-id = <1>;
gop-port-id = <2>;
status = "disabled";
@@ -91,6 +93,7 @@

cps_eth2: eth2 {
interrupts = <ICU_GRP_NSR 41 IRQ_TYPE_LEVEL_HIGH>;
+ interrupt-names = "rx-shared";
port-id = <2>;
gop-port-id = <3>;
status = "disabled";
--
2.13.3