UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

cancel
Showing results for 
Search instead for 
Did you mean: 
4,702 Views
Registered: ‎04-20-2011

Petalinux 2014.2 dts phy compatibility missing

In the ps.dtsi

 

Petalinux v2014.2

-----------------------------------------------------------

ps7_ethernet_0: ps7-ethernet@e000b000 {
#address-cells = <1>;
#size-cells = <0>;
clock-names = "ref_clk", "aper_clk";
clocks = <&clkc 13>, <&clkc 30>;
compatible = "xlnx,ps7-ethernet-1.00.a";
interrupt-parent = <&ps7_scugic_0>;
interrupts = <0 22 4>;
local-mac-address = [00 0a 35 00 00 00];
phy-mode = "rgmii-id";
reg = <0xe000b000 0x1000>;
xlnx,ptp-enet-clock = <0x69f6bcb>;
xlnx,enet-reset = "";
xlnx,eth-mode = <0x1>;
xlnx,has-mdio = <0x1>;
mdio {
#address-cells = <1>;
#size-cells = <0>;
} ;
} ;

-----------------------------------------------------------

COMPARED TO 

 

Petalinux v2013.10

-----------------------------------------------------------

ps7_ethernet_0: ps7-ethernet@e000b000 {
#address-cells = <1>;
#size-cells = <0>;
clock-names = "ref_clk", "aper_clk";
clocks = <&clkc 13>, <&clkc 30>;
compatible = "xlnx,ps7-ethernet-1.00.a";
interrupt-parent = <&ps7_scugic_0>;
interrupts = <0 22 4>;
local-mac-address = [ 00 0a 35 00 d6 6c ];
phy-handle = <&phy0>;
phy-mode = "rgmii-id";
reg = <0xe000b000 0x1000>;
xlnx,enet-reset = "";
xlnx,eth-mode = <0x1>;
xlnx,has-mdio = <0x1>;
xlnx,ptp-enet-clock = <111111115>;
mdio {
#address-cells = <1>;
#size-cells = <0>;
phy0: phy@7 {
compatible = "marvell,88e1116r";
device_type = "ethernet-phy";
reg = <7>;
} ;
} ;
} ;

 

-----------------------------------------------------------

 

Phy compatible is missing...

 

This is a autogenerated file by petalinux....

 

After boot, ifconfig cannot configure interface properly for DHCP

 

Is this a bug or is there a special config I have to do?

0 Kudos
1 Reply
Xilinx Employee
Xilinx Employee
4,692 Views
Registered: ‎12-17-2007

Re: Petalinux 2014.2 dts phy compatibility missing

This is done by design. In the past we just blindly assumed you were using a Marvell PHY (since all of our evaluation boards do) and set up the DTS to correspond to *that* PHY.

 

Going forward we're trying to be more generic and separate what we can automatically determine about the system from your HW platform files / SW platform description and what is board-specific that you'll need to specify on your own.  This PHY is one such example.  Another good example would be SPI or I2C devices on the board.

 

These AR's are probably right up your alley:

 

http://www.xilinx.com/support/answers/61116.html

 

http://www.xilinx.com/support/answers/61117.html

-------------------------------------------
this space intentionally left blank
0 Kudos