diff options
author | Patrick Rudolph <siro@das-labor.org> | 2017-08-13 12:51:27 +0200 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2018-07-27 14:48:56 +0000 |
commit | 7d7c631066591e900cfbf96e2485fcfc514b02bd (patch) | |
tree | d364f212a3658d0180829a1683db0116396164df /src | |
parent | e830513defd6a5cb99fe6bad742de23a58d4fbf1 (diff) |
mb/lenovo/*/devicetree: Add support for WWAN detection
Add support for WWAN detection on SNB/IVB boards that have
schematics or are available for testing.
Tested on Lenovo T430.
Change-Id: Ie96b2593971d49703eb747ab19f512be890d9c12
Signed-off-by: Patrick Rudolph <siro@das-labor.org>
Reviewed-on: https://review.coreboot.org/20984
Reviewed-by: Felix Held <felix-coreboot@felixheld.de>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src')
-rw-r--r-- | src/mainboard/lenovo/t430/devicetree.cb | 4 | ||||
-rw-r--r-- | src/mainboard/lenovo/t520/variants/t520/devicetree.cb | 4 | ||||
-rw-r--r-- | src/mainboard/lenovo/t530/variants/t530/devicetree.cb | 4 | ||||
-rw-r--r-- | src/mainboard/lenovo/x1_carbon_gen1/devicetree.cb | 4 | ||||
-rw-r--r-- | src/mainboard/lenovo/x220/devicetree.cb | 4 | ||||
-rw-r--r-- | src/mainboard/lenovo/x230/devicetree.cb | 4 |
6 files changed, 24 insertions, 0 deletions
diff --git a/src/mainboard/lenovo/t430/devicetree.cb b/src/mainboard/lenovo/t430/devicetree.cb index 666e3ec95f..d466b368ef 100644 --- a/src/mainboard/lenovo/t430/devicetree.cb +++ b/src/mainboard/lenovo/t430/devicetree.cb @@ -150,6 +150,10 @@ chip northbridge/intel/sandybridge register "has_bdc_detection" = "1" register "bdc_gpio_num" = "54" register "bdc_gpio_lvl" = "0" + + register "has_wwan_detection" = "1" + register "wwan_gpio_num" = "70" + register "wwan_gpio_lvl" = "0" end chip drivers/lenovo/hybrid_graphics device pnp ff.f on end # dummy diff --git a/src/mainboard/lenovo/t520/variants/t520/devicetree.cb b/src/mainboard/lenovo/t520/variants/t520/devicetree.cb index 6decf9bebb..97350f3c27 100644 --- a/src/mainboard/lenovo/t520/variants/t520/devicetree.cb +++ b/src/mainboard/lenovo/t520/variants/t520/devicetree.cb @@ -133,6 +133,10 @@ chip northbridge/intel/sandybridge register "has_bdc_detection" = "1" register "bdc_gpio_num" = "54" register "bdc_gpio_lvl" = "0" + + register "has_wwan_detection" = "1" + register "wwan_gpio_num" = "70" + register "wwan_gpio_lvl" = "0" end chip drivers/lenovo/hybrid_graphics device pnp ff.f on end # dummy diff --git a/src/mainboard/lenovo/t530/variants/t530/devicetree.cb b/src/mainboard/lenovo/t530/variants/t530/devicetree.cb index 3103762b0f..0da05e00f3 100644 --- a/src/mainboard/lenovo/t530/variants/t530/devicetree.cb +++ b/src/mainboard/lenovo/t530/variants/t530/devicetree.cb @@ -140,6 +140,10 @@ chip northbridge/intel/sandybridge register "has_bdc_detection" = "1" register "bdc_gpio_num" = "54" register "bdc_gpio_lvl" = "0" + + register "has_wwan_detection" = "1" + register "wwan_gpio_num" = "70" + register "wwan_gpio_lvl" = "0" end chip drivers/lenovo/hybrid_graphics device pnp ff.f on end # dummy diff --git a/src/mainboard/lenovo/x1_carbon_gen1/devicetree.cb b/src/mainboard/lenovo/x1_carbon_gen1/devicetree.cb index 49e5933f5f..cb88a7f728 100644 --- a/src/mainboard/lenovo/x1_carbon_gen1/devicetree.cb +++ b/src/mainboard/lenovo/x1_carbon_gen1/devicetree.cb @@ -159,6 +159,10 @@ chip northbridge/intel/sandybridge register "has_bdc_detection" = "1" register "bdc_gpio_num" = "54" register "bdc_gpio_lvl" = "0" + + register "has_wwan_detection" = "1" + register "wwan_gpio_num" = "70" + register "wwan_gpio_lvl" = "0" end end # LPC bridge device pci 1f.2 on diff --git a/src/mainboard/lenovo/x220/devicetree.cb b/src/mainboard/lenovo/x220/devicetree.cb index a96026601f..969ae3857b 100644 --- a/src/mainboard/lenovo/x220/devicetree.cb +++ b/src/mainboard/lenovo/x220/devicetree.cb @@ -170,6 +170,10 @@ chip northbridge/intel/sandybridge # BDC's connector pin14 is left floating # BDC's connector pin1 is routed to SB GPIO 54 register "has_bdc_detection" = "0" + + register "has_wwan_detection" = "1" + register "wwan_gpio_num" = "70" + register "wwan_gpio_lvl" = "0" end end # LPC bridge device pci 1f.2 on diff --git a/src/mainboard/lenovo/x230/devicetree.cb b/src/mainboard/lenovo/x230/devicetree.cb index 01693c0430..a31be72b16 100644 --- a/src/mainboard/lenovo/x230/devicetree.cb +++ b/src/mainboard/lenovo/x230/devicetree.cb @@ -172,6 +172,10 @@ chip northbridge/intel/sandybridge # BDC's connector pin14 is left floating # BDC's connector pin1 is routed to SB GPIO 54 register "has_bdc_detection" = "0" + + register "has_wwan_detection" = "1" + register "wwan_gpio_num" = "70" + register "wwan_gpio_lvl" = "0" end end # LPC bridge device pci 1f.2 on |