openwrt/target/linux/realtek/dts
Jan Hoffmann 10504e0c6b realtek: add support for Zyxel XGS1010-12 A1
This device is very similar to the already supported XGS1210-12 A1. For
now, only revision A1 is supported (not marked on the label).

Hardware:
- RTL9302B SoC
- 16 MiB NOR flash
- 128 MiB DDR3 SDRAM
- 8x 1G RJ45 (RTL8218D)
- 2x 2.5G RJ45 (2x RTL8226)
- 2x SFP+ (supporting 1G/2.5G/10G)
- 3.3V UART serial (115200 baud 8N1) on the right side of the case
  (from bottom to top: GND, RX, TX, VCC)

It is originally an unmanaged switch, so there are a few differences:
- No reset button
- Different partition layout: There is some reserved space in the middle
  of the flash which might be used by the bootloader for flash testing.
  The remaining space in between is used for OpenWrt using mtd-concat.
  The largest contiguous area is at the beginning, allowing a maximum
  kernel size of 7 MiB.
- No individual MAC address: This device ships with an empty U-Boot
  environment. When an OpenWrt squashfs image is booted for the first
  time, a random MAC address will be written to the environment (but
  only if the environment has been initialized from the bootloader
  before and contains the default MAC address).

Steps to boot initramfs image via network:
- Configure a TFTP server to provide the OpenWrt initramfs image
- Connect to device using serial (see hardware information above)
- Power on the device and enter U-Boot using Esc when prompted
- Run the following commands (adjust as necessary):
  # rtk network on
  # tftpboot 0x84f00000 192.168.1.100:openwrt-xgs1010-initramfs.bin
  # bootm

Installation on flash:
- Boot initramfs image as described above
- Now is a good time to create a backup of all flash partitions! You'll
  need this if you want to revert to the unmanaged factory firmware at
  some point.
