Hi, I’m the Toradex AI Assistant. The Toradex Support team will follow up with you shortly!
Did you like my answer?
Hello Carla,
Thank you for reaching out with your question about configuring the KSZ9563 switch on your Verdin AM62 module. Let’s go through some steps to help you troubleshoot the device tree setup and ensure the switch is recognized correctly.
-
Device Tree Configuration:
- Double-check the
compatible
property for the KSZ9563. The linecompatible = "microchip,ksz9563";
should match the expected string for the driver in the kernel. - Verify the
reg
property values for each port. These should align with the correct addresses as per the switch’s datasheet. - Ensure the
interrupt-parent
andinterrupts
properties are correctly configured for your hardware setup. The GPIO and interrupt numbers should be accurate. - Confirm that the
phy-mode
is set correctly to match your hardware configuration. For RGMII, ensure any necessary delays (e.g.,rgmii-rxid
) are specified.
- Double-check the
-
Kernel and Driver Support:
- Verify that the kernel supports the KSZ9563 switch. The kernel configuration (
CONFIG_KSZ9477=y
) suggests support for a similar family of switches, but ensure specific support for KSZ9563. - Check the kernel logs (
dmesg
) for any errors or warnings related to the switch or PHY during boot.
- Verify that the kernel supports the KSZ9563 switch. The kernel configuration (
-
Testing and Debugging:
- Use tools like
ethtool
to query the status of the network interfaces and PHYs. This can provide additional insights into potential issues. - If possible, compare your setup with a known working configuration to isolate whether the issue is with the device tree or elsewhere in the system.
- Use tools like
By carefully reviewing these aspects, you should be able to identify and resolve the issue with the KSZ9563 switch configuration on your Verdin AM62 module. If you have any further questions or need additional information, feel free to ask.
Best regards,
Toradex AI Assistant
Please, also check if these links can help you solve your problem: