On 13/01/2017 17:28, Zefir Kurtisi wrote:

> As for your specific problem: since I fought myself with the PHY/ETH 
> subsystems
> over the past months, I might remember something relevant to your issue. 
> Could you
> give some more info on your setup (PHY driver, opmode (SGMII, RGMII, etc.), 
> ETH).

Hello Zefir,

My boards are using these drivers:

http://lxr.free-electrons.com/source/drivers/net/ethernet/aurora/nb8800.c
http://lxr.free-electrons.com/source/drivers/net/phy/at803x.c

The relevant device tree nodes are:

                eth0: ethernet@26000 {
                        compatible = "sigma,smp8734-ethernet";
                        reg = <0x26000 0x800>;
                        interrupts = <38 IRQ_TYPE_LEVEL_HIGH>;
                        clocks = <&clkgen SYS_CLK>;
                };

&eth0 {
        phy-connection-type = "rgmii";
        phy-handle = <&eth0_phy>;
        #address-cells = <1>;
        #size-cells = <0>;

        /* Atheros AR8035 */
        eth0_phy: ethernet-phy@4 {
                compatible = "ethernet-phy-id004d.d072",
                             "ethernet-phy-ieee802.3-c22";
                interrupts = <37 IRQ_TYPE_EDGE_RISING>;
                reg = <4>;
        };
};

If I comment the PHY "interrupts" property, then the PHY framework
falls back to polling.

Am I forgetting important information?

Regards.

Reply via email to