gs110tpp

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
gs110tpp [2020/09/11 18:23] biotgs110tpp [2024/04/18 17:53] (current) – Add JTAG tag svanheule
Line 5: Line 5:
  
 ===== Hardware build-up ===== ===== Hardware build-up =====
 +  * [[rtl838x|RTL8380M]] SoC
 +  * Macronix MX25L25635F (32MB flash)
 +  * Winbond W631GG8MB (128MB DDR3 SDRAM)
 +  * [[rtl8214|RTL8214C]] external PHY
 +  * RTL8231 GPIO extender
 +  * Nuvoton M0516LDN microcontroller (SoC-PoE management)
 +  * Broadcom BCM59121 (PoE controller)
  
-The switch is built up around the RTL8380M SoC. To access the CPU's serial console on UART0, header J1 is available with 3.3V logic, 115200 baud, and 8n1 bits. Firmware is stored in 32MiB SPI flash (Macronix MX25L25635F) and the device has 256MiB of DDR3 RAM (Winbond W631GG8MB).+To access the CPU's serial console on UART0, header J1 is available with 3.3V logic, 115200 baud, and 8n1 bits.
  
-Ethernet ports are split up between the SoC's internal switch and an external RTL8214C phy. The internal switch connects to port 1-8, while the external phy connects to port 9-10. The external phy is linked to the SoC via a QSMII link+The internal switch connects to port 1-8, while the external phy connects to port 9-10. The external phy is linked to the SoC via a QSGMII link.
-Ports 1-8 can also provide power according to 802.3.at (PoE+) and PoE is controlled by the BCM59121. PoE management is done by an auxiliary Nuvoton M0516LDN microcontroller. Communication with the Poe-CPU happens via a serial port, connected to the main CPU's UART1. Optocouplers are used to isolate the two circuits from each other and the communication frames can be sniffed from J3 (3.3V, 19200 baud, 8n1).+
  
-To indicate the global device status, two LEDs are present on the front panel. One is labelled 'PoE Max', and is likely controlled directly by the BCM59121. The other is labeld 'Power', and is used to indicate the device status. This LED appears to be an RGB LED, although it is currently unclear how the three colours are controlled.+Ports 1-8 can also provide power according to 802.3.at (PoE+) and PoE is controlled by the BCM59121. PoE management is done by an auxiliary Nuvoton M0516LDN microcontroller. 
 +Communication with the Poe-CPU happens via a serial port, connected to the main CPU's UART1. Optocouplers are used to isolate the two circuits from each other and the communication frames can be sniffed from J3 (3.3V, 19200 baud, 8n1). 
 + 
 +To indicate the global device status, two LEDs are present on the front panel. One is labelled 'PoE Max', and is likely controlled directly by the PoE MCU. 
 +The other is labeled 'Power', and is used to indicate the device status. This LED appears to be an RGB LED, although it is currently unclear how the three colours are controlled.
 All ports have a two-pin bi-color LED, used to indicate the link status: green for 1000M, orange for 100M. These are driven by three SN74HC164 shift registers, using 20 of the 24 outputs available. All ports have a two-pin bi-color LED, used to indicate the link status: green for 1000M, orange for 100M. These are driven by three SN74HC164 shift registers, using 20 of the 24 outputs available.
-PoE status bi-color LEDs are also available, with green used to indicate the remote device is PoE powered, and orange to signal a PoE fault status. The PoE-status LEDs are driven by two SN74LV595A shift registers+PoE status bi-color LEDs are also available, with green used to indicate the remote device is PoE powered, and orange to signal a PoE fault status. The PoE-status LEDs are driven by two SN74LV595A shift registers, also controlled by the PoE MCU.
- +
- +
-Extra GPIOs are provided by an external RTL8231as is common on this platform.+
  
 +There is also a SN74LVC125A four-port tri-state buffer whose purpose is currently unknown.
 ==== Board pictures ==== ==== Board pictures ====
  
 {{:wiki:gs110tpp-top.jpg?400|}} {{:wiki:gs110tpp-top.jpg?400|}}
 {{:wiki:gs110tpp-bottom.jpg?400|}} {{:wiki:gs110tpp-bottom.jpg?400|}}
 +
 +==== GPIO connections and port LEDs ====
 +  * Internal GPIO connections:
 +    * GPIO0: connected to front panel reset button. Input, active low.
 +    * GPIO2: connected to clock line of RTL8231. Output, used by MDIO/SMI peripheral (or bit-banged MDIO)
 +    * GPIO3: connected to data line of RTL8231. Input/output, used by MDIO/SMI peripheral (or bit-banged MDIO)
 +    * GPIO13: connected to #RESET pin of SoC (114). Output, active low, external pull-up.
 +  * RTL8231 GPIO connections:
 +    * GPIO31, GPIO32, GPIO34: red, green, and blue components of the "Power" RGB LED. Output, active low.
 +  * Port LED:
 +    * Port 0-23, LED0: Green LED, link/act 1G
 +    * Port 0-23, LED1: Amber LED, link/act 100M/10M
 +  * "PoE Max" LED is controlled by the PoE MCU
 +
 +
 +
  
 ==== Pinouts ==== ==== Pinouts ====
 === GPIO === === GPIO ===
-  * TP8: GPIO2+  * TP8: GPIO1 
 +  * TP3: GPIO14 
 +  * TP4: GPIO11 
 +  * TP5: GPIO10 
 +  * TP6: GPIO12 
 +  * TP7: GPIO13
  
 === I2C === === I2C ===
