It was discovered that the internal PHY interrupt are not always connected
and PHY link up/down is not correctly detected.
This is the case of the Nokia Valyrian board that suffer from this problem.
To handle this, drop the internal PHY interrupt property from DTSI and add
it only to the Gemtek W1700K DTS where it was reported to work correctly.
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
&gsw_phy1 {
status = "okay";
+ interrupts = <1>;
pinctrl-names = "gbe-led";
pinctrl-0 = <&gswp1_led0_pins>;
};
&gsw_phy2 {
status = "okay";
+ interrupts = <2>;
pinctrl-names = "gbe-led";
pinctrl-0 = <&gswp2_led0_pins>;
};
gsw_phy1: ethernet-phy@9 {
compatible = "ethernet-phy-ieee802.3-c22";
reg = <9>;
- interrupts = <1>;
phy-mode = "internal";
status = "disabled";
gsw_phy2: ethernet-phy@a {
compatible = "ethernet-phy-ieee802.3-c22";
reg = <10>;
- interrupts = <2>;
phy-mode = "internal";
status = "disabled";
gsw_phy3: ethernet-phy@b {
compatible = "ethernet-phy-ieee802.3-c22";
reg = <11>;
- interrupts = <3>;
phy-mode = "internal";
status = "disabled";
gsw_phy4: ethernet-phy@c {
compatible = "ethernet-phy-ieee802.3-c22";
reg = <12>;
- interrupts = <4>;
phy-mode = "internal";
status = "disabled";