Dear All,
I am using a custom s32g2 based hardware platform in which PFE2 is designed to work as "sgmii" using Serdes0 XPCS_1 channel 0
There is a PHY "TJA1104B" used in design
The pin details of MDC/MDIO is as mentioned in the the Schematic section attached.
The dts settings are:
---------------------
&pfe_mdio2 {
status = "okay";
/* TJA1104B */
pfe_mdio_b_phy2: ethernet-phy@2 {
reg = <0x3>;
};
};
&pfe_netif2 {
status = "okay";
phy-mode = "sgmii";
phy-handle = <&pfe_mdio_b_phy2>;
managed = "in-band-status";
};
pfe2mdioa_pins: pfe2mdioa_pins {
pfe2mdioa_grp0 {
pinmux = <S32CC_PINMUX(82, FUNC2)>;
//pinmux = <S32CC_PINMUX(80, FUNC1)>;
output-enable;
slew-rate = <S32CC_FAST_SLEW_166MHZ>;
};
pfe2mdioa_grp1 {
pinmux = <S32CC_PINMUX(79, FUNC2)>;
//pinmux = <S32CC_PINMUX(81, FUNC2)>;
output-enable;
input-enable;
slew-rate = <S32CC_FAST_SLEW_166MHZ>;
};
pfe2mdioa_grp2 {
pinmux = <S32CC_PINMUX(877, FUNC3)>;
//pinmux = <S32CC_PINMUX(877, FUNC2)>;
};
};



***********************************************************************
The problem is correct mux setting which is commented above does not work (Pin 80,81), but the which is UN-commented as above works (Pin 82,79)
This is very strange.
Can you suggest as how this is possible ?
Regards,
Misbah