Werner Zeh | 0dc87ef | 2019-10-22 15:08:19 +0200 | [diff] [blame] | 1 | chip soc/intel/apollolake |
| 2 | |
Arthur Heymans | 69cd729 | 2022-11-07 13:52:11 +0100 | [diff] [blame^] | 3 | device cpu_cluster 0 on end |
Werner Zeh | 0dc87ef | 2019-10-22 15:08:19 +0200 | [diff] [blame] | 4 | |
| 5 | register "sci_irq" = "SCIS_IRQ10" |
| 6 | |
Mario Scheithauer | 8725c0a | 2020-10-01 12:49:50 +0200 | [diff] [blame] | 7 | # 0:HS400(Default), 1:HS200, 2:DDR50 |
| 8 | register "emmc_host_max_speed" = "1" |
| 9 | |
Werner Zeh | 1b81024 | 2019-11-11 14:17:27 +0100 | [diff] [blame] | 10 | # Enable Vtd feature |
| 11 | register "enable_vtd" = "1" |
| 12 | |
Werner Zeh | 45f4494 | 2021-04-27 11:40:17 +0200 | [diff] [blame] | 13 | # I2C0 controller used for RTC |
| 14 | register "common_soc_config" = "{ |
| 15 | .i2c[0] = { |
| 16 | .speed = I2C_SPEED_STANDARD, |
| 17 | .rise_time_ns = 40, |
| 18 | .fall_time_ns = 10, |
Werner Zeh | a67bda3 | 2021-05-31 07:15:36 +0200 | [diff] [blame] | 19 | .data_hold_time_ns = 300, |
| 20 | .speed_config[0] = { |
| 21 | .speed = I2C_SPEED_FAST, |
| 22 | .scl_hcnt = 0x68, |
| 23 | .scl_lcnt = 0xd1, |
| 24 | .sda_hold = 0x28 |
| 25 | }, |
Werner Zeh | 45f4494 | 2021-04-27 11:40:17 +0200 | [diff] [blame] | 26 | } |
| 27 | }" |
| 28 | |
Werner Zeh | 0dc87ef | 2019-10-22 15:08:19 +0200 | [diff] [blame] | 29 | device domain 0 on |
| 30 | device pci 00.0 on end # - Host Bridge |
| 31 | device pci 00.1 off end # - DPTF |
| 32 | device pci 00.2 off end # - NPK |
| 33 | device pci 02.0 on end # - Gen - Display |
| 34 | device pci 03.0 off end # - Iunit |
| 35 | device pci 0d.0 on end # - P2SB |
| 36 | device pci 0d.1 off end # - PMC |
| 37 | device pci 0d.2 on end # - SPI |
| 38 | device pci 0d.3 off end # - Shared SRAM |
| 39 | device pci 0e.0 on end # - Audio |
Subrata Banik | e9b9373 | 2020-09-17 15:48:54 +0530 | [diff] [blame] | 40 | device pci 0f.0 on end # - CSE |
Werner Zeh | 0dc87ef | 2019-10-22 15:08:19 +0200 | [diff] [blame] | 41 | device pci 11.0 on end # - ISH |
Mario Scheithauer | f023270 | 2022-01-26 11:53:00 +0100 | [diff] [blame] | 42 | device pci 12.0 on # - SATA |
Sean Rhodes | 5777995 | 2022-05-19 15:35:31 +0100 | [diff] [blame] | 43 | register "SataPortsEnable[0]" = "1" |
| 44 | register "SataPortsEnable[1]" = "1" |
Mario Scheithauer | f023270 | 2022-01-26 11:53:00 +0100 | [diff] [blame] | 45 | register "DisableSataSalpSupport" = "1" |
| 46 | end |
Mario Scheithauer | 92e4ed1 | 2021-01-14 14:54:38 +0100 | [diff] [blame] | 47 | device pci 13.0 on # - RP 2 - PCIe A 0 |
| 48 | register "pcie_rp_clkreq_pin[2]" = "CLKREQ_DISABLED" |
| 49 | register "pcie_rp_hotplug_enable[2]" = "0" |
| 50 | end |
| 51 | device pci 13.1 on # - RP 3 - PCIe A 1 |
| 52 | register "pcie_rp_clkreq_pin[3]" = "CLKREQ_DISABLED" |
| 53 | register "pcie_rp_hotplug_enable[3]" = "0" |
| 54 | end |
| 55 | device pci 13.2 on # - RP 4 - PCIe-A 2 |
| 56 | register "pcie_rp_clkreq_pin[4]" = "CLKREQ_DISABLED" |
| 57 | register "pcie_rp_hotplug_enable[4]" = "0" |
| 58 | end |
| 59 | device pci 13.3 on # - RP 5 - PCIe-A 3 |
| 60 | register "pcie_rp_clkreq_pin[5]" = "CLKREQ_DISABLED" |
| 61 | register "pcie_rp_hotplug_enable[5]" = "0" |
| 62 | end |
| 63 | device pci 14.0 on # - RP 0 - PCIe-B 0 |
| 64 | register "pcie_rp_clkreq_pin[0]" = "CLKREQ_DISABLED" |
| 65 | register "pcie_rp_hotplug_enable[0]" = "0" |
| 66 | end |
| 67 | device pci 14.1 on # - RP 1 - PCIe-B 1 |
| 68 | register "pcie_rp_clkreq_pin[1]" = "CLKREQ_DISABLED" |
| 69 | register "pcie_rp_hotplug_enable[1]" = "0" |
| 70 | end |
Werner Zeh | 0dc87ef | 2019-10-22 15:08:19 +0200 | [diff] [blame] | 71 | device pci 15.0 on end # - XHCI |
| 72 | device pci 15.1 off end # - XDCI |
| 73 | device pci 16.0 on # - I2C 0 |
| 74 | # Enable external RTC chip |
| 75 | chip drivers/i2c/rx6110sa |
| 76 | register "pmon_sampling" = "PMON_SAMPL_256_MS" |
| 77 | register "bks_on" = "0" |
| 78 | register "bks_off" = "1" |
| 79 | register "iocut_en" = "1" |
| 80 | register "set_user_date" = "1" |
| 81 | register "user_year" = "04" |
| 82 | register "user_month" = "07" |
| 83 | register "user_day" = "01" |
| 84 | register "user_weekday" = "4" |
| 85 | device i2c 0x32 on end # RTC RX6110 SA |
| 86 | end |
| 87 | end |
| 88 | device pci 16.1 off end # - I2C 1 |
| 89 | device pci 16.2 off end # - I2C 2 |
| 90 | device pci 16.3 off end # - I2C 3 |
| 91 | device pci 17.0 off end # - I2C 4 |
| 92 | device pci 17.1 off end # - I2C 5 |
| 93 | device pci 17.2 off end # - I2C 6 |
| 94 | device pci 17.3 off end # - I2C 7 |
| 95 | device pci 18.0 on end # - UART 0 |
| 96 | device pci 18.1 on end # - UART 1 |
| 97 | device pci 18.2 on end # - UART 2 |
| 98 | device pci 18.3 on end # - UART 3 |
| 99 | device pci 19.0 off end # - SPI 0 |
| 100 | device pci 19.1 off end # - SPI 1 |
| 101 | device pci 19.2 off end # - SPI 2 |
| 102 | device pci 1a.0 off end # - PWM |
Werner Zeh | a4b7bef | 2019-11-08 11:49:01 +0100 | [diff] [blame] | 103 | device pci 1b.0 on end # - SDCARD |
Mario Scheithauer | 8725c0a | 2020-10-01 12:49:50 +0200 | [diff] [blame] | 104 | device pci 1c.0 on end # - eMMC |
Werner Zeh | 0dc87ef | 2019-10-22 15:08:19 +0200 | [diff] [blame] | 105 | device pci 1d.0 off end # - UFS |
| 106 | device pci 1e.0 off end # - SDIO |
Elyes HAOUAS | bda27cd | 2020-06-27 07:17:16 +0200 | [diff] [blame] | 107 | device pci 1f.0 on # - LPC |
Werner Zeh | 9caadfe | 2019-11-08 11:51:33 +0100 | [diff] [blame] | 108 | chip drivers/pc80/tpm |
| 109 | device pnp 0c31.0 on end |
| 110 | end |
| 111 | end |
Werner Zeh | 0dc87ef | 2019-10-22 15:08:19 +0200 | [diff] [blame] | 112 | device pci 1f.1 on end # - SMBUS |
| 113 | end |
| 114 | end |