ARM: prepare and add netgear gs110emx support
Subsystems (6)
v3 cover ARM: prepare and add netgear gs110emx support
Cleanup mvebu_v7_defconfig and then add support for the Netgear GS110EMX which is an 8 port Gigabit switch with two additional Multi-Gig ports. An 88E6390X switch sits at its core connecting to two 88X3310P 10G PHYs while the control plane is handled by an 88F6811 Armada 381 SoC.
Changes in v3:
- Got rid of unused 3.3 volt regulator as suggested by Andrew.
- Got rid of partitioning comment.
- Added switch interrupt GPIO configuration.
Changes in v2:
- Add Andrew's reviewed-by tag.
- Add Andrew's reviewed-by tag.
- Send previous first patch separately to netdev mailing list as suggested by Andrew.
- Fix numbering of the PHY labels as suggested by Andrew.
Marcel Ziswiler (3):
ARM: mvebu_v7_defconfig: enable mtd physmap
ARM: mvebu_v7_defconfig: rebuild default configuration
ARM: dts: mvebu: add device tree for netgear gs110emx switch
arch/arm/boot/dts/Makefile | 1 + .../boot/dts/armada-381-netgear-gs110emx.dts | 295 ++++++++++++++++++ arch/arm/configs/mvebu_v7_defconfig | 18 +- 3 files changed, 304 insertions(+), 10 deletions(-) create mode 100644 arch/arm/boot/dts/armada-381-netgear-gs110emx.dts
Signature · 1 line
2.26.2
PATCH v3 1/3 ARM: mvebu_v7_defconfig: enable mtd physmap
Enable CONFIG_MTD_PHYSMAP which is nowadays required for CONFIG_MTD_PHYSMAP_OF.
---
(no changes since v2)
Changes in v2:
- Add Andrew's reviewed-by tag.
arch/arm/configs/mvebu_v7_defconfig | 1 + 1 file changed, 1 insertion(+)
arch/arm/configs/mvebu_v7_defconfig +1 -0
@@ -49,6 +49,7 @@ CONFIG_MTD_CFI=y CONFIG_MTD_CFI_INTELEXT=y CONFIG_MTD_CFI_AMDSTD=y CONFIG_MTD_CFI_STAA=y +CONFIG_MTD_PHYSMAP=y CONFIG_MTD_PHYSMAP_OF=y CONFIG_MTD_M25P80=y CONFIG_MTD_RAW_NAND=y
Signature · 1 line
2.26.2
PATCH v3 2/3 ARM: mvebu_v7_defconfig: rebuild default configuration
In reply to Marcel ZiswilerRun "make mvebu_v7_defconfig; make savedefconfig" to rebuild mvebu_v7_defconfig
This re-ordered the following configuration options:
CONFIG_MODULES=yCONFIG_MODULE_UNLOAD=yCONFIG_PCI=yCONFIG_PCI_MVEBU=yCONFIG_CRYPTO_DEV_MARVELL_CESA=y
And dropped the following nowadays obsolete configuration options:
CONFIG_ZBOOT_ROM_TEXT=0x0 (default now anyway since commit 39c3e304567a
("ARM: 8984/1: Kconfig: set default ZBOOT_ROM_TEXT/BSS value to 0x0"))CONFIG_ZBOOT_ROM_BSS=0x0 (ditto)CONFIG_MTD_M25P80=y (got integrated into MTD_SPI_NOR)
---
(no changes since v2)
Changes in v2:
- Add Andrew's reviewed-by tag.
arch/arm/configs/mvebu_v7_defconfig | 17 +++++++---------- 1 file changed, 7 insertions(+), 10 deletions(-)
arch/arm/configs/mvebu_v7_defconfig +7 -10
@@ -5,8 +5,6 @@ CONFIG_BLK_DEV_INITRD=y CONFIG_EXPERT=y CONFIG_PERF_EVENTS=y CONFIG_SLAB=y -CONFIG_MODULES=y -CONFIG_MODULE_UNLOAD=y CONFIG_ARCH_MVEBU=y CONFIG_MACH_ARMADA_370=y CONFIG_MACH_ARMADA_375=y
@@ -14,13 +12,8 @@ CONFIG_MACH_ARMADA_38X=y CONFIG_MACH_ARMADA_39X=y CONFIG_MACH_ARMADA_XP=y CONFIG_MACH_DOVE=y -CONFIG_PCI=y -CONFIG_PCI_MVEBU=y CONFIG_SMP=y CONFIG_HIGHMEM=y -# CONFIG_COMPACTION is not set -CONFIG_ZBOOT_ROM_TEXT=0x0 -CONFIG_ZBOOT_ROM_BSS=0x0 CONFIG_ARM_APPENDED_DTB=y CONFIG_ARM_ATAG_DTB_COMPAT=y CONFIG_CPU_FREQ=y
@@ -29,6 +22,9 @@ CONFIG_CPU_IDLE=y CONFIG_ARM_MVEBU_V7_CPUIDLE=y CONFIG_VFP=y CONFIG_NEON=y +CONFIG_MODULES=y +CONFIG_MODULE_UNLOAD=y +# CONFIG_COMPACTION is not set CONFIG_NET=y CONFIG_PACKET=y CONFIG_UNIX=y
@@ -40,6 +36,8 @@ CONFIG_BT=y CONFIG_BT_MRVL=y CONFIG_BT_MRVL_SDIO=y CONFIG_CFG80211=y +CONFIG_PCI=y +CONFIG_PCI_MVEBU=y CONFIG_DEVTMPFS=y CONFIG_DEVTMPFS_MOUNT=y CONFIG_MTD=y
@@ -51,7 +49,6 @@ CONFIG_MTD_CFI_AMDSTD=y CONFIG_MTD_CFI_STAA=y CONFIG_MTD_PHYSMAP=y CONFIG_MTD_PHYSMAP_OF=y -CONFIG_MTD_M25P80=y CONFIG_MTD_RAW_NAND=y CONFIG_MTD_NAND_MARVELL=y CONFIG_MTD_SPI_NOR=y
@@ -147,10 +144,10 @@ CONFIG_NLS_CODEPAGE_850=y CONFIG_NLS_ISO8859_1=y CONFIG_NLS_ISO8859_2=y CONFIG_NLS_UTF8=y +CONFIG_CRYPTO_DEV_MARVELL_CESA=y CONFIG_PRINTK_TIME=y +# CONFIG_DEBUG_BUGVERBOSE is not set CONFIG_DEBUG_INFO=y CONFIG_MAGIC_SYSRQ=y # CONFIG_SCHED_DEBUG is not set -# CONFIG_DEBUG_BUGVERBOSE is not set CONFIG_DEBUG_USER=y -CONFIG_CRYPTO_DEV_MARVELL_CESA=y
Signature · 1 line
2.26.2
PATCH v3 3/3 ARM: dts: mvebu: add device tree for netgear gs110emx switch
In reply to Marcel ZiswilerAdd the device tree for a Netgear GS110EMX switch featuring 8 Gigabit ports and 2 Multi-Gig ports (100M/1G/2.5G/5G/10G). An 88E6390X switch sits at its core connecting to two 88X3310P 10G PHYs. The control plane is handled by an 88F6811 Armada 381 SoC.
The following functionality is tested:
- 8 gigabit Ethernet ports connecting via 88E6390X to the 88F6811
- serial console UART
- 128 MB commercial grade DDR3L SDRAM
- 16 MB serial SPI NOR flash
The two 88X3310P 10G PHYs while detected during boot seem neither to detect any link nor pass any traffic.
---
Changes in v3:
- Got rid of unused 3.3 volt regulator as suggested by Andrew.
- Got rid of partitioning comment.
- Added switch interrupt GPIO configuration.
Changes in v2:
- Send previous first patch separately to netdev mailing list as suggested by Andrew.
- Fix numbering of the PHY labels as suggested by Andrew.
arch/arm/boot/dts/Makefile | 1 + .../boot/dts/armada-381-netgear-gs110emx.dts | 295 ++++++++++++++++++ 2 files changed, 296 insertions(+) create mode 100644 arch/arm/boot/dts/armada-381-netgear-gs110emx.dts
arch/arm/boot/dts/Makefile +1 -0
@@ -1395,6 +1395,7 @@ dtb-$(CONFIG_MACH_ARMADA_370) += \ dtb-$(CONFIG_MACH_ARMADA_375) += \ armada-375-db.dtb dtb-$(CONFIG_MACH_ARMADA_38X) += \ + armada-381-netgear-gs110emx.dtb \ armada-382-rd-ac3x-48g4x2xl.dtb \ armada-385-atl-x530.dtb\ armada-385-clearfog-gtr-s4.dtb \
arch/arm/boot/dts/armada-381-netgear-gs110emx.dts new file +295 -0
295 lines not on this page · raw message
Signature · 1 line
2.26.2
Re: [PATCH v3 3/3] ARM: dts: mvebu: add device tree for netgear gs110emx switch
Quoted 11 lines · Marcel Ziswiler
Add the device tree for a Netgear GS110EMX switch featuring 8 Gigabit ports and 2 Multi-Gig ports (100M/1G/2.5G/5G/10G). An 88E6390X switch sits at its core connecting to two 88X3310P 10G PHYs. The control plane is handled by an 88F6811 Armada 381 SoC.
The following functionality is tested:
- 8 gigabit Ethernet ports connecting via 88E6390X to the 88F6811
- serial console UART
- 128 MB commercial grade DDR3L SDRAM
- 16 MB serial SPI NOR flash
Quoted 4 lines
The two 88X3310P 10G PHYs while detected during boot seem neither to detect any link nor pass any traffic.
Signed-off-by Marcel Ziswiler <[email protected]>
Andrew
Gregory CLEMENT
maintainerHello Marcel Ziswiler,
Quoted 18 lines
Cleanup
mvebu_v7_defconfigand then add support for the Netgear GS110EMX which is an 8 port Gigabit switch with two additional Multi-Gig ports. An 88E6390X switch sits at its core connecting to two 88X3310P 10G PHYs while the control plane is handled by an 88F6811 Armada 381 SoC.Changes in v3:
- Got rid of unused 3.3 volt regulator as suggested by Andrew.
- Got rid of partitioning comment.
- Added switch interrupt GPIO configuration.Changes in v2:
- Add Andrew's reviewed-by tag.
- Add Andrew's reviewed-by tag.
- Send previous first patch separately to netdev mailing list as suggested by Andrew.
- Fix numbering of the PHY labels as suggested by Andrew.
Quoted 3 lines
Marcel Ziswiler (3):
ARM:mvebu_v7_defconfig: enable mtd physmap
ARM:mvebu_v7_defconfig: rebuild default configuration
Both applied on mvebu/defconfig
Quoted 1 line
ARM: dts: mvebu: add device tree for netgear gs110emx switch
Applied on mvebu/dt
Thanks,
Gregory
Quoted 15 lines
arch/arm/boot/dts/Makefile | 1 + .../boot/dts/armada-381-netgear-gs110emx.dts | 295 ++++++++++++++++++ arch/arm/configs/mvebu_v7_defconfig | 18 +- 3 files changed, 304 insertions(+), 10 deletions(-) create mode 100644 arch/arm/boot/dts/armada-381-netgear-gs110emx.dtsSignature · 7 lines
2.26.2 _______________________________________________ linux-arm-kernel mailing list [email protected] http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Signature · 3 lines
Gregory Clement, Bootlin Embedded Linux and Kernel engineering http://bootlin.com