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
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
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
rtl838x.dtsi
rtl839x.dtsi
rtl930x.dtsi
rtl931x.dtsi
rtl8380_d-link_dgs-1210-10mp-f.dts
rtl8380_engenius_ews2910p.dts
rtl8380_hpe_1920-8g-poe-65w.dts
rtl8380_hpe_1920-8g-poe-180w.dts
rtl8380_hpe_1920-8g.dts
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
rtl8380_netgear_gs108t-v3.dts
rtl8380_netgear_gs110tpp-v1.dts
rtl8380_netgear_gs110tup-v1.dts
rtl8380_netgear_gs308t-v1.dts
rtl8380_netgear_gs310tp-v1.dts
rtl8380_panasonic_m8eg-pn28080k.dts
rtl8380_tplink_sg2xxx.dtsi
rtl8380_tplink_sg2008p-v1.dts
rtl8380_tplink_sg2210p-v3.dts
rtl8380_zyxel_gs1900-8.dts
rtl8380_zyxel_gs1900-8hp-v1.dts
rtl8380_zyxel_gs1900-8hp-v2.dts
rtl8380_zyxel_gs1900-10hp.dts
rtl8380_zyxel_gs1900.dtsi
rtl8382_allnet_all-sg8208m.dts
rtl8382_apresia_aplgs120gtss.dts
rtl8382_d-link_dgs-1210-10p.dts
rtl8382_d-link_dgs-1210-16.dts
rtl8382_d-link_dgs-1210-20.dts
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
rtl8382_hpe_1920-24g.dts
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
rtl8382_iodata_bsh-g24mb.dts
rtl8382_panasonic_m16eg-pn28160k.dts
rtl8382_panasonic_m24eg-pn28240k.dts
rtl8382_tplink_t1600g-28ts-v3.dts
rtl8382_zyxel_gs1900-16.dts
rtl8382_zyxel_gs1900-24-v1.dts
rtl8382_zyxel_gs1900-24e.dts
rtl8382_zyxel_gs1900-24ep.dts
rtl8382_zyxel_gs1900-24hp-v1.dts
rtl8382_zyxel_gs1900-24hp-v2.dts
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
rtl8393_panasonic_m48eg-pn28480k.dts
rtl8393_tplink_sg2452p-v4.dts
rtl8393_zyxel_gs1900-48.dts
rtl9302_zyxel_xgs1250-12.dts