openwrt/target/linux/realtek/dts
Harshal Gohel cb4603688b realtek: rtl930x: Add support for Plasma Cloud PSX10 Switch
The Plasma Cloud PSX10 Switch is a 8 + 2 port multi-GBit switch with
8x 10/100/1000/2500BaseT Ethernet ports and 2x SFP+ module slot.

Hardware:

- RTL9302C SoC
- Macronix MX25L25645G (32MB flash)
- Winbond W632GU6NB-12 (256MB DDR3 SDRAM - only 128 MB configured*)
- 2x RTL8224 4x 10m/100m/1/2.5 Gigabit PHY
- SFP+ 2x 10GBit slot
- IC+ IP8008 POE+ PSE controller

The switch is powered by 54 Volts 2.77A barrel connector. The internal TTL
serial connector can be used to access the terminal. Pins from 1: TX RX
(unused) GND.  Serial connection is via 115200 baud, 8N1.

A reset button is accessible through a hole in the front panel.

*) Only 128 MB of RAM are currently configured because there were
infrequent random memory corruptions detected when using memtester with a
256 MB DT configuration. This could also be reproduced with RTLSDK.

Installation
------------

* The device can be flashed by using sysupgrade command. Either from the
  original vendor firmware or using an initramfs (see "Debug")
* Connect serial as per the layout above. Connection parameters: 115200 8N1
* The image must be copied using scp to /tmp of the device

      scp openwrt-realtek-rtl930x-plasmacloud_psx10-squashfs-sysupgrade.bin root@[IP address of the device]:/tmp/

* start sysupgrade without saving the original vendor configuration

      sysupgrade -n /tmp/openwrt-realtek-rtl930x-plasmacloud_psx10-squashfs-sysupgrade.bin

Installation via u-boot
-----------------------

If you have an TFTP server connected to the switch, it is possible to
directly install the device using the factory image from u-boot

    # setup networking and IP of TFP server
    rtk network on
    setenv ipaddr 10.100.100.99
    setenv serverip 10.100.100.20

    # get factory image
    tftp 0x84000000 factory.bin

    # erase firmware partitions
    sf probe 0
    sf erase 0x100000 0x01f00000

    # write firmware to both partitions
    sf write ${fileaddr} 0x100000 ${filesize}
    sf write ${fileaddr} 0x1080000 ${filesize}

    # adjust the boot commands
    setenv bootargs "mtdparts=spi0.0:896k(u-boot),64k(u-boot-env),64k(u-boot-env2),15872k(inactive),15872k(firmware2)"
    setenv bootcmd "rtk init; bootm 0xb5080000"

    # restart
    reset

Debug
-----

* Connect serial as per the layout above. Connection parameters: 115200 8N1.
* A tftp server is required, tftpd-hpa works well.
* Power the device, at U-Boot start rapidly hit Esc key to stop autoboot
* Enable network:

      rtk network on

* Change ip address of device:

      setenv ipaddr 192.168.1.6

* Download initramfs from TFTP server:

      tftpboot 0x84000000 192.168.1.111:openwrt-realtek-rtl930x-plasmacloud_psx10-initramfs-kernel.bin

* Boot loaded file:

      bootm 0x84000000

