openwrt/target/linux/realtek/dts
Markus Stockhausen d03f3dcf3b realtek: add support for Linksys LGS310C
Hardware specification
----------------------

* RTL8380M SoC, 1 MIPS 4KEc core @ 500MHz
* 256MB DRAM
* 32MB NOR Flash
* 8 x 10/100/1000BASE-T ports
* 2 x SFP ports
* Power LED, Fault LED
* Reset button on front panel
* UART (115200 8N1) via populated standard pin header marked JP1

TODO: The SFP ports use a shared SCL GPIO that the driver cannot handle.
The left SFP port (lan9) is defined and fully functional while the laser
on the right SFP port (lan10) is off by default.

UART pinout
-----------

[o]ooo|JP1
 | ||`------ GND
 | |`------- RX
 | `-------- TX
 `---------- Vcc (3V3)

Installation using OEM webinterface
-----------------------------------

1. Make sure you are running OEM firmware in secondary slot
2. Install squashfs-factory.imag to primary slot by upload via http

Installation using serial interface
-----------------------------------

1. Press "a" "c" "p" during message "Enter correct key to stop autoboot"
2. Load image with "upgrade runtime <TFTP IP>:squashfs-sysupgrade.bin" command
3. Switch to primary slot with "setsys bootpartition 0"
4. Store config with "savesys"
5. Boot the image with `boota` command

Dual-boot with stock firmware using writable u-boot-env
-------------------------------------------------------

From stock to OpenWrt / primary image 1 (CLI as admin):
   - > boot system image1
   - > reboot

From OpenWrt to stock / boot image 2: (shell as root)
   - # fw_setsys bootpartition 1
   - # reboot

Debrick using serial interface
------------------------------

1. Press "a" "c" "p" during message "Enter correct key to stop autoboot"
2. Load vendor image with "upgrade runtime <TFTP IP>:LGS310xxxxx.imag"
3. switch to primary partition "setsys bootpartition 0"
4. safe config "savesys"

Further documentation
---------------------
See https://openwrt.org/toh/linksys/lgs352c

It has been developed and tested on device with v1 revision.

