For the problem of network card driver of bsc9132, the last engineer only modified DTB adjustment to be used, but has not found the reason why the modification of DTB can be used. Could someone please tell me the principle
Hello Wang xiaobin,
In Linux Kernel, in arch/powerpc/boot/dts/fsl/bsc9132qds.dtsi, please modify the MDIO PHY address(reg property) according to your target board. Please configure the PHY driver in Kernel configuration file.
mdio@24000 {
phy0: ethernet-phy@0 {
reg = <0x0>;
};
phy1: ethernet-phy@1 {
reg = <0x1>;
};
tbi0: tbi-phy@11 {
reg = <0x1f>;
device_type = "tbi-phy";
};
};
enet0: ethernet@b0000 {
phy-handle = <&phy0>;
tbi-handle = <&tbi0>;
phy-connection-type = "sgmii";
};
enet1: ethernet@b1000 {
phy-handle = <&phy1>;
tbi-handle = <&tbi0>;
phy-connection-type = "sgmii";
};
Have a great day,
TIC
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------