I have a custom carrier board which i have a DP83869 PHY connected to ETH2. I am unable to obtain an IPV4 address. nor am i able to ping when i set a static ipv4 address.
See attached Device tree for ETH2:
/* Verdin ETH_2_RGMII */
&fec {
status="okay";
phy-handle = <ðphy1>;
phy-mode = "rgmii";
pinctrl-names = "default", "sleep";
pinctrl-0 = <&pinctrl_fec>;
pinctrl-1 = <&pinctrl_fec_sleep>;
eth2_mdio: mdio {
#address-cells = <1>;
#size-cells = <0>;
ethphy1: ethernet-phy@0 {
compatible = "ethernet-phy-ieee802.3-c22","ethernet-phy-id2000.a0f1";
device_type = "ethernet-phy";
// interrupts not being processed correctly. using polling mode for now
// interrupt-parent = <&gpio4>;
// interrupts = <18 IRQ_TYPE_LEVEL_LOW>;
micrel,led-mode = <0>;
reg = <0>;
ti,clk-output-sel = <DP83869_CLK_O_SEL_REF_CLK>;
ti,op-mode = <DP83869_RGMII_1000_BASE>;
};
};
};
ethtool output:
$ sudo ethtool eth0
Settings for eth0:
Supported ports: [ TP MII FIBRE ]
Supported link modes: 100baseT/Half 100baseT/Full
1000baseT/Full
1000baseX/Full
Supported pause frame use: Symmetric
Supports auto-negotiation: Yes
Supported FEC modes: Not reported
Advertised link modes: 100baseT/Half 100baseT/Full
1000baseT/Full
1000baseX/Full
Advertised pause frame use: Symmetric
Advertised auto-negotiation: Yes
Advertised FEC modes: Not reported
Link partner advertised link modes: 1000baseX/Full
Link partner advertised pause frame use: No
Link partner advertised auto-negotiation: Yes
Link partner advertised FEC modes: Not reported
Speed: 1000Mb/s
Duplex: Full
Auto-negotiation: on
Port: FIBRE
PHYAD: 0
Transceiver: external
Supports Wake-on: g
Wake-on: d
Link detected: yes
am i missing something to make IPV4 work with the SFP module.