Signed-off-by: Harshal Gohel <hg@simonwunderlich.de>
Co-developed-by: Sharadanand Karanjkar <sk@simonwunderlich.de>
Signed-off-by: Sharadanand Karanjkar <sk@simonwunderlich.de>
Link: https://github.com/openwrt/openwrt/pull/19362
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2025-08-28 21:07:57 +02:00
..
macros.dtsi realtek: RTL930x/RTL931x led_set defines 2025-08-21 11:22:11 +02:00
rtl83xx_d-link_dgs-1210_common.dtsi realtek: Drop unused property on DGS-1210 gpio0 2025-01-28 07:30:32 +01:00
rtl83xx_d-link_dgs-1210_gpio.dtsi realtek: switch RTL8231 driver for D-Link DGS-1210 2025-01-28 07:30:33 +01: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_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: create central DTS macro include 2025-08-17 17:19:09 +02:00
rtl839x.dtsi realtek: create central DTS macro include 2025-08-17 17:19:09 +02:00
rtl930x.dtsi realtek: create central DTS macro include 2025-08-17 17:19:09 +02:00
rtl931x.dtsi realtek: add rtl8231-aux to rtl931x.dtsi 2025-08-17 17:31:24 +02:00
rtl8380_d-link_dgs-1210-10mp-f.dts realtek: make use of serdes helper for D-Link DGS-1210-10MP 2025-06-22 16:37:32 +02:00
rtl8380_engenius_ews2910p-v1.dts realtek: engenius_ews2910p: support multiple hardware versions 2025-05-31 23:19:01 +02:00
rtl8380_engenius_ews2910p-v3.dts realtek: support EnGenius EWS2910P v3 2025-05-31 23:19:01 +02:00
rtl8380_engenius_ews2910p.dtsi realtek: make use of serdes helper for Engenius EWS2910P 2025-06-22 16:37:32 +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: HPE 1920 8G PoE+ 180W move fans to hwmon 2025-01-15 08:21:08 +01:00
rtl8380_hpe_1920-8g.dts realtek: normalize dts directory 2024-09-14 16:56:37 +02:00
rtl8380_hpe_1920-8g.dtsi realtek: make use of serdes helper for HPE 1920 8G 2025-06-22 16:37:33 +02:00
rtl8380_linksys_lgs310c.dts realtek: make use of serdes helper for Linksys LGS310C 2025-06-22 16:37:32 +02:00
rtl8380_netgear_gigabit.dtsi realtek: Simple conversions to RTL8231 MFD driver 2025-01-26 21:46:44 +01:00
rtl8380_netgear_gs108t-v3.dts realtek: normalize dts directory 2024-09-14 16:56:37 +02:00
rtl8380_netgear_gs110tpp-v1.dts realtek: add PoE enable line to Netgear GS110TPP 2025-01-28 20:59:04 +01: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: make use of serdes helper for Netgear GS310TP v1 2025-06-22 16:37:33 +02:00
rtl8380_panasonic_m8eg-pn28080k.dts realtek: make use of serdes helper for Panasonic M8EG PN28080K 2025-06-22 16:37:33 +02:00
rtl8380_tplink_sg2xxx.dtsi realtek: make use of serdes helper for TP-Link SG2xxx 2025-06-22 16:37:33 +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-v1.dts realtek: Split Zyxel GS1900-8 into v1 and v2 2025-01-25 15:07:13 +01:00
rtl8380_zyxel_gs1900-8-v2.dts realtek: Split Zyxel GS1900-8 into v1 and v2 2025-01-25 15:07:13 +01:00
rtl8380_zyxel_gs1900-8hp-v1.dts realtek: Move GS1900 external GPIO to new DTSI 2025-01-25 15:06:03 +01:00
rtl8380_zyxel_gs1900-8hp-v2.dts realtek: Move GS1900 external GPIO to new DTSI 2025-01-25 15:06:03 +01:00
rtl8380_zyxel_gs1900-10hp.dts realtek: make use of serdes helper for Zyxel GS1900-10HP 2025-06-22 16:37:33 +02:00
rtl8380_zyxel_gs1900.dtsi realtek: Move GS1900 external GPIO to new DTSI 2025-01-25 15:06:03 +01:00
rtl8380_zyxel_gs1900_gpio.dtsi realtek: Move GS1900 external GPIO to new DTSI 2025-01-25 15:06:03 +01:00
rtl8380_zyxel_gs1900_gpio_emulated.dtsi realtek: Move GS1900 external GPIO to new DTSI 2025-01-25 15:06:03 +01:00
rtl8382_allnet_all-sg8208m.dts realtek: normalize dts directory 2024-09-14 16:56:37 +02:00
rtl8382_apresia_aplgs120gtss.dts realtek: Switch ApresiaLightGS120GT-SS RTL8231 driver 2025-01-28 20:55:09 +01:00
rtl8382_d-link_dgs-1210-10p.dts realtek: make use of serdes helper for D-Link DGS-1210-10P 2025-06-22 16:37:33 +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-26.dts realtek: make use of serdes helper for D-Link DGS-1210-26 2025-06-22 16:37:33 +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-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-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-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_hpe_1920-16g.dts realtek: normalize dts directory 2024-09-14 16:56:37 +02:00
rtl8382_hpe_1920-24g-poe-180w.dts realtek: HPE 1920 24G PoE+ 180W/370W move fans to hwmon 2025-01-16 07:32:16 +01:00
rtl8382_hpe_1920-24g-poe-370w.dts realtek: HPE 1920 24G PoE+ 180W/370W move fans to hwmon 2025-01-16 07:32:16 +01:00
rtl8382_hpe_1920-24g.dts realtek: rtl838x: refactor hpe_1920-24g dts 2024-12-31 08:29:56 +01:00
rtl8382_hpe_1920-24g.dtsi realtek: rtl838x: refactor hpe_1920-24g dts 2024-12-31 08:29:56 +01:00
rtl8382_hpe_1920.dtsi realtek: switch RTL8231 driver for HPE 1920-16/24G 2025-01-12 17:30:23 +01:00
rtl8382_inaba_aml2-17gp.dts realtek: normalize dts directory 2024-09-14 16:56:37 +02:00
rtl8382_iodata_bsh-g24mb.dts realtek: Simple conversions to RTL8231 MFD driver 2025-01-26 21:46:44 +01: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: Move GS1900 external GPIO to new DTSI 2025-01-25 15:06:03 +01:00
rtl8382_zyxel_gs1900-24-v1.dts realtek: make use of serdes helper for Zyxel GS1900-24(HP) v1/v2 2025-06-22 16:37:33 +02:00
rtl8382_zyxel_gs1900-24e.dts realtek: Move GS1900 external GPIO to new DTSI 2025-01-25 15:06:03 +01:00
rtl8382_zyxel_gs1900-24ep.dts realtek: Move GS1900 external GPIO to new DTSI 2025-01-25 15:06:03 +01:00
rtl8382_zyxel_gs1900-24hp-v1.dts realtek: make use of serdes helper for Zyxel GS1900-24(HP) v1/v2 2025-06-22 16:37:33 +02:00
rtl8382_zyxel_gs1900-24hp-v2.dts realtek: make use of serdes helper for Zyxel GS1900-24(HP) v1/v2 2025-06-22 16:37:33 +02:00
rtl8393_d-link_dgs-1210-52.dts realtek: fix cpu port link type 2025-05-06 10:56:58 +02:00
rtl8393_hpe_1920-48g-poe.dts rtl839x: fix sfp ports on HPE 1920-48G PoE 2025-06-22 11:13:01 +02:00
rtl8393_hpe_1920-48g.dts realtek: switch HP-1920-48G to new shared gpio driver 2025-06-22 11:13:01 +02:00
rtl8393_hpe_1920.dtsi rtl839x: fix sfp ports on HPE 1920-48G PoE 2025-06-22 11:13:01 +02:00
rtl8393_netgear_gs750e.dts realtek: fix cpu port link type 2025-05-06 10:56:58 +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: align port names 2025-06-12 14:12:38 +02:00
rtl8393_zyxel_gs1900-48.dts realtek: Zyxel GS1900-48 dts fixes 2025-08-03 15:33:36 +02:00
rtl9302_plasmacloud_common.dtsi realtek: rtl930x: Add support for Plasma Cloud PSX8 Switch 2025-08-28 21:07:57 +02:00
rtl9302_plasmacloud_psx8.dts realtek: rtl930x: Add support for Plasma Cloud PSX8 Switch 2025-08-28 21:07:57 +02:00
rtl9302_plasmacloud_psx10.dts realtek: rtl930x: Add support for Plasma Cloud PSX10 Switch 2025-08-28 21:07:57 +02:00
rtl9302_zyxel_xgs1210-12.dts realtek: adapt devices to backported i2c driver 2025-08-13 14:23:35 +02:00
rtl9302_zyxel_xgs1250-12.dts realtek: adapt devices to backported i2c driver 2025-08-13 14:23:35 +02:00
rtl9303_hasivo_s1100w-8xgt-se.dts realtek: add support for Hasivo S1100W-8XGT-SE switch 2025-07-27 18:50:03 +02:00
rtl9303_tplink_tl-st1008f_v2.dts realtek: adapt devices to backported i2c driver 2025-08-13 14:23:35 +02:00
rtl9303_vimin_vm-s100-0800ms.dts realtek: adapt devices to backported i2c driver 2025-08-13 14:23:35 +02:00
rtl9303_xikestor_sks8300-8x.dts realtek: adapt devices to backported i2c driver 2025-08-13 14:23:35 +02:00
rtl9303_xikestor_sks8310-8x.dts realtek: add support for XikeStor SKS8310-8X 2025-08-23 19:22:53 +02:00