Verify compatible string against hardware.
Signed-off-by: Aleksander Jan Bajkowski
Acked-by: Hauke Mehrtens
---
drivers/net/dsa/lantiq_gswip.c | 20 +++-
1 file changed, 19 insertions(+), 1 deletion(-)
diff --git a/drivers/net/dsa/lantiq_gswip.c b/drivers/net/dsa
xRX330
* changed alowed modes on port 0 and 5 for xRX300 and xRX330
* moved common part of phylink validation into gswip_phylink_set_capab()
* verify the compatible string against the hardware
Aleksander Jan Bajkowski (3):
net: dsa: lantiq: allow to use all GPHYs on xRX300
Add compatible string for xRX300 and xRX330 SoCs.
Signed-off-by: Aleksander Jan Bajkowski
---
Documentation/devicetree/bindings/net/dsa/lantiq-gswip.txt | 4
1 file changed, 4 insertions(+)
diff --git a/Documentation/devicetree/bindings/net/dsa/lantiq-gswip.txt
b/Documentation/devicetree
) or RGMII port
xRX330:
GMAC0: RGMII, GMII or RMII port
GMAC1: GPHY2 (GMII)
GMAC2: GPHY0 (GMII)
GMAC3: GPHY0 (MII) or GPHY3 (GMII)
GMAC4: GPHY1 (GMII)
GMAC5: GPHY1 (MII), RGMII or RMII port
Tested on D-Link DWR966 (xRX330) with OpenWRT.
Signed-off-by: Aleksander Jan Bajkowski
Acked-by: Hauke
Verify compatible string against hardware.
Signed-off-by: Aleksander Jan Bajkowski
---
drivers/net/dsa/lantiq_gswip.c | 20 +++-
1 file changed, 19 insertions(+), 1 deletion(-)
diff --git a/drivers/net/dsa/lantiq_gswip.c b/drivers/net/dsa/lantiq_gswip.c
index 7149b9fcb16a
Add compatible string for xRX300 and xRX330 SoCs.
Signed-off-by: Aleksander Jan Bajkowski
---
Documentation/devicetree/bindings/net/dsa/lantiq-gswip.txt | 4
1 file changed, 4 insertions(+)
diff --git a/Documentation/devicetree/bindings/net/dsa/lantiq-gswip.txt
b/Documentation/devicetree
) or RGMII port
xRX330:
GMAC0: RGMII, GMII or RMII port
GMAC1: GPHY2 (GMII)
GMAC2: GPHY0 (GMII)
GMAC3: GPHY0 (MII) or GPHY3 (GMII)
GMAC4: GPHY1 (GMII)
GMAC5: GPHY1 (MII), RGMII or RMII port
Tested on D-Link DWR966 (xRX330) with OpenWRT.
Signed-off-by: Aleksander Jan Bajkowski
---
drivers/net/dsa
From: Aleksander Jan Bajkowski
Changed since v2:
* fixed compilation warnings
* removed example bindings for xrx330
* patches has been refactored due to upstream changes
Changed since v1:
* gswip_mii_mask_cfg() can now change port 3 on xRX330
* changed
Exclude RMII from modes that report 1 GbE support. Reduced MII supports
up to 100 MbE.
Fixes: 14fceff ("net: dsa: Add Lantiq / Intel DSA driver for vrx200")
Signed-off-by: Aleksander Jan Bajkowski
---
drivers/net/dsa/lantiq_gswip.c | 7 ---
1 file changed, 4 insertions(+), 3
Add compatible string and example for xRX300 and xRX330.
Signed-off-by: Aleksander Jan Bajkowski
---
.../bindings/net/dsa/lantiq-gswip.txt | 110 +-
1 file changed, 109 insertions(+), 1 deletion(-)
diff --git a/Documentation/devicetree/bindings/net/dsa/lantiq-gswip.txt
(GMII)
GMAC4: GPHY1 (GMII)
GMAC5: GPHY1 (MII) or RGMII/RMII port
Tested on D-Link DWR966 with OpenWRT.
Signed-off-by: Aleksander Jan Bajkowski
---
drivers/net/dsa/lantiq_gswip.c | 170 +++--
1 file changed, 141 insertions(+), 29 deletions(-)
diff --git a/drivers/net/dsa
From: Aleksander Jan Bajkowski
Changed since v1:
* gswip_mii_mask_cfg() can now change port 3 on xRX330
* changed alowed modes on port 0 and 5 for xRX300 and xRX330
* moved common part of phylink validation into gswip_phylink_set_capab()
* verify the compatible
From: Aleksander Jan Bajkowski
Add compatible string and example for xRX300 and xRX330.
Signed-off-by: Aleksander Jan Bajkowski
---
.../bindings/net/dsa/lantiq-gswip.txt | 110 +-
1 file changed, 109 insertions(+), 1 deletion(-)
diff --git a/Documentation/devicetree
From: Aleksander Jan Bajkowski
This patch allows you to use all phs on GRX300 and GRX330. The ARX300 has 3
and the GRX330 has 4 integrated PHYs connected to different ports compared
to VRX200.
Port configurations:
xRX200:
GMAC0: RGMII port
GMAC1: RGMII port
GMAC2: GPHY0 (GMII)
GMAC3: GPHY0
14 matches
Mail list logo