realtek/rtl839x: Edgecore ECS4100-12PH support
authorStijn Tintel <stijn@linux-ipv6.be>
Tue, 28 Jun 2022 14:44:51 +0000 (17:44 +0300)
committerStijn Tintel <stijn@linux-ipv6.be>
Tue, 7 May 2024 14:55:43 +0000 (17:55 +0300)
commit258ae9bb4a66be9d82d9aa47905fe0951d2f2b08
tree17eb5becb4eb78fd7be67c06021ce15961ba56d4
parent4ea41c200c563267311a8c5b48f85c400d5feccc
realtek/rtl839x: Edgecore ECS4100-12PH support

Add support for the Edgecore ECS4100-12PH, an 8-port PoE Gigabit
Ethernet switch with 2 combo RJ45/SFP and 2 SFP ports.

Hardware:
* SoC: RTL8392M
* RAM: 256MiB
* Flash: 32MiB SPI-NOR
* Ethernet:
  * 8x GbE RJ45 PoE (external RTL8218B)
  * 2x GbE RJ45 / SFP combo
  * 2x SFP
* Console: RJ45 RS232 port on front panel
* PoE: Nuvoton M0516 + 2x Broadcom BCM59121 PSE

Installation via bootloader:
* open serial console (baud rate 115200)
* interrupt boot process by pressing any key during boot
* boot the OpenWrt initramfs:
  # rtk network on
  # tftpboot 0x8f000000 /tftpboot/openwrt-realtek-rtl839x-edgecore_ecs4100-12ph-initramfs-kernel.bin
  # bootm
* copy openwrt-realtek-rtl839x-edgecore_ecs4100-12ph-squashfs-sysupgrade.bin
  to /tmp and use sysupgrade to install it:
  # sysupgrade /tmp/openwrt-realtek-rtl839x-edgecore_ecs4100-12ph-squashfs-sysupgrade.bin

Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
package/boot/uboot-envtools/files/realtek
target/linux/realtek/base-files/etc/board.d/02_network
target/linux/realtek/dts-5.15/rtl8392_edgecore_ecs4100-12ph.dts [new file with mode: 0644]
target/linux/realtek/image/rtl839x.mk