openwrt/target/linux/realtek/dts
Soma Zambelly c5b44af2fc realtek: add ZyXEL GS1900-24HPv2 support
The ZyXEL GS1900-24HPv2 is a 24 port PoE switch with two SFP ports, similar to the other GS1900 switches.

Specifications
--------------
* Device:    ZyXEL GS1900-24HPv2
* SoC:       Realtek RTL8382M 500 MHz MIPS 4KEc
* Flash:     16 MiB
* RAM:       W631GG8MB-12 128 MiB DDR3 SDRAM
             (stock firmware is configured to use only 64 MiB)
* Ethernet:  24x 10/100/1000 Mbps, 2x SFP 100/1000 Mbps
* LEDs:      1 PWR LED (green, not configurable)
             1 SYS LED (green, configurable)
             24 ethernet port link/activity LEDs (green, SoC controlled)
             24 ethernet port PoE status LEDs
             2 SFP status/activity LEDs (green, SoC controlled)
* Buttons:   1 "RESTORE" button on front panel
             1 "RESET" button on front panel
* Power      120-240V AC C13
* UART:      1 serial header (J41) with populated standard pin connector on
             the left edge of the PCB, angled towards the side.
             The casing has a rectangular cutout on the side that provides
             external access to these pins.
             Pinout (front to back):
             + GND
             + TX
             + RX
             + VCC

Serial connection parameters for both devices: 115200 8N1.

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

OEM upgrade method:

(Possible on master once https://patchwork.ozlabs.org/project/openwrt/patch/20210624210408.19248-1-bjorn@mork.no/ is merged)

* Log in to OEM management web interface
* Navigate to Maintenance > Firmware > Management
* If "Active Image" has the first option selected, OpenWrt will need to be
  flashed to the "Active" partition. If the second option is selected,
  OpenWrt will need to be flashed to the "Backup" partition.
* Navigate to Maintenance > Firmware > Upload
* Upload the openwrt-realtek-generic-zyxel_gs1900-24hp-v2-initramfs-kernel.bin
  file by your preferred method to the previously determined partition.
  When prompted, select to boot from the newly flashed image, and reboot the switch.
* Once OpenWrt has booted, scp the sysupgrade image to /tmp and flash it:
   > sysupgrade -n /tmp/openwrt-realtek-generic-zyxel_gs1900-24hp-v2-squashfs-sysupgrade.bin
   it may be necessary to restart the network (/etc/init.d/network restart) on
   the running initramfs image.

U-Boot TFTP method:

* Configure your client with a static 192.168.1.x IP (e.g. 192.168.1.10).
* Set up a TFTP server on your client and make it serve the initramfs image.
* Connect serial, power up the switch, interrupt U-boot by hitting the
  space bar, and enable the network:
   > rtk network on
* Since the GS1900-24HPv2 is a dual-partition device, you want to keep the OEM
  firmware on the backup partition for the time being. OpenWrt can only boot
  from the first partition anyway (hardcoded in the DTS). To make sure we are
  manipulating the first partition, issue the following commands:
  > setsys bootpartition 0
  > savesys
* Download the image onto the device and boot from it:
   > tftpboot 0x84f00000 192.168.1.10:openwrt-realtek-generic-zyxel_gs1900-24hp-v2-initramfs-kernel.bin
   > bootm
* Once OpenWrt has booted, scp the sysupgrade image to /tmp and flash it:
   > sysupgrade -n /tmp/openwrt-realtek-generic-zyxel_gs1900-24hp-v2-squashfs-sysupgrade.bin
   it may be necessary to restart the network (/etc/init.d/network restart) on
   the running initramfs image.

Signed-off-by: Soma Zambelly <zambelly.soma@gmail.com>
2021-09-13 18:36:15 +02:00
..
rtl838x.dtsi realtek: add support for the RTL8390 and RTL9300 SoC IRQs 2021-01-26 15:06:50 +01:00
rtl930x.dtsi realtek: add dtsi for RTL930X SoCs 2021-01-26 15:06:50 +01:00
rtl8380_netgear_gigabit_1xx.dtsi realtek: Add support for Netgear S350 series switches GS308T and GS310TP 2021-05-07 07:05:16 +02:00
rtl8380_netgear_gigabit_3xx.dtsi realtek: Add support for Netgear S350 series switches GS308T and GS310TP 2021-05-07 07:05:16 +02:00
rtl8380_netgear_gigabit.dtsi realtek: Add support for Netgear S350 series switches GS308T and GS310TP 2021-05-07 07:05:16 +02:00
rtl8380_netgear_gs108t-v3.dts realtek: Add support for Netgear S350 series switches GS308T and GS310TP 2021-05-07 07:05:16 +02:00
rtl8380_netgear_gs110tpp-v1.dts realtek: Add support for Netgear S350 series switches GS308T and GS310TP 2021-05-07 07:05:16 +02:00
rtl8380_netgear_gs308t-v1.dts realtek: Add support for Netgear S350 series switches GS308T and GS310TP 2021-05-07 07:05:16 +02:00
rtl8380_netgear_gs310tp-v1.dts realtek: Add support for Netgear S350 series switches GS308T and GS310TP 2021-05-07 07:05:16 +02:00
rtl8380_zyxel_gs1900-8.dts realtek: Add ZyXEL GS1900-8 2021-03-14 15:07:30 +01:00
rtl8380_zyxel_gs1900-8hp-v1.dts realtek: add support for ZyXEL GS1900-8HP v1 and v2 2021-01-08 20:48:22 +01:00
rtl8380_zyxel_gs1900-8hp-v2.dts realtek: add support for ZyXEL GS1900-8HP v1 and v2 2021-01-08 20:48:22 +01:00
rtl8380_zyxel_gs1900-10hp.dts realtek: re-enable sfp driver for ZyXEL GS1900-10HP 2021-03-17 10:01:21 +01:00
rtl8380_zyxel_gs1900.dtsi realtek: allow writing to "u-boot-env2" 2021-04-08 09:20:59 +02:00
rtl8382_allnet_all-sg8208m.dts realtek: allow writing to "u-boot-env2" 2021-04-08 09:20:59 +02:00
rtl8382_d-link_dgs-1210-10p.dts realtek: allow writing to "u-boot-env2" 2021-04-08 09:20:59 +02:00
rtl8382_d-link_dgs-1210-16.dts
rtl8382_d-link_dgs-1210-28.dts
rtl8382_d-link_dgs-1210.dtsi realtek: allow writing to "u-boot-env2" 2021-04-08 09:20:59 +02:00
rtl8382_inaba_aml2-17gp.dts realtek: add support for INABA Abaniact AML2-17GP 2021-05-07 07:05:16 +02:00
rtl8382_zyxel_gs1900-24hp-v2.dts realtek: add ZyXEL GS1900-24HPv2 support 2021-09-13 18:36:15 +02:00