Hi @henrique.tx ,
thanks for your time,
I need more help. I think I need to add &usb to my /* Verdin USB_1 */ but I found it difficult to debugging, I was wondering what I should put for compatible
line and so on.
for example:
compatible: Should be set to “microchip,lan7850”?
or should I add new node like below?
/* Verdin USB_1 */
&usbotg1 {
adp-disable;
dr_mode = "host";
hnp-disable;
srp-disable;
vbus-supply = <®_usb_otg1_vbus>;
lan7850@1a {
compatible = "smsc,lan7850";
reg = <................>;
phy-mode = "rmii";
local-mac-address = [ 00 11 22 33 44 55 ];
mdio {
#address-cells = <0x1>;
#size-cells = <0x0>;
};
status = "okay";
};
};
Best regards,
Mehrdad
Hi @Mehrdad !
I see you are trying to use the LAN7850 on USB OTG. Do you really want to do it? By doing this you most probably will not be able to load the Toradex Easy Installer (I have never tested loading it with USB OTG in "host"
mode), which uses the USB OTG in OTG mode (dr_mode="otg";
).
You can see from the documentation shared before what are possible values for the compatible
property. Specifically line 8: microchip,lan78xx.txt « net « bindings « devicetree « Documentation - linux-toradex.git - Linux kernel for Apalis, Colibri and Verdin modules.
Best regards,
Hi @henrique.tx
That was an example. I am not sure which variable is necessary, for example, if I add mdio node, there is an error, I add the lines below and I add some lines for lan node and I am sure there is no error during the building of the images but nothing happens on the second ethernet side
/* Verdin USB_1 */
&usbotg1 {
adp-disable;
dr_mode = "otg";
hnp-disable;
srp-disable;
vbus-supply = <®_usb_otg1_vbus>;
lan7850@1a {
compatible = "usb424,lan7850";
reg = <0x1>;
local-mac-address = [ 00 11 22 33 44 55 ];
};
};
Best regards,
Mehrdad
Hi @Mehrdad !
I would like to once more, call your attention to the documentation available at microchip,lan78xx.txt « net « bindings « devicetree « Documentation - linux-toradex.git - Linux kernel for Apalis, Colibri and Verdin modules
You are using a compatible string that is not listed in the documentation. Please try following the documentation.
Best regards,
1 Like
Hi @henrique.tx
I wanted to provide an update regarding the LAN evaluation board that we had. Unfortunately, the original board had some issues and was not functioning properly. However, upon receiving the new board, we were able to plug it in and start using it without any issues or changes to the DT, but the platform should be TorizonCore 6. I appreciate your help in resolving this matter and for providing us with a board that works seamlessly.
Thank you for your time and assistance. I truly value your support.
Best regards,
Mehrdad
Hi @Mehrdad !
Thanks for the feedback.
I will mark your last message as the solution.
Do you mean carrier board? The malfunctioning carrier is one of Toradex’s? If yes, what is not working in it?
Best regards,