Skip to content

Commit 99e0d2e

Browse files
deooigratian
authored andcommitted
ni-bluefin: enable mv88e6xxx PHY interrupts
The mv88e6xxx driver gained support for PHY interrupt handling in newer kernels (6.12), whereas older kernels (e.g. 4.1) only supported polling over the MDIO bus. On ni-bluefin, the PHY interrupt lines have always been physically connected on the board but were not described or used previously due to the lack of driver support. Enabling PHY interrupts in the device tree allows the driver to rely on interrupt-driven link and status updates instead of frequent MDIO polling. This significantly reduces MDIO bus traffic and contention. Reducing MDIO contention is required to free up bus bandwidth, allowing the system to sustain higher sampling rates without MDIO-related interference. Signed-off-by: deooi <deborah.ooi@emerson.com>
1 parent 556be4f commit 99e0d2e

1 file changed

Lines changed: 5 additions & 8 deletions

File tree

arch/arm/boot/dts/xilinx/ni-bluefin.dts

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
/dts-v1/;
2+
#include <dt-bindings/interrupt-controller/irq.h>
23
/include/ "ni-zynq.dtsi"
34

45
/* NIDEVCODE 78C7 */
@@ -86,6 +87,10 @@
8687
compatible = "marvell,mv88e6085";
8788
reg = <0x0>;
8889
status = "okay";
90+
interrupt-parent = <&intc>;
91+
interrupts = <45 IRQ_TYPE_LEVEL_LOW>;
92+
interrupt-controller;
93+
#interrupt-cells = <2>;
8994

9095
ports {
9196
#address-cells = <1>;
@@ -123,14 +128,6 @@
123128
swphy2: ethernet-phy@12 {
124129
reg = <0x12>;
125130
};
126-
127-
swphy3: ethernet-phy@13 {
128-
reg = <0x13>;
129-
};
130-
131-
swphy4: ethernet-phy@14 {
132-
reg = <0x14>;
133-
};
134131
};
135132
};
136133
};

0 commit comments

Comments
 (0)