aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRory Liu <rory.liu@quanta.corp-partner.google.com>2021-12-22 17:05:15 +0800
committerFelix Held <felix-coreboot@felixheld.de>2021-12-23 21:15:23 +0000
commit58e016ed6941bc8a0a05306fc721ef343eb35918 (patch)
treee28e79c8d4f9ac127a06183dd88b00d04d4651e7
parent2b1e737289e617ece51a20d670cb1493176570d0 (diff)
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>
-rw-r--r--src/mainboard/google/brya/Kconfig1
-rw-r--r--src/mainboard/google/brya/variants/brask/overridetree.cb3
2 files changed, 4 insertions, 0 deletions
diff --git a/src/mainboard/google/brya/Kconfig b/src/mainboard/google/brya/Kconfig
index 9363d6e685..fa618b9bd8 100644
--- a/src/mainboard/google/brya/Kconfig
+++ b/src/mainboard/google/brya/Kconfig
@@ -9,6 +9,7 @@ config BOARD_GOOGLE_BASEBOARD_BRASK
select SPD_CACHE_IN_FMAP
select ENABLE_TCSS_DISPLAY_DETECTION if RUN_FSP_GOP
select RT8168_GET_MAC_FROM_VPD
+ select RT8168_SET_LED_MODE
select RT8168_GEN_ACPI_POWER_RESOURCE
if BOARD_GOOGLE_BASEBOARD_BRYA || BOARD_GOOGLE_BASEBOARD_BRASK
diff --git a/src/mainboard/google/brya/variants/brask/overridetree.cb b/src/mainboard/google/brya/variants/brask/overridetree.cb
index fbb64ffd7b..9a0e073c98 100644
--- a/src/mainboard/google/brya/variants/brask/overridetree.cb
+++ b/src/mainboard/google/brya/variants/brask/overridetree.cb
@@ -96,6 +96,9 @@ chip soc/intel/alderlake
register "stop_off_delay_ms" = "1"
register "has_power_resource" = "1"
register "wake" = "GPE0_DW0_07"
+ register "led_feature" = "0xe0"
+ register "customized_led0" = "0x23f"
+ register "customized_led2" = "0x028"
device pci 00.0 on end
end
end # RTL8125 Ethernet NIC