summaryrefslogtreecommitdiff
path: root/src/mainboard/lenovo/t520
diff options
context:
space:
mode:
authorPatrick Rudolph <siro@das-labor.org>2017-05-21 09:20:39 +0200
committerAlexander Couzens <lynxis@fe80.eu>2017-09-11 23:14:26 +0000
commitb77eec82f36206c69b7c6be7c9a2fcadebca756a (patch)
tree618a45c2e12f91a19fc902a517a3178d128b8193 /src/mainboard/lenovo/t520
parentb051a9f5348abab842748577eaf4f06418df0ba3 (diff)
downloadcoreboot-b77eec82f36206c69b7c6be7c9a2fcadebca756a.tar.xz
mb/lenovo/*/devicetree: Add BDC detection support
Add support for BDC detection, based on the schematics for each board. Support for boards without schematics needs further testing. Needs test on all boards. Change-Id: If33ef88fb808f36b050393fa83eb1b541ce936b9 Signed-off-by: Patrick Rudolph <siro@das-labor.org> Reviewed-on: https://review.coreboot.org/19810 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Alexander Couzens <lynxis@fe80.eu>
Diffstat (limited to 'src/mainboard/lenovo/t520')
-rw-r--r--src/mainboard/lenovo/t520/devicetree.cb4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mainboard/lenovo/t520/devicetree.cb b/src/mainboard/lenovo/t520/devicetree.cb
index c76ccc9b09..f03b87e6c0 100644
--- a/src/mainboard/lenovo/t520/devicetree.cb
+++ b/src/mainboard/lenovo/t520/devicetree.cb
@@ -129,6 +129,10 @@ chip northbridge/intel/sandybridge
register "eventc_enable" = "0xff"
register "eventd_enable" = "0xff"
register "evente_enable" = "0x0d"
+
+ register "has_bdc_detection" = "1"
+ register "bdc_gpio_num" = "54"
+ register "bdc_gpio_lvl" = "0"
end
chip drivers/lenovo/hybrid_graphics
device pnp ff.f on end # dummy