openwrt/target/linux
Luiz Angelo Daros de Luca 23ac1ad951 realtek: d-link: add support for dgs-1210-28p-f
General hardware info:
----------------------

D-Link DGS-1210-28P rev. F1 is a switch with 24 ethernet ports and 4
combo ports, all ports Gbit capable. It is based on a RTL8382 SoC
@500MHz, DRAM 128MB and 32MB flash. 24 ethernet ports are 802.3af/at PoE
capable with a total PoE power budget of 193W.

Power over Ethernet:
--------------------

The PSE hardware consists of three BCM59121 PSE chips, serving 8 ports
each. They are controlled by a Nuvoton MCU.  In order to enable PoE, the
realtek-poe package is required. It is installed by default, but
currently it requires the manual editing of /etc/config/poe. Keep in
mind that the port number assignment does not match on this switch,
alway 8 ports are in reversed order: 8-1, 16-9 and 24-17.

LEDs and Buttons:
-----------------

On stock firmware, the mode button is supposed to switch the LED
indicators of all port LEDs between Link Activity and PoE status. The
currently selected mode is visualized using the respective LEDs. PoE Max
indicates that the maximum PoE budget has been reached.  Since there is
currently no support for this behavior, these LEDs and the mode button
can be used independently.

Serial connection:
------------------
The UART for the SoC (115200 8N1) is available via unpopulated standard
0.1" pin header marked J6. Pin1 is marked with arrow and square.

Pin 1: Vcc 3.3V
Pin 2: Tx
Pin 3: Rx
Pin 4: Gnd

OEM installation from Web Interface:
------------------------------------

    1. Make sure you are booting using OEM in image 2 slot. If not,
       switch to
        image2 using the menus
        System > Firmware Information > Boot from image2
        Tools > reboot
    2. Upload image in vendor firmware via Tools > Backup / Upgrade
        Firmware > image1
    3. Toggle startup image via System > Firmware Information > Boot
       from
        image1
    4. Tools > reboot

Other installation methods not tested, but since the device shares the
board with the DGS-1210-28, the following should work:

Boot initramfs image from U-Boot:
---------------------------------

    1. Press Escape key during `Hit Esc key to stop autoboot` prompt
    2. Press CTRL+C keys to get into real U-Boot prompt
    3. Init network with `rtk network on` command
    4. Load image with `tftpboot 0x8f000000
        openwrt-rtl838x-generic-d-link_dgs-1210-28p-f-initramfs-kernel.bin`
        command
    5. Boot the image with `bootm` command

Signed-off-by: Luiz Angelo Daros de Luca <luizluca@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/15938
Signed-off-by: Sander Vanheule <sander@svanheule.net>
2024-09-24 20:59:50 +02:00
..
airoha airoha: drop kernel 6.1 support 2024-06-05 09:34:06 +02:00
apm821xx apm821xx: meraki: fix mac addresses in dts 2024-09-15 13:16:44 +02:00
archs38 kernel: activate *_FS_SECURITY and *_FS_ACL_ATTR options for all big flash targets 2024-09-06 22:46:59 +02:00
armsr packages: remove remnants of kernels below 6.6 2024-09-21 13:03:49 +02:00
at91 at91: drop 6.1 support 2024-09-20 18:42:56 +01:00
ath79 ath79: disable ath79 USB phy drivers by default 2024-09-22 23:58:47 +02:00
bcm27xx kernel: bump 6.6 to 6.6.52 2024-09-19 22:57:53 +02:00
bcm47xx generic: 6.6: add backported bmips CBR patches 2024-08-06 14:06:09 +02:00
bcm53xx bcm53xx: drop 6.1 support 2024-09-09 14:29:58 +02:00
bcm4908 bcm4908: drop 6.1 support 2024-08-30 11:39:44 +02:00
bmips bmips: add support for TP-Link TD-W8968 V3 2024-08-24 20:35:30 +02:00
d1 d1: drop 6.1 support 2024-05-29 17:56:28 +02:00
gemini kernel: activate *_FS_SECURITY and *_FS_ACL_ATTR options for all big flash targets 2024-09-06 22:46:59 +02:00
generic generic: phy: aquantia: fix MDI pair property parsing 2024-09-23 18:38:44 +02:00
imx kernel: activate *_FS_SECURITY and *_FS_ACL_ATTR options for all big flash targets 2024-09-06 22:46:59 +02:00
ipq40xx ipq40xx: add PoE passthrough GPIO 2024-09-20 19:51:57 +02:00
ipq806x treewide: rename ZyXEL to Zyxel 2024-08-25 15:08:25 +02:00
ixp4xx ixp4xx: Add back support for D-Link DSM G600 A 2024-05-25 09:17:19 +02:00
kirkwood kirkwood: remove left-over files-6.1 folder 2024-09-20 18:57:33 +01:00
lantiq treewide: rename ZyXEL to Zyxel 2024-08-25 15:08:25 +02:00
layerscape layerscape: remove left-over config-6.1 files 2024-09-20 18:57:33 +01:00
loongarch64 kernel: activate *_FS_SECURITY and *_FS_ACL_ATTR options for all big flash targets 2024-09-06 22:46:59 +02:00
malta kernel: activate *_FS_SECURITY and *_FS_ACL_ATTR options for all big flash targets 2024-09-06 22:46:59 +02:00
mediatek uboot-mediatek: support GL.iNet GL-X3000 and GL-XE3000 2024-09-22 23:50:40 +02:00
mpc85xx mpc85xx: add static to init functions 2024-09-07 22:24:07 +02:00
mvebu mvebu: improve sysupgrade for FortiGate/FortiWiFi devices 2024-09-22 15:29:16 +02:00
mxs mxs: drop 6.1 support 2024-04-25 14:33:22 +02:00
octeon octeon: set Linux 6.6 as the default kernel 2024-09-09 18:24:34 +02:00
omap omap: remove 6.1 support 2024-09-16 00:19:49 +02:00
pistachio pistachio: drop files for Linux 6.1 2024-09-20 18:57:33 +01:00
qoriq qoriq: drop 6.1 support 2024-09-20 18:51:06 +01:00
qualcommax ipq807x: sax1v1k: fix sysupgrade not touching rootfs_data 2024-09-24 00:07:55 +02:00
ramips ramips: Add support for D-Link DIR-2150-R1 2024-09-22 19:38:21 +02:00
realtek realtek: d-link: add support for dgs-1210-28p-f 2024-09-24 20:59:50 +02:00
rockchip rockchip: add ArmSoM Sige7 support 2024-09-23 20:04:50 +02:00
sifiveu kernel: bump 6.6 to 6.6.51 2024-09-15 16:32:48 +02:00
siflower siflower: new target for Siflower SF19A2890 2024-09-17 22:16:41 +08:00
starfive kernel: bump 6.6 to 6.6.52 2024-09-19 22:57:53 +02:00
sunxi kernel: activate *_FS_SECURITY and *_FS_ACL_ATTR options for all big flash targets 2024-09-06 22:46:59 +02:00
tegra tegra: promote kernel 6.6 as default 2024-07-13 14:29:16 +02:00
uml uml: fix glibc-static check with GCC14 2024-06-22 22:06:06 +02:00
x86 armsr: use console=tty1 to make console more readily available 2024-08-25 13:15:33 +02:00
zynq zynq: drop 6.1 support 2024-08-03 11:36:59 +02:00
Makefile linux: add dtb makefile target to targets list 2024-02-08 23:04:55 +01:00