openwrt/target/linux/realtek/dts-5.10
Alexandru Gagniuc 6d5873a162 realtek: add support for TP-Link SG2008P
Add support for the TP-Link SG2008P switch. This is an RTL8380 based
switch with 802.3af one the first four ports.

Specifications:
---------------
 * SoC:       Realtek RTL8380M
 * Flash:     32 MiB SPI flash (Vendor varies)
 * RAM:       256 MiB (Vendor varies)
 * Ethernet:  8x 10/100/1000 Mbps with PoE on 4 ports
 * Buttons:   1x "Reset" button on front panel
 * Power:     53.5V DC barrel jack
 * UART:      1x serial header, unpopulated
 * PoE:       1x TI TPS23861 I2C PoE controller

Works:
------
  - (8) RJ-45 ethernet ports
  - Switch functions
  - System LED

Not yet enabled:
----------------
  - Power-over-Ethernet (driver works, but doesn't enable "auto" mode)
  - PoE, Link/Act, PoE max and System LEDs

Install via web interface:
-------------------------

Not supported at this time.

Install via serial console/tftp:
--------------------------------

The footprints R27 (0201) and R28 (0402) are not populated. To enable
serial console, 50 ohm resistors should be soldered -- any value from
0 ohm to 50 ohm will work. R27 can be replaced by a solder bridge.

The u-boot firmware drops to a TP-Link specific "BOOTUTIL" shell at
38400 baud. There is no known way to exit out of this shell, and no
way to do anything useful.

Ideally, one would trick the bootloader into flashing the sysupgrade
image first. However, if the image exceeds 6MiB in size, it will not
work. The sysupgrade image can also be flashed. To install OpenWRT:

Prepare a tftp server with:
 1. server address: 192.168.0.146
 2. the image as: "uImage.img"

Power on device, and stop boot by pressing any key.
Once the shell is active:
 1. Ground out the CLK (pin 16) of the ROM (U7)
 2. Select option "3. Start"
 3. Bootloader notes that "The kernel has been damaged!"
 4. Release CLK as sson as bootloader thinks image is corrupted.
 5. Bootloader enters automatic recovery -- details printed on console
 6. Watch as the bootloader flashes and boots OpenWRT.

Blind install via tftp:
-----------------------

This method works when it's not feasible to install a serial header.

Prepare a tftp server with:
 1. server address: 192.168.0.146
 2. the image as: "uImage.img"
 3. Watch network traffic (tcpdump or wireshark works)
 4. Power on the device.
 5. Wait 1-2 seconds then ground out the CLK (pin 16) of the ROM (U7)
 6. When 192.168.0.30 makes tftp requests, release pin 16
 7. Wait 2-3 minutes for device to auto-flash and boot OpenWRT

Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
2022-08-13 19:59:47 +02:00
..
rtl83xx_panasonic_mxxeg-pn28xx0k.dtsi realtek: add support for Panasonic Switch-M16eG PN28160K 2022-08-06 14:39:57 +02:00
rtl838x_hpe_1920.dtsi Revert "realtek: remove support for HPE 1920 series" 2022-07-28 16:45:19 +02:00
rtl838x.dtsi Revert "realtek: remove support for HPE 1920 series" 2022-07-28 16:45:19 +02:00
rtl839x.dtsi realtek: fix node addresses for RTL839x 2022-02-20 16:23:55 +00:00
rtl930x.dtsi realtek: add sys-led disable pinctrl for rtl930x 2022-07-10 09:54:35 +02:00
rtl931x.dtsi realtek: add mux pinctrl for rtl931x 2022-07-10 09:54:35 +02:00
rtl8380_engenius_ews2910p.dts realtek: EnGenius EWS2910P: use the mtd3 partition for root overlay 2022-08-13 19:19:38 +02:00
rtl8380_hpe_1920-8g.dts Revert "realtek: remove support for HPE 1920 series" 2022-07-28 16:45:19 +02:00
rtl8380_netgear_gigabit_1xx.dtsi realtek: make Netgear GS1xx u-boot env partition writable 2022-06-22 17:51:02 +02:00
rtl8380_netgear_gigabit_3xx.dtsi realtek: make "u-boot-env" partition writable for Netgear 3xx series 2022-06-22 17:52:30 +02:00
rtl8380_netgear_gigabit.dtsi realtek: add missing gpio0 pinctrl properties 2022-07-10 09:54:35 +02:00
rtl8380_netgear_gs108t-v3.dts realtek: add support for power LED on Netgear GS108Tv3 2022-06-19 10:58:40 +02:00
rtl8380_netgear_gs110tpp-v1.dts realtek: Netgear GS110TPP v1: add lan9 and lan10 2022-08-13 19:15:46 +02:00
rtl8380_netgear_gs308t-v1.dts realtek: add support for power LED on Netgear GS308Tv1 2022-06-18 09:21:50 +02:00
rtl8380_netgear_gs310tp-v1.dts realtek: enable uart1 on the devices with PoE support in 5.10 2021-09-26 00:32:18 +02:00
rtl8380_panasonic_m8eg-pn28080k.dts realtek: add support for Panasonic Switch-M8eG PN28080K 2022-03-13 19:54:57 +01:00
rtl8380_tplink_sg2008p-v1.dts realtek: add support for TP-Link SG2008P 2022-08-13 19:59:47 +02:00
rtl8380_zyxel_gs1900-8.dts
rtl8380_zyxel_gs1900-8hp-v1.dts realtek: enable uart1 on the devices with PoE support in 5.10 2021-09-26 00:32:18 +02:00
rtl8380_zyxel_gs1900-8hp-v2.dts realtek: enable uart1 on the devices with PoE support in 5.10 2021-09-26 00:32:18 +02:00
rtl8380_zyxel_gs1900-10hp.dts realtek: enable uart1 on the devices with PoE support in 5.10 2021-09-26 00:32:18 +02:00
rtl8380_zyxel_gs1900.dtsi realtek: move RTL8231 definitions to board files 2022-02-20 16:23:55 +00:00
rtl8382_allnet_all-sg8208m.dts realtek: Consolidate bootargs 2021-11-24 21:42:44 +02:00
rtl8382_d-link_dgs-1210-10p.dts realtek: move RTL8231 definitions to board files 2022-02-20 16:23:55 +00:00
rtl8382_d-link_dgs-1210-16.dts
rtl8382_d-link_dgs-1210-20.dts realtek: add support for D-Link DGS-1210-20 2022-06-19 08:36:21 +02:00
rtl8382_d-link_dgs-1210-28.dts realtek: add gpio-restart for D-Link DGS-1210-28 2022-06-07 17:11:28 +02:00
rtl8382_d-link_dgs-1210.dtsi realtek: make DGS-1210 u-boot-env partition writeable 2022-07-26 09:15:38 +02:00
rtl8382_hpe_1920-16g.dts Revert "realtek: remove support for HPE 1920 series" 2022-07-28 16:45:19 +02:00
rtl8382_hpe_1920-24g.dts Revert "realtek: remove support for HPE 1920 series" 2022-07-28 16:45:19 +02:00
rtl8382_hpe_1920.dtsi Revert "realtek: remove support for HPE 1920 series" 2022-07-28 16:45:19 +02:00
rtl8382_inaba_aml2-17gp.dts realtek: add missing gpio0 pinctrl properties 2022-07-10 09:54:35 +02:00
rtl8382_iodata_bsh-g24mb.dts realtek: add support for I-O DATA BSH-G24MB 2022-03-07 21:44:53 +01:00
rtl8382_panasonic_m16eg-pn28160k.dts realtek: add support for Panasonic Switch-M16eG PN28160K 2022-08-06 14:39:57 +02:00
rtl8382_panasonic_m24eg-pn28240k.dts realtek: add support for Panasonic Switch-M24eG PN28240K 2022-08-06 14:39:57 +02:00
rtl8382_zyxel_gs1900-16.dts realtek: add support for ZyXEL GS1900-16 2022-05-07 17:23:45 +02:00
rtl8382_zyxel_gs1900-24-v1.dts realtek: add ZyXEL GS1900-24 v1 support 2022-03-13 19:24:13 +01:00
rtl8382_zyxel_gs1900-24e.dts realtek: add support for ZyXEL GS1900-24E 2022-06-06 10:30:50 +02:00
rtl8382_zyxel_gs1900-24hp-v1.dts realtek: add ZyXEL GS1900-24HP v1 support 2022-04-16 17:26:56 +02:00
rtl8382_zyxel_gs1900-24hp-v2.dts realtek: enable uart1 on the devices with PoE support in 5.10 2021-09-26 00:32:18 +02:00
rtl8393_panasonic_m48eg-pn28480k.dts realtek: add support for Panasonic Switch-M48eG PN28480K 2022-08-06 14:39:57 +02:00
rtl8393_zyxel_gs1900-48.dts realtek: ZyXEL GS1900-48: fix system LED polarity 2022-02-20 16:23:55 +00:00
rtl9302_zyxel_xgs1250-12.dts realtek: add system LED for ZyXEL XGS1250-12 2022-07-10 09:54:35 +02:00