Skip to contentSkip to conversation

arm64: dts: add PHY IRQs for the DPAA2 based RDB boards

PATCH Applied Ioana Ciornei 2 participants 5 messages Jun 15, 2021 – Jul 14, 2021

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

cover arm64: dts: add PHY IRQs for the DPAA2 based RDB boards

From: Ioana Ciornei <[email protected]>

Update the DTS PHY nodes to specify the IRQ lines for the PHYs found on the DPAA2 based RDB boards.

Ioana Ciornei (3):
arm64: dts: lx2160ardb: update PHY nodes with IRQ information
arm64: dts: ls2088ardb: update PHY nodes with IRQ information
arm64: dts: ls1088ardb: update PHY nodes with IRQ information

 arch/arm64/boot/dts/freescale/fsl-ls1088a-rdb.dts | 9 +++++++++
 arch/arm64/boot/dts/freescale/fsl-ls2088a-rdb.dts | 4 ++++
 arch/arm64/boot/dts/freescale/fsl-lx2160a-rdb.dts | 4 ++++
 3 files changed, 17 insertions(+)
Signature · 1 line
2.31.1
#1 lore raw

PATCH 1/3 arm64: dts: lx2160ardb: update PHY nodes with IRQ information

From: Ioana Ciornei <[email protected]>

Update the DTS nodes for both the AR8035 and the AQR107 PHYs in order to describe their IRQ lines.

---
 arch/arm64/boot/dts/freescale/fsl-lx2160a-rdb.dts | 4 ++++
 1 file changed, 4 insertions(+)
