hi bpe:
thanks a lot.
According to your information, I change the DTS:
&enetc_port1 {
status = "okay";
phy-handle = <&rgmii_phy0>;
phy-connection-type = "rgmii";
external-phy-connection-type = "rgmii";
};
&enetc_mdio_pf3 {
status = "okay";
rgmii_phy0: ethernet-phy@0 {
reg = <0x0>;
ti,rx-internal-delay = <0x07>;
ti,tx-internal-delay = <0x07>;
ti,fifo-depth = <0x01>;
};
}
And I check the LSDK 8.6.2.3.1:
[ 3.162903] fsl_enetc 0000:00:00.0: Adding to iommu group 3
[ 3.168530] fsl_enetc 0000:00:00.0: device is disabled, skipping
[ 3.180264] fsl_enetc 0000:00:00.1: Adding to iommu group 4
[ 3.291556] fsl_enetc 0000:00:00.1: enabling device (0400 -> 0402)
[ 3.297807] fsl_enetc 0000:00:00.1: no MAC address specified for SI1, using ee:bb:30:62:cf:80
[ 3.306366] fsl_enetc 0000:00:00.1: no MAC address specified for SI2, using 56:3f:8b:6d:9c:7b
[ 3.315438] fsl_enetc 0000:00:00.1 eth0: ENETC PF driver v1.0
[ 3.321296] fsl_enetc 0000:00:00.2: Adding to iommu group 5
[ 3.326903] fsl_enetc 0000:00:00.2: device is disabled, skipping
[ 3.332971] fsl_enetc 0000:00:00.6: Adding to iommu group 6
[ 3.338574] fsl_enetc 0000:00:00.6: device is disabled, skipping
[ 3.344682] fsl_enetc_mdio 0000:00:00.3: Adding to iommu group 7
[ 3.455551] fsl_enetc_mdio 0000:00:00.3: enabling device (0400 -> 0402)
[ 3.468277] fsl_enetc_ptp 0000:00:00.4: Adding to iommu group 8
[ 3.474235] fsl_enetc_ptp 0000:00:00.4: enabling device (0404 -> 0406)
[ 7.031344] fsl_enetc 0000:00:00.1 eno1: renamed from eth0
It looks like that the eno1 is OK. Does this mean that the RGMII port is configured correctly?
when I bring up the eno1:
[ 123.258916] TI DP83867 0000:00:00.3:00: attached PHY driver [TI DP83867] (mii_bus:phy_addr=0000:00:00.3:00, irq=POLL)
[ 123.262391] 8021q: adding VLAN 0 to HW filter on device eno1
[ 123.262578] fsl_enetc 0000:00:00.1 eno1: Link is Down
[ 127.348254] fsl_enetc 0000:00:00.1 eno1: Link is Up - 1Gbps/Full - flow control off
[ 127.348311] IPv6: ADDRCONF(NETDEV_CHANGE): eno1: link becomes ready
But the eno1 can't still send data. And I can't test any signal on EC1_TXD or EC1_GTX_CLK.
I have configure the EC1 port in RCW:
...
CLK_OUT_PMUX=2
EC1_SAI4_5_PMUX=0
EC1_SAI3_6_PMUX=0
USB3_CLK_FSEL=39
ENETC_RCW=0
...
if I want to use RGMII, does is need some PBI command?
Could you give me some ideas?
@bpe