mirror of
https://github.com/logicog/RTLPlayground.git
synced 2026-08-30 14:52:51 +08:00
Fixed to make SWGT024 V2.0 work
This commit is contained in:
@@ -34,6 +34,12 @@ Changes I found with my board vs [Managed version](https://github.com/up-n-atom/
|
|||||||
We need to make a `Best`-BOM variant so we can use all the featues.
|
We need to make a `Best`-BOM variant so we can use all the featues.
|
||||||
|
|
||||||
# Connectors
|
# Connectors
|
||||||
|
|
||||||
|
## J4
|
||||||
|
|
||||||
|
* Location: Left SFP connector `J4`.
|
||||||
|
* Connected to: 10GMAC number 8, second SDS.
|
||||||
|
|
||||||
|`J4` SFP1 PINs | Signal | Component | GPIO | Notes |
|
|`J4` SFP1 PINs | Signal | Component | GPIO | Notes |
|
||||||
|---|---|---|---|---|
|
|---|---|---|---|---|
|
||||||
|2| TX_FAULT | B-R262 | --- | |
|
|2| TX_FAULT | B-R262 | --- | |
|
||||||
@@ -45,6 +51,11 @@ Changes I found with my board vs [Managed version](https://github.com/up-n-atom/
|
|||||||
|8| LOS | B-R258, T-R270 | GPIO37 | |
|
|8| LOS | B-R258, T-R270 | GPIO37 | |
|
||||||
|9| TO? | B-R256 | --- | |
|
|9| TO? | B-R256 | --- | |
|
||||||
|
|
||||||
|
## J2
|
||||||
|
|
||||||
|
* Location: Right SFP connector `J2`.
|
||||||
|
* Connected to: 10GMAC number 3, first SDS.
|
||||||
|
|
||||||
|`J2` SFP2 PINs | Signal | Component | GPIO | Notes |
|
|`J2` SFP2 PINs | Signal | Component | GPIO | Notes |
|
||||||
|---|---|---|---|---|
|
|---|---|---|---|---|
|
||||||
|2| TX_FAULT | B-R70 | --- | |
|
|2| TX_FAULT | B-R70 | --- | |
|
||||||
|
|||||||
@@ -60,14 +60,16 @@ __code const struct machine machine = {
|
|||||||
.log_to_phys_port = {0, 0, 0, 6, 1, 2, 3, 4, 5},
|
.log_to_phys_port = {0, 0, 0, 6, 1, 2, 3, 4, 5},
|
||||||
.phys_to_log_port = {4, 6, 5, 7, 3, 8, 0, 0, 0},
|
.phys_to_log_port = {4, 6, 5, 7, 3, 8, 0, 0, 0},
|
||||||
.is_sfp= {0, 0, 0, 2, 0, 0, 0, 0, 1},
|
.is_sfp= {0, 0, 0, 2, 0, 0, 0, 0, 1},
|
||||||
|
// Left SFP port (J4)
|
||||||
.sfp_port[0].pin_detect = 30,
|
.sfp_port[0].pin_detect = 30,
|
||||||
.sfp_port[0].pin_los = 37,
|
.sfp_port[0].pin_los = 37,
|
||||||
.sfp_port[0].sds = 0,
|
.sfp_port[0].sds = 1,
|
||||||
.sfp_port[0].i2c = 0,
|
.sfp_port[0].i2c = 0, /* GPIO 39 */
|
||||||
|
// Right SFP port (J2)
|
||||||
.sfp_port[1].pin_detect = 50,
|
.sfp_port[1].pin_detect = 50,
|
||||||
.sfp_port[1].pin_los = 51,
|
.sfp_port[1].pin_los = 51,
|
||||||
.sfp_port[1].sds = 1,
|
.sfp_port[1].sds = 0,
|
||||||
.sfp_port[1].i2c = 1,
|
.sfp_port[1].i2c = 1, /* GPIO 40 */
|
||||||
.reset_pin = 36,
|
.reset_pin = 36,
|
||||||
};
|
};
|
||||||
#elif defined DEFAULT_8C_1SFP
|
#elif defined DEFAULT_8C_1SFP
|
||||||
|
|||||||
Reference in New Issue
Block a user