arch/arm64/boot/dts/freescale/fsl-lx2160a-rdb.dts +4 -0
index 5dbf27493e8b..028ff8074b9d 100644
@@ -65,6 +65,7 @@ &emdio1 {
 	rgmii_phy1: ethernet-phy@1 {
 		/* AR8035 PHY */
 		compatible = "ethernet-phy-id004d.d072";
+		interrupts-extended = <&extirq 4 IRQ_TYPE_LEVEL_LOW>;
 		reg = <0x1>;
 		eee-broken-1000t;
 	};
@@ -72,6 +73,7 @@ rgmii_phy1: ethernet-phy@1 {
 	rgmii_phy2: ethernet-phy@2 {
 		/* AR8035 PHY */
 		compatible = "ethernet-phy-id004d.d072";
+		interrupts-extended = <&extirq 5 IRQ_TYPE_LEVEL_LOW>;
 		reg = <0x2>;
 		eee-broken-1000t;
 	};
@@ -79,12 +81,14 @@ rgmii_phy2: ethernet-phy@2 {
 	aquantia_phy1: ethernet-phy@4 {
 		/* AQR107 PHY */
 		compatible = "ethernet-phy-ieee802.3-c45";
+		interrupts-extended = <&extirq 2 IRQ_TYPE_LEVEL_LOW>;
 		reg = <0x4>;
 	};
 
 	aquantia_phy2: ethernet-phy@5 {
 		/* AQR107 PHY */
 		compatible = "ethernet-phy-ieee802.3-c45";
+		interrupts-extended = <&extirq 3 IRQ_TYPE_LEVEL_LOW>;
 		reg = <0x5>;
 	};
 };
Signature · 1 line
2.31.1
#2 lore raw

PATCH 2/3 arm64: dts: ls2088ardb: update PHY nodes with IRQ information

In reply to Ioana Ciornei

From: Ioana Ciornei <[email protected]>

Update the DTS nodes corresponding to the 4 10GBASE-R PHYs to describe their IRQ lines.

---
 arch/arm64/boot/dts/freescale/fsl-ls2088a-rdb.dts | 4 ++++
 1 file changed, 4 insertions(+)
arch/arm64/boot/dts/freescale/fsl-ls2088a-rdb.dts +4 -0
index 60563917be44..3e4e857db13f 100644
@@ -92,21 +92,25 @@ &emdio2 {
 
 	mdio2_phy1: ethernet-phy@0 {
 		compatible = "ethernet-phy-id03a1.b4b0", "ethernet-phy-ieee802.3-c45";
+		interrupts-extended = <&extirq 1 IRQ_TYPE_LEVEL_LOW>;
 		reg = <0x0>;
 	};
 
 	mdio2_phy2: ethernet-phy@1 {
 		compatible = "ethernet-phy-id03a1.b4b0", "ethernet-phy-ieee802.3-c45";
+		interrupts-extended = <&extirq 2 IRQ_TYPE_LEVEL_LOW>;
 		reg = <0x1>;
 	};
 
 	mdio2_phy3: ethernet-phy@2 {
 		compatible = "ethernet-phy-id03a1.b4b0", "ethernet-phy-ieee802.3-c45";
+		interrupts-extended = <&extirq 4 IRQ_TYPE_LEVEL_LOW>;
 		reg = <0x2>;
 	};
 
 	mdio2_phy4: ethernet-phy@3 {
 		compatible = "ethernet-phy-id03a1.b4b0", "ethernet-phy-ieee802.3-c45";
+		interrupts-extended = <&extirq 5 IRQ_TYPE_LEVEL_LOW>;
 		reg = <0x3>;
 	};
 };
Signature · 1 line
2.31.1
#3 lore raw

PATCH 3/3 arm64: dts: ls1088ardb: update PHY nodes with IRQ information

In reply to Ioana Ciornei

From: Ioana Ciornei <[email protected]>

Describe the IRQs for both the QSGMII PHYs and the 10GBASE-R PHY found on the LS1088ARDB board.

---
 arch/arm64/boot/dts/freescale/fsl-ls1088a-rdb.dts | 9 +++++++++
 1 file changed, 9 insertions(+)
arch/arm64/boot/dts/freescale/fsl-ls1088a-rdb.dts +9 -0
index bf7b43ab1293..1bfbce69cc8b 100644
@@ -83,34 +83,42 @@ &emdio1 {
 	status = "okay";
 
 	mdio1_phy5: ethernet-phy@c {
+		interrupts-extended = <&extirq 1 IRQ_TYPE_LEVEL_LOW>;
 		reg = <0xc>;
 	};
 
 	mdio1_phy6: ethernet-phy@d {
+		interrupts-extended = <&extirq 1 IRQ_TYPE_LEVEL_LOW>;
 		reg = <0xd>;
 	};
 
 	mdio1_phy7: ethernet-phy@e {
+		interrupts-extended = <&extirq 1 IRQ_TYPE_LEVEL_LOW>;
 		reg = <0xe>;
 	};
 
 	mdio1_phy8: ethernet-phy@f {
+		interrupts-extended = <&extirq 1 IRQ_TYPE_LEVEL_LOW>;
 		reg = <0xf>;
 	};
 
 	mdio1_phy1: ethernet-phy@1c {
+		interrupts-extended = <&extirq 1 IRQ_TYPE_LEVEL_LOW>;
 		reg = <0x1c>;
 	};
 
 	mdio1_phy2: ethernet-phy@1d {
+		interrupts-extended = <&extirq 1 IRQ_TYPE_LEVEL_LOW>;
 		reg = <0x1d>;
 	};
 
 	mdio1_phy3: ethernet-phy@1e {
+		interrupts-extended = <&extirq 1 IRQ_TYPE_LEVEL_LOW>;
 		reg = <0x1e>;
 	};
 
 	mdio1_phy4: ethernet-phy@1f {
+		interrupts-extended = <&extirq 1 IRQ_TYPE_LEVEL_LOW>;
 		reg = <0x1f>;
 	};
 };
@@ -120,6 +128,7 @@ &emdio2 {
 
 	mdio2_aquantia_phy: ethernet-phy@0 {
 		compatible = "ethernet-phy-ieee802.3-c45";
+		interrupts-extended = <&extirq 2 IRQ_TYPE_LEVEL_LOW>;
 		reg = <0x0>;
 	};
 };
Signature · 1 line
2.31.1
Applied
#4 lore raw
In reply to Ioana Ciornei
Quoted 9 lines · Ioana Ciornei

From: Ioana Ciornei <[email protected]>

Update the DTS PHY nodes to specify the IRQ lines for the PHYs found on the DPAA2 based RDB boards.

Ioana Ciornei (3):
arm64: dts: lx2160ardb: update PHY nodes with IRQ information
arm64: dts: ls2088ardb: update PHY nodes with IRQ information
arm64: dts: ls1088ardb: update PHY nodes with IRQ information

Applied all, thanks.