The 05/03/2021 16:48, Tom Rini wrote:
>
> With gcc-11 we get a multiple errors here as the declarations for
> mscc_pinctrl_ops and mscc_gpio_ops are missing an extern.
Reviewed-by: Horatiu Vultur
>
> CC: Gregory CLEMENT
> Cc: Lars Povlsen
> Cc: Horatiu Vultur
>
Hi,
A gentle ping. Thanks.
The 03/10/2021 09:31, Horatiu Vultur wrote:
> This patch series contains two patches. The first patch resets the
> switch at probe time while the second one fixes an issue with the
> serdes6g configuration which is used on jr2_pcb111 board
>
> Ho
The 04/06/2021 09:38, Patrick Delaunay wrote:
Hi Patrick,
I have applied your patches and I have done a basic test on jr2_switch.
It seems to work fine. I got some warnings from the function
'__of_translate_address' which I need to figure out.
But one more important thing is that also luton_swit
Sometimes no traffic was getting out on the ports, the root cause was
a wrong configuration of the Serdes6G, which is used on jr2 pcb111.
This patch fixes this issue by applying the correct configuration.
Fixes: 5e1d417bec92ac ("net: Add MSCC Jaguar2 network driver.")
Signed-off-b
This patch series contains two patches. The first patch resets the
switch at probe time while the second one fixes an issue with the
serdes6g configuration which is used on jr2_pcb111 board
Horatiu Vultur (2):
net: jr2: Reset switch
net: jr2: Fix Serdes6G configuration
arch/mips/dts/mscc
Make sure to reset the switch core at probe time.
Signed-off-by: Horatiu Vultur
---
arch/mips/dts/mscc,jr2.dtsi | 6 --
drivers/net/mscc_eswitch/jr2_switch.c | 16 +++-
2 files changed, 19 insertions(+), 3 deletions(-)
diff --git a/arch/mips/dts/mscc,jr2.dtsi b/arch
Hi,
I just wanted to give you a gentle ping. Thanks.
The 06/01/2019 20:10, Daniel Schwierzeck wrote:
> External E-Mail
>
>
>
> Am 23.05.19 um 21:45 schrieb Horatiu Vultur:
> > When serdes configuration was written in hardware there was a delay
> > of 100ms to be
Because all MSCC SoC use the same MDIO bus, put the implementation in
one common file(mscc_miim) and make all the other MSCC network drivers to
use these functions.
Signed-off-by: Horatiu Vultur
---
drivers/net/mscc_eswitch/Makefile | 10 +--
drivers/net/mscc_eswitch/jr2_switch.c
configuring the
network driver.
Signed-off-by: Horatiu Vultur
---
drivers/net/mscc_eswitch/serval_switch.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/drivers/net/mscc_eswitch/serval_switch.c
b/drivers/net/mscc_eswitch/serval_switch.c
index 2559f5d..2c30941 100644
--- a/drivers/net
Because all MSCC SoC use the same MDIO bus, put the implementation in
one common file(mscc_miim) and make all the other MSCC network drivers to
use these functions.
Signed-off-by: Horatiu Vultur
---
drivers/net/mscc_eswitch/Makefile | 10 +--
drivers/net/mscc_eswitch/jr2_switch.c
Hi Joe,
The 05/09/2019 21:03, Joe Hershberger wrote:
> External E-Mail
>
>
> On Wed, May 1, 2019 at 6:18 AM Horatiu Vultur
> wrote:
> >
> > Update Luton network driver to have support also for pcb90. The pcb90
> > has 24 ports from which 12 ports are co
Update device tree for luton to add support for luton pcb90.
This pcb has 24 ports from which 12 ports are connected to
SerDes6G.
Signed-off-by: Horatiu Vultur
---
arch/mips/dts/luton_pcb090.dts| 228 +++---
arch/mips/dts/luton_pcb091.dts| 132
Implement method board_phy_config to configure the external phys
on the pcb90.
Signed-off-by: Horatiu Vultur
---
board/mscc/luton/luton.c | 13 +++--
1 file changed, 11 insertions(+), 2 deletions(-)
diff --git a/board/mscc/luton/luton.c b/board/mscc/luton/luton.c
index 807c717..114f7fd
Update Luton network driver to add support for all the ports
on pcb90. The existing support is only for first 12 ports, with
this patch adds support for another 12 ports.
This patch series is based on u-boot-mips/master.
Horatiu Vultur (3):
net: mscc: luton: Update network driver for pcb90
Update Luton network driver to have support also for pcb90. The pcb90
has 24 ports from which 12 ports are connected to SerDes6G.
Signed-off-by: Horatiu Vultur
---
drivers/net/mscc_eswitch/Makefile | 2 +-
drivers/net/mscc_eswitch/luton_switch.c | 415
2
virt_to_phys before
setting up the DT.
Signed-off-by: Horatiu Vultur
---
arch/mips/lib/bootm.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/arch/mips/lib/bootm.c b/arch/mips/lib/bootm.c
index 35152cb..6a462f3 100644
--- a/arch/mips/lib/bootm.c
+++ b/arch/mips/lib/bootm.c
@@ -247,6 +247,8 @@ int
Update Ocelot network driver to have support also for pcb120.
Signed-off-by: Horatiu Vultur
---
.../include/mach/ocelot/ocelot_devcpu_gcb.h| 1 +
drivers/net/mscc_eswitch/Makefile | 2 +-
drivers/net/mscc_eswitch/ocelot_switch.c | 434
Update device tree for ocelot to add support for ocelot pcb120.
Signed-off-by: Horatiu Vultur
---
MAINTAINERS| 1 +
arch/mips/dts/mscc,ocelot.dtsi | 109 +
arch/mips/dts/ocelot_pcb120.dts| 75
Update Ocelot network driver to add support for pcb120.
This patch series is based on u-boot-mips/master.
Horatiu Vultur (3):
net: mscc: ocelot: Update network driver for pcb120
board: mscc: ocelot: Update MSCC Ocelot board.
net: mscc: ocelot: Update DTS for Ocelot pcb120.
MAINTAINERS
Implement method board_phy_config to configure the phy for pcb120.
Signed-off-by: Horatiu Vultur
---
board/mscc/ocelot/ocelot.c | 15 +++
1 file changed, 15 insertions(+)
diff --git a/board/mscc/ocelot/ocelot.c b/board/mscc/ocelot/ocelot.c
index 532d06f..bcae8fa 100644
--- a/board
When detecting the board, it was reading a register in the GPIO page of
the phy and based on that value it was making a decision. The bug was that
after the GPIO page for the first phy was set it was not reseted back.
Signed-off-by: Horatiu Vultur
---
board/mscc/serval/serval.c | 2 +-
1 file
In case the ddr training was failing, it couldn't reset, it was just
hanging. Therefore reimplement it, so when ddr training is failing
it would call _machine_restart, which power downs the DDR and does
a force reset.
Signed-off-by: Horatiu Vultur
---
arch/mips/mach-mscc/include/mach/ddr.h
This patch series fix different issues with Serval.
- first patch fix resets when DDR training fails.
- second patch fix the detection of the board.
This patch series is based on u-boot-mips/next.
v2-changes:
- Update reset based on Daniel's comments
Horatiu Vultur (2):
mips: mscc: s
Add ethernet nodes for Serval SoCs family. There are 2 pcb in this
family: pcb105 and pcb106.
Signed-off-by: Horatiu Vultur
---
arch/mips/dts/mscc,serval.dtsi | 58 ++
arch/mips/dts/serval_pcb105.dts| 44 ++
arch/mips/dts
Update default config to use network driver for Serval SoCs.
Signed-off-by: Horatiu Vultur
---
configs/mscc_serval_defconfig | 6 +-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/configs/mscc_serval_defconfig b/configs/mscc_serval_defconfig
index f2c9563..444fefd 100644
--- a
Add network driver for Microsemi Ethernet switch.
It is present on Serval SoCs.
Signed-off-by: Horatiu Vultur
---
drivers/net/mscc_eswitch/Kconfig | 7 +
drivers/net/mscc_eswitch/Makefile| 1 +
drivers/net/mscc_eswitch/serval_switch.c | 703 +++
3
In Serval SoC family there are 2 different pcb, both of them have the same
phy, but with different version. Therefore implement board_phy_config
and set all the phys in the same way.
Signed-off-by: Horatiu Vultur
---
board/mscc/serval/serval.c | 12
1 file changed, 12 insertions
This patch series add network support for Serval SoCs family.
There are the following pcb: Serval-nid(pcb106), Serval-ref
(pcb105).
Horatiu Vultur (4):
net: Add MSCC Serval network driver.
board: mscc: serval: Update MSCC Serval boards
net: mscc: serval: Add ethernet nodes for Serval
In case the ddr training was failing, it couldn't reset, it was just
hanging. Therefore reimplement it, so when ddr training is failing
it would call _machine_restart, which power downs the DDR and does
a force reset.
Signed-off-by: Horatiu Vultur
---
arch/mips/mach-mscc/include/mach/ddr.h
When detecting the board, it was reading a register in the GPIO page of
the phy and based on that value it was making a decision. The bug was that
after the GPIO page for the first phy was set it was not reseted back.
Signed-off-by: Horatiu Vultur
---
board/mscc/serval/serval.c | 2 +-
1 file
This patch series fix different issues with Serval.
- first patch fix resets when DDR training fails.
- second patch fix the detection of the board.
This patch series is based on u-boot-mips/next.
Horatiu Vultur (2):
mips: mscc: serval: Fix reset
board: mscc: serval: Fix board detect
takes ~40 msecs.
Signed-off-by: Horatiu Vultur
---
include/configs/vcoreiii.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/configs/vcoreiii.h b/include/configs/vcoreiii.h
index aeef58d..8c68372 100644
--- a/include/configs/vcoreiii.h
+++ b/include/configs/vcore
This patch series adds network support for ServalT SoCs family.
There is only one pcb in this family: ServalT(pcb116).
This patch series is based on: u-boot-mips/next.
Horatiu Vultur (3):
net: Add MSCC ServalT network driver.
net: mscc: servalt: Add ethernet nodes for ServalT
configs
Add ethernet nodes for ServalT SoCs family. Currently there is only one
pcb(pcb116) in this family.
Signed-off-by: Horatiu Vultur
---
arch/mips/dts/mscc,servalt.dtsi | 40
arch/mips/dts/servalt_pcb116.dts | 25 +
2 files changed
Update default config to use network driver for ServalT SoCs.
Signed-off-by: Horatiu Vultur
---
configs/mscc_servalt_defconfig | 6 +-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/configs/mscc_servalt_defconfig b/configs/mscc_servalt_defconfig
index 027aaa4..33d43de 100644
Add network driver for Microsemi Ethernet switch.
It is present on ServalT SoCs.
Signed-off-by: Horatiu Vultur
---
.../include/mach/servalt/servalt_devcpu_gcb.h | 2 +
drivers/net/mscc_eswitch/Kconfig | 7 +
drivers/net/mscc_eswitch/Makefile | 1
In Jaguar2 SoC family there are 3 different pcb. Each of this needs
to configure the phys in different ways. Therefore implement the
function board_phy_config and based on pcb configure them accordingly.
Signed-off-by: Horatiu Vultur
---
board/mscc/jr2/jr2.c | 23 +++
1 file
Update default confing to use network driver for Jaguar2 SoCs.
Signed-off-by: Horatiu Vultur
---
configs/mscc_jr2_defconfig | 6 +-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/configs/mscc_jr2_defconfig b/configs/mscc_jr2_defconfig
index 95562b7..92c22b8 100644
--- a
Add ethernet nodes for Jaguar2 SoCs family. There are 3 pcb in this
family: pcb110, pcb111 and pcb112.
Signed-off-by: Horatiu Vultur
---
arch/mips/dts/jr2_pcb110.dts| 76 +++
arch/mips/dts/jr2_pcb111.dts| 400
arch/mips/dts/mscc,jr2.dtsi
Add network driver for Microsemi Ethernet switch.
It is present on Jaguar2 SoCs.
Reviewed-by: Daniel Schwierzeck
Signed-off-by: Horatiu Vultur
---
drivers/net/mscc_eswitch/Kconfig |7 +
drivers/net/mscc_eswitch/Makefile |1 +
drivers/net/mscc_eswitch/jr2_switch.c | 1075
v4-changes:
- address Daniel comments.
v3-changes:
- move serdes setup in network driver and read serdes
configuration from DT.
v2-changes:
- create serdes6g_setup and serdes1g_setup functions to be
easier to extand for future boards.
Horatiu Vultur (4):
net: Add MSCC Jaguar2 network
Hi Daniel,
The 04/03/2019 12:18, Daniel Schwierzeck wrote:
> External E-Mail
>
>
>
> Am 30.03.19 um 11:17 schrieb Horatiu Vultur:
> > Add network driver for Microsemi Ethernet switch.
> > It is present on Jaguar2 SoCs.
> >
> > Signed-off-by: H
Update default confing to use network driver for Jaguar2 SoCs.
Signed-off-by: Horatiu Vultur
---
configs/mscc_jr2_defconfig | 6 +-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/configs/mscc_jr2_defconfig b/configs/mscc_jr2_defconfig
index 95562b7..92c22b8 100644
--- a
Add network driver for Microsemi Ethernet switch.
It is present on Jaguar2 SoCs.
Signed-off-by: Horatiu Vultur
---
drivers/net/mscc_eswitch/Kconfig |7 +
drivers/net/mscc_eswitch/Makefile |1 +
drivers/net/mscc_eswitch/jr2_switch.c | 1075
In Jaguar2 SoC family there are 3 different pcb. Each of this needs
to configure the phys in different ways. Therefore implement the
function board_phy_config and based on pcb configure them accordingly.
Signed-off-by: Horatiu Vultur
---
board/mscc/jr2/jr2.c | 23 +++
1 file
Add ethernet nodes for Jaguar2 SoCs family. There are 3 pcb in this
family: pcb110, pcb111 and pcb112.
Signed-off-by: Horatiu Vultur
---
arch/mips/dts/jr2_pcb110.dts| 76 +++
arch/mips/dts/jr2_pcb111.dts| 400
arch/mips/dts/mscc,jr2.dtsi
v3-changes:
- move serdes setup in network driver and read serdes
configuration from DT.
v2-changes:
- create serdes6g_setup and serdes1g_setup functions to be
easier to extand for future boards.
Horatiu Vultur (4):
net: Add MSCC Jaguar2 network driver.
board: mscc: jr2: Update MSCC
The function mscc_miim_reset resets all the phys, but it is called for
each phy separetely. One consequence of this is that the boot time
is increased by 2 seconds.
The fix consists for calling the mscc_miim_reset function only once for
all phys.
Signed-off-by: Horatiu Vultur
Reviewed-by
Hi Heiko,
Sorry, for late reply. I have seen that this patch was accepted, so
I have only few things bellow.
The 03/15/2019 05:34, Heiko Schocher wrote:
> External E-Mail
>
>
> Hello Horatiu,
>
> Am 14.03.2019 um 13:53 schrieb Horatiu Vultur:
> > Hi Heiko,
> >
Hi Daniel,
The 03/15/2019 13:02, Daniel Schwierzeck wrote:
> External E-Mail
>
>
> Hi Horatio,
>
> Am 06.03.19 um 23:11 schrieb Horatiu Vultur:
> > Hi Daniel,
> >
> > The 03/06/2019 14:19, Daniel Schwierzeck wrote:
> >>
> >>
> >>
Hi Heiko,
I managed to reproduce the issue that you described.
Don't you think it is a little bit too harsh to remove the commit
completely?
I am not sure but how many cases are where UBoot doesn't store anything
in flash? And then lets the linux to update the flash.
Or is wouldn't better to up
The function mscc_miim_reset resets all the phys, but it is called for
each phy separetely. One consequence of this is that the boot time
is increased by 2 seconds.
The fix consists for calling the mscc_miim_reset function only once for
all phys.
Signed-off-by: Horatiu Vultur
---
drivers/net
Hi Daniel,
The 03/07/2019 18:33, Daniel Schwierzeck wrote:
> Am Do., 7. März 2019 um 16:49 Uhr schrieb Horatiu Vultur
> :
> >
> > Remove the function boot_reloc_ramdisk in the file arch/mips/lib/bootm
> > because it is relocating again the ramdisk. The function do_bo
commit c2e7e72bb9f0cb47d024997b381cb64786eb5402 ("bootm: relocate ramdisk
if CONFIG_SYS_BOOT_RAMDISK_HIGH set")
Signed-off-by: Horatiu Vultur
---
arch/mips/lib/bootm.c | 19 ---
1 file changed, 19 deletions(-)
diff --git a/arch/mips/lib/bootm.c b/arch/mips/lib/bootm.c
ind
Add ethernet nodes for Jaguar2 SoCs family. There are 3 pcb in this
family: pcb110, pcb111 and pcb112.
Signed-off-by: Horatiu Vultur
---
arch/mips/dts/jr2_pcb110.dts | 67
arch/mips/dts/jr2_pcb111.dts | 352 +++
arch/mips/dts/mscc,jr2.dtsi
Update default confing to use network driver for Jaguar2 SoCs.
Signed-off-by: Horatiu Vultur
---
configs/mscc_jr2_defconfig | 6 +-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/configs/mscc_jr2_defconfig b/configs/mscc_jr2_defconfig
index 9276df2..d6e4bd4 100644
--- a
In Jaguar2 SoC family there are 3 different pcb. Each of this needs
to configure the SerDes and the phys in different ways.
Therefore implement the function board_phy_config and serdes_cfg
and based on pcb configure them accordingly.
Signed-off-by: Horatiu Vultur
---
board/mscc/jr2/jr2.c | 443
Add network driver for Microsemi Ethernet switch.
It is present on Jaguar2 SoCs.
Signed-off-by: Horatiu Vultur
---
drivers/net/mscc_eswitch/Kconfig | 7 +
drivers/net/mscc_eswitch/Makefile | 1 +
drivers/net/mscc_eswitch/jr2_switch.c | 735
This patch series add network support for Jaguar2 SoCs family.
There are following pcb: Jaguar2-24(110), Jaguar2-48(pcb111)
and Serval2(pcb112).
v2-changes:
- create serdes6g_setup and serdes1g_setup functions to be
easier to extand for future boards.
Horatiu Vultur (4):
net: Add MSCC
Hi Daniel,
The 03/06/2019 14:19, Daniel Schwierzeck wrote:
>
>
> Am 05.03.19 um 12:57 schrieb Horatiu Vultur:
> > In Jaguar2 SoC family there are 3 different pcb. Each of this needs
> > to configure the SerDes and the phys in different ways.
> > Therefore implement th
Add network driver for Microsemi Ethernet switch.
It is present on Jaguar2 SoCs.
Signed-off-by: Horatiu Vultur
---
drivers/net/mscc_eswitch/Kconfig | 7 +
drivers/net/mscc_eswitch/Makefile | 1 +
drivers/net/mscc_eswitch/jr2_switch.c | 735
Update default confing to use network driver for Jaguar2 SoCs.
Signed-off-by: Horatiu Vultur
---
configs/mscc_jr2_defconfig | 6 +-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/configs/mscc_jr2_defconfig b/configs/mscc_jr2_defconfig
index 9276df2..d6e4bd4 100644
--- a
Add ethernet nodes for Jaguar2 SoCs family. There are 3 pcb in this
family: pcb110, pcb111 and pcb112.
Signed-off-by: Horatiu Vultur
---
arch/mips/dts/jr2_pcb110.dts | 67
arch/mips/dts/jr2_pcb111.dts | 352 +++
arch/mips/dts/mscc,jr2.dtsi
In Jaguar2 SoC family there are 3 different pcb. Each of this needs
to configure the SerDes and the phys in different ways.
Therefore implement the function board_phy_config and serdes_cfg
and based on pcb configure them accordingly.
Signed-off-by: Horatiu Vultur
---
board/mscc/jr2/jr2.c | 542
This patch series add network support for Jaguar2 SoCs family.
There are following pcb: Jaguar2-24(110), Jaguar2-48(pcb111)
and Serval2(pcb112).
Horatiu Vultur (4):
net: Add MSCC Jaguar2 network driver.
board: mscc: jr2: Update MSCC Jaguar2 boards
net: mscc: jaguar2: Add ethenet nodes for
Update default config to use network driver for Luton SoCs.
Signed-off-by: Horatiu Vultur
---
configs/mscc_luton_defconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/configs/mscc_luton_defconfig b/configs/mscc_luton_defconfig
index 7154e97..0fdd9b8 100644
--- a/configs
Add network driver for Microsemi Ethernet switch, it is
present on Luton SoCs.
Signed-off-by: Horatiu Vultur
---
drivers/net/mscc_eswitch/Kconfig| 7 +
drivers/net/mscc_eswitch/Makefile | 1 +
drivers/net/mscc_eswitch/luton_switch.c | 736
3
Add nodes for pcb090 and pcb091. There is currently no support
in Linux for this SoC.
Signed-off-by: Horatiu Vultur
---
arch/mips/dts/luton_pcb090.dts | 51 +
arch/mips/dts/luton_pcb091.dts | 51 +
arch/mips/dts/mscc,luton.dtsi | 165
Move the function mac_table_add into a different file,
so it can be reused.
Signed-off-by: Horatiu Vultur
---
drivers/net/mscc_eswitch/Makefile | 2 +-
drivers/net/mscc_eswitch/mscc_mac_table.c | 74 +
drivers/net/mscc_eswitch/mscc_mac_table.h | 19
Remove unused variables in the struct ocelot_private and make
miim variable static.
Signed-off-by: Horatiu Vultur
---
drivers/net/mscc_eswitch/ocelot_switch.c | 14 +-
1 file changed, 1 insertion(+), 13 deletions(-)
diff --git a/drivers/net/mscc_eswitch/ocelot_switch.c
b/drivers
This functions can be reused by other MSCC SoCs therefore,
make them more generic and move them in separate files.
Signed-off-by: Horatiu Vultur
---
drivers/net/mscc_eswitch/Makefile| 2 +-
drivers/net/mscc_eswitch/mscc_xfer.c | 139 +++
drivers/net
Move file ocelot_switch to mscc_eswitch to prepare to add
new net drivers for other MSCC SoCs.
Signed-off-by: Horatiu Vultur
---
MAINTAINERS| 2 +-
drivers/net/Kconfig| 7 +--
drivers/net/Makefile
Move miim functions that can be shared in a different file inside
mscc_eswitch.
Signed-off-by: Horatiu Vultur
---
drivers/net/mscc_eswitch/Makefile| 2 +-
drivers/net/mscc_eswitch/mscc_miim.c | 74
drivers/net/mscc_eswitch/mscc_miim.h | 12
This series adds network support for Luton SoCs. Currently
there is not support for Luton SoCs in Linux.
v3-changes:
- reorder the changes of the commits and add Kconfig
in mscc_eswitch folder
v2-changes:
- reuse functions from ocelot for luton network driver
Horatiu Vultur (8):
net
Move miim functions that can be shared in a different file inside
mscc_eswitch.
Signed-off-by: Horatiu Vultur
---
drivers/net/mscc_eswitch/Makefile| 2 +-
drivers/net/mscc_eswitch/mscc_miim.c | 74
drivers/net/mscc_eswitch/mscc_miim.h | 12
Add network driver for Microsemi Ethernet switch, it is
present on Luton SoCs.
Signed-off-by: Horatiu Vultur
---
drivers/net/Kconfig | 7 +
drivers/net/Makefile| 2 +-
drivers/net/mscc_eswitch/Makefile | 1 +
drivers/net/mscc_eswitch
Update default config to use network driver for Luton SoCs.
Signed-off-by: Horatiu Vultur
---
configs/mscc_luton_defconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/configs/mscc_luton_defconfig b/configs/mscc_luton_defconfig
index 7154e97..0fdd9b8 100644
--- a/configs
Add nodes for pcb090 and pcb091. There is currently no support
in Linux for this SoC.
Signed-off-by: Horatiu Vultur
---
arch/mips/dts/luton_pcb090.dts | 51 +
arch/mips/dts/luton_pcb091.dts | 51 +
arch/mips/dts/mscc,luton.dtsi | 165
Remove unused variables in the struct ocelot_private.
Signed-off-by: Horatiu Vultur
---
drivers/net/mscc_eswitch/ocelot_switch.c | 12
1 file changed, 12 deletions(-)
diff --git a/drivers/net/mscc_eswitch/ocelot_switch.c
b/drivers/net/mscc_eswitch/ocelot_switch.c
index 40152e6
Move the function mac_table_add into a different file,
so it can be reused.
Signed-off-by: Horatiu Vultur
---
drivers/net/mscc_eswitch/Makefile | 2 +-
drivers/net/mscc_eswitch/mscc_mac_table.c | 74 +
drivers/net/mscc_eswitch/mscc_mac_table.h | 19
This functions can be reused by other MSCC SoCs therefore,
make them more generic and move them in separate files.
Signed-off-by: Horatiu Vultur
---
drivers/net/mscc_eswitch/Makefile| 2 +-
drivers/net/mscc_eswitch/mscc_xfer.c | 139 +++
drivers/net
This series adds network support for Luton SoCs. Currently
there is not support for Luton SoCs in Linux.
v2-changes:
- reuse functions from ocelot for luton network driver
Horatiu Vultur (8):
net: mscc: Move ocelot_switch to mscc_switch folder.
net: mscc: Move miim commands into separate
Move file ocelot_switch to mscc_switch to prepare to add
new net drivers for other MSCC SoCs.
Signed-off-by: Horatiu Vultur
---
MAINTAINERS| 2 +-
drivers/net/Makefile | 2 +-
drivers/net/mscc_eswitch/Makefile | 2
When power cycle the Jaguar2 boards, it couldn't read the
phys, therefore it always deduce that the board type is
pcb111.
Add a small delay after setting the gpio pins, fix the
issue.
Signed-off-by: Horatiu Vultur
---
board/mscc/jr2/jr2.c | 3 +++
1 file changed, 3 insertions(+)
diff --
Enable debug uart for Jaguar2 SoC family.
Signed-off-by: Horatiu Vultur
---
board/mscc/jr2/jr2.c | 7 +++
configs/mscc_jr2_defconfig | 6 ++
2 files changed, 13 insertions(+)
diff --git a/board/mscc/jr2/jr2.c b/board/mscc/jr2/jr2.c
index eac4dca..226181f 100644
--- a/board/mscc
Update default config to use network driver for Luton SoC.
Signed-off-by: Horatiu Vultur
---
configs/mscc_luton_defconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/configs/mscc_luton_defconfig b/configs/mscc_luton_defconfig
index 7154e97..0fdd9b8 100644
--- a/configs
Add network driver for Microsemi Ethernet switch is present
on Luton SoCs.
Signed-off-by: Horatiu Vultur
---
MAINTAINERS| 1 +
drivers/net/Kconfig| 7 +
drivers/net/Makefile | 1 +
drivers/net/luton_switch.c | 972
Add nodes for pcb090 and pcb091. There is currently no support
in Linux for this SoC.
Signed-off-by: Horatiu Vultur
---
arch/mips/dts/luton_pcb090.dts | 51 +
arch/mips/dts/luton_pcb091.dts | 51 +
arch/mips/dts/mscc,luton.dtsi | 165
This series adds network support for Luton SoCs. Currently
there is not support for Luton SoCs in Linux.
Horatiu Vultur (3):
MIPS: mscc: luton: Add ethernet nodes for Luton.
net: add MSCC Luton switch support
configs: mscc_luton: add network support.
MAINTAINERS| 1
Hi Daniel,
The 01/23/2019 17:38, Daniel Schwierzeck wrote:
>
>
> Am 23.01.19 um 16:39 schrieb Horatiu Vultur:
> > This patch series adds support for MSCC Serval SoC family. In this
> > family there are the following boards: pcb105 and pcb106.
> >
> > Thi
Add board support and configuration for Jaguar2 SoC family.
The detection of the board type is based on the phy ids.
Signed-off-by: Horatiu Vultur
---
arch/mips/dts/Makefile| 1 +
arch/mips/mach-mscc/Makefile | 1 +
board/mscc/serval/Kconfig | 14
board/mscc/serval
Add device tree based on evaluation board pcb106.
Signed-off-by: Horatiu Vultur
---
arch/mips/dts/serval_pcb106.dts | 56 +
1 file changed, 56 insertions(+)
create mode 100644 arch/mips/dts/serval_pcb106.dts
diff --git a/arch/mips/dts/serval_pcb106.dts
Add device tree based on evaluation board pcb105.
Signed-off-by: Horatiu Vultur
---
arch/mips/dts/mscc,serval.dtsi | 149
arch/mips/dts/serval_pcb105.dts | 56 +++
2 files changed, 205 insertions(+)
create mode 100644 arch/mips/dts/mscc
As Ocelot, Servalt, Luton and Jaguar2, this family of SoCs are
found in Microsemi Switches solution.
Signed-off-by: Horatiu Vultur
---
arch/mips/mach-mscc/Kconfig| 9 +
arch/mips/mach-mscc/cpu.c | 2 +-
arch/mips/mach-mscc/dram.c
The Serval SoC family has 32 pins. Currently there is no
support for Serval in Linux kernel.
Signed-off-by: Horatiu Vultur
---
drivers/pinctrl/mscc/Kconfig | 10 ++
drivers/pinctrl/mscc/Makefile | 1 +
drivers/pinctrl/mscc/pinctrl-serval.c | 233
This patch series adds support for MSCC Serval SoC family. In this
family there are the following boards: pcb105 and pcb106.
This is based off the patch series[1].
[1] https://lists.denx.de/pipermail/u-boot/2019-January/355031.html
Horatiu Vultur (5):
pinctrl: mscc: Add gpio and pinctrl for
Hi Vignesh,
I have done few small tests on Ocelot and Luton boards which have
SPI NOR: mx25l25635f and m25p128. I have not seen any issues. So
if you want, you can add:
Tested-by: Horatiu Vultur
The 12/21/2018 12:08, Vignesh R wrote:
> U-Boot SPI NOR support (sf layer) is quite outdated as
Hi Heiko,
The 01/18/2019 09:34, Heiko Schocher wrote:
> Hello Horatiu,
>
> just tried current mainline U-Boot on imx6ull based board with
> Env in SPI NOR. Your commit "9a9d66f5eff0"
>
> env: add spi_flash_read_env function
>
> breaks reading Env from SPI NOR in my case...
>
> If I interprete
Add board support, configuration and DTS for Servalt SoC
family. Currently there is one board in this family.
Reviewed-by: Daniel Schwierzeck
Signed-off-by: Horatiu Vultur
---
arch/mips/dts/Makefile | 1 +
arch/mips/dts/mscc,servalt.dtsi | 149
As Ocelot, Luton and Jaguar2, this family of SoCs are found
in Microsemi Switches solution.
Reviewed-by: Daniel Schwierzeck
Signed-off-by: Horatiu Vultur
---
arch/mips/mach-mscc/Kconfig| 8 +
arch/mips/mach-mscc/cpu.c | 2 +-
arch/mips/mach
1 - 100 of 183 matches
Mail list logo