tja1102调试问题

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

tja1102调试问题

344 Views
jinhuachen
Contributor II

On Android 9, there is a description of the tja1102p1 interface in tja110x. c. At present, we connect fec2 to the switch as a fixed-link, and it happens that the phy id of the fixed-link connection is 0, so there will be conflicts. How do you handle this? Can't fec2 connect to the switch as a fixed-link connection?

tja110x. c

/* load driver for TJA1102p1. It needs to be ensured,

 * that no other mdio device with phy id 0 is present

 */

#define CONFIG_TJA1102_FIX

kernel log:

[    4.421415] NXP PHY: loading NXP PHY driver: [autonomous mode]

[    4.438492] imx8qm-pinctrl iomuxc: pin SC_P_COMP_CTL_GPIO_1V8_3V3_ENET_ENETA already requested by 5b050000.ethernet; cannot claim for fixed-0:00

[    4.438495] imx8qm-pinctrl iomuxc: pin-268 (fixed-0:00) status -22

[    4.438499] imx8qm-pinctrl iomuxc: could not request pin 268 (SC_P_COMP_CTL_GPIO_1V8_3V3_ENET_ENETA) from group fec2grp  on device iomuxc

[    4.438501] TJA1102_p1 fixed-0:00: Error applying setting, reverse things back

[    4.438512] TJA1102_p1: probe of fixed-0:00 failed with error -22

0 Kudos
Reply
1 Reply

308 Views
Dhruvit
NXP TechSupport
NXP TechSupport

Hi @jinhuachen,

I hope you are doing well
 

From the error log "could not request pin 268 (SC_P_COMP_CTL_GPIO_1V8_3V3_ENET_ENETA) from group fec2grp  on device iomuxc" error, It seems that pin 268 SC_P_COMP_CTL_GPIO_1V8_3V3_ENET_ENETA is mentioned twice in dts/dtsi files. Please check it and if it is so, please remove that pin from any other unnecessary resource else the fec2 will not be able to claim that pin.

Thanks & Regards,
Dhruvit Vasavada

0 Kudos
Reply