From: Shaohui Xie
The settings for 2.5G SGMII are wrong, which the 2.5G case is missed in
set_if_mode(), and the serdes PCS configuration are wrong, this patch uses
the correct settings took from Linux.
Signed-off-by: Shaohui Xie
---
not sure what was
From: Shaohui Xie
The settings for 2.5G SGMII are wrong, which the 2.5G case is missed in
set_if_mode(), and the serdes PCS configuration are wrong, this patch uses
the correct settings took from Linux.
Signed-off-by: Shaohui Xie
---
From: Shaohui Xie
LPUART0 is used by default, and it's using platform clock.
Signed-off-by: Shaohui Xie
---
changes in v2:
1. dropped CONFIG_LPUART_CLK.
2. uses CONFIG_SYS_FSL_DDR4 in defconfig.
arch/arm/dts/Makefile | 1 +
From: Shaohui Xie
It's not always true that LPUART clock is CONFIG_SYS_CLK_FREQ, this
patch provides a weak function get_lpuart_clk, so that the clock can be
ovreride on a specific board which uses different clock for LPUART.
Signed-off-by: Shaohui Xie
From: Shaohui Xie
The current value to check whether the PHY was configured has dependency
on MC, it expects MC to start PCS AN, this is not true during boot up,
so it should be changed to remove the dependency.
The PHY's register space should be restore to default after
From: Shaohui Xie
LPUART0 is used by default, and it's using platform clock, if a different
clock is preferred, user can define CONFIG_LPUART_CLK.
Signed-off-by: Shaohui Xie
---
arch/arm/dts/Makefile | 1 +
From: Shaohui Xie
It's not always true that LPUART clock is CONFIG_SYS_CLK_FREQ, this
patch provides a weak function get_lpuart_clk, so that the clock can be
ovreride on a specific board which uses different clock for LPUART.
Signed-off-by: Shaohui Xie
From: Shaohui Xie
SCFG_USBPWRFAULT_DEDICATED instead of SCFG_USBPWRFAULT_SHARED should be
used for USB 3 & 2.
Signed-off-by: Shaohui Xie
---
board/freescale/ls1043aqds/ls1043aqds.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git
From: Shaohui Xie
To use AQR105 PHY's interrupt, we need to invert the IRQ pin polarity by
setting relative bit in SCFG_INTPCR register, because AQR105 interrupt
is low active but GIC accepts high active.
Signed-off-by: Shaohui Xie
---
From: Shaohui Xie
When setting fixed-link property to DTS, the values should be converted
with using cpu_to_fdt32 so that to have correct value on little endian
Soc.
Signed-off-by: Shaohui Xie
---
board/freescale/ls1043aqds/eth.c | 12 ++--
1
From: Shaohui Xie
To use AQR405 PHY's interrupt, we need to invert the relative IRQ pins
polarity by setting IRQCR register, because AQR405 interrupt is low
active but GIC accepts high active.
Signed-off-by: Shaohui Xie
---
changes in v2:
1. move
From: Shaohui Xie
Current driver always performs a phy soft reset when connecting the phy
device, but soft reset is not always supported by a phy device, so
introduce a quirk PHY_FLAG_BROKEN_RESET to let such a phy device to skip
soft reset. This commit uses 'flags' of phy
From: Shaohui Xie
Cortina phy cannot support soft reset, this commit implements probe
for Cortina PHY to tell phylib to skip phy soft reset by setting
PHY_FLAG_BROKEN_RESET in flags.
Signed-off-by: Shaohui Xie
Acked-by: Joe Hershberger
From: Shaohui Xie
To use AQR405 PHY's interrupt, we need to invert the relative IRQ pins
polarity by setting IRQCR register, because AQR405 interrupt is low active
but GIC accepts high active.
Signed-off-by: Shaohui Xie
---
From: Shaohui Xie
Current driver always performs a phy soft reset when connecting the phy
device, but soft reset is not always supported by a phy device, so
introduce a quirk PHY_BROKEN_RESET to let such a phy device to skip soft
reset. This commit uses 'flags' of phy device
From: Shaohui Xie
Cortine phy cannot support soft reset, this commit implements probe
for Cortina PHY to tell phylib to skip phy soft reset by setting
PHY_BROKEN_RESET in flags.
Signed-off-by: Shaohui Xie
---
drivers/net/phy/cortina.c | 7 +++
1
From: Shaohui Xie
This patch also exposes the complete DDR region(s) to Linux.
Signed-off-by: Shaohui Xie
---
board/freescale/ls1043aqds/ddr.c| 19 ---
board/freescale/ls1043aqds/ls1043aqds.c | 10 ++
From: Shaohui Xie
Fixes lsch2 SerDes registers define according to LS1043A RM Rev D.
Signed-off-by: Shaohui Xie
---
changes in v2:
1. fixes indent.
.../include/asm/arch-fsl-layerscape/immap_lsch2.h | 67 +++---
1 file
From: Shaohui Xie
Fixes lsch2 SerDes registers define according to LS1043A RM Rev D.
Signed-off-by: Shaohui Xie
---
.../include/asm/arch-fsl-layerscape/immap_lsch2.h | 67 +++---
1 file changed, 47 insertions(+), 20
From: Shaohui Xie
We don't disable unused FM1-DTSEC1 MAC node in FMAN v2 since its used
for MDIO, in FMAN v3, MDIO uses dedicated controller, so we can disable
the unused FM1-DTSEC1 MAC node to avoid it's being probed in kernel.
Signed-off-by: Shaohui Xie
From: Shaohui Xie
The phy can share driver with other aquantia PHYs, so we only added PHY
ID.
Signed-off-by: Shaohui Xie
---
drivers/net/phy/aquantia.c | 15 +++
1 file changed, 15 insertions(+)
diff --git
From: Shaohui Xie
This needed to init dpmac.
Signed-off-by: Shaohui Xie
---
arch/arm/cpu/armv8/fsl-layerscape/fsl_lsch3_serdes.c | 4
1 file changed, 4 insertions(+)
diff --git a/arch/arm/cpu/armv8/fsl-layerscape/fsl_lsch3_serdes.c
From: Shaohui Xie
When creating phy-handle property, an unsigned int value is created by
fdt_create_phandle, and memcpy is used to get the value, since DTS is
big endian, the value cannot be used directly on little endian SoCs,
it should be converted by cpu_to_fdt32.
From: Shaohui Xie
To support on board Aquantia's PHY AQR405.
Signed-off-by: Shaohui Xie
---
include/configs/ls2085ardb.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/include/configs/ls2085ardb.h b/include/configs/ls2085ardb.h
index
From: Shaohui Xie
commit b8e5b07225 "Powerpc: eSDHC: Fix mmc read write err in uboot of
T4240QDS board", T4160 also needs this fix.
Signed-off-by: Shaohui Xie
---
drivers/mmc/fsl_esdhc.c | 3 ++-
1 file changed, 2 insertions(+), 1
From: Shaohui Xie shaohui@freescale.com
A U-boot CMD vdd_read is implemented to read Core voltage.
Signed-off-by: Shaohui Xie shaohui@freescale.com
---
board/freescale/t4qds/t4240qds.c | 30 ++
1 file changed, 30 insertions(+)
diff --git
From: Shaohui Xie shaohui@freescale.com
Serdes Lanes availability on T4160 and T4080 are same, which serdes 2 3
support 8 Lanes, but serdes 1 4 support only 4 Lanes E/F/G/H, Lanes
A/B/C/D are not available, updated the serdes table accordingly with
some minor fix.
Signed-off-by: Shaohui
From: Shaohui Xie shaohui@freescale.com
T4160 and T4080 support same serdes options, which serdes 2 3 support 8
Lanes, same as T4240, but serdes 1 4 support only 4 Lanes, Lanes A, B,
C, D are not available, updated the serdes table accordingly with
some minor fix.
Signed-off-by: Shaohui
From: Shaohui Xie shaohui@freescale.com
cpld reset altbank should always reset to bank4 no matter what current
bank is.
Signed-off-by: Shaohui Xie shaohui@freescale.com
---
board/freescale/t4rdb/cpld.c | 8 +---
1 file changed, 1 insertion(+), 7 deletions(-)
diff --git
From: Shaohui Xie shaohui@freescale.com
1. board/freescale/t4qds/t4_rcw.cfg
1.8GHz support is requested as default frequency, so update the rcw.
2. remove un-used configs
configs/T4160QDS_SPIFLASH_defconfig
configs/T4240QDS_SPIFLASH_defconfig
SPI boot is not available on T4QDS, so the
From: Shaohui Xie shaohui@freescale.com
When compiling under 64 bit mode, there are warnings as below:
In file included from drivers/block/ahci.c:16:0:
drivers/block/ahci.c: In function 'ahci_reset':
./arch/arm/include/asm/io.h:72:28: warning: cast to pointer from integer
of different size
From: Shaohui Xie shaohui@freescale.com
This patch supports AQ1202, AQ2104, AQR105 PHY.
Signed-off-by: Shaohui Xie shaohui@freescale.com
---
drivers/net/phy/Makefile | 1 +
drivers/net/phy/aquantia.c | 156 +
drivers/net/phy/phy.c |
From: Shaohui Xie shaohui@freescale.com
Add following configs in header file:
CONFIG_SYS_GENERIC_BOARD
CONFIG_DISPLAY_BOARDINFO
Signed-off-by: Shaohui Xie shaohui@freescale.com
---
include/configs/P2041RDB.h | 2 ++
1 file changed, 2 insertions(+)
diff --git
From: Minghuan Lian minghuan.l...@freescale.com
BRDCFG1_EMI1_SEL_MASK has been changed to 0x78, which contains
selection bits and connected status bit. So the Corresponding mux
value of RGMII is changed to BRDCFG1_EMI1_SEL_RGMII | BRDCFG1_EMI1_EN.
Signed-off-by: Minghuan Lian
From: Shaohui Xie shaohui@freescale.com
We need following changes to make xfi work on B4:
1. set cross-point switch VSC3308 to use sfp config when running xfi;
2. add 10G interface check for xfi;
3. set phy address for xfi so the 10G ports can be registered by mdio;
Signed-off-by: Shaohui
From: Shaohui Xie shaohui@freescale.com
XFI does not work stable on current board, it's due to heat sink issue,
to make it work stable the board needs additional heat sink, enable two
XFI lanes only. Right now we do not have such an erratum for the issue,
so use a define
From: Suresh Gupta suresh.gu...@freescale.com
In B4860QDS board SerDes2 lanes EFGH either go to SFP or AMC riser card
slot2 so either DTSEC3/DTSEC4 or TGEC1/TGEC2 should be accessible. This
Patch enables DTSEC3/DTSEC4 or TGEC1/TGEC2 on bases of user specified
string fsl_b4860_serdes2:sfp_amc=amc
From: Suresh Gupta suresh.gu...@freescale.com
SerDes2 lanes EFGH either go to SFP or AMC riser card slot2.
By default AMC will be configured even if no hwconfig is specified.
To enable XFI via SFP use the below hwconfig:
fsl_b4860_serdes2:sfp_amc=sfp
Signed-off-by: Suresh Gupta
From: Shaohui Xie shaohui@freescale.com
Since xfi has no phy, we delete the property phy-handle and use
a fixed-link property for a xfi port.
Signed-off-by: Shaohui Xie shaohui@freescale.com
---
board/freescale/b4860qds/eth_b4860qds.c | 38 +
1 file
From: Shaohui Xie shaohui@freescale.com
The define CONFIG_FSL_SATA_V2 is missing, so SATA is not available
in U-boot.
Signed-off-by: Shaohui Xie shaohui@freescale.com
---
include/configs/P5040DS.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/include/configs/P5040DS.h
From: Shaohui Xie shaohui@freescale.com
1000BASE-KX(1G-KX) uses SGMII protocol but the serdes lane runs in 1G-KX
mode. By default, the lane runs in SGMII mode, when a MAC uses a lane
in 1G-KX mode, corresponding bit in PCCR1 for the lane needs to be set,
and needs to fixup dtb accordingly for
From: Shaohui Xie shaohui@freescale.com
XFI is supported on T4QDS-XFI board, which removed slot3, and four LANEs
of serdes2 are routed to a SFP+ cages, which to house fiber cable or
direct attach cable(copper), the copper cable is used to emulate the
10GBASE-KR scenario.
So, for XFI usage,
From: Shaohui Xie shaohui@freescale.com
1. use Payload length check disable when enable MAC;
2. add XGMII support for setting MAC interface mode;
3. only enable auto negotiation for Non-XGMII mode;
4. return 0x if clause 22 is used to read 10G phy_id;
Signed-off-by: Shaohui Xie
From: Shaohui Xie shaohui@freescale.com
NEG bit default is '1' for external MDIOs as per FMAN-v3 RM, but on some
platforms, e.g. T2080QDS, this bit is '0', which leads to MDIO failure
on XAUI PHY, so set this bit definitely to align with the RM.
Signed-off-by: Shaohui Xie
From: Shaohui Xie shaohui@freescale.com
XFI is supported on T4QDS-XFI board, which removed slot3, and four LANEs
of serdes2 are routed to a SFP+ cages, which to house fiber cable or
direct attach cable(copper), the copper cable is used to emulate the
10GBASE-KR scenario.
So, for XFI usage,
From: Shaohui Xie shaohui@freescale.com
XFI is supported on T4QDS-XFI board, which removed slot3, and four LANEs
of serdes2 are routed to a SFP+ cages, which to house fiber cable or
direct attach cable(copper), the copper cable is used to emulate the
10GBASE-KR scenario.
So, for XFI usage,
From: Shaohui Xie shaohui@freescale.com
XFI ports on t2080qds can work with fiber cable and direct attach
cable(copper). We use hwconfig to define cable type for XFI, and fixup
dtb based on the cable type.
For copper cable, set below env in hwconfig:
fsl_10gkr_copper:10g_mac_name
the
From: Shaohui Xie shaohui@freescale.com
1000BASE-KX(1GKX) uses same SGMII interface but the serdes lane run in
1GKX mode. By default, the lane runs in SGMII mode, when a MAC runs in
1GKX mode, the corresponding lane mode needs to be set accordingly.
DTB needs the fixup for kernel to do proper
From: Shaohui Xie shaohui@freescale.com
T4240 has 4 serdes, each serdes has 4k memory space, two PLLs.
We use PLL1CR0 to check the serdes reference clock.
Signed-off-by: Shaohui Xie shaohui@freescale.com
---
arch/powerpc/include/asm/immap_85xx.h | 6 ++
From: Shaohui Xie shaohui@freescale.com
On some platforms, CSn FTIM2.TCH is set to zero which is invalid,
an invalid hold time makes DUT timing variances, whether it works
or not on luck.
Signed-off-by: Shaohui Xie shaohui@freescale.com
---
based on 'next' of
From: Shaohui Xie shaohui@freescale.com
A-007186: SerDes PLL is calibrated at reset. It is possible for jitter to
increase and cause the PLL to unlock when the temperature delta from the
time the PLL is calibrated exceeds +56C/-66C when using X VDD of 1.35 V
or +70C/-80C when using XnVDD of
From: Shaohui Xie shaohui@freescale.com
A-007186: SerDes PLL is calibrated at reset. It is possible for jitter to
increase and cause the PLL to unlock when the temperature delta from the
time the PLL is calibrated exceeds +56C/-66C when using X VDD of 1.35 V
(or +70C/-80C when using XnVDD of
From: Shaohui Xie shaohui@freescale.com
A-007186: SerDes Ring VCO does not maintain lock throughout specified
temperature range.
Option 1 of the workaround states:
For all 1.25/2.5/5 GHz protocols, use LC VCO instead of Ring VCO, this need
to use alternate serdes protocols. The alternate
From: Shaohui Xie shaohui@freescale.com
Add support of 2 stage NAND/SD boot loader using SPL framework.
PBL initialise the internal SRAM and copy SPL, this further
initialise DDR using SPD and environment and copy u-boot from
NAND/SD to DDR, finally SPL transfer control to u-boot.
NOR uses
From: Shaohui Xie shaohui@freescale.com
Add support of 2 stage NAND/SD boot loader using SPL framework.
PBL initialise the internal SRAM and copy SPL, this further
initialise DDR using SPD and environment and copy u-boot from
NAND/SD to DDR, finally SPL transfer control to u-boot.
NOR uses
From: Shaohui Xie shaohui@freescale.com
Current driver uses a Maximum value for MDIO_HOLD when doing 10G MDIO
access, this is due to an errata A-006260 on T4 rev1.0 which is fixed
on rev2.0, so remove the maximum value to use the default value for rev2.0.
Signed-off-by: Shaohui Xie
From: Shaohui Xie shaohui@freescale.com
Add support of 2 stage NAND/SD boot loader using SPL framework.
PBL initialise the internal SRAM and copy SPL, this further
initialise DDR using SPD and environment and copy u-boot from
NAND/SD to DDR, finally SPL transfer control to u-boot.
NOR uses
From: Shaohui Xie shaohui@freescale.com
Updated the RCW for rev2.0 which uses new frequency settings as below:
Clock Configuration:
CPU0:1666.667 MHz, CPU1:1666.667 MHz, CPU2:1666.667 MHz, CPU3:1666.667 MHz,
CPU4:1666.667 MHz, CPU5:1666.667 MHz, CPU6:1666.667 MHz, CPU7:1666.667 MHz,
From: Shaohui Xie shaohui@freescale.com
Also, remove workaround of rev1.0.
Signed-off-by: Shaohui Xie shaohui@freescale.com
---
board/freescale/t4qds/t4_pbi.cfg | 14 --
board/freescale/t4qds/t4_rcw.cfg | 6 +++---
2 files changed, 3 insertions(+), 17 deletions(-)
diff
From: Shaohui Xie shaohui@freescale.com
Also, remove workaround of rev1.0.
Signed-off-by: Shaohui Xie shaohui@freescale.com
---
board/freescale/t4qds/t4_pbi.cfg | 14 --
board/freescale/t4qds/t4_rcw.cfg | 4 ++--
2 files changed, 2 insertions(+), 16 deletions(-)
diff --git
From: Shaohui Xie shaohui@freescale.com
Also, remove workaround of rev1.0.
Signed-off-by: Shaohui Xie shaohui@freescale.com
---
board/freescale/t4qds/t4_pbi.cfg | 17 +++--
board/freescale/t4qds/t4_rcw.cfg | 6 +++---
2 files changed, 6 insertions(+), 17 deletions(-)
diff
From: Shaohui Xie shaohui@freescale.com
Signed-off-by: Shaohui Xie shaohui@freescale.com
---
boards.cfg | 1 +
1 file changed, 1 insertion(+)
diff --git a/boards.cfg b/boards.cfg
index 2128996..302ac56 100644
--- a/boards.cfg
+++ b/boards.cfg
@@ -966,6 +966,7 @@ Active powerpc
From: Shaohui Xie shaohui@freescale.com
The BOOT_LOC setting in rcw cfg is wrong, set it to Memory complex 1.
Signed-off-by: Shaohui Xie shaohui@freescale.com
---
board/freescale/b4860qds/b4_rcw.cfg | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
From: Dave Liu dave...@freescale.com
In PBL RAMBOOT(SPI/SD/NAND boot) mode, CPC1 used as SRAM, should disable
CPC1 speculation and keep it till relocation. Otherwise, speculation
transactions will go to DDR controller, it will cause problem.
Signed-off-by: Dave Liu dave...@freescale.com
From: Shaohui Xie shaohui@freescale.com
A new valid setting case added for fman1, it uses platform frequency.
Signed-off-by: Shaohui Xie shaohui@freescale.com
---
based on patch: http://patchwork.ozlabs.org/patch/294663/
arch/powerpc/cpu/mpc85xx/speed.c | 3 +++
1 file changed, 3
From: Shaohui Xie shaohui@freescale.com
The VSC8514 works in QSGMII interface. Its register set and features
are similar to VSC8574 which in QSGMII mode.
Signed-off-by: Shaohui Xie shaohui@freescale.com
---
drivers/net/phy/vitesse.c | 11 +++
1 file changed, 11 insertions(+)
From: Shaohui Xie shaohui@freescale.com
fixed-link is used in kernel for PHY-less MAC, so introduce this
structure that U-boot can use it to fixup dtb dynamically.
Signed-off-by: Shaohui Xie shaohui@freescale.com
---
include/phy.h | 8
1 file changed, 8 insertions(+)
diff
From: Shaohui Xie shaohui@freescale.com
Signed-off-by: Shaohui Xie shaohui@freescale.com
---
include/configs/P4080DS.h | 6 ++
1 file changed, 6 insertions(+)
diff --git a/include/configs/P4080DS.h b/include/configs/P4080DS.h
index b0cd7d5..2f89008 100644
---
From: Shaohui Xie shaohui@freescale.com
Use a default RCW of protocol 0x2A_0x98, and a PBI configure file which
uses CPC1 as 512KB SRAM, then PBL tool can be used on B4860 to build a
pbl boot image.
Signed-off-by: Shaohui Xie shaohui@freescale.com
---
board/freescale/b4860qds/b4_pbi.cfg
From: Shaohui Xie shaohui@freescale.com
Default configuration has been changed, the most important one is DDR
ref_clock which is changed from 66.67MHz to 133.33MHz. so the ratio need to
change from 24x to 12x to keep the DDR frequency. There are also some
other optimise to align with default
From: Shaohui Xie shaohui@freescale.com
Previous process of compiling a PBL boot image is:
1: make board_name_config
2: make u-boot.pbl
for example:
make T4240QDS_SDCARD_config
make u-boot.pbl
Now the process is:
1: make board_name
for example:
make T4240QDS_SDCARD
Also, updated
71 matches
Mail list logo