mainboard/google/puff: Enable pcie7 ep in dt

Missing bus init for RTL8111H ethernet chip hanging on bus.

V.2: Include admendments from Kangheui.

BRANCH=none
BUG=b:146437819
TEST=./util/abuild/abuild -p none -t google/hatch -x -a

Change-Id: I22aba312f183ea05eeb81d326ca0c05ce340a2e8
Signed-off-by: Edward O'Callaghan <quasisec@google.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/37804
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Kangheui Won <khwon@chromium.org>
Reviewed-by: Patrick Georgi <pgeorgi@google.com>
This commit is contained in:
Edward O'Callaghan 2019-12-18 11:04:20 +11:00 committed by Patrick Georgi
parent d4823664a8
commit b61f33cd48
2 changed files with 10 additions and 0 deletions

View File

@ -22,6 +22,8 @@ config BOARD_GOOGLE_BASEBOARD_HATCH
select MB_HAS_ACTIVE_HIGH_SD_PWR_ENABLE select MB_HAS_ACTIVE_HIGH_SD_PWR_ENABLE
select SOC_INTEL_COMETLAKE select SOC_INTEL_COMETLAKE
select SYSTEM_TYPE_LAPTOP select SYSTEM_TYPE_LAPTOP
select RT8168_GET_MAC_FROM_VPD if BOARD_GOOGLE_PUFF
select RT8168_SET_LED_MODE if BOARD_GOOGLE_PUFF
if BOARD_GOOGLE_BASEBOARD_HATCH if BOARD_GOOGLE_BASEBOARD_HATCH

View File

@ -103,6 +103,13 @@ chip soc/intel/cannonlake
}, },
}" }"
# PCIe port 7 for LAN
register "PcieRpEnable[6]" = "1"
register "PcieRpLtrEnable[6]" = "1"
# Uses CLK SRC 0
register "PcieClkSrcUsage[0]" = "6"
register "PcieClkSrcClkReq[0]" = "0"
# GPIO for SD card detect # GPIO for SD card detect
register "sdcard_cd_gpio" = "vSD3_CD_B" register "sdcard_cd_gpio" = "vSD3_CD_B"
@ -134,6 +141,7 @@ chip soc/intel/cannonlake
end end
end #I2C #4 end #I2C #4
device pci 1a.0 on end # eMMC device pci 1a.0 on end # eMMC
device pci 1c.6 on end # PCI Express Port 7, RTL8111H Ethernet NIC.
device pci 1e.3 off end # GSPI #1 device pci 1e.3 off end # GSPI #1
end end