summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzbao <fishbaozi@gmail.com>2015-08-26 22:29:07 -0400
committerPatrick Georgi <pgeorgi@google.com>2015-09-30 07:00:24 +0000
commitb0c6817dbecbb7c3bb9dd7436dc15e8846abc037 (patch)
tree0469a55477fdb7c8738cc8a333624ed513a3030f
parent57a31317a26ff5f55638c4f3dd8d06b8a69b78f2 (diff)
AMD Bettong: Fix usb device in devicetree for Carrizo
Add some missing devices to device tree and header. Remove the obsolete devices. Change-Id: Ieeca06c68fe8c8eef6be4fab43193b898aebf013 Signed-off-by: Zheng Bao <zheng.bao@amd.com> Signed-off-by: Zheng Bao <fishbaozi@gmail.com> Reviewed-on: http://review.coreboot.org/11378 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Georgi <pgeorgi@google.com>
-rw-r--r--src/include/device/pci_ids.h1
-rw-r--r--src/mainboard/amd/bettong/devicetree.cb4
-rw-r--r--src/southbridge/amd/pi/hudson/usb.c1
3 files changed, 3 insertions, 3 deletions
diff --git a/src/include/device/pci_ids.h b/src/include/device/pci_ids.h
index 5ba183b9b1..dcb8a42dfe 100644
--- a/src/include/device/pci_ids.h
+++ b/src/include/device/pci_ids.h
@@ -434,6 +434,7 @@
#define PCI_DEVICE_ID_AMD_CZ_SATA_AHCI 0x7901
#define PCI_DEVICE_ID_AMD_CZ_USB_0 0x7907
#define PCI_DEVICE_ID_AMD_CZ_USB_1 0x7908
+#define PCI_DEVICE_ID_AMD_CZ_USB3_0 0x7914
#define PCI_VENDOR_ID_VLSI 0x1004
#define PCI_DEVICE_ID_VLSI_82C592 0x0005
diff --git a/src/mainboard/amd/bettong/devicetree.cb b/src/mainboard/amd/bettong/devicetree.cb
index 90b03247cd..41a565560b 100644
--- a/src/mainboard/amd/bettong/devicetree.cb
+++ b/src/mainboard/amd/bettong/devicetree.cb
@@ -44,11 +44,9 @@ chip northbridge/amd/pi/00660F01/root_complex
chip southbridge/amd/pi/hudson # it is under NB/SB Link, but on the same pci bus
device pci 9.0 on end # HDA
device pci 9.2 on end # HDA
+ device pci 10.0 on end # USB
device pci 11.0 on end # SATA
device pci 12.0 on end # USB
-# device pci 12.2 on end # USB
- device pci 13.0 on end # USB
-# device pci 13.2 on end # USB
device pci 14.0 on # SM
chip drivers/generic/generic #dimm 0-0-0
device i2c 50 on end
diff --git a/src/southbridge/amd/pi/hudson/usb.c b/src/southbridge/amd/pi/hudson/usb.c
index f68652186a..ef8f675ba5 100644
--- a/src/southbridge/amd/pi/hudson/usb.c
+++ b/src/southbridge/amd/pi/hudson/usb.c
@@ -49,6 +49,7 @@ static const unsigned short pci_device_ids[] = {
PCI_DEVICE_ID_ATI_SB900_USB_20_5,
PCI_DEVICE_ID_AMD_CZ_USB_0,
PCI_DEVICE_ID_AMD_CZ_USB_1,
+ PCI_DEVICE_ID_AMD_CZ_USB3_0,
0
};