mb/google/brya/var/brask: Customize LEDs of RT8125

Add Kconfig item RT8168_SET_LED_MODE to enable LED customization.
Update the LED settings in devicetree.

BUG=b:193750191
TEST=Try different register values to verify LED feature.

Signed-off-by: Rory Liu <rory.liu@quanta.corp-partner.google.com>
Change-Id: If80ace497c7481ce40b55af7e17e12a286aa9164
Reviewed-on: https://review.coreboot.org/c/coreboot/+/60298
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org>
This commit is contained in:
Rory Liu 2021-12-22 17:05:15 +08:00 committed by Felix Held
parent 2b1e737289
commit 58e016ed69
2 changed files with 4 additions and 0 deletions

View File

@ -9,6 +9,7 @@ config BOARD_GOOGLE_BASEBOARD_BRASK
select SPD_CACHE_IN_FMAP select SPD_CACHE_IN_FMAP
select ENABLE_TCSS_DISPLAY_DETECTION if RUN_FSP_GOP select ENABLE_TCSS_DISPLAY_DETECTION if RUN_FSP_GOP
select RT8168_GET_MAC_FROM_VPD select RT8168_GET_MAC_FROM_VPD
select RT8168_SET_LED_MODE
select RT8168_GEN_ACPI_POWER_RESOURCE select RT8168_GEN_ACPI_POWER_RESOURCE
if BOARD_GOOGLE_BASEBOARD_BRYA || BOARD_GOOGLE_BASEBOARD_BRASK if BOARD_GOOGLE_BASEBOARD_BRYA || BOARD_GOOGLE_BASEBOARD_BRASK

View File

@ -96,6 +96,9 @@ chip soc/intel/alderlake
register "stop_off_delay_ms" = "1" register "stop_off_delay_ms" = "1"
register "has_power_resource" = "1" register "has_power_resource" = "1"
register "wake" = "GPE0_DW0_07" register "wake" = "GPE0_DW0_07"
register "led_feature" = "0xe0"
register "customized_led0" = "0x23f"
register "customized_led2" = "0x028"
device pci 00.0 on end device pci 00.0 on end
end end
end # RTL8125 Ethernet NIC end # RTL8125 Ethernet NIC