Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
gs110tpp [2020/10/02 11:03] – biot | gs110tpp [2025/01/28 06:44] (current) – Update LEDs and GPIOs svanheule | ||
---|---|---|---|
Line 7: | Line 7: | ||
* [[rtl838x|RTL8380M]] SoC | * [[rtl838x|RTL8380M]] SoC | ||
* Macronix MX25L25635F (32MB flash) | * Macronix MX25L25635F (32MB flash) | ||
- | * Winbond W631GG8MB (256MB DDR3 SDRAM) | + | * Winbond W631GG8MB (128MB DDR3 SDRAM) |
- | * [[rtl8214|RTL82214C]] external PHY | + | * [[rtl8214|RTL8214C]] external PHY |
+ | * RTL8231 GPIO extender | ||
* Nuvoton M0516LDN microcontroller (SoC-PoE management) | * Nuvoton M0516LDN microcontroller (SoC-PoE management) | ||
* Broadcom BCM59121 (PoE controller) | * Broadcom BCM59121 (PoE controller) | ||
Line 16: | Line 17: | ||
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. | 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). | + | 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 | + | To indicate the global device status, two LEDs are present on the front panel. One is labelled 'PoE Max', and is controlled directly by the PoE MCU. |
+ | The other is labeled ' | ||
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. |
+ | |||
+ | A SN74LVC125A four-port tri-state buffer is used to for the reset signal fan-out, driven by internal GPIO13 (TP7). | ||
==== Board pictures ==== | ==== Board pictures ==== | ||
Line 26: | Line 31: | ||
{{: | {{: | ||
{{: | {{: | ||
+ | |||
+ | ==== 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/ | ||
+ | * GPIO13: connected to #RESET pin of SoC (114). Output, active low, external pull-up. Also resets the RTL8214C phy and the LED shift registers via the SN74LVC125A four-port buffer. | ||
+ | * RTL8231 GPIO connections: | ||
+ | * GPIO10: PoE enable line, active high. | ||
+ | * GPIO31, GPIO32, GPIO34: red, green, and blue components of the " | ||
+ | * 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 63: | Line 90: | ||
| **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 ==== | ||
+ | < | ||
+ | ------------------ Board Configuration ------------------ | ||
+ | |||
+ | *********************************************************** | ||
+ | | ||
+ | *********************************************************** | ||
+ | ============================ | ||
+ | Board GPIO | ||
+ | ============================ | ||
+ | Device | ||
+ | ------- ---- ---------- -------- -------- | ||
+ | INT | ||
+ | INT | ||
+ | EXT | ||
+ | EXT | ||
+ | EXT | ||
+ | EXT | ||
+ | EXT | ||
+ | EXT | ||
+ | EXT | ||
+ | EXT | ||
+ | EXT | ||
+ | EXT | ||
+ | EXT | ||
+ | EXT | ||
+ | EXT | ||
+ | EXT | ||
+ | EXT | ||
+ | EXT | ||
+ | |||
+ | ============================ | ||
+ | Board Configuration | ||
+ | ============================ | ||
+ | ====== Port ================== | ||
+ | Type Usr Phy | ||
+ | ----------- ---- ------- ----------- -------------- -------- ------- | ||
+ | 1000M | ||
+ | 1000M | ||
+ | 1000M | ||
+ | 1000M | ||
+ | 1000M | ||
+ | 1000M | ||
+ | 1000M | ||
+ | 1000M | ||
+ | 1000M | ||
+ | 1000M | ||
+ | |||
+ | |||
+ | ====== Button ================ | ||
+ | |||
+ | ------------ Reset Button | ||
+ | GPIO: INT_0 | ||
+ | Timer: 2(sec) | ||
+ | Timer: 5(sec) | ||
+ | |||
+ | |||
+ | ====== 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 =================== | ||
+ | |||
+ | |||
+ | </ | ||
+ | |||
==== Bootloader ==== | ==== Bootloader ==== | ||
Line 70: | Line 193: | ||
Some realtek-specific commands are also available: | Some realtek-specific commands are also available: | ||
* '' | * '' | ||
+ | |||
+ | |||
Line 76: | Line 201: | ||
* GPL source drop: [[https:// | * GPL source drop: [[https:// | ||
+ | {{tag> |