Are we talking about the same? Why did you even mention FlexSPI that I'm not using at all? I don't want to be rude but if you don't know the topic - that's fine, just please assign someone else to have a look at this.
I have a problem with SERDES PLL not locking and as a result it constantly tries to recover by asserting RESET_REQ, in both PLL1RSTCTL and PLL2RSTCTL I have RST_ERR bit set indicating that (according to the manual) - "1b - PLL lock didn't happen in the expected time period"
SD1_REF_CLK1_P/N = 100MHz
SD1_REF_CLK2_P/N = 156.25MHz
Part number: LS1027AXE7NQA
Serdes protocl selector:
83BB -> SGMII 1T | 10G-QXGMII | PCIe2 x1 | PCIe1 x1
Current RCW is
*
* Frequencies:
* Core -- 1500 MHz
* Platform -- 400 MHz
* DDR -- 1600 MHz
* DDR Data Rate -- 1.600 GT/s
*/
#include <../ls1028asi/ls1028a.rcwi>
SYS_PLL_RAT=4
MEM_PLL_RAT=16
CGA_PLL1_RAT=15
CGA_PLL2_RAT=12
HWA_CGA_M1_CLK_SEL=3
HWA_CGA_M2_CLK_SEL=7
HWA_CGA_M3_CLK_SEL=6
HWA_CGA_M4_CLK_SEL=3
DDR_REFCLK_SEL=2
DRAM_LAT=1
BOOT_LOC=21
FLASH_CFG1=3
SYSCLK_FREQ=600
IIC2_PMUX=6
IIC4_PMUX=2
IIC6_PMUX=3
XSPI1_A_DATA74_PMUX=1
CLK_OUT_PMUX=2
USB3_CLK_FSEL=39
ENETC_RCW=3
SRDS_PRTCL_S1_L0=1
SRDS_PRTCL_S1_L1=3
SRDS_PRTCL_S1_L2=11
SRDS_PRTCL_S1_L3=11
SRDS_PLL_REF_CLK_SEL_S1=0
/* Added DDR tests */
SRDS_PLL_PD_PLL1=0
SRDS_PLL_PD_PLL2=0
/* Errata for PCIe controller */
#include <../ls1028asi/a008851.rcw>
#include <../ls1028asi/a010477.rcw>
#include <../ls1028asi/a009531.rcw>
/* Increase FSPI clock frequency */
#include <../ls1028asi/fspi_speed.rcw>
I managed to get some logs but ignoring RESET_REQ on my system controller
[ 1.500433] lynx-10g 1ea0000.phy: PLLF: enabled, unlocked, reference clock 100MHz, clock net 5GHz
[ 1.509408] lynx-10g 1ea0000.phy: Supported interfaces and link modes:
[ 1.516086] lynx-10g 1ea0000.phy: sgmii
[ 1.520132] lynx-10g 1ea0000.phy: 1000base-x
[ 1.524616] lynx-10g 1ea0000.phy: 1000baseKX/Full
[ 1.529539] lynx-10g 1ea0000.phy: qsgmii
[ 1.533671] lynx-10g 1ea0000.phy: PLLS: enabled, unlocked, reference clock 156.25MHz, clock net 5.15625GHz
[ 1.543420] lynx-10g 1ea0000.phy: Supported interfaces and link modes:
[ 1.550101] lynx-10g 1ea0000.phy: 10g-qxgmii
[ 1.554585] lynx-10g 1ea0000.phy: usxgmii