Dear All,
I am working on Ls1020ATWR custom platform with a reference board from Freescale as LS1021ATWR.
In my board the TSEC3_PHY_ADDR is modified from 3 to 4. I have changed this in Uboot "ls1021atwr.h" file and see Ethnernet is up and working at UBoot level, but i need to make this change in Linux too to make my network up.
I tried going thru dts and dtsi files for this platform, but did not get clue on where to make this change.
If anyone has any idea on this, pls let me know which linux file has this info.
Thanks in advance!
Best Regards,
Nagi
Solved! Go to Solution.
Hello nagi reddy chitta,
Sorry for late.
Can you please try below in device tree like in ls1021a-twr.dts:
&enet2 {
phy-handle = <&rgmii_phy1>;
phy-connection-type = "rgmii-id";
status = "okay";
};
&mdio0 {
...
rgmii_phy1: ethernet-phy@1 {
reg = <0x1>;
};
...
};
Change the tsec3_phy_addr in reg to be "reg = <0x4>".
And the ethernet-phy@ changed to 4, looks like:
rgmii_phy3: ethernet-phy@4 {
reg = <0x4>;
}
Have a great day,
Lunmin
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Hello nagi reddy chitta,
Sorry for late.
Can you please try below in device tree like in ls1021a-twr.dts:
&enet2 {
phy-handle = <&rgmii_phy1>;
phy-connection-type = "rgmii-id";
status = "okay";
};
&mdio0 {
...
rgmii_phy1: ethernet-phy@1 {
reg = <0x1>;
};
...
};
Change the tsec3_phy_addr in reg to be "reg = <0x4>".
And the ethernet-phy@ changed to 4, looks like:
rgmii_phy3: ethernet-phy@4 {
reg = <0x4>;
}
Have a great day,
Lunmin
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------