Felix Singer | 402fe20 | 2019-02-12 22:22:42 +0100 | [diff] [blame] | 1 | chip soc/intel/apollolake |
| 2 | |
Maxim Polyakov | bb65180 | 2020-02-26 12:39:09 +0300 | [diff] [blame] | 3 | # Override USB port configuration |
| 4 | register "usb_config_override" = "1" |
| 5 | # USB 2.0 |
| 6 | register "usb2_port[0]" = "PORT_EN(OC0)" |
| 7 | register "usb2_port[1]" = "PORT_EN(OC1)" |
| 8 | register "usb2_port[2]" = "PORT_EN(OC1)" |
| 9 | register "usb2_port[3]" = "PORT_EN(OC1)" |
| 10 | register "usb2_port[4]" = "PORT_EN(OC1)" |
| 11 | register "usb2_port[5]" = "PORT_EN(OC1)" |
| 12 | register "usb2_port[6]" = "PORT_EN(OC_SKIP)" |
| 13 | register "usb2_port[7]" = "PORT_EN(OC_SKIP)" |
| 14 | # USB 3.0 |
| 15 | register "usb3_port[0]" = "PORT_EN(OC0)" |
| 16 | |
Felix Singer | 67d2a52 | 2019-07-12 13:30:47 +0200 | [diff] [blame] | 17 | register "enable_vtd" = "1" |
| 18 | |
Patrik Tesarik | 0660075 | 2020-04-15 14:11:54 +0200 | [diff] [blame] | 19 | # Override eMMC MaxHostSpeed |
| 20 | # 0:HS400 (Default) 1:HS200 2:DDR50 |
| 21 | register "emmc_host_max_speed" = "1" |
| 22 | |
Felix Singer | 402fe20 | 2019-02-12 22:22:42 +0100 | [diff] [blame] | 23 | device cpu_cluster 0 on |
| 24 | device lapic 0 on end |
| 25 | end |
| 26 | device domain 0 on |
Michael Niewöhner | 1c661b9 | 2020-09-18 17:57:50 +0200 | [diff] [blame] | 27 | subsystemid 0x8086 0x7270 inherit |
Felix Singer | 402fe20 | 2019-02-12 22:22:42 +0100 | [diff] [blame] | 28 | device pci 00.0 on end # - Host Bridge |
| 29 | device pci 00.1 off end # - DPTF |
| 30 | device pci 00.2 off end # - NPK |
| 31 | device pci 02.0 on end # - Gen |
| 32 | device pci 03.0 off end # - Iunit |
| 33 | device pci 0d.0 off end # - P2SB |
| 34 | device pci 0d.1 off end # - PMC |
| 35 | device pci 0d.2 off end # - SPI |
| 36 | device pci 0d.3 off end # - Shared SRAM |
| 37 | device pci 0e.0 on end # - Audio |
Subrata Banik | e9b9373 | 2020-09-17 15:48:54 +0530 | [diff] [blame] | 38 | device pci 0f.0 on end # - TXE |
Felix Singer | 402fe20 | 2019-02-12 22:22:42 +0100 | [diff] [blame] | 39 | device pci 11.0 off end # - ISH |
Sean Rhodes | 5777995 | 2022-05-19 15:35:31 +0100 | [diff] [blame^] | 40 | device pci 12.0 on # - SATA |
| 41 | register "SataPortsEnable[0]" = "1" |
| 42 | register "SataPortsEnable[1]" = "1" |
| 43 | end |
Felix Singer | 402fe20 | 2019-02-12 22:22:42 +0100 | [diff] [blame] | 44 | device pci 13.0 on end # - PCIe-A 1 - PcieRootPort[2] |
| 45 | device pci 13.1 on end # - PCIe-A 2 - PcieRootPort[3] |
| 46 | device pci 13.2 on end # - PCIe-A 3 - PcieRootPort[4] |
| 47 | device pci 13.3 on end # - PCIe-A 4 - PcieRootPort[5] |
| 48 | device pci 14.0 on end # - PCIe-B 1 - PcieRootPort[0] |
| 49 | device pci 14.1 on end # - PCIe-B 2 - PcieRootPort[1] |
| 50 | device pci 15.0 on end # - XHCI |
| 51 | device pci 15.1 on end # - XDCI |
| 52 | device pci 16.0 on end # - I2C 0 |
| 53 | device pci 16.1 on end # - I2C 1 |
| 54 | device pci 16.2 on end # - I2C 2 |
| 55 | device pci 16.3 on end # - I2C 3 |
| 56 | device pci 17.0 on end # - I2C 4 |
| 57 | device pci 17.1 on end # - I2C 5 |
| 58 | device pci 17.2 on end # - I2C 6 |
| 59 | device pci 17.3 on end # - I2C 7 |
| 60 | device pci 18.0 on end # - HSUART 0 |
| 61 | device pci 18.1 on end # - HSUART 1 |
| 62 | device pci 18.2 off end # - UART 2 |
| 63 | device pci 18.3 off end # - UART 3 |
| 64 | device pci 19.0 on end # - SPI 0 |
| 65 | device pci 19.1 on end # - SPI 1 |
| 66 | device pci 19.2 on end # - SPI 2 |
| 67 | device pci 1a.0 on end # - PWM |
| 68 | device pci 1b.0 off end # - SDCARD |
| 69 | device pci 1c.0 on end # - eMMC |
| 70 | device pci 1e.0 on end # - SDIO |
| 71 | device pci 1f.0 on end # - LPC |
| 72 | device pci 1f.1 on end # - SMBUS |
| 73 | end |
Christian Walter | b8f1bd7 | 2019-07-19 10:30:46 +0200 | [diff] [blame] | 74 | chip drivers/crb |
| 75 | device mmio 0xfed40000 on end |
| 76 | end |
Felix Singer | 402fe20 | 2019-02-12 22:22:42 +0100 | [diff] [blame] | 77 | end |