RGMII with DP83867 in Linux Kernel for T2081 board

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

RGMII with DP83867 in Linux Kernel for T2081 board

1,839 Views
anshulkhare
Contributor III

We are having a custom board based on T2081 processor having two PHY (DP83867) attached to the processor via RGMII interface.The design is based on the T2080RDB-PC Board.

in U-boot i am able to configure the Ethernet and Ping is working fine.
but i am not getting TI DP83867 driver present in linux Kernel,
i am using Linux SDK-V2.0-1701 it has linux kernel 4.1,
how to configure the RGMII configuration for DP83867 in Linux ??
Kindly help us to resolve this issue.
please check the attached logs.

Regards,

Anshul Khare

Labels (1)
0 Kudos
2 Replies

1,360 Views
bpe
NXP Employee
NXP Employee

There is a driver for this PHY in newer kernels, the file name is dp83867.c. Check
your kernel sources if it is there. If it is, see the Makefile
in the directory where it appears for configuration options that
enable it. If it is not, your options are:

1. Move to a newer kernel.

2. Approach TI for backporting.

Regarding RGMII configuration in Linux, everything is done via
the Device Tree. Refer to the following documents for information:

https://source.codeaurora.org/external/qoriq/qoriq-components/linux/tree/Documentation/devicetree/bi...

https://source.codeaurora.org/external/qoriq/qoriq-components/linux/tree/Documentation/devicetree/bi...

https://source.codeaurora.org/external/qoriq/qoriq-components/linux/tree/Documentation/devicetree/bi...

Regards,

Platon

0 Kudos

1,360 Views
anshulkhare
Contributor III

Hello bpe

Thank you for the Reply

Ethernet is working for our board,

issue was in the device tree.

we doesn't change the kernel in the same kernel it is working fine.

Regards,

Anshul Khare

0 Kudos