Greetings,
I’m currently working on a custom board utilizing the OSD3358-512M-ICB SIP. We developed a custom Linux image using Buildroot in conjunction with a BeagleBone Black Industrial board and a carrier board developed earlier. I’m currently bringing up and testing various critical components of our prototype.
We’ve replaced the LAN8710A phy with a Marvell 88e1512 phy, the Marvell drivers have been added to the kernel and we’ve modified the device tree with following overlay values:
fragment@1 {
// target-path="/";
target=<&cpsw_emac0>;
__overlay__ {
phy-handle = <ðphy0>;
phy-mode = "rgmii-id";
};
};
fragment@2 {
target=<&davinci_mdio>;
__overlay__ {
pinctrl-names = "default", "sleep";
pinctrl-0 = <&davinci_mdio_default>;
pinctrl-1 = <&davinci_mdio_sleep>;
status = "okay";
#address-cells = <1>;
#size-cells = <0>;
ethphy0: ethernet-phy@0 {
compatible = "marvell,88e1510";
device_type = "ethernet-phy";
reg = <0>;
};
};
};
With these current values the phy seems to be detected, it can be assigned a static IP; however, the board is not on the network and ping won’t work in either direction (also the activity light is off).
In the boot log the following message appears about 10 seconds before the phy claims to be attached:
[ 3.036157] of_get_named_gpiod_flags: can't parse 'reset-gpios' property of node '/ocp/interconnect@4a000000/segment@0/target-module@100000/ethernet@0/mdio@1000/ethernet-phy@0[0]'
This is the boot log confirming the phy is working:
[ 13.417571] cpsw 4a100000.ethernet: initializing cpsw version 1.12 (0)
[ 13.518366] Marvell 88E1510 4a101000.mdio:00: attached PHY driver [Marvell 88E1510] (mii_bus:phy_addr=4a101000.mdio:00, irq=POLL)
[ 13.640474] cpsw 4a100000.ethernet eth0: Link is Up - 1Gbps/Full - flow control off
[ 13.700981] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
Some googling around yielded this forum post on the TI website. While interesting reading, adding a ‘reset-gpios’ property to the ‘&davinci_mdio’ node results in the overlay failing to compile, which isn’t very helpful.
Any insight into what’s going on would be most appreciated.
Best regards,
Ian King