Attention is currently required from: Angel Pons.
Patrick Rudolph has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/78438?usp=email )
Change subject: [WIP]nb/intel/sandybridge/chipset: Add USB ports ......................................................................
[WIP]nb/intel/sandybridge/chipset: Add USB ports
Define dummy USB ports to allow mainboard maintainers to easily understand the new devicetree syntax. The USB ports are all disabled by default and the mainboard's devicetree needs to enable them on the corresponding PCI device.
As this PCH shares USB2.0 ports between EHCI and XHCI, mainboard maintainers must take care to not enable the same USB2.0 ports on both EHCI and XHCI.
Change-Id: I499103b15193ba52c2281dd45ffd3cdc947534e4 Signed-off-by: Patrick Rudolph patrick.rudolph@9elements.com --- M src/northbridge/intel/sandybridge/chipset.cb 1 file changed, 152 insertions(+), 3 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/38/78438/1
diff --git a/src/northbridge/intel/sandybridge/chipset.cb b/src/northbridge/intel/sandybridge/chipset.cb index 5635ca6..f7eb32f 100644 --- a/src/northbridge/intel/sandybridge/chipset.cb +++ b/src/northbridge/intel/sandybridge/chipset.cb @@ -19,13 +19,123 @@ device pci 06.0 alias peg60 off end # PEG60
chip southbridge/intel/bd82x6x # Intel Series 6/7 PCH - device pci 14.0 alias xhci off end # USB 3.0 Controller (only on 7 series) + device pci 14.0 alias xhci off # USB 3.0 Controller (only on 7 series) + chip drivers/usb/acpi + register "desc" = ""Root Hub"" + register "type" = "UPC_TYPE_HUB" + device usb 0.0 on + chip drivers/usb/acpi + register "type" = "UPC_TYPE_UNUSED" + device usb 2.0 off end + end + chip drivers/usb/acpi + register "type" = "UPC_TYPE_UNUSED" + device usb 2.1 off end + end + chip drivers/usb/acpi + register "type" = "UPC_TYPE_UNUSED" + device usb 2.2 off end + end + chip drivers/usb/acpi + register "type" = "UPC_TYPE_UNUSED" + device usb 2.3 off end + end + chip drivers/usb/acpi + register "type" = "UPC_TYPE_UNUSED" + device usb 2.4 off end + end + chip drivers/usb/acpi + register "type" = "UPC_TYPE_UNUSED" + device usb 2.5 off end + end + chip drivers/usb/acpi + register "type" = "UPC_TYPE_UNUSED" + device usb 2.6 off end + end + chip drivers/usb/acpi + register "type" = "UPC_TYPE_UNUSED" + device usb 2.7 off end + end + chip drivers/usb/acpi + register "type" = "UPC_TYPE_UNUSED" + device usb 2.8 off end + end + chip drivers/usb/acpi + register "type" = "UPC_TYPE_UNUSED" + device usb 2.9 off end + end + chip drivers/usb/acpi + register "type" = "UPC_TYPE_UNUSED" + device usb 2.10 off end + end + chip drivers/usb/acpi + register "type" = "UPC_TYPE_UNUSED" + device usb 2.11 off end + end + chip drivers/usb/acpi + register "type" = "UPC_TYPE_UNUSED" + device usb 2.12 off end + end + chip drivers/usb/acpi + register "type" = "UPC_TYPE_UNUSED" + device usb 2.13 off end + end + chip drivers/usb/acpi + register "type" = "UPC_TYPE_UNUSED" + device usb 3.0 off end + end + chip drivers/usb/acpi + register "type" = "UPC_TYPE_UNUSED" + device usb 3.1 off end + end + chip drivers/usb/acpi + register "type" = "UPC_TYPE_UNUSED" + device usb 3.2 off end + end + chip drivers/usb/acpi + register "type" = "UPC_TYPE_UNUSED" + device usb 3.3 off end + end + end + end + end device pci 16.0 alias mei1 on end # Management Engine Interface 1 device pci 16.1 alias mei2 off end # Management Engine Interface 2 device pci 16.2 alias me_ide_r off end # Management Engine IDE-R device pci 16.3 alias me_kt off end # Management Engine KT device pci 19.0 alias gbe off end # Intel Gigabit Ethernet - device pci 1a.0 alias ehci2 off end # USB2 EHCI #2 + device pci 1a.0 alias ehci2 off # USB2 EHCI #2 + chip drivers/usb/acpi + register "desc" = ""Root Hub"" + register "type" = "UPC_TYPE_HUB" + device usb 0.0 on + chip drivers/usb/acpi + register "type" = "UPC_TYPE_UNUSED" + device usb 2.0 off end + end + chip drivers/usb/acpi + register "type" = "UPC_TYPE_UNUSED" + device usb 2.1 off end + end + chip drivers/usb/acpi + register "type" = "UPC_TYPE_UNUSED" + device usb 2.2 off end + end + chip drivers/usb/acpi + register "type" = "UPC_TYPE_UNUSED" + device usb 2.3 off end + end + chip drivers/usb/acpi + register "type" = "UPC_TYPE_UNUSED" + device usb 2.4 off end + end + chip drivers/usb/acpi + register "type" = "UPC_TYPE_UNUSED" + device usb 2.5 off end + end + end + end + end device pci 1b.0 alias hda off end # High Definition Audio device pci 1c.0 alias pcie_rp1 off end # PCIe Port #1 device pci 1c.1 alias pcie_rp2 off end # PCIe Port #2 @@ -35,7 +145,46 @@ device pci 1c.5 alias pcie_rp6 off end # PCIe Port #6 device pci 1c.6 alias pcie_rp7 off end # PCIe Port #7 device pci 1c.7 alias pcie_rp8 off end # PCIe Port #8 - device pci 1d.0 alias ehci1 off end # USB2 EHCI #1 + device pci 1d.0 alias ehci1 off # USB2 EHCI #1 + chip drivers/usb/acpi + register "desc" = ""Root Hub"" + register "type" = "UPC_TYPE_HUB" + device usb 0.0 on + chip drivers/usb/acpi + register "type" = "UPC_TYPE_UNUSED" + device usb 2.0 off end + end + chip drivers/usb/acpi + register "type" = "UPC_TYPE_UNUSED" + device usb 2.1 off end + end + chip drivers/usb/acpi + register "type" = "UPC_TYPE_UNUSED" + device usb 2.2 off end + end + chip drivers/usb/acpi + register "type" = "UPC_TYPE_UNUSED" + device usb 2.3 off end + end + chip drivers/usb/acpi + register "type" = "UPC_TYPE_UNUSED" + device usb 2.4 off end + end + chip drivers/usb/acpi + register "type" = "UPC_TYPE_UNUSED" + device usb 2.5 off end + end + chip drivers/usb/acpi + register "type" = "UPC_TYPE_UNUSED" + device usb 2.6 off end + end + chip drivers/usb/acpi + register "type" = "UPC_TYPE_UNUSED" + device usb 2.7 off end + end + end + end + end device pci 1e.0 alias pci_bridge off end # PCI bridge device pci 1f.0 alias lpc on end # LPC bridge device pci 1f.2 alias sata1 off end # SATA Controller 1