aboutsummaryrefslogtreecommitdiff
path: root/src/mainboard/lenovo/t400/devicetree.cb
diff options
context:
space:
mode:
authorArthur Heymans <arthur@aheymans.xyz>2018-09-16 18:55:28 +0200
committerPatrick Georgi <pgeorgi@google.com>2019-05-21 09:25:41 +0000
commit03180212b7295d288bd79c5756d9355c55bd2193 (patch)
tree1b44688f380b101a6b17012e4e9f3f01694272d4 /src/mainboard/lenovo/t400/devicetree.cb
parent86fa2792b98cabd0b8604342a44e099d8ade5a77 (diff)
mb/lenovo/r500: Add mainboard
Tested: - Ethernet NIC - Wifi RFKill - USB - LVDS, VGA with libgfxinit - Booting with dock attached (COM1) - Keyboard, trackpoint - SeaBIOS 1.12 - S3 resume - Tested in descriptor mode, with vendor FD and ME - Add VBT to ACPI OPregion Untested: - SATA (likely works) - Trackpad (my cable is broken, likely works) - Displayport (likely works) - Descriptorless mode - DVD drive - Extra battery - model with ATI GPU Does not work: - Dock hotplug - Quad core CPU (hangs during AP init, probably needs hardware mod) - Hotplugging the expresscard slot (works with 'echo 1 | sudo tee /sys/bus/pci/rescan') TODO: - proper dock support - documentation note: This board was hard to flash, I had to desolder the flash. TESTED: on a R500 with an Intel iGPU, SeaBIOS 1.12, Debian 9, Linux 4.9 from USB Change-Id: I9e129b2e916acdf2b8534fa9d8d2cfc8f64f5815 Signed-off-by: Arthur Heymans <arthur@aheymans.xyz> Reviewed-on: https://review.coreboot.org/c/coreboot/+/28644 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Patrick Rudolph <siro@das-labor.org>
Diffstat (limited to 'src/mainboard/lenovo/t400/devicetree.cb')
-rw-r--r--src/mainboard/lenovo/t400/devicetree.cb36
1 files changed, 1 insertions, 35 deletions
diff --git a/src/mainboard/lenovo/t400/devicetree.cb b/src/mainboard/lenovo/t400/devicetree.cb
index 475c45ebbd..b4c2ea89b1 100644
--- a/src/mainboard/lenovo/t400/devicetree.cb
+++ b/src/mainboard/lenovo/t400/devicetree.cb
@@ -211,46 +211,12 @@ chip northbridge/intel/gm45
io 0x60 = 0x1620
end
end
-
- chip drivers/lenovo/hybrid_graphics
- device pnp ff.f on end # dummy
-
- register "detect_gpio" = "21"
-
- register "has_panel_hybrid_gpio" = "1"
- register "panel_hybrid_gpio" = "22"
- register "panel_integrated_lvl" = "0"
-
- register "has_backlight_gpio" = "1"
- register "backlight_gpio" = "19"
- register "backlight_integrated_lvl" = "0"
-
- register "has_dgpu_power_gpio" = "1"
- register "dgpu_power_gpio" = "49"
- register "dgpu_power_off_lvl" = "0"
-
- register "has_thinker1" = "0"
- end
end
device pci 1f.2 on # SATA/IDE 1
subsystemid 0x17aa 0x20f8
ioapic_irq 2 INTB 0x11
end
- device pci 1f.3 on # SMBus
- subsystemid 0x17aa 0x20f9
- ioapic_irq 2 INTC 0x12
- # eeprom, 8 virtual devices, same chip
- chip drivers/i2c/at24rf08c
- device i2c 54 on end
- device i2c 55 on end
- device i2c 56 on end
- device i2c 57 on end
- device i2c 5c on end
- device i2c 5d on end
- device i2c 5e on end
- device i2c 5f on end
- end
- end
+ device pci 1f.3 on end # SMBus
device pci 1f.5 off end # SATA/IDE 2
device pci 1f.6 off end # Thermal
end