From b77eec82f36206c69b7c6be7c9a2fcadebca756a Mon Sep 17 00:00:00 2001 From: Patrick Rudolph Date: Sun, 21 May 2017 09:20:39 +0200 Subject: 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 Reviewed-on: https://review.coreboot.org/19810 Tested-by: build bot (Jenkins) Reviewed-by: Alexander Couzens --- src/mainboard/lenovo/t420/devicetree.cb | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/mainboard/lenovo/t420') diff --git a/src/mainboard/lenovo/t420/devicetree.cb b/src/mainboard/lenovo/t420/devicetree.cb index 934c589c47..bed406a3db 100644 --- a/src/mainboard/lenovo/t420/devicetree.cb +++ b/src/mainboard/lenovo/t420/devicetree.cb @@ -158,6 +158,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 -- cgit v1.2.3