Signed-off-by: Markus Stockhausen <markus.stockhausen@gmx.de>
Link: https://github.com/openwrt/openwrt/pull/16068
[Add missing 'w' in name of firmware partition]
Signed-off-by: Sander Vanheule <sander@svanheule.net>
2024-10-02 20:15:21 +02:00
..
rtl83xx_d-link_dgs-1210_common.dtsi realtek: normalize dts directory 2024-09-14 16:56:37 +02:00
rtl83xx_d-link_dgs-1210_gpio_sfp.dtsi realtek: add full SFP support to D-Link DGS-1210-28 series 2024-09-15 16:40:40 +02:00
rtl83xx_d-link_dgs-1210_gpio.dtsi realtek: normalize dts directory 2024-09-14 16:56:37 +02:00
rtl83xx_hpe_1920.dtsi realtek: add support for HPE 1920-48G (JG927A) and 1920-48G-PoE (JG928A) 2024-09-17 21:44:34 +02:00
rtl83xx_panasonic_mxxeg-pn28xx0k.dtsi realtek: normalize dts directory 2024-09-14 16:56:37 +02:00
rtl838x.dtsi realtek: normalize dts directory 2024-09-14 16:56:37 +02:00
rtl839x.dtsi realtek: normalize dts directory 2024-09-14 16:56:37 +02:00
rtl930x.dtsi realtek: normalize dts directory 2024-09-14 16:56:37 +02:00
rtl931x.dtsi realtek: normalize dts directory 2024-09-14 16:56:37 +02:00
rtl8380_d-link_dgs-1210-10mp-f.dts realtek: normalize dts directory 2024-09-14 16:56:37 +02:00
rtl8380_engenius_ews2910p.dts realtek: normalize dts directory 2024-09-14 16:56:37 +02:00
rtl8380_hpe_1920-8g-poe-65w.dts realtek: normalize dts directory 2024-09-14 16:56:37 +02:00
rtl8380_hpe_1920-8g-poe-180w.dts realtek: normalize dts directory 2024-09-14 16:56:37 +02:00
rtl8380_hpe_1920-8g.dts realtek: normalize dts directory 2024-09-14 16:56:37 +02:00
rtl8380_hpe_1920-8g.dtsi realtek: add support for HPE 1920-48G (JG927A) and 1920-48G-PoE (JG928A) 2024-09-17 21:44:34 +02:00
rtl8380_linksys_lgs310c.dts realtek: add support for Linksys LGS310C 2024-10-02 20:15:21 +02:00
rtl8380_netgear_gigabit.dtsi realtek: normalize dts directory 2024-09-14 16:56:37 +02:00
rtl8380_netgear_gs108t-v3.dts realtek: normalize dts directory 2024-09-14 16:56:37 +02:00
rtl8380_netgear_gs110tpp-v1.dts realtek: normalize dts directory 2024-09-14 16:56:37 +02:00
rtl8380_netgear_gs110tup-v1.dts realtek: normalize dts directory 2024-09-14 16:56:37 +02:00
rtl8380_netgear_gs308t-v1.dts realtek: normalize dts directory 2024-09-14 16:56:37 +02:00
rtl8380_netgear_gs310tp-v1.dts realtek: normalize dts directory 2024-09-14 16:56:37 +02:00
rtl8380_panasonic_m8eg-pn28080k.dts realtek: normalize dts directory 2024-09-14 16:56:37 +02:00
rtl8380_tplink_sg2xxx.dtsi realtek: normalize dts directory 2024-09-14 16:56:37 +02:00
rtl8380_tplink_sg2008p-v1.dts realtek: normalize dts directory 2024-09-14 16:56:37 +02:00
rtl8380_tplink_sg2210p-v3.dts realtek: normalize dts directory 2024-09-14 16:56:37 +02:00
rtl8380_zyxel_gs1900-8.dts realtek: normalize dts directory 2024-09-14 16:56:37 +02:00
rtl8380_zyxel_gs1900-8hp-v1.dts realtek: normalize dts directory 2024-09-14 16:56:37 +02:00
rtl8380_zyxel_gs1900-8hp-v2.dts realtek: normalize dts directory 2024-09-14 16:56:37 +02:00
rtl8380_zyxel_gs1900-10hp.dts realtek: normalize dts directory 2024-09-14 16:56:37 +02:00
rtl8380_zyxel_gs1900.dtsi realtek: normalize dts directory 2024-09-14 16:56:37 +02:00
rtl8382_allnet_all-sg8208m.dts realtek: normalize dts directory 2024-09-14 16:56:37 +02:00
rtl8382_apresia_aplgs120gtss.dts realtek: normalize dts directory 2024-09-14 16:56:37 +02:00
rtl8382_d-link_dgs-1210-10p.dts realtek: normalize dts directory 2024-09-14 16:56:37 +02:00
rtl8382_d-link_dgs-1210-16.dts realtek: normalize dts directory 2024-09-14 16:56:37 +02:00
rtl8382_d-link_dgs-1210-20.dts realtek: normalize dts directory 2024-09-14 16:56:37 +02:00
rtl8382_d-link_dgs-1210-28_common.dtsi realtek: add full SFP support to D-Link DGS-1210-28 series 2024-09-15 16:40:40 +02:00
rtl8382_d-link_dgs-1210-28.dts realtek: add full SFP support to D-Link DGS-1210-28 series 2024-09-15 16:40:40 +02:00
rtl8382_d-link_dgs-1210-28mp-f.dts realtek: d-link: add support for dgs-1210-28p-f 2024-09-24 20:59:50 +02:00
rtl8382_d-link_dgs-1210-28p_common.dtsi realtek: d-link: add support for dgs-1210-28p-f 2024-09-24 20:59:50 +02:00
rtl8382_d-link_dgs-1210-28p-f.dts realtek: d-link: add support for dgs-1210-28p-f 2024-09-24 20:59:50 +02:00
rtl8382_hpe_1920-16g.dts realtek: normalize dts directory 2024-09-14 16:56:37 +02:00
rtl8382_hpe_1920-24g.dts realtek: normalize dts directory 2024-09-14 16:56:37 +02:00
rtl8382_hpe_1920.dtsi realtek: add support for HPE 1920-48G (JG927A) and 1920-48G-PoE (JG928A) 2024-09-17 21:44:34 +02:00
rtl8382_inaba_aml2-17gp.dts realtek: normalize dts directory 2024-09-14 16:56:37 +02:00
rtl8382_iodata_bsh-g24mb.dts realtek: normalize dts directory 2024-09-14 16:56:37 +02:00
rtl8382_panasonic_m16eg-pn28160k.dts realtek: normalize dts directory 2024-09-14 16:56:37 +02:00
rtl8382_panasonic_m24eg-pn28240k.dts realtek: normalize dts directory 2024-09-14 16:56:37 +02:00
rtl8382_tplink_t1600g-28ts-v3.dts realtek: normalize dts directory 2024-09-14 16:56:37 +02:00
rtl8382_zyxel_gs1900-16.dts realtek: normalize dts directory 2024-09-14 16:56:37 +02:00
rtl8382_zyxel_gs1900-24-v1.dts realtek: normalize dts directory 2024-09-14 16:56:37 +02:00
rtl8382_zyxel_gs1900-24e.dts realtek: normalize dts directory 2024-09-14 16:56:37 +02:00
rtl8382_zyxel_gs1900-24ep.dts realtek: normalize dts directory 2024-09-14 16:56:37 +02:00
rtl8382_zyxel_gs1900-24hp-v1.dts realtek: normalize dts directory 2024-09-14 16:56:37 +02:00
rtl8382_zyxel_gs1900-24hp-v2.dts realtek: normalize dts directory 2024-09-14 16:56:37 +02:00
rtl8393_d-link_dgs-1210-52.dts realtek: add full SFP support to D-Link DGS-1210-28 series 2024-09-15 16:40:40 +02:00
rtl8393_hpe_1920-48g-poe.dts realtek: add support for HPE 1920-48G (JG927A) and 1920-48G-PoE (JG928A) 2024-09-17 21:44:34 +02:00
rtl8393_hpe_1920-48g.dts realtek: add support for HPE 1920-48G (JG927A) and 1920-48G-PoE (JG928A) 2024-09-17 21:44:34 +02:00
rtl8393_hpe_1920.dtsi realtek: add support for HPE 1920-48G (JG927A) and 1920-48G-PoE (JG928A) 2024-09-17 21:44:34 +02:00
rtl8393_netgear_gs750e.dts realtek: normalize dts directory 2024-09-14 16:56:37 +02:00
rtl8393_panasonic_m48eg-pn28480k.dts realtek: normalize dts directory 2024-09-14 16:56:37 +02:00
rtl8393_tplink_sg2452p-v4.dts realtek: normalize dts directory 2024-09-14 16:56:37 +02:00
rtl8393_zyxel_gs1900-48.dts realtek: normalize dts directory 2024-09-14 16:56:37 +02:00
rtl9302_zyxel_xgs1250-12.dts realtek: normalize dts directory 2024-09-14 16:56:37 +02:00