1
0
Fork 0
forked from mirror/openwrt
openwrt/target/linux/realtek/dts
Nicolas BERTRAND 6af9476b8a realtek: Add support for Zyxel XGS1210-12 Switch
The Zyxel XGS1210-12 Switch is a 10 + 2 port multi-GBit switch with
8 x 1000BaseT, 2 x 10/100/1000/2500BaseT Ethernet ports and
2 SFP+ module slot.

Hardware:
- RTL9302B SoC
- Macronix MX25L12833F (16MB flash)
- Nanja NT5CC64M16GP-1 (128MB DDR3 SDRAM)
- RTL8231 GPIO extender to control the port LEDs
- RTL8218D 8x Gigabit PHY
- RTL8226 2x 10m/100m/1/2.5 Gigabit PHY
- SFP+ 2x 10GBit slot

Power is supplied via a 12V 1.5A standard barrel connector. At the
right side behind the grid is UART serial connector. A Serial
header can be connected to from the outside of the switch trough
the airvents with a standard 2.54mm header.
Pins are from top to bottom Vcc(3.3V), TX, RX and GND. Serial
connection is via 115200 baud, 8N1.

A reset button is accessble through a hole in the front panel

At the time of this commit, all ethernet ports work under OpenWrt,
including the various NBaseT modes, SFP+ slots are supported with i2c bus.

Installation
--------------
* Connect serial as per the layout above. Connection parameters: 115200 8N1.
* Navigate to 'Management' in the OEM web interface and click on 'Firmware upgrade'
  to the left.
* Upload the OpenWrt initramfs image, and wait till the switch reboots.
* Connect to the device through serial and change the U-boot boot command.
  > fw_setenv bootcmd 'rtk network on; boota'
* Reboot, scp the sysupgrade image to /tmp, verify the checksum and flash it:
  > sysupgrade openwrt-realtek-rtl930x-Zyxel_xgs1210-12-squashfs-sysupgrade.bin
* Upon reboot, you have a functional OpenWrt installation. Leave the bootcmd
  value as is - without 'rtk network on' the switch will fail to initialise
  the network.

Debug
------------
* Connect serial as per the layout above. Connection parameters: 115200 8N1.
* A tftp server is requiered, 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 (default is 192.168.1.1):
  > setenv ipaddr 192.168.1.6
* Download initramfs:
  > tftpboot 0x84f00000 192.168.1.111:openwrt-realtek-rtl930x-Zyxel_xgs1210-12-initramfs-kernel.bin
* Boot loaded file:
  > bootm 0x84f00000

This prodecudre also apply to the sock firmware with the file XGS1210-12_V2.00(ABTY.1)C0.bix.

More information can be found on the page of XGS1250-12 as they share the same base.

Signed-off-by: Nicolas BERTRAND <nicolasbertrand89@gmail.com>
[fixed white space error]
Signed-off-by: Paul Spooren <mail@aparcar.org>
2025-06-16 13:46:51 +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: thermal driver for rtl838x and rtl930x SoCs 2025-02-27 19:24:44 +01:00
rtl839x.dtsi realtek: extend simple thermal driver to support rtl839x 2025-06-03 11:14:45 +02:00
rtl930x.dtsi realtek: thermal driver for rtl838x and rtl930x SoCs 2025-02-27 19:24:44 +01: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-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: engenius_ews2910p: support multiple hardware versions 2025-05-31 23:19:01 +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: switch RTL8231 driver for HPE 1920-8G 2025-01-12 17:30:23 +01:00
rtl8380_linksys_lgs310c.dts realtek: Simple conversions to RTL8231 MFD driver 2025-01-26 21:46:44 +01: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: Drop redundant LED labels 2025-02-28 16:30:29 +01: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-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: add thermal zones for SFP sensors on GS1900-10HP 2025-02-27 19:24:45 +01: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: Switch DGS-1210-10P DTS to gpio.dtsi 2025-01-28 07:30:32 +01: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: add support for D-Link DGS-1210-26 2025-04-07 12:22:00 +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: Move GS1900 external GPIO to new DTSI 2025-01-25 15:06:03 +01: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: Move GS1900 external GPIO to new DTSI 2025-01-25 15:06:03 +01:00
rtl8382_zyxel_gs1900-24hp-v2.dts realtek: Move GS1900 external GPIO to new DTSI 2025-01-25 15:06:03 +01: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 realtek: HPE 1920-48G-PoE: allow fan speed control 2025-02-09 21:36:55 +01: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: Drop redundant LED labels 2025-02-28 16:30:29 +01: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: align port names 2025-06-12 14:12:38 +02:00
rtl9302_zyxel_xgs1210-12.dts realtek: Add support for Zyxel XGS1210-12 Switch 2025-06-16 13:46:51 +02:00
rtl9302_zyxel_xgs1250-12.dts realtek: 6.12: fix phy-mode for XGS1250-12 port 1-8 2025-06-11 22:27:22 +02:00
rtl9303_tplink_tl-st1008f_v2.dts realtek: add support for TP-Link TL-ST1008F v2.0 2025-06-16 13:30:52 +02:00
rtl9303_xikestor_sks8300-8x.dts realtek: add thermal zones for SFP sensors on SKS8300-8X 2025-02-27 19:24:45 +01:00