mb/lenovo/t520: Add USB port config into devicetree
Devicetree for lenovo/520 is missing USB ports config, hence they don't work. This change introduces USB port config. Tests performed: - Can select a boot media using a USB keyboard from any port. - Can boot from each port except usb@1:1.1. - Measured read speed from a thumb drive on each port 24.5-28.9 MiB/s. Change-Id: I96dba153a563e0e290b96b837fdca39d7598ef17 Signed-off-by: PuFF1k <exopuf@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/83764 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Martin L Roth <gaumless@gmail.com>
This commit is contained in:
		| @@ -58,6 +58,24 @@ chip northbridge/intel/sandybridge | ||||
| 			register "spi_uvscc" = "0x2005" | ||||
| 			register "spi_lvscc" = "0x2005" | ||||
|  | ||||
| 			# OC3 set in BIOS to port 2-7, OC7 set in BIOS to port 10-13 | ||||
| 			register "usb_port_config" = "{ | ||||
| 				{1, 1,  0}, /* P0: system port 4, OC0 */ | ||||
| 				{1, 1,  1}, /* P1: system port 2 (EHCI debug), OC 1 */ | ||||
| 				{1, 1, -1}, /* P2: HALF MINICARD (WLAN) no oc */ | ||||
| 				{1, 0, -1}, /* P3: WWAN, no OC */ | ||||
| 				{1, 0, -1}, /* P4: smartcard, no OC */ | ||||
| 				{1, 1, -1}, /* P5: ExpressCard, no OC */ | ||||
| 				{0, 0, -1}, /* P6: empty */ | ||||
| 				{0, 0, -1}, /* P7: empty */ | ||||
| 				{1, 1,  4}, /* P8: system port 3, OC4*/ | ||||
| 				{1, 1,  5}, /* P9: system port 1 (EHCI debug), OC 5 */ | ||||
| 				{1, 0, -1}, /* P10: fingerprint reader, no OC */ | ||||
| 				{1, 0, -1}, /* P11: bluetooth, no OC. */ | ||||
| 				{1, 1, -1}, /* P12: docking, no OC */ | ||||
| 				{1, 1, -1}  /* P13: camera (LCD), no OC */ | ||||
| 			}" | ||||
|  | ||||
| 			device ref mei1 on end | ||||
| 			device ref mei2 off end | ||||
| 			device ref me_ide_r off end | ||||
|   | ||||
		Reference in New Issue
	
	Block a user