- Use sysupgrade to install OpenWrt
- After restart enter U-Boot again and set the boot command:
  # setenv bootcmd 'rtk network on; bootm 0xb4900000'
  # saveenv
  # run bootcmd
  Note: The command "rtk network on" is only needed because the drivers
  currently rely on some setup by the bootloader (without this the RJ45
  ports don't work). If the drivers improve in the future, it should be
  removed (i.e. change the boot command to "bootm 0xb4900000").

Reverting to factory firmware:
- Write back your backup of the firmware partition (or write just the
  fwconcat1 partition, and erase the other two fwconcat partitions)
- Change the boot command back to "boota" (or just erase the u-boot-env
  partition so the default gets used)

Signed-off-by: Jan Hoffmann <jan@3e8.eu>
Link: https://github.com/openwrt/openwrt/pull/20469
Signed-off-by: Robert Marko <robimarko@gmail.com>
2025-11-03 11:07:20 +01:00
..
macros.dtsi realtek: drop sds property 2025-09-25 11:01: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
rtl93xx_linksys_lgs3xxc_nand_common.dtsi realtek: add support for Linksys LGS328C 2025-10-05 12:14:05 +02:00
rtl838x.dtsi realtek: add SerDes PCS driver 2025-09-20 12:51:23 +02:00
rtl839x.dtsi realtek: add SerDes PCS driver 2025-09-20 12:51:23 +02:00
rtl930x.dtsi realtek: backport ECC driver 2025-09-30 11:15:26 +02:00
rtl931x.dtsi realtek: rtl931x: Add SPI_CTRL0 as pinmux 2025-10-02 10:30:16 +02:00
rtl8380_d-link_dgs-1210-10mp-f.dts realtek: drop sds property 2025-09-25 11:01:11 +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: drop sds property 2025-09-25 11:01:11 +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: drop sds property 2025-09-25 11:01:11 +02:00
rtl8380_linksys_lgs310c.dts realtek: drop sds property 2025-09-25 11:01:11 +02:00
rtl8380_netgear_gigabit.dtsi realtek: dts: rearrange mdio-bus below mdio-controller 2025-09-12 20:58:17 +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: dts: rearrange mdio-bus below mdio-controller 2025-09-12 20:58:17 +02:00
rtl8380_netgear_gs110tup-v1.dts realtek: dts: add pcs-handle to switch ports 2025-09-22 14:22:01 +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: drop sds property 2025-09-25 11:01:11 +02:00
rtl8380_panasonic_m8eg-pn28080k.dts realtek: drop sds property 2025-09-25 11:01:11 +02:00
rtl8380_tplink_sg2xxx.dtsi realtek: dts: rearrange mdio-bus for tplink_sg2xxx 2025-10-06 12:51:36 +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-a1.dts realtek: rtl838x: rename GS1900 series v1/v2 to A1/B1 2025-09-24 13:41:04 +02:00
rtl8380_zyxel_gs1900-8-b1.dts realtek: rtl838x: rename GS1900 series v1/v2 to A1/B1 2025-09-24 13:41:04 +02:00
rtl8380_zyxel_gs1900-8hp-a1.dts realtek: rtl838x: rename GS1900 series v1/v2 to A1/B1 2025-09-24 13:41:04 +02:00
rtl8380_zyxel_gs1900-8hp-b1.dts realtek: rtl838x: rename GS1900 series v1/v2 to A1/B1 2025-09-24 13:41:04 +02:00
rtl8380_zyxel_gs1900-10hp-a1.dts realtek: add phy-handle for Zyxel GS1900-10HP SFP slots 2025-09-29 20:54:19 +02:00
rtl8380_zyxel_gs1900.dtsi realtek: dts: rearrange mdio-bus below mdio-controller 2025-09-12 20:58:17 +02: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: dts: rearrange mdio-bus below mdio-controller 2025-09-12 20:58:17 +02:00
rtl8382_apresia_aplgs120gtss.dts realtek: dts: rearrange mdio-bus below mdio-controller 2025-09-12 20:58:17 +02:00
rtl8382_d-link_dgs-1210-10p.dts realtek: drop sds property 2025-09-25 11:01:11 +02:00
rtl8382_d-link_dgs-1210-16.dts realtek: dts: rearrange mdio-bus below mdio-controller 2025-09-12 20:58:17 +02:00
rtl8382_d-link_dgs-1210-20.dts realtek: dts: rearrange mdio-bus below mdio-controller 2025-09-12 20:58:17 +02:00
rtl8382_d-link_dgs-1210-26.dts realtek: drop sds property 2025-09-25 11:01:11 +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: dts: rearrange mdio-bus below mdio-controller 2025-09-12 20:58:17 +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: dts: rearrange mdio-bus below mdio-controller 2025-09-12 20:58:17 +02:00
rtl8382_hpe_1920.dtsi realtek: dts: rearrange mdio-bus below mdio-controller 2025-09-12 20:58:17 +02:00
rtl8382_inaba_aml2-17gp.dts realtek: dts: rearrange mdio-bus below mdio-controller 2025-09-12 20:58:17 +02:00
rtl8382_iodata_bsh-g24mb.dts realtek: dts: rearrange mdio-bus below mdio-controller 2025-09-12 20:58:17 +02:00
rtl8382_panasonic_m16eg-pn28160k.dts realtek: dts: rearrange mdio-bus below mdio-controller 2025-09-12 20:58:17 +02:00
rtl8382_panasonic_m24eg-pn28240k.dts realtek: dts: rearrange mdio-bus below mdio-controller 2025-09-12 20:58:17 +02:00
rtl8382_tplink_t1600g-28ts-v3.dts realtek: dts: rearrange mdio-bus below mdio-controller 2025-09-12 20:58:17 +02:00
rtl8382_zyxel_gs1900-16-a1.dts realtek: rtl838x: rename GS1900 series v1/v2 to A1/B1 2025-09-24 13:41:04 +02:00
rtl8382_zyxel_gs1900-24-a1.dts realtek: drop sds property 2025-09-25 11:01:11 +02:00
rtl8382_zyxel_gs1900-24e-a1.dts realtek: rtl838x: rename GS1900 series v1/v2 to A1/B1 2025-09-24 13:41:04 +02:00
rtl8382_zyxel_gs1900-24ep-a1.dts realtek: rtl838x: rename GS1900 series v1/v2 to A1/B1 2025-09-24 13:41:04 +02:00
rtl8382_zyxel_gs1900-24hp-a1.dts realtek: drop sds property 2025-09-25 11:01:11 +02:00
rtl8382_zyxel_gs1900-24hp-b1.dts realtek: drop sds property 2025-09-25 11:01:11 +02:00
rtl8393_d-link_dgs-1210-52.dts realtek: dts: rearrange mdio-bus below mdio-controller 2025-09-12 20:58:17 +02:00
rtl8393_hpe_1920-48g-poe.dts realtek: dts: rearrange mdio-bus below mdio-controller 2025-09-12 20:58:17 +02:00
rtl8393_hpe_1920-48g.dts realtek: dts: rearrange mdio-bus below mdio-controller 2025-09-12 20:58:17 +02:00
rtl8393_hpe_1920.dtsi realtek: dts: rearrange mdio-bus below mdio-controller 2025-09-12 20:58:17 +02:00
rtl8393_netgear_gs750e.dts realtek: dts: add pcs-handle to switch ports 2025-09-22 14:22:01 +02:00
rtl8393_panasonic_m48eg-pn28480k.dts realtek: dts: rearrange mdio-bus below mdio-controller 2025-09-12 20:58:17 +02:00
rtl8393_tplink_sg2452p-v4.dts realtek: align port names 2025-06-12 14:12:38 +02:00
rtl8393_zyxel_gs1900-48-a1.dts realtek: drop sds property 2025-09-25 11:01:11 +02:00
rtl9301_linksys_lgs328c.dts realtek: rtl93xx: remove pseudo-PHYs and phy-handle from SFP ports 2025-11-02 16:32:10 +01:00
rtl9302_plasmacloud_common.dtsi realtek: rtl930x: Fix Plasma Cloud PSX8/PSX10 copper phy-mode 2025-09-30 20:12:27 +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: rtl93xx: remove pseudo-PHYs and phy-handle from SFP ports 2025-11-02 16:32:10 +01:00
rtl9302_zyxel_xgs1x10-12-common.dtsi realtek: restructure Zyxel XGS1210-12 device tree files 2025-11-03 11:07:20 +01:00
rtl9302_zyxel_xgs1010-12-a1.dts realtek: add support for Zyxel XGS1010-12 A1 2025-11-03 11:07:20 +01:00
rtl9302_zyxel_xgs1210-12-a1.dts realtek: restructure Zyxel XGS1210-12 device tree files 2025-11-03 11:07:20 +01:00
rtl9302_zyxel_xgs1210-12-b1.dts realtek: restructure Zyxel XGS1210-12 device tree files 2025-11-03 11:07:20 +01:00
rtl9302_zyxel_xgs1210-12-common.dtsi realtek: restructure Zyxel XGS1210-12 device tree files 2025-11-03 11:07:20 +01:00
rtl9302_zyxel_xgs1250-12-a1.dts realtek: rtl930x: add XGS1250-12 B1 device 2025-10-07 00:25:02 +02:00
rtl9302_zyxel_xgs1250-12-b1.dts realtek: rtl930x: add XGS1250-12 B1 device 2025-10-07 00:25:02 +02:00
rtl9302_zyxel_xgs1250-12-common.dtsi realtek: rtl93xx: remove pseudo-PHYs and phy-handle from SFP ports 2025-11-02 16:32:10 +01:00
rtl9303_hasivo_s1100w-8xgt-se.dts realtek: drop sds property 2025-09-25 11:01:11 +02:00
rtl9303_tplink_tl-st1008f-v2.dts realtek: rtl93xx: remove pseudo-PHYs and phy-handle from SFP ports 2025-11-02 16:32:10 +01:00
rtl9303_vimin_vm-s100-0800ms.dts realtek: rtl93xx: remove pseudo-PHYs and phy-handle from SFP ports 2025-11-02 16:32:10 +01:00
rtl9303_xikestor_sks8300-8x.dts realtek: rtl93xx: remove pseudo-PHYs and phy-handle from SFP ports 2025-11-02 16:32:10 +01:00
rtl9303_xikestor_sks8310-8x.dts realtek: rtl93xx: remove pseudo-PHYs and phy-handle from SFP ports 2025-11-02 16:32:10 +01:00
rtl9311_linksys_lgs352c.dts realtek: rtl93xx: remove pseudo-PHYs and phy-handle from SFP ports 2025-11-02 16:32:10 +01:00
rtl9312_plasmacloud_common.dtsi realtek: rtl93xx: remove pseudo-PHYs and phy-handle from SFP ports 2025-11-02 16:32:10 +01:00
rtl9312_plasmacloud_esx28.dts realtek: rtl931x: Add support for Plasma Cloud ESX28 Switch 2025-10-04 16:16:22 +02:00
rtl9312_plasmacloud_psx28.dts realtek: rtl931x: Add support for Plasma Cloud PSX28 Switch 2025-10-04 16:16:22 +02:00