Line 49: Line 78:
  
 === Serial PoE control === === Serial PoE control ===
 +This connector is in the PoE power domain, which is isolated from the power domain of the SoC. Be careful when connecting to this port and use a digital isolator.
 +
   * J3.1: VCC (appears not connected)   * J3.1: VCC (appears not connected)
   * J3.2: RX   * J3.2: RX
Line 57: Line 88:
 | **Name** | u-boot | u-boot-env | device-info | config | log | firmware1 | firmware2 | | **Name** | u-boot | u-boot-env | device-info | config | log | firmware1 | firmware2 |
 | **Size** | 896k   | 64k        | 64k         | 1M     | 1M  | 14.5M     | 14.5M     | | **Size** | 896k   | 64k        | 64k         | 1M     | 1M  | 14.5M     | 14.5M     |
 +
 +==== Vendor board definition ====
 +<file>
 +------------------ Board Configuration ------------------
 +
 +***********************************************************
 + GS110TPP 8-Port Gigabit PoE+ Ethernet Smart Managed Pro Switch with 2 Copper Ports and Cloud Management
 +***********************************************************
 +============================
 + Board GPIO
 +============================
 +Device  Pin  Direction  Default  Current
 +------- ---- ---------- -------- --------
 +INT        IN                1       
 +INT     13   OUT        1        1       
 +EXT        IN  (IN  ) 0        0       
 +EXT        IN  (IN  ) 0        0       
 +EXT        IN  (IN  ) 0        0       
 +EXT     10   OUT (OUT ) 0        1       
 +EXT     11   IN  (IN  ) 0        0       
 +EXT     12   IN  (IN  ) 0        0       
 +EXT     13   IN  (IN  ) 0        0       
 +EXT     14   IN  (IN  ) 0        0       
 +EXT     20   OUT (OUT ) 1        1       
 +EXT     24   OUT (OUT ) 1        1       
 +EXT     25   OUT (OUT ) 1        1       
 +EXT     27   OUT (OUT ) 0        0       
 +EXT     28   OUT (OUT ) 0        0       
 +EXT     31   OUT (OUT ) 1        1       
 +EXT     32   OUT (OUT ) 0        0       
 +EXT     34   OUT (OUT ) 1        1       
 +
 +============================
 + Board Configuration
 +============================
 +====== Port ==================
 +Type        Usr  Phy     Media       Speed          Duplex   Attr
 +----------- ---- ------- ----------- -------------- -------- -------
 +1000M          (0) 8   Copper      (A) ALL        Auto          
 +1000M          (0) 9   Copper      (A) ALL        Auto          
 +1000M          (0) 10  Copper      (A) ALL        Auto          
 +1000M          (0) 11  Copper      (A) ALL        Auto          
 +1000M          (0) 12  Copper      (A) ALL        Auto          
 +1000M          (0) 13  Copper      (A) ALL        Auto          
 +1000M          (0) 14  Copper      (A) ALL        Auto          
 +1000M          (0) 15  Copper      (A) ALL        Auto          
 +1000M          (0) 16  Copper      (A) ALL        Auto          
 +1000M       10   (0) 17  Copper      (A) ALL        Auto          
 +
 +
 +====== Button ================
 +
 +------------ Reset Button
 +GPIO: INT_0 
 +Timer: 2(sec)  Action: Reboot
 +Timer: 5(sec)  Action: Restore Factory
 +
 +
 +====== Led ===================
 +System
 +  ON [CUSTOM]
 +  ON C2 [CUSTOM]
 +  OFF [CUSTOM]
 +Port
 +  ON [ASIC(P)]
 +  ON C2 [ASIC(P)]
 +  OFF [ASIC(P)]
 +  AUTO [ASIC(P)]
 +PoE Max
 +  ON [MCU]
 +  OFF [MCU]
 +  AUTO [MCU]
 +PoE Port
 +  ON [MCU]
 +  ON C2 [MCU]
 +  OFF [MCU]
 +  AUTO [MCU]
 +Cloud
 +  ON [CUSTOM]
 +  OFF [CUSTOM]
 +
 +
 +====== Reset =================
 +Type: GPIO
 +GPIO: INT_13
 +
 +
 +====== WatchDog ==============
 +Type: REG
 +
 +
 +====== PoE ===================
 +
 +
 +</file>
 +
  
 ==== Bootloader ==== ==== Bootloader ====
Line 64: Line 191:
 Some realtek-specific commands are also available: Some realtek-specific commands are also available:
   * ''rtk network on'': Configure the ethernet hardware inside the bootloader (not enabled on boot).   * ''rtk network on'': Configure the ethernet hardware inside the bootloader (not enabled on boot).
 +
 +
  
  
Line 70: Line 199:
   * GPL source drop: [[https://www.downloads.netgear.com/files/GPL/GS110TPP_V7.0.1.x_GPL_SRC.zip]]   * GPL source drop: [[https://www.downloads.netgear.com/files/GPL/GS110TPP_V7.0.1.x_GPL_SRC.zip]]
  
 +{{tag>rtl8380m}} {{tag>802.3at}} {{tag>jtag}} {{tag>1000base-t}}
  • gs110tpp.1599848582.txt.gz
  • Last modified: 2020/09/11 18:23
  • by biot