Skip to content

Commit

Permalink
ROCK5ITX: Add PCIE30X2 perst
Browse files Browse the repository at this point in the history
Signed-off-by: Mario Bălănică <[email protected]>
  • Loading branch information
mariobalanica committed Dec 28, 2024
1 parent a80e23a commit 76d4032
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -241,6 +241,9 @@ PcieIoInit (
GpioPinSetDirection (1, GPIO_PIN_PA4, GPIO_PIN_OUTPUT);
// PciePinmuxInit(Segment, 1);
break;
case PCIE_SEGMENT_PCIE30X2:
GpioPinSetDirection (4, GPIO_PIN_PB0, GPIO_PIN_OUTPUT);
break;
case PCIE_SEGMENT_PCIE20L0:
GpioPinSetDirection (4, GPIO_PIN_PA5, GPIO_PIN_OUTPUT);
GpioPinSetDirection (1, GPIO_PIN_PD2, GPIO_PIN_OUTPUT);
Expand Down Expand Up @@ -296,6 +299,9 @@ PciePeReset (
case PCIE_SEGMENT_PCIE30X4:
GpioPinWrite (4, GPIO_PIN_PB6, !Enable);
break;
case PCIE_SEGMENT_PCIE30X2:
GpioPinWrite (4, GPIO_PIN_PB0, !Enable);
break;
case PCIE_SEGMENT_PCIE20L0: // m.2 a+e key
GpioPinWrite (4, GPIO_PIN_PA5, !Enable);
break;
Expand Down

0 comments on commit 76d4032

Please sign in to comment.