Skip to content

Commit

Permalink
Platform/NanoPC-T6: Power on 4G/LTE module and fix logo (#111)
Browse files Browse the repository at this point in the history
  • Loading branch information
S199pWa1k9r authored Jan 4, 2024
1 parent 22d22a4 commit cf56262
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -209,6 +209,10 @@ UsbPortPowerEnable (
GpioPinWrite (4, GPIO_PIN_PB0, TRUE);
GpioPinSetDirection (4, GPIO_PIN_PB0, GPIO_PIN_OUTPUT);

/* Set GPIO4 PC6 output high to power the 4G/LTE module */
GpioPinWrite (4, GPIO_PIN_PC6, TRUE);
GpioPinSetDirection (4, GPIO_PIN_PC6, GPIO_PIN_OUTPUT);

/* Set GPIO1 PD2 (TYPEC5V_PWREN) output high to power the type-c port */
GpioPinWrite (1, GPIO_PIN_PD2, TRUE);
GpioPinSetDirection (1, GPIO_PIN_PD2, GPIO_PIN_OUTPUT);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@
}

# Splash screen logo
INF MdeModulePkg/Logo/LogoDxe.inf
INF $(VENDOR_DIRECTORY)/Drivers/LogoDxe/LogoDxe.inf
Original file line number Diff line number Diff line change
Expand Up @@ -108,4 +108,4 @@
$(PLATFORM_DIRECTORY)/AcpiTables/AcpiTables.inf

# Splash screen logo
MdeModulePkg/Logo/LogoDxe.inf
$(VENDOR_DIRECTORY)/Drivers/LogoDxe/LogoDxe.inf

0 comments on commit cf56262

Please sign in to comment.