Quantcast
Channel: Forums - Recent Threads
Viewing all articles
Browse latest Browse all 262198

AM3359: DP83867 detected as generic PHY

$
0
0

Part Number: AM3359

Hello all,

                        We are working on a custom board based on AM3359 ICE V2.We have 3 phys connected,two DP83867s and one MAX24288.One DP83867 is connected to rgmii1 and the MAX and other DP83867 is connected to rgmii2.We intend to use only two of these at a time.But after booting DP83867 connected to rgmii is detected as GENERIC PHY and TI DP83867 is not being attached the phy.What could be the reason?

Boot log related to PHY detection:

[    1.048536] mdio_bus fixed-0: GPIO lookup for consumer reset
[    1.048546] mdio_bus fixed-0: using lookup tables for GPIO lookup
[    1.048555] mdio_bus fixed-0: lookup for GPIO reset failed
[    1.068337] mdio_bus 4a101000.mdio: GPIO lookup for consumer reset
[    1.068351] mdio_bus 4a101000.mdio: using device tree for GPIO lookup
[    1.068369] of_get_named_gpiod_flags: can't parse 'reset-gpios' property of node '/ocp/ethernet@4a100000/mdio@4a101000[0]'
[    1.068380] of_get_named_gpiod_flags: can't parse 'reset-gpio' property of node '/ocp/ethernet@4a100000/mdio@4a101000[0]'
[    1.068387] mdio_bus 4a101000.mdio: using lookup tables for GPIO lookup
[    1.068395] mdio_bus 4a101000.mdio: lookup for GPIO reset failed
[    1.125756] davinci_mdio 4a101000.mdio: davinci mdio revision 1.6, bus freq 1000000
[    1.133461] libphy: 4a101000.mdio: probed
[    1.147632] max24287 4a101000.mdio:04: max24287: Detected phy_id 0x0ee0, revision 0x1
[    1.165996] max24287 4a101000.mdio:04: max24287: max24287_soft_reset
[    1.352847] davinci_mdio 4a101000.mdio: phy[0]: device 4a101000.mdio:00, driver unknown
[    1.360993] davinci_mdio 4a101000.mdio: phy[4]: device 4a101000.mdio:04, driver max24287
[   16.323448] max24287 4a101000.mdio:04: attached PHY driver [max24287] (mii_bus:phy_addr=4a101000.mdio:04, irq=POLL)
[   17.532927] Generic PHY 4a101000.mdio:00: attached PHY driver [Generic PHY] (mii_bus:phy_addr=4a101000.mdio:00, irq=POLL)

Device tree configuration:

&mac {
        pinctrl-names = "default", "sleep";
        pinctrl-0 = <&cpsw_default>;
        pinctrl-1 = <&cpsw_sleep>;
        dual_emac = <1>;
        status = "okay";
};

&davinci_mdio {
        pinctrl-names = "default", "sleep";
        pinctrl-0 = <&davinci_mdio_default>;
        pinctrl-1 = <&davinci_mdio_sleep>;
        status = "okay";

        max24287: ethernet-phy@4 {
        reg = <4>;
    };

        dp83867_0: ethernet-phy@0 {
        reg = <0>;
        ti,rx-internal-delay = <DP83867_RGMIIDCTL_4_00_NS>;
        ti,tx-internal-delay = <DP83867_RGMIIDCTL_4_00_NS>;
        ti,fifo-depth = <DP83867_PHYCR_FIFO_DEPTH_8_B_NIB>;
        ti,min-output-impedance;
        ti,dp83867-rxctrl-strap-quirk;
    };



};

&cpsw_emac0 {
        phy_id = <&davinci_mdio>, <0>;
        phy-mode = "rgmii-id";
       dual_emac_res_vlan = <1>;
};

&cpsw_emac1 {
        phy_id = <&davinci_mdio>, <4>;
        phy-mode = "rgmii-id";
        dual_emac_res_vlan = <2>;
};


Viewing all articles
Browse latest Browse all 262198

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>