* [PATCH net-next v2 1/7] net: phy: add interface modes for XFI, SFI
2019-12-23 10:14 [PATCH net-next v2 0/7] Add PHY connection types for XFI and SFI Madalin Bucur
@ 2019-12-23 10:14 ` Madalin Bucur
2019-12-23 10:57 ` Russell King - ARM Linux admin
2019-12-23 10:14 ` [PATCH net-next v2 2/7] net: fsl/fman: rename IF_MODE_XGMII to IF_MODE_10G Madalin Bucur
` (5 subsequent siblings)
6 siblings, 1 reply; 10+ messages in thread
From: Madalin Bucur @ 2019-12-23 10:14 UTC (permalink / raw)
To: davem, netdev, linux, andrew
Cc: f.fainelli, hkallweit1, shawnguo, leoyang.li, devicetree,
robh+dt, mark.rutland, Madalin Bucur
From: Madalin Bucur <madalin.bucur@nxp.com>
Add explicit entries for XFI, SFI to make sure the device
tree entries for phy-connection-type "xfi" or "sfi" are
properly parsed and differentiated against the existing
backplane 10GBASE-KR mode.
Signed-off-by: Madalin Bucur <madalin.bucur@nxp.com>
---
include/linux/phy.h | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/include/linux/phy.h b/include/linux/phy.h
index dd4a91f1feaa..5651c7be0c45 100644
--- a/include/linux/phy.h
+++ b/include/linux/phy.h
@@ -99,7 +99,8 @@ typedef enum {
PHY_INTERFACE_MODE_2500BASEX,
PHY_INTERFACE_MODE_RXAUI,
PHY_INTERFACE_MODE_XAUI,
- /* 10GBASE-KR, XFI, SFI - single lane 10G Serdes */
+ PHY_INTERFACE_MODE_XFI,
+ PHY_INTERFACE_MODE_SFI,
PHY_INTERFACE_MODE_10GKR,
PHY_INTERFACE_MODE_USXGMII,
PHY_INTERFACE_MODE_MAX,
@@ -175,6 +176,10 @@ static inline const char *phy_modes(phy_interface_t interface)
return "rxaui";
case PHY_INTERFACE_MODE_XAUI:
return "xaui";
+ case PHY_INTERFACE_MODE_XFI:
+ return "xfi";
+ case PHY_INTERFACE_MODE_SFI:
+ return "sfi";
case PHY_INTERFACE_MODE_10GKR:
return "10gbase-kr";
case PHY_INTERFACE_MODE_USXGMII:
--
2.1.0
^ permalink raw reply related [flat|nested] 10+ messages in thread
* Re: [PATCH net-next v2 1/7] net: phy: add interface modes for XFI, SFI
2019-12-23 10:14 ` [PATCH net-next v2 1/7] net: phy: add interface modes for XFI, SFI Madalin Bucur
@ 2019-12-23 10:57 ` Russell King - ARM Linux admin
2019-12-23 11:10 ` Andrew Lunn
0 siblings, 1 reply; 10+ messages in thread
From: Russell King - ARM Linux admin @ 2019-12-23 10:57 UTC (permalink / raw)
To: Madalin Bucur
Cc: davem, netdev, andrew, f.fainelli, hkallweit1, shawnguo,
leoyang.li, devicetree, robh+dt, mark.rutland, Madalin Bucur
On Mon, Dec 23, 2019 at 12:14:07PM +0200, Madalin Bucur wrote:
> From: Madalin Bucur <madalin.bucur@nxp.com>
>
> Add explicit entries for XFI, SFI to make sure the device
> tree entries for phy-connection-type "xfi" or "sfi" are
> properly parsed and differentiated against the existing
> backplane 10GBASE-KR mode.
>
> Signed-off-by: Madalin Bucur <madalin.bucur@nxp.com>
NAK until we've finished discussing this matter in the previous posting.
> ---
> include/linux/phy.h | 7 ++++++-
> 1 file changed, 6 insertions(+), 1 deletion(-)
>
> diff --git a/include/linux/phy.h b/include/linux/phy.h
> index dd4a91f1feaa..5651c7be0c45 100644
> --- a/include/linux/phy.h
> +++ b/include/linux/phy.h
> @@ -99,7 +99,8 @@ typedef enum {
> PHY_INTERFACE_MODE_2500BASEX,
> PHY_INTERFACE_MODE_RXAUI,
> PHY_INTERFACE_MODE_XAUI,
> - /* 10GBASE-KR, XFI, SFI - single lane 10G Serdes */
> + PHY_INTERFACE_MODE_XFI,
> + PHY_INTERFACE_MODE_SFI,
> PHY_INTERFACE_MODE_10GKR,
> PHY_INTERFACE_MODE_USXGMII,
> PHY_INTERFACE_MODE_MAX,
> @@ -175,6 +176,10 @@ static inline const char *phy_modes(phy_interface_t interface)
> return "rxaui";
> case PHY_INTERFACE_MODE_XAUI:
> return "xaui";
> + case PHY_INTERFACE_MODE_XFI:
> + return "xfi";
> + case PHY_INTERFACE_MODE_SFI:
> + return "sfi";
> case PHY_INTERFACE_MODE_10GKR:
> return "10gbase-kr";
> case PHY_INTERFACE_MODE_USXGMII:
> --
> 2.1.0
>
>
--
RMK's Patch system: https://www.armlinux.org.uk/developer/patches/
FTTC broadband for 0.8mile line in suburbia: sync at 12.1Mbps down 622kbps up
According to speedtest.net: 11.9Mbps down 500kbps up
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [PATCH net-next v2 1/7] net: phy: add interface modes for XFI, SFI
2019-12-23 10:57 ` Russell King - ARM Linux admin
@ 2019-12-23 11:10 ` Andrew Lunn
0 siblings, 0 replies; 10+ messages in thread
From: Andrew Lunn @ 2019-12-23 11:10 UTC (permalink / raw)
To: Russell King - ARM Linux admin
Cc: Madalin Bucur, davem, netdev, f.fainelli, hkallweit1, shawnguo,
leoyang.li, devicetree, robh+dt, mark.rutland, Madalin Bucur
On Mon, Dec 23, 2019 at 10:57:43AM +0000, Russell King - ARM Linux admin wrote:
> On Mon, Dec 23, 2019 at 12:14:07PM +0200, Madalin Bucur wrote:
> > From: Madalin Bucur <madalin.bucur@nxp.com>
> >
> > Add explicit entries for XFI, SFI to make sure the device
> > tree entries for phy-connection-type "xfi" or "sfi" are
> > properly parsed and differentiated against the existing
> > backplane 10GBASE-KR mode.
> >
> > Signed-off-by: Madalin Bucur <madalin.bucur@nxp.com>
>
> NAK until we've finished discussing this matter in the previous posting.
Agreed.
Lets fully understand the issues before we start patching stuff.
Andrew
^ permalink raw reply [flat|nested] 10+ messages in thread
* [PATCH net-next v2 2/7] net: fsl/fman: rename IF_MODE_XGMII to IF_MODE_10G
2019-12-23 10:14 [PATCH net-next v2 0/7] Add PHY connection types for XFI and SFI Madalin Bucur
2019-12-23 10:14 ` [PATCH net-next v2 1/7] net: phy: add interface modes for XFI, SFI Madalin Bucur
@ 2019-12-23 10:14 ` Madalin Bucur
2019-12-23 10:14 ` [PATCH net-next v2 3/7] net: fsl/fman: add support for PHY_INTERFACE_MODE_XFI Madalin Bucur
` (4 subsequent siblings)
6 siblings, 0 replies; 10+ messages in thread
From: Madalin Bucur @ 2019-12-23 10:14 UTC (permalink / raw)
To: davem, netdev, linux, andrew
Cc: f.fainelli, hkallweit1, shawnguo, leoyang.li, devicetree,
robh+dt, mark.rutland, Madalin Bucur
As the only 10G PHY interface type defined at the moment the code
was developed was XGMII, although the PHY interface mode used was
not XGMII, XGMII was used everywhere in the code. This patch
renames the 10G interface mode to remove the ambiguity as more
PHY interface modes are possible.
Signed-off-by: Madalin Bucur <madalin.bucur@oss.nxp.com>
---
drivers/net/ethernet/freescale/fman/fman_memac.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/net/ethernet/freescale/fman/fman_memac.c b/drivers/net/ethernet/freescale/fman/fman_memac.c
index 41c6fa200e74..e1901874c19f 100644
--- a/drivers/net/ethernet/freescale/fman/fman_memac.c
+++ b/drivers/net/ethernet/freescale/fman/fman_memac.c
@@ -110,7 +110,7 @@ do { \
/* Interface Mode Register (IF_MODE) */
#define IF_MODE_MASK 0x00000003 /* 30-31 Mask on i/f mode bits */
-#define IF_MODE_XGMII 0x00000000 /* 30-31 XGMII (10G) interface */
+#define IF_MODE_10G 0x00000000 /* 30-31 10G interface */
#define IF_MODE_GMII 0x00000002 /* 30-31 GMII (1G) interface */
#define IF_MODE_RGMII 0x00000004
#define IF_MODE_RGMII_AUTO 0x00008000
@@ -440,7 +440,7 @@ static int init(struct memac_regs __iomem *regs, struct memac_cfg *cfg,
tmp = 0;
switch (phy_if) {
case PHY_INTERFACE_MODE_XGMII:
- tmp |= IF_MODE_XGMII;
+ tmp |= IF_MODE_10G;
break;
default:
tmp |= IF_MODE_GMII;
--
2.1.0
^ permalink raw reply related [flat|nested] 10+ messages in thread
* [PATCH net-next v2 3/7] net: fsl/fman: add support for PHY_INTERFACE_MODE_XFI
2019-12-23 10:14 [PATCH net-next v2 0/7] Add PHY connection types for XFI and SFI Madalin Bucur
2019-12-23 10:14 ` [PATCH net-next v2 1/7] net: phy: add interface modes for XFI, SFI Madalin Bucur
2019-12-23 10:14 ` [PATCH net-next v2 2/7] net: fsl/fman: rename IF_MODE_XGMII to IF_MODE_10G Madalin Bucur
@ 2019-12-23 10:14 ` Madalin Bucur
2019-12-23 10:14 ` [PATCH net-next v2 4/7] net: fsl/fman: add support for PHY_INTERFACE_MODE_SFI Madalin Bucur
` (3 subsequent siblings)
6 siblings, 0 replies; 10+ messages in thread
From: Madalin Bucur @ 2019-12-23 10:14 UTC (permalink / raw)
To: davem, netdev, linux, andrew
Cc: f.fainelli, hkallweit1, shawnguo, leoyang.li, devicetree,
robh+dt, mark.rutland, Madalin Bucur
Add support in the code for the XFI PHY interface mode. Although
the interfaces did not use XGMII, the device trees described the
interface type as XGMII and the code was written with XGMI as an
indicator for 10G. The patch does not remove XGMII as a transition
time will be required until the device trees, fix-ups performed
by bootloaders are all aligned.
Signed-off-by: Madalin Bucur <madalin.bucur@oss.nxp.com>
---
drivers/net/ethernet/freescale/fman/fman_memac.c | 4 +++-
drivers/net/ethernet/freescale/fman/mac.c | 8 +++++---
2 files changed, 8 insertions(+), 4 deletions(-)
diff --git a/drivers/net/ethernet/freescale/fman/fman_memac.c b/drivers/net/ethernet/freescale/fman/fman_memac.c
index e1901874c19f..d0b12efadd6c 100644
--- a/drivers/net/ethernet/freescale/fman/fman_memac.c
+++ b/drivers/net/ethernet/freescale/fman/fman_memac.c
@@ -439,6 +439,7 @@ static int init(struct memac_regs __iomem *regs, struct memac_cfg *cfg,
/* IF_MODE */
tmp = 0;
switch (phy_if) {
+ case PHY_INTERFACE_MODE_XFI:
case PHY_INTERFACE_MODE_XGMII:
tmp |= IF_MODE_10G;
break;
@@ -454,7 +455,8 @@ static int init(struct memac_regs __iomem *regs, struct memac_cfg *cfg,
/* TX_FIFO_SECTIONS */
tmp = 0;
- if (phy_if == PHY_INTERFACE_MODE_XGMII) {
+ if (phy_if == PHY_INTERFACE_MODE_XFI ||
+ phy_if == PHY_INTERFACE_MODE_XGMII) {
if (slow_10g_if) {
tmp |= (TX_FIFO_SECTIONS_TX_AVAIL_SLOW_10G |
TX_FIFO_SECTIONS_TX_EMPTY_DEFAULT_10G);
diff --git a/drivers/net/ethernet/freescale/fman/mac.c b/drivers/net/ethernet/freescale/fman/mac.c
index f0806ace1ae2..2944188c19b3 100644
--- a/drivers/net/ethernet/freescale/fman/mac.c
+++ b/drivers/net/ethernet/freescale/fman/mac.c
@@ -221,7 +221,7 @@ static int memac_initialization(struct mac_device *mac_dev)
set_fman_mac_params(mac_dev, ¶ms);
if (priv->max_speed == SPEED_10000)
- params.phy_if = PHY_INTERFACE_MODE_XGMII;
+ params.phy_if = PHY_INTERFACE_MODE_XFI;
mac_dev->fman_mac = memac_config(¶ms);
if (!mac_dev->fman_mac) {
@@ -540,7 +540,8 @@ static const u16 phy2speed[] = {
[PHY_INTERFACE_MODE_RGMII_TXID] = SPEED_1000,
[PHY_INTERFACE_MODE_RTBI] = SPEED_1000,
[PHY_INTERFACE_MODE_QSGMII] = SPEED_1000,
- [PHY_INTERFACE_MODE_XGMII] = SPEED_10000
+ [PHY_INTERFACE_MODE_XGMII] = SPEED_10000,
+ [PHY_INTERFACE_MODE_XFI] = SPEED_10000,
};
static struct platform_device *dpaa_eth_add_device(int fman_id,
@@ -798,7 +799,8 @@ static int mac_probe(struct platform_device *_of_dev)
mac_dev->if_support |= SUPPORTED_1000baseT_Full;
/* The 10G interface only supports one mode */
- if (mac_dev->phy_if == PHY_INTERFACE_MODE_XGMII)
+ if (mac_dev->phy_if == PHY_INTERFACE_MODE_XFI ||
+ mac_dev->phy_if == PHY_INTERFACE_MODE_XGMII)
mac_dev->if_support = SUPPORTED_10000baseT_Full;
/* Get the rest of the PHY information */
--
2.1.0
^ permalink raw reply related [flat|nested] 10+ messages in thread
* [PATCH net-next v2 4/7] net: fsl/fman: add support for PHY_INTERFACE_MODE_SFI
2019-12-23 10:14 [PATCH net-next v2 0/7] Add PHY connection types for XFI and SFI Madalin Bucur
` (2 preceding siblings ...)
2019-12-23 10:14 ` [PATCH net-next v2 3/7] net: fsl/fman: add support for PHY_INTERFACE_MODE_XFI Madalin Bucur
@ 2019-12-23 10:14 ` Madalin Bucur
2019-12-23 10:14 ` [PATCH net-next v2 5/7] net: phy: aquantia: add support for PHY_INTERFACE_MODE_XFI Madalin Bucur
` (2 subsequent siblings)
6 siblings, 0 replies; 10+ messages in thread
From: Madalin Bucur @ 2019-12-23 10:14 UTC (permalink / raw)
To: davem, netdev, linux, andrew
Cc: f.fainelli, hkallweit1, shawnguo, leoyang.li, devicetree,
robh+dt, mark.rutland, Madalin Bucur
Add support for the SFI PHY interface mode.
Signed-off-by: Madalin Bucur <madalin.bucur@oss.nxp.com>
---
drivers/net/ethernet/freescale/fman/fman_memac.c | 2 ++
drivers/net/ethernet/freescale/fman/mac.c | 2 ++
2 files changed, 4 insertions(+)
diff --git a/drivers/net/ethernet/freescale/fman/fman_memac.c b/drivers/net/ethernet/freescale/fman/fman_memac.c
index d0b12efadd6c..09fdec935bf2 100644
--- a/drivers/net/ethernet/freescale/fman/fman_memac.c
+++ b/drivers/net/ethernet/freescale/fman/fman_memac.c
@@ -440,6 +440,7 @@ static int init(struct memac_regs __iomem *regs, struct memac_cfg *cfg,
tmp = 0;
switch (phy_if) {
case PHY_INTERFACE_MODE_XFI:
+ case PHY_INTERFACE_MODE_SFI:
case PHY_INTERFACE_MODE_XGMII:
tmp |= IF_MODE_10G;
break;
@@ -456,6 +457,7 @@ static int init(struct memac_regs __iomem *regs, struct memac_cfg *cfg,
/* TX_FIFO_SECTIONS */
tmp = 0;
if (phy_if == PHY_INTERFACE_MODE_XFI ||
+ phy_if == PHY_INTERFACE_MODE_SFI ||
phy_if == PHY_INTERFACE_MODE_XGMII) {
if (slow_10g_if) {
tmp |= (TX_FIFO_SECTIONS_TX_AVAIL_SLOW_10G |
diff --git a/drivers/net/ethernet/freescale/fman/mac.c b/drivers/net/ethernet/freescale/fman/mac.c
index 2944188c19b3..5e6317742c38 100644
--- a/drivers/net/ethernet/freescale/fman/mac.c
+++ b/drivers/net/ethernet/freescale/fman/mac.c
@@ -542,6 +542,7 @@ static const u16 phy2speed[] = {
[PHY_INTERFACE_MODE_QSGMII] = SPEED_1000,
[PHY_INTERFACE_MODE_XGMII] = SPEED_10000,
[PHY_INTERFACE_MODE_XFI] = SPEED_10000,
+ [PHY_INTERFACE_MODE_SFI] = SPEED_10000,
};
static struct platform_device *dpaa_eth_add_device(int fman_id,
@@ -800,6 +801,7 @@ static int mac_probe(struct platform_device *_of_dev)
/* The 10G interface only supports one mode */
if (mac_dev->phy_if == PHY_INTERFACE_MODE_XFI ||
+ mac_dev->phy_if == PHY_INTERFACE_MODE_SFI ||
mac_dev->phy_if == PHY_INTERFACE_MODE_XGMII)
mac_dev->if_support = SUPPORTED_10000baseT_Full;
--
2.1.0
^ permalink raw reply related [flat|nested] 10+ messages in thread
* [PATCH net-next v2 5/7] net: phy: aquantia: add support for PHY_INTERFACE_MODE_XFI
2019-12-23 10:14 [PATCH net-next v2 0/7] Add PHY connection types for XFI and SFI Madalin Bucur
` (3 preceding siblings ...)
2019-12-23 10:14 ` [PATCH net-next v2 4/7] net: fsl/fman: add support for PHY_INTERFACE_MODE_SFI Madalin Bucur
@ 2019-12-23 10:14 ` Madalin Bucur
2019-12-23 10:14 ` [PATCH net-next v2 6/7] dt-bindings: net: add xfi, sfi to phy-connection-type Madalin Bucur
2019-12-23 10:14 ` [PATCH net-next v2 7/7] arm64: dts: ls104xardb: set correct PHY interface mode Madalin Bucur
6 siblings, 0 replies; 10+ messages in thread
From: Madalin Bucur @ 2019-12-23 10:14 UTC (permalink / raw)
To: davem, netdev, linux, andrew
Cc: f.fainelli, hkallweit1, shawnguo, leoyang.li, devicetree,
robh+dt, mark.rutland, Madalin Bucur
The PHY_INTERFACE_MODE_10GKR was introduced as a catch-all
value for 10GBase-KR, XFI, SFI, to differentiate against XGMII.
The AQR PHYs support XFI as a PHY connection type, adding it
to the list of supported types. I'm not sure whether 10GBase-KR
is actually supported or not on the AQR devices so I'm not
touching that.
Signed-off-by: Madalin Bucur <madalin.bucur@oss.nxp.com>
---
drivers/net/phy/aquantia_main.c | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/drivers/net/phy/aquantia_main.c b/drivers/net/phy/aquantia_main.c
index 975789d9349d..688a637f1aba 100644
--- a/drivers/net/phy/aquantia_main.c
+++ b/drivers/net/phy/aquantia_main.c
@@ -358,9 +358,11 @@ static int aqr107_read_status(struct phy_device *phydev)
switch (FIELD_GET(MDIO_PHYXS_VEND_IF_STATUS_TYPE_MASK, val)) {
case MDIO_PHYXS_VEND_IF_STATUS_TYPE_KR:
- case MDIO_PHYXS_VEND_IF_STATUS_TYPE_XFI:
phydev->interface = PHY_INTERFACE_MODE_10GKR;
break;
+ case MDIO_PHYXS_VEND_IF_STATUS_TYPE_XFI:
+ phydev->interface = PHY_INTERFACE_MODE_XFI;
+ break;
case MDIO_PHYXS_VEND_IF_STATUS_TYPE_USXGMII:
phydev->interface = PHY_INTERFACE_MODE_USXGMII;
break;
@@ -493,6 +495,7 @@ static int aqr107_config_init(struct phy_device *phydev)
phydev->interface != PHY_INTERFACE_MODE_2500BASEX &&
phydev->interface != PHY_INTERFACE_MODE_XGMII &&
phydev->interface != PHY_INTERFACE_MODE_USXGMII &&
+ phydev->interface != PHY_INTERFACE_MODE_XFI &&
phydev->interface != PHY_INTERFACE_MODE_10GKR)
return -ENODEV;
--
2.1.0
^ permalink raw reply related [flat|nested] 10+ messages in thread
* [PATCH net-next v2 6/7] dt-bindings: net: add xfi, sfi to phy-connection-type
2019-12-23 10:14 [PATCH net-next v2 0/7] Add PHY connection types for XFI and SFI Madalin Bucur
` (4 preceding siblings ...)
2019-12-23 10:14 ` [PATCH net-next v2 5/7] net: phy: aquantia: add support for PHY_INTERFACE_MODE_XFI Madalin Bucur
@ 2019-12-23 10:14 ` Madalin Bucur
2019-12-23 10:14 ` [PATCH net-next v2 7/7] arm64: dts: ls104xardb: set correct PHY interface mode Madalin Bucur
6 siblings, 0 replies; 10+ messages in thread
From: Madalin Bucur @ 2019-12-23 10:14 UTC (permalink / raw)
To: davem, netdev, linux, andrew
Cc: f.fainelli, hkallweit1, shawnguo, leoyang.li, devicetree,
robh+dt, mark.rutland, Madalin Bucur
Recently the phy-connection-type for 10G intefaces moved from
just specifying the MII (XGMII) to describing the actual type of
connection used between the SoC and external PHY device. This
does not occur at the clear MII logical MAC-PHY separation point
as some parts of the PHY are now hosted together with the MAC in
the SoC (PCS, PMA) so we need to describe the actual interface
as found on the HW.
Signed-off-by: Madalin Bucur <madalin.bucur@oss.nxp.com>
---
Documentation/devicetree/bindings/net/ethernet-controller.yaml | 2 ++
1 file changed, 2 insertions(+)
diff --git a/Documentation/devicetree/bindings/net/ethernet-controller.yaml b/Documentation/devicetree/bindings/net/ethernet-controller.yaml
index ac471b60ed6a..fb3cff77a7dc 100644
--- a/Documentation/devicetree/bindings/net/ethernet-controller.yaml
+++ b/Documentation/devicetree/bindings/net/ethernet-controller.yaml
@@ -96,6 +96,8 @@ properties:
# 10GBASE-KR, XFI, SFI
- 10gbase-kr
- usxgmii
+ - xfi
+ - sfi
phy-mode:
$ref: "#/properties/phy-connection-type"
--
2.1.0
^ permalink raw reply related [flat|nested] 10+ messages in thread
* [PATCH net-next v2 7/7] arm64: dts: ls104xardb: set correct PHY interface mode
2019-12-23 10:14 [PATCH net-next v2 0/7] Add PHY connection types for XFI and SFI Madalin Bucur
` (5 preceding siblings ...)
2019-12-23 10:14 ` [PATCH net-next v2 6/7] dt-bindings: net: add xfi, sfi to phy-connection-type Madalin Bucur
@ 2019-12-23 10:14 ` Madalin Bucur
6 siblings, 0 replies; 10+ messages in thread
From: Madalin Bucur @ 2019-12-23 10:14 UTC (permalink / raw)
To: davem, netdev, linux, andrew
Cc: f.fainelli, hkallweit1, shawnguo, leoyang.li, devicetree,
robh+dt, mark.rutland, Madalin Bucur
From: Madalin Bucur <madalin.bucur@nxp.com>
The DPAA 1 based LS1043ARDB and LS1046ARDB boards are using
XFI for the 10G interfaces. Since at the moment of the addition
of the first DPAA platforms the only 10G PHY interface type used
was XGMII, although the boards were actually using XFI, they were
wrongly declared as xgmii. This has propagated along the DPAA
family of SoCs, all 10G interfaces being declared wrongly as
XGMII. This patch addresses the problem for the ARM based DPAA
SoCs. After the introduction of XFI PHY interface type we can
address this issue.
Signed-off-by: Madalin Bucur <madalin.bucur@nxp.com>
---
arch/arm64/boot/dts/freescale/fsl-ls1043a-rdb.dts | 2 +-
arch/arm64/boot/dts/freescale/fsl-ls1046a-rdb.dts | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1043a-rdb.dts b/arch/arm64/boot/dts/freescale/fsl-ls1043a-rdb.dts
index 4223a2352d45..8d99dd423720 100644
--- a/arch/arm64/boot/dts/freescale/fsl-ls1043a-rdb.dts
+++ b/arch/arm64/boot/dts/freescale/fsl-ls1043a-rdb.dts
@@ -139,7 +139,7 @@
ethernet@f0000 { /* 10GEC1 */
phy-handle = <&aqr105_phy>;
- phy-connection-type = "xgmii";
+ phy-connection-type = "xfi";
};
mdio@fc000 {
diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1046a-rdb.dts b/arch/arm64/boot/dts/freescale/fsl-ls1046a-rdb.dts
index 0c742befb761..e193e2bc2b91 100644
--- a/arch/arm64/boot/dts/freescale/fsl-ls1046a-rdb.dts
+++ b/arch/arm64/boot/dts/freescale/fsl-ls1046a-rdb.dts
@@ -151,12 +151,12 @@
ethernet@f0000 { /* 10GEC1 */
phy-handle = <&aqr106_phy>;
- phy-connection-type = "xgmii";
+ phy-connection-type = "xfi";
};
ethernet@f2000 { /* 10GEC2 */
fixed-link = <0 1 1000 0 0>;
- phy-connection-type = "xgmii";
+ phy-connection-type = "xfi";
};
mdio@fc000 {
--
2.1.0
^ permalink raw reply related [flat|nested] 10+ messages in thread