diff --git a/README.md b/README.md index d9398c2..01d35d8 100644 --- a/README.md +++ b/README.md @@ -25,9 +25,9 @@ source ~/.cargo/env - [apps](./apps) - Applications - [coreboot](https://github.com/system76/coreboot.git) - coreboot README -- [edk2](https://github.com/system76/edk2.git) - EDK II Project +- [edk2](https://github.com/system76/edk2.git) - EDK II Project - [edk2-non-osi](https://github.com/tianocore/edk2-non-osi.git) -- [edk2-platforms](https://github.com/system76/edk2-platforms.git) - This branch holds all platforms actively maintained against the +- [edk2-platforms](https://github.com/system76/edk2-platforms.git) - This branch holds all platforms actively maintained against the - [FSP](https://github.com/IntelFsp/FSP.git) - IntelĀ® Firmware Support Package (IntelĀ® FSP) Binaries - [libs](./libs) - Libraries - [models](./models) - Models diff --git a/README.md.in b/README.md.in index 5beb29a..7fd1943 100644 --- a/README.md.in +++ b/README.md.in @@ -6,46 +6,14 @@ System76 Open Source Firmware ### Install toolchain ``` -sudo apt-get install \ - build-essential \ - bison \ - ccache \ - flex \ - git-lfs \ - gnat \ - mtools \ - nasm \ - uuid-dev \ - zlib1g-dev +./scripts/deps.sh ``` -### Make sure git lfs is set up -``` -git lfs install -git lfs pull -``` - -### Install rust -``` -curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs \ - | sh -s -- -y --default-toolchain nightly -``` - -### Load cargo environment (or optionally reboot) +### Load Rust environment (or optionally reboot) ``` source ~/.cargo/env ``` -### Ensure rust source is installed for current toolchain -``` -rustup component add --toolchain "$(cat rust-toolchain)" rust-src -``` - -### Install cargo-xbuild -``` -cargo install cargo-xbuild -``` - ### Build firmware, replace darp5 with your model (look in the models directory for examples) ``` ./scripts/build.sh darp5 diff --git a/coreboot b/coreboot index b09afbb..26f0060 160000 --- a/coreboot +++ b/coreboot @@ -1 +1 @@ -Subproject commit b09afbb9fa843e38615500a0c247bd23a58d0d6a +Subproject commit 26f0060f60010532f45c4b2bf6c74f6268d09131 diff --git a/models/README.md b/models/README.md index 5a3f0a3..c6b11a4 100644 --- a/models/README.md +++ b/models/README.md @@ -4,10 +4,12 @@ - [addp1](./addp1) - System76 Adder Pro (addp1) - [darp5](./darp5) - System76 Darter Pro (darp5) +- [darp6](./darp6) - System76 Darter Pro (darp6) - [galp2](./galp2) - System76 Galago Pro (galp2) - [galp3](./galp3) - System76 Galago Pro (galp3) - [galp3-b](./galp3-b) - System76 Galago Pro (galp3-b) - [galp3-c](./galp3-c) - System76 Galago Pro (galp3-c) +- [galp4](./galp4) - System76 Galago Pro (galp4) - [gaze14_1650_15](./gaze14_1650_15) - System76 Gazelle (gaze14) - [gaze14_1650_17](./gaze14_1650_17) - System76 Gazelle (gaze14) - [gaze14_1660ti_15](./gaze14_1660ti_15) - System76 Gazelle (gaze14) diff --git a/models/darp6/IntelGopDriver.efi b/models/darp6/IntelGopDriver.efi new file mode 100644 index 0000000..aebd96c --- /dev/null +++ b/models/darp6/IntelGopDriver.efi @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ebfe655edfde77fbb8fe99bb5617701561fe7e333deedc85519a1205a26a637e +size 71072 diff --git a/models/darp6/IntelGopDriver.inf b/models/darp6/IntelGopDriver.inf new file mode 100644 index 0000000..39b2eb9 --- /dev/null +++ b/models/darp6/IntelGopDriver.inf @@ -0,0 +1,9 @@ +[Defines] + INF_VERSION = 0x00010005 + BASE_NAME = IntelGopDriver + FILE_GUID = 767222f4-a9f4-41ba-9faa-edaa1405a486 + MODULE_TYPE = UEFI_DRIVER + VERSION_STRING = 1.0 + +[Binaries.X64] + PE32|IntelGopDriver.efi|* diff --git a/models/darp6/README.md b/models/darp6/README.md new file mode 100644 index 0000000..adb4ace --- /dev/null +++ b/models/darp6/README.md @@ -0,0 +1,16 @@ +# System76 Darter Pro (darp6) + +https://system76.com/guides/darp6 + +## Contents + +- [EC](./ec.rom) + - Size: 128 KB + - Model: N150CU + - Version: 1.07.02 +- [FD](./fd.rom) + - Size: 4 KB + - HAP: false +- [ME](./me.rom) + - Size: 4092 KB + - Version: 14.0.0.1061 diff --git a/models/darp6/README.md.in b/models/darp6/README.md.in new file mode 100644 index 0000000..b640f58 --- /dev/null +++ b/models/darp6/README.md.in @@ -0,0 +1,3 @@ +# System76 Darter Pro (darp6) + +https://system76.com/guides/darp6 diff --git a/models/darp6/chip.txt b/models/darp6/chip.txt new file mode 100644 index 0000000..f762617 --- /dev/null +++ b/models/darp6/chip.txt @@ -0,0 +1 @@ +GD25Q128C diff --git a/models/darp6/coreboot-collector.txt b/models/darp6/coreboot-collector.txt new file mode 100644 index 0000000..837883c --- /dev/null +++ b/models/darp6/coreboot-collector.txt @@ -0,0 +1,241 @@ +## PCI ## +PCI Device: 0000:00:00.0: Class 0x00060000, Vendor 0x8086, Device 0x9B61, Revision 0x0C +PCI Device: 0000:00:02.0: Class 0x00030000, Vendor 0x8086, Device 0x9B41, Revision 0x02 +PCI Device: 0000:00:12.0: Class 0x00118000, Vendor 0x8086, Device 0x02F9, Revision 0x00 +PCI Device: 0000:00:14.0: Class 0x000C0330, Vendor 0x8086, Device 0x02ED, Revision 0x00 +PCI Device: 0000:00:14.2: Class 0x00050000, Vendor 0x8086, Device 0x02EF, Revision 0x00 +PCI Device: 0000:00:14.3: Class 0x00028000, Vendor 0x8086, Device 0x02F0, Revision 0x00 +PCI Device: 0000:00:15.0: Class 0x000C8000, Vendor 0x8086, Device 0x02E8, Revision 0x00 +PCI Device: 0000:00:16.0: Class 0x00078000, Vendor 0x8086, Device 0x02E0, Revision 0x00 +PCI Device: 0000:00:17.0: Class 0x00010601, Vendor 0x8086, Device 0x02D3, Revision 0x00 +PCI Device: 0000:00:1c.0: Class 0x00060400, Vendor 0x8086, Device 0x02BC, Revision 0xF0 +PCI Device: 0000:00:1d.0: Class 0x00060400, Vendor 0x8086, Device 0x02B0, Revision 0xF0 +PCI Device: 0000:00:1f.0: Class 0x00060100, Vendor 0x8086, Device 0x0284, Revision 0x00 +PCI Device: 0000:00:1f.3: Class 0x00040300, Vendor 0x8086, Device 0x02C8, Revision 0x00 +PCI Device: 0000:00:1f.4: Class 0x000C0500, Vendor 0x8086, Device 0x02A3, Revision 0x00 +PCI Device: 0000:00:1f.5: Class 0x000C8000, Vendor 0x8086, Device 0x02A4, Revision 0x00 +PCI Device: 0000:01:00.0: Class 0x00060400, Vendor 0x8086, Device 0x15E7, Revision 0x06 +PCI Device: 0000:02:00.0: Class 0x00060400, Vendor 0x8086, Device 0x15E7, Revision 0x06 +PCI Device: 0000:02:01.0: Class 0x00060400, Vendor 0x8086, Device 0x15E7, Revision 0x06 +PCI Device: 0000:02:02.0: Class 0x00060400, Vendor 0x8086, Device 0x15E7, Revision 0x06 +PCI Device: 0000:03:00.0: Class 0x00088000, Vendor 0x8086, Device 0x15E8, Revision 0x06 +PCI Device: 0000:3a:00.0: Class 0x000C0330, Vendor 0x8086, Device 0x15E9, Revision 0x06 +PCI Device: 0000:3b:00.0: Class 0x00FF0000, Vendor 0x10EC, Device 0x5287, Revision 0x01 +PCI Device: 0000:3b:00.1: Class 0x00020000, Vendor 0x10EC, Device 0x8168, Revision 0x12 +## GPIO ## +400 Series PCH-LP +GPP_A0 (0x6E,0x00) 0x44000702 0x00000018 0x00000010 0x00000000 +GPP_A1 (0x6E,0x02) 0x44000702 0x00003c19 0x00000010 0x00000000 +GPP_A2 (0x6E,0x04) 0x44000702 0x00003c1a 0x00000010 0x00000000 +GPP_A3 (0x6E,0x06) 0x44000702 0x00003c1b 0x00000010 0x00000000 +GPP_A4 (0x6E,0x08) 0x44000702 0x00003c1c 0x00000010 0x00000000 +GPP_A5 (0x6E,0x0A) 0x44000700 0x0000001d 0x00000010 0x00000000 +GPP_A6 (0x6E,0x0C) 0x44000702 0x0000001e 0x00000010 0x00000000 +GPP_A7 (0x6E,0x0E) 0x44000102 0x0000001f 0x00000010 0x00000000 +GPP_A8 (0x6E,0x10) 0x44000700 0x00000020 0x00000010 0x00000000 +GPP_A9 (0x6E,0x12) 0x44000700 0x00001021 0x00000010 0x00000000 +GPP_A10 (0x6E,0x14) 0x44000500 0x00001022 0x00000010 0x00000000 +GPP_A11 (0x6E,0x16) 0x44000102 0x00003023 0x00000010 0x00000000 +GPP_A12 (0x6E,0x18) 0x44000102 0x00000024 0x00000010 0x00000000 +GPP_A13 (0x6E,0x1A) 0x44000700 0x00000025 0x00000010 0x00000000 +GPP_A14 (0x6E,0x1C) 0x44000700 0x00000026 0x00000010 0x00000000 +GPP_A15 (0x6E,0x1E) 0x44000702 0x00003027 0x00000010 0x00000000 +GPP_A16 (0x6E,0x20) 0x44000102 0x00000028 0x00000010 0x00000000 +GPP_A17 (0x6E,0x22) 0x44000102 0x00000029 0x00000010 0x00000000 +GPP_A18 (0x6E,0x24) 0x44000102 0x0000002a 0x00000010 0x00000000 +GPP_A19 (0x6E,0x26) 0x44000102 0x0000002b 0x00000010 0x00000000 +GPP_A20 (0x6E,0x28) 0x44000102 0x0000002c 0x00000010 0x00000000 +GPP_A21 (0x6E,0x2A) 0x44000102 0x0000002d 0x00000010 0x00000000 +GPP_A22 (0x6E,0x2C) 0x44000200 0x0000002e 0x00000010 0x00000000 +GPP_A23 (0x6E,0x2E) 0x44000102 0x0000002f 0x00000010 0x00000000 +GPP_B0 (0x6E,0x32) 0x44000102 0x00000030 0x00000010 0x00000000 +GPP_B1 (0x6E,0x34) 0x44000102 0x00000031 0x00000010 0x00000000 +GPP_B2 (0x6E,0x36) 0x44000102 0x00000032 0x00000010 0x00000000 +GPP_B3 (0x6E,0x38) 0x44000102 0x00000033 0x00000010 0x00000000 +GPP_B4 (0x6E,0x3A) 0x44000102 0x00000034 0x00000010 0x00000000 +GPP_B5 (0x6E,0x3C) 0x44000102 0x00000035 0x00000010 0x00000000 +GPP_B6 (0x6E,0x3E) 0x44000102 0x00000036 0x00000010 0x00000000 +GPP_B7 (0x6E,0x40) 0x44000702 0x00000037 0x00000010 0x00000000 +GPP_B8 (0x6E,0x42) 0x44000700 0x00000038 0x00000010 0x00000000 +GPP_B9 (0x6E,0x44) 0x44000702 0x00000039 0x00000010 0x00000000 +GPP_B10 (0x6E,0x46) 0x44000702 0x0000003a 0x00000010 0x00000000 +GPP_B11 (0x6E,0x48) 0x44000102 0x0000003b 0x00000010 0x00000000 +GPP_B12 (0x6E,0x4A) 0x44000700 0x0000003c 0x00000010 0x00000000 +GPP_B13 (0x6E,0x4C) 0x44000700 0x0000003d 0x00000010 0x00000000 +GPP_B14 (0x6E,0x4E) 0x44000600 0x0000003e 0x00000010 0x00000000 +GPP_B15 (0x6E,0x50) 0x44000102 0x0000003f 0x00000010 0x00000000 +GPP_B16 (0x6E,0x52) 0x44000102 0x00000040 0x00000010 0x00000000 +GPP_B17 (0x6E,0x54) 0x44000102 0x00000041 0x00000010 0x00000000 +GPP_B18 (0x6E,0x56) 0x44000102 0x00000042 0x00000010 0x00000000 +GPP_B19 (0x6E,0x58) 0x44000102 0x00000043 0x00000010 0x00000000 +GPP_B20 (0x6E,0x5A) 0x44000102 0x00000044 0x00000010 0x00000000 +GPP_B21 (0x6E,0x5C) 0x44000102 0x00000045 0x00000010 0x00000000 +GPP_B22 (0x6E,0x5E) 0x44000102 0x00000046 0x00000010 0x00000000 +GPP_B23 (0x6E,0x60) 0x44000102 0x00000047 0x00000010 0x00000000 +GPP_G0 (0x6E,0x66) 0x44000102 0x0000006c 0x00000010 0x00000000 +GPP_G1 (0x6E,0x68) 0x44000102 0x0000006d 0x00000010 0x00000000 +GPP_G2 (0x6E,0x6A) 0x44000102 0x0000006e 0x00000010 0x00000000 +GPP_G3 (0x6E,0x6C) 0x44000102 0x0000006f 0x00000010 0x00000000 +GPP_G4 (0x6E,0x6E) 0x44000102 0x00000070 0x00000010 0x00000000 +GPP_G5 (0x6E,0x70) 0x44000102 0x00000071 0x00000010 0x00000000 +GPP_G6 (0x6E,0x72) 0x44000102 0x00000072 0x00000010 0x00000000 +GPP_G7 (0x6E,0x74) 0x44000102 0x00000073 0x00000010 0x00000000 +GPP_D0 (0x6D,0x00) 0x44000102 0x00000060 0x00000010 0x00000000 +GPP_D1 (0x6D,0x02) 0x44000102 0x00000061 0x00000010 0x00000000 +GPP_D2 (0x6D,0x04) 0x44000102 0x00000062 0x00000010 0x00000000 +GPP_D3 (0x6D,0x06) 0x44000102 0x00000063 0x00000010 0x00000000 +GPP_D4 (0x6D,0x08) 0x44000102 0x00000064 0x00000010 0x00000000 +GPP_D5 (0x6D,0x0A) 0x44000102 0x00000065 0x00000010 0x00000000 +GPP_D6 (0x6D,0x0C) 0x44000102 0x00000066 0x00000010 0x00000000 +GPP_D7 (0x6D,0x0E) 0x44000102 0x00000067 0x00000010 0x00000000 +GPP_D8 (0x6D,0x10) 0x44000201 0x00000068 0x00000010 0x00000000 +GPP_D9 (0x6D,0x12) 0x40880102 0x00000069 0x00000010 0x00000000 +GPP_D10 (0x6D,0x14) 0x44000102 0x0000006a 0x00000010 0x00000000 +GPP_D11 (0x6D,0x16) 0x40880102 0x0000306b 0x00000010 0x00000000 +GPP_D12 (0x6D,0x18) 0x44000102 0x0000006c 0x00000810 0x00000000 +GPP_D13 (0x6D,0x1A) 0x44000102 0x0000006d 0x00000010 0x00000000 +GPP_D14 (0x6D,0x1C) 0x44000102 0x0000006e 0x00000010 0x00000000 +GPP_D15 (0x6D,0x1E) 0x84000200 0x0000006f 0x00000010 0x00000000 +GPP_D16 (0x6D,0x20) 0x04000201 0x00000070 0x00000010 0x00000000 +GPP_D17 (0x6D,0x22) 0x44000102 0x00000071 0x00000010 0x00000000 +GPP_D18 (0x6D,0x24) 0x44000102 0x00000072 0x00000010 0x00000000 +GPP_D19 (0x6D,0x26) 0x44000500 0x00000073 0x00000010 0x00000000 +GPP_D20 (0x6D,0x28) 0x44000500 0x00000074 0x00000010 0x00000000 +GPP_D21 (0x6D,0x2A) 0x44000102 0x00000075 0x00000010 0x00000000 +GPP_D22 (0x6D,0x2C) 0x44000100 0x00000076 0x00000010 0x00000000 +GPP_D23 (0x6D,0x2E) 0x44000102 0x00000077 0x00000010 0x00000000 +GPP_F0 (0x6D,0x32) 0x44000702 0x00000030 0x00000010 0x00000000 +GPP_F1 (0x6D,0x34) 0x44000100 0x00000031 0x00000010 0x00000000 +GPP_F2 (0x6D,0x36) 0x44000100 0x00000032 0x00000010 0x00000000 +GPP_F3 (0x6D,0x38) 0x44000100 0x00000033 0x00000010 0x00000000 +GPP_F4 (0x6D,0x3A) 0x44000700 0x00000034 0x00000010 0x00000000 +GPP_F5 (0x6D,0x3C) 0x44000702 0x00003035 0x00000010 0x00000000 +GPP_F6 (0x6D,0x3E) 0x44000700 0x00000036 0x00000010 0x00000000 +GPP_F7 (0x6D,0x40) 0x44000702 0x00003037 0x00000010 0x00000000 +GPP_F8 (0x6D,0x42) 0x44000700 0x00000038 0x00000010 0x00000000 +GPP_F9 (0x6D,0x44) 0x44000700 0x00000039 0x00000010 0x00000000 +GPP_F10 (0x6D,0x46) 0x44000100 0x0000003a 0x00000010 0x00000000 +GPP_F11 (0x6D,0x48) 0x44000100 0x0000003b 0x00000010 0x00000000 +GPP_F12 (0x6D,0x4A) 0x44000100 0x0000003c 0x00000010 0x00000000 +GPP_F13 (0x6D,0x4C) 0x44000100 0x0000003d 0x00000010 0x00000000 +GPP_F14 (0x6D,0x4E) 0x44000100 0x0000003e 0x00000010 0x00000000 +GPP_F15 (0x6D,0x50) 0x44000100 0x0000003f 0x00000010 0x00000000 +GPP_F16 (0x6D,0x52) 0x44000100 0x00000040 0x00000010 0x00000000 +GPP_F17 (0x6D,0x54) 0x44000100 0x00000041 0x00000010 0x00000000 +GPP_F18 (0x6D,0x56) 0x44000100 0x00000042 0x00000010 0x00000000 +GPP_F19 (0x6D,0x58) 0x44000100 0x00000043 0x00000010 0x00000000 +GPP_F20 (0x6D,0x5A) 0x44000100 0x00000044 0x00000010 0x00000000 +GPP_F21 (0x6D,0x5C) 0x44000100 0x00000045 0x00000010 0x00000000 +GPP_F22 (0x6D,0x5E) 0x44000100 0x00000046 0x00000010 0x00000000 +GPP_F23 (0x6D,0x60) 0x44000100 0x00001047 0x00000010 0x00000000 +GPP_H0 (0x6D,0x62) 0x44000102 0x00000048 0x00000010 0x00000000 +GPP_H1 (0x6D,0x64) 0x44000f00 0x00000049 0x00000010 0x00000000 +GPP_H2 (0x6D,0x66) 0x44000f00 0x0000004a 0x00000010 0x00000000 +GPP_H3 (0x6D,0x68) 0x44000102 0x0000004b 0x00000010 0x00000000 +GPP_H4 (0x6D,0x6A) 0x44000102 0x0000004c 0x00000010 0x00000000 +GPP_H5 (0x6D,0x6C) 0x44000102 0x0000004d 0x00000010 0x00000000 +GPP_H6 (0x6D,0x6E) 0x44000102 0x0000004e 0x00000010 0x00000000 +GPP_H7 (0x6D,0x70) 0x44000102 0x0000004f 0x00000010 0x00000000 +GPP_H8 (0x6D,0x72) 0x44000102 0x00000050 0x00000010 0x00000000 +GPP_H9 (0x6D,0x74) 0x44000102 0x00000051 0x00000010 0x00000000 +GPP_H10 (0x6D,0x76) 0x44000102 0x00000052 0x00000010 0x00000000 +GPP_H11 (0x6D,0x78) 0x44000102 0x00000053 0x00000010 0x00000000 +GPP_H12 (0x6D,0x7A) 0x44000102 0x00000054 0x00000010 0x00000000 +GPP_H13 (0x6D,0x7C) 0x44000102 0x00000055 0x00000010 0x00000000 +GPP_H14 (0x6D,0x7E) 0x44000102 0x00000056 0x00000010 0x00000000 +GPP_H15 (0x6D,0x80) 0x44000102 0x00000057 0x00000010 0x00000000 +GPP_H16 (0x6D,0x82) 0x44000102 0x00000058 0x00000010 0x00000000 +GPP_H17 (0x6D,0x84) 0x44000102 0x00000059 0x00000010 0x00000000 +GPP_H18 (0x6D,0x86) 0x44000500 0x0000005a 0x00000010 0x00000000 +GPP_H19 (0x6D,0x88) 0x44000102 0x0000005b 0x00000010 0x00000000 +GPP_H20 (0x6D,0x8A) 0x44000102 0x0000005c 0x00000010 0x00000000 +GPP_H21 (0x6D,0x8C) 0x44000102 0x0000005d 0x00000810 0x00000000 +GPP_H22 (0x6D,0x8E) 0x44000300 0x0000005e 0x00000010 0x00000000 +GPP_H23 (0x6D,0x90) 0x44000102 0x0000005f 0x00000010 0x00000000 +GPD0 (0x6C,0x00) 0x04000102 0x00000060 0x00000010 0x00000000 +GPD1 (0x6C,0x02) 0x44000702 0x00003c61 0x00000010 0x00000000 +GPD2 (0x6C,0x04) 0x04000102 0x00003c62 0x00000010 0x00000000 +GPD3 (0x6C,0x06) 0x44000702 0x00003063 0x00000010 0x00000000 +GPD4 (0x6C,0x08) 0x44000600 0x00000064 0x00000010 0x00000000 +GPD5 (0x6C,0x0A) 0x44000600 0x00000065 0x00000010 0x00000000 +GPD6 (0x6C,0x0C) 0x44000600 0x00000066 0x00000010 0x00000000 +GPD7 (0x6C,0x0E) 0x04000102 0x00000067 0x00000810 0x00000000 +GPD8 (0x6C,0x10) 0x44000700 0x00000068 0x00000010 0x00000000 +GPD9 (0x6C,0x12) 0x04000102 0x00000069 0x00000010 0x00000000 +GPD10 (0x6C,0x14) 0x44000600 0x0000006a 0x00000010 0x00000000 +GPD11 (0x6C,0x16) 0x04000102 0x0000006b 0x00000010 0x00000000 +GPP_C0 (0x6A,0x00) 0x44000702 0x00000048 0x00000010 0x00000000 +GPP_C1 (0x6A,0x02) 0x44000702 0x00000049 0x00000010 0x00000000 +GPP_C2 (0x6A,0x04) 0x44000102 0x0000004a 0x00000810 0x00000000 +GPP_C3 (0x6A,0x06) 0x44000102 0x0000004b 0x00000010 0x00000000 +GPP_C4 (0x6A,0x08) 0x44000102 0x0000004c 0x00000010 0x00000000 +GPP_C5 (0x6A,0x0A) 0x44000102 0x0000004d 0x00000010 0x00000000 +GPP_C6 (0x6A,0x0C) 0x44000102 0x0000004e 0x00000010 0x00000000 +GPP_C7 (0x6A,0x0E) 0x44000102 0x0000004f 0x00000010 0x00000000 +GPP_C8 (0x6A,0x10) 0x44000102 0x00000050 0x00000010 0x00000000 +GPP_C9 (0x6A,0x12) 0x84800102 0x00003051 0x00000010 0x00000000 +GPP_C10 (0x6A,0x14) 0x84000200 0x00000052 0x00000010 0x00000000 +GPP_C11 (0x6A,0x16) 0x44000102 0x00000053 0x00000010 0x00000000 +GPP_C12 (0x6A,0x18) 0x84000201 0x00000054 0x00000010 0x00000000 +GPP_C13 (0x6A,0x1A) 0x84000201 0x00000055 0x00000010 0x00000000 +GPP_C14 (0x6A,0x1C) 0x84000200 0x00000056 0x00000010 0x00000000 +GPP_C15 (0x6A,0x1E) 0x84000200 0x00003057 0x00000010 0x00000000 +GPP_C16 (0x6A,0x20) 0x44000702 0x00000058 0x00000010 0x00000000 +GPP_C17 (0x6A,0x22) 0x44000702 0x00000059 0x00000010 0x00000000 +GPP_C18 (0x6A,0x24) 0x44000102 0x0000005a 0x00000010 0x00000000 +GPP_C19 (0x6A,0x26) 0x44000102 0x0000005b 0x00000010 0x00000000 +GPP_C20 (0x6A,0x28) 0x44000102 0x0000005c 0x00000010 0x00000000 +GPP_C21 (0x6A,0x2A) 0x44000102 0x0000005d 0x00000010 0x00000000 +GPP_C22 (0x6A,0x2C) 0x44000102 0x0000005e 0x00000010 0x00000000 +GPP_C23 (0x6A,0x2E) 0x80100102 0x0000005f 0x00000010 0x00000000 +GPP_E0 (0x6A,0x30) 0x44000102 0x00000018 0x00000010 0x00000000 +GPP_E1 (0x6A,0x32) 0x44000102 0x00000019 0x00000010 0x00000000 +GPP_E2 (0x6A,0x34) 0x44000700 0x0000301a 0x00000010 0x00000000 +GPP_E3 (0x6A,0x36) 0x44000102 0x0000001b 0x00000010 0x00000000 +GPP_E4 (0x6A,0x38) 0x44000102 0x0000001c 0x00000010 0x00000000 +GPP_E5 (0x6A,0x3A) 0x44000102 0x0000001d 0x00000010 0x00000000 +GPP_E6 (0x6A,0x3C) 0x44000700 0x0000001e 0x00000010 0x00000000 +GPP_E7 (0x6A,0x3E) 0x44000102 0x0000001f 0x00000010 0x00000000 +GPP_E8 (0x6A,0x40) 0x44000700 0x00000020 0x00000010 0x00000000 +GPP_E9 (0x6A,0x42) 0x44000102 0x00000021 0x00000810 0x00000000 +GPP_E10 (0x6A,0x44) 0x44000102 0x00000022 0x00000810 0x00000000 +GPP_E11 (0x6A,0x46) 0x44000102 0x00000023 0x00000810 0x00000000 +GPP_E12 (0x6A,0x48) 0x44000102 0x00000024 0x00000010 0x00000000 +GPP_E13 (0x6A,0x4A) 0x44000700 0x00000025 0x00000010 0x00000000 +GPP_E14 (0x6A,0x4C) 0x44000700 0x00000026 0x00000010 0x00000000 +GPP_E15 (0x6A,0x4E) 0x44000102 0x00000027 0x00000010 0x00000000 +GPP_E16 (0x6A,0x50) 0x80880102 0x00000028 0x00000010 0x00000000 +GPP_E17 (0x6A,0x52) 0x44000702 0x00000029 0x00000010 0x00000000 +GPP_E18 (0x6A,0x54) 0x44000702 0x0000002a 0x00000010 0x00000000 +GPP_E19 (0x6A,0x56) 0x44000602 0x0000002b 0x00000810 0x00000000 +GPP_E20 (0x6A,0x58) 0x44000702 0x0000002c 0x00000010 0x00000000 +GPP_E21 (0x6A,0x5A) 0x44000602 0x0000002d 0x00000810 0x00000000 +GPP_E22 (0x6A,0x5C) 0x44000102 0x0000002e 0x00000010 0x00000000 +GPP_E23 (0x6A,0x5E) 0x44000102 0x0000002f 0x00000010 0x00000000 +## HDAUDIO ## +hdaudioC0D0 + vendor_name: Realtek + chip_name: ALC293 + vendor_id: 0x10ec0293 + subsystem_id: 0x15581404 + revision_id: 0x100003 + 0x12: 0x90a60140 + 0x13: 0x40000000 + 0x14: 0x90170110 + 0x15: 0x02211020 + 0x16: 0x411111f0 + 0x18: 0x02a11050 + 0x19: 0x411111f0 + 0x1a: 0x411111f0 + 0x1b: 0x411111f0 + 0x1d: 0x41738205 + 0x1e: 0x02451130 +hdaudioC0D2 + vendor_name: Intel + chip_name: Kabylake HDMI + vendor_id: 0x8086280b + subsystem_id: 0x80860101 + revision_id: 0x100000 + 0x05: 0x18560010 + 0x06: 0x18560010 + 0x07: 0x18560010 diff --git a/models/darp6/ec.rom b/models/darp6/ec.rom new file mode 100644 index 0000000..2c73202 --- /dev/null +++ b/models/darp6/ec.rom @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:79aa8907d1a7789845be9e4abbe707f58c0a9b7adfd641d9ab90569f62ffb36f +size 131072 diff --git a/models/darp6/fd.rom b/models/darp6/fd.rom new file mode 100644 index 0000000..7bcf693 --- /dev/null +++ b/models/darp6/fd.rom @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4e759a311e3a37edfcf36b9ebdbf2e9e51e404ed9d384aa951b7a6dd9907f6ba +size 4096 diff --git a/models/darp6/gpio.h b/models/darp6/gpio.h new file mode 100644 index 0000000..786efc6 --- /dev/null +++ b/models/darp6/gpio.h @@ -0,0 +1,218 @@ +/* + * This file is part of the coreboot project. + * + * Copyright (C) 2019 System76 + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; version 2 of the License. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.See the + * GNU General Public License for more details. + */ + +#ifndef MAINBOARD_GPIO_H +#define MAINBOARD_GPIO_H + +#include +#include + +#ifndef __ACPI__ + +/* Pad configuration in ramstage. */ +static const struct pad_config gpio_table[] = { + PAD_CFG_GPI(GPD0, NONE, PWROK), + PAD_CFG_NF(GPD1, NATIVE, DEEP, NF1), + PAD_CFG_GPI(GPD2, NATIVE, PWROK), + PAD_CFG_NF(GPD3, UP_20K, DEEP, NF1), + PAD_CFG_NF(GPD4, NONE, DEEP, NF1), + PAD_CFG_NF(GPD5, NONE, DEEP, NF1), + PAD_CFG_NF(GPD6, NONE, DEEP, NF1), + PAD_CFG_GPI(GPD7, NONE, PWROK), + PAD_CFG_NF(GPD8, NONE, DEEP, NF1), + PAD_CFG_GPI(GPD9, NONE, PWROK), + PAD_CFG_NF(GPD10, NONE, DEEP, NF1), + PAD_CFG_GPI(GPD11, NONE, PWROK), + PAD_CFG_NF(GPP_A0, NONE, DEEP, NF1), + PAD_CFG_NF(GPP_A1, NATIVE, DEEP, NF1), + PAD_CFG_NF(GPP_A2, NATIVE, DEEP, NF1), + PAD_CFG_NF(GPP_A3, NATIVE, DEEP, NF1), + PAD_CFG_NF(GPP_A4, NATIVE, DEEP, NF1), + PAD_CFG_NF(GPP_A5, NONE, DEEP, NF1), + PAD_CFG_NF(GPP_A6, NONE, DEEP, NF1), + PAD_CFG_GPI(GPP_A7, NONE, DEEP), + PAD_CFG_NF(GPP_A8, NONE, DEEP, NF1), + PAD_CFG_NF(GPP_A9, DN_20K, DEEP, NF1), + PAD_CFG_NF(GPP_A10, DN_20K, DEEP, NF1), + PAD_CFG_GPI(GPP_A11, UP_20K, DEEP), + PAD_CFG_GPI(GPP_A12, NONE, DEEP), + PAD_CFG_NF(GPP_A13, NONE, DEEP, NF1), + PAD_CFG_NF(GPP_A14, NONE, DEEP, NF1), + PAD_CFG_NF(GPP_A15, UP_20K, DEEP, NF1), + PAD_CFG_GPI(GPP_A16, NONE, DEEP), + PAD_CFG_GPI(GPP_A17, NONE, DEEP), + PAD_CFG_GPI(GPP_A18, NONE, DEEP), + PAD_CFG_GPI(GPP_A19, NONE, DEEP), + PAD_CFG_GPI(GPP_A20, NONE, DEEP), + PAD_CFG_GPI(GPP_A21, NONE, DEEP), + PAD_CFG_TERM_GPO(GPP_A22, 0, NONE, DEEP), + PAD_CFG_GPI(GPP_A23, NONE, DEEP), + PAD_CFG_GPI(GPP_B0, NONE, DEEP), + PAD_CFG_GPI(GPP_B1, NONE, DEEP), + PAD_CFG_GPI(GPP_B2, NONE, DEEP), + PAD_CFG_GPI(GPP_B3, NONE, DEEP), + PAD_CFG_GPI(GPP_B4, NONE, DEEP), + PAD_CFG_GPI(GPP_B5, NONE, DEEP), + PAD_CFG_GPI(GPP_B6, NONE, DEEP), + PAD_CFG_NF(GPP_B7, NONE, DEEP, NF1), + PAD_CFG_NF(GPP_B8, NONE, DEEP, NF1), + PAD_CFG_NF(GPP_B9, NONE, DEEP, NF1), + PAD_CFG_NF(GPP_B10, NONE, DEEP, NF1), + PAD_CFG_GPI(GPP_B11, NONE, DEEP), + PAD_CFG_NF(GPP_B12, NONE, DEEP, NF1), + PAD_CFG_NF(GPP_B13, NONE, DEEP, NF1), + PAD_CFG_NF(GPP_B14, NONE, DEEP, NF1), + PAD_CFG_GPI(GPP_B15, NONE, DEEP), + PAD_CFG_GPI(GPP_B16, NONE, DEEP), + PAD_CFG_GPI(GPP_B17, NONE, DEEP), + PAD_CFG_GPI(GPP_B18, NONE, DEEP), + PAD_CFG_GPI(GPP_B19, NONE, DEEP), + PAD_CFG_GPI(GPP_B20, NONE, DEEP), + PAD_CFG_GPI(GPP_B21, NONE, DEEP), + PAD_CFG_GPI(GPP_B22, NONE, DEEP), + PAD_CFG_GPI(GPP_B23, NONE, DEEP), + PAD_CFG_NF(GPP_C0, NONE, DEEP, NF1), + PAD_CFG_NF(GPP_C1, NONE, DEEP, NF1), + PAD_CFG_GPI(GPP_C2, NONE, DEEP), + PAD_CFG_GPI(GPP_C3, NONE, DEEP), + PAD_CFG_GPI(GPP_C4, NONE, DEEP), + PAD_CFG_GPI(GPP_C5, NONE, DEEP), + PAD_CFG_GPI(GPP_C6, NONE, DEEP), + PAD_CFG_GPI(GPP_C7, NONE, DEEP), + PAD_CFG_GPI(GPP_C8, NONE, DEEP), + _PAD_CFG_STRUCT(GPP_C9, 0x84800100, 0x3000), + PAD_CFG_TERM_GPO(GPP_C10, 0, NONE, PLTRST), + PAD_CFG_GPI(GPP_C11, NONE, DEEP), + PAD_CFG_TERM_GPO(GPP_C12, 1, NONE, PLTRST), + PAD_CFG_TERM_GPO(GPP_C13, 1, NONE, PLTRST), + PAD_CFG_TERM_GPO(GPP_C14, 0, NONE, PLTRST), + PAD_CFG_TERM_GPO(GPP_C15, 0, UP_20K, PLTRST), + PAD_CFG_NF(GPP_C16, NONE, DEEP, NF1), + PAD_CFG_NF(GPP_C17, NONE, DEEP, NF1), + PAD_CFG_GPI(GPP_C18, NONE, DEEP), + PAD_CFG_GPI(GPP_C19, NONE, DEEP), + PAD_CFG_GPI(GPP_C20, NONE, DEEP), + PAD_CFG_GPI(GPP_C21, NONE, DEEP), + PAD_CFG_GPI(GPP_C22, NONE, DEEP), + _PAD_CFG_STRUCT(GPP_C23, 0x80100100, 0x0000), + PAD_CFG_GPI(GPP_D0, NONE, DEEP), + PAD_CFG_GPI(GPP_D1, NONE, DEEP), + PAD_CFG_GPI(GPP_D2, NONE, DEEP), + PAD_CFG_GPI(GPP_D3, NONE, DEEP), + PAD_CFG_GPI(GPP_D4, NONE, DEEP), + PAD_CFG_GPI(GPP_D5, NONE, DEEP), + PAD_CFG_GPI(GPP_D6, NONE, DEEP), + PAD_CFG_GPI(GPP_D7, NONE, DEEP), + PAD_CFG_TERM_GPO(GPP_D8, 1, NONE, DEEP), + _PAD_CFG_STRUCT(GPP_D9, 0x40880100, 0x0000), + PAD_CFG_GPI(GPP_D10, NONE, DEEP), + _PAD_CFG_STRUCT(GPP_D11, 0x40880100, 0x3000), + PAD_CFG_GPI(GPP_D12, NONE, DEEP), + PAD_CFG_GPI(GPP_D13, NONE, DEEP), + PAD_CFG_GPI(GPP_D14, NONE, DEEP), + PAD_CFG_TERM_GPO(GPP_D15, 0, NONE, PLTRST), + PAD_CFG_TERM_GPO(GPP_D16, 1, NONE, PWROK), + PAD_CFG_GPI(GPP_D17, NONE, DEEP), + PAD_CFG_GPI(GPP_D18, NONE, DEEP), + PAD_CFG_NF(GPP_D19, NONE, DEEP, NF1), + PAD_CFG_NF(GPP_D20, NONE, DEEP, NF1), + PAD_CFG_GPI(GPP_D21, NONE, DEEP), + PAD_CFG_GPI(GPP_D22, NONE, DEEP), + PAD_CFG_GPI(GPP_D23, NONE, DEEP), + PAD_CFG_GPI(GPP_E0, NONE, DEEP), + PAD_CFG_GPI(GPP_E1, NONE, DEEP), + PAD_CFG_NF(GPP_E2, UP_20K, DEEP, NF1), + PAD_CFG_GPI(GPP_E3, NONE, DEEP), + PAD_CFG_GPI(GPP_E4, NONE, DEEP), + PAD_CFG_GPI(GPP_E5, NONE, DEEP), + PAD_CFG_NF(GPP_E6, NONE, DEEP, NF1), + PAD_CFG_GPI(GPP_E7, NONE, DEEP), + PAD_CFG_NF(GPP_E8, NONE, DEEP, NF1), + PAD_CFG_GPI(GPP_E9, NONE, DEEP), + PAD_CFG_GPI(GPP_E10, NONE, DEEP), + PAD_CFG_GPI(GPP_E11, NONE, DEEP), + PAD_CFG_GPI(GPP_E12, NONE, DEEP), + PAD_CFG_NF(GPP_E13, NONE, DEEP, NF1), + PAD_CFG_NF(GPP_E14, NONE, DEEP, NF1), + PAD_CFG_GPI(GPP_E15, NONE, DEEP), + _PAD_CFG_STRUCT(GPP_E16, 0x80880100, 0x0000), + PAD_CFG_NF(GPP_E17, NONE, DEEP, NF1), + PAD_CFG_NF(GPP_E18, NONE, DEEP, NF1), + PAD_CFG_NF(GPP_E19, NONE, DEEP, NF1), + PAD_CFG_NF(GPP_E20, NONE, DEEP, NF1), + PAD_CFG_NF(GPP_E21, NONE, DEEP, NF1), + PAD_CFG_GPI(GPP_E22, NONE, DEEP), + PAD_CFG_GPI(GPP_E23, NONE, DEEP), + PAD_CFG_NF(GPP_F0, NONE, DEEP, NF1), + PAD_CFG_GPI(GPP_F1, NONE, DEEP), + PAD_CFG_GPI(GPP_F2, NONE, DEEP), + PAD_CFG_GPI(GPP_F3, NONE, DEEP), + PAD_CFG_NF(GPP_F4, NONE, DEEP, NF1), + PAD_CFG_NF(GPP_F5, UP_20K, DEEP, NF1), + PAD_CFG_NF(GPP_F6, NONE, DEEP, NF1), + PAD_CFG_NF(GPP_F7, UP_20K, DEEP, NF1), + PAD_CFG_NF(GPP_F8, NONE, DEEP, NF1), + PAD_CFG_NF(GPP_F9, NONE, DEEP, NF1), + PAD_CFG_GPI(GPP_F10, NONE, DEEP), + PAD_CFG_GPI(GPP_F11, NONE, DEEP), + PAD_CFG_GPI(GPP_F12, NONE, DEEP), + PAD_CFG_GPI(GPP_F13, NONE, DEEP), + PAD_CFG_GPI(GPP_F14, NONE, DEEP), + PAD_CFG_GPI(GPP_F15, NONE, DEEP), + PAD_CFG_GPI(GPP_F16, NONE, DEEP), + PAD_CFG_GPI(GPP_F17, NONE, DEEP), + PAD_CFG_GPI(GPP_F18, NONE, DEEP), + PAD_CFG_GPI(GPP_F19, NONE, DEEP), + PAD_CFG_GPI(GPP_F20, NONE, DEEP), + PAD_CFG_GPI(GPP_F21, NONE, DEEP), + PAD_CFG_GPI(GPP_F22, NONE, DEEP), + PAD_CFG_GPI(GPP_F23, DN_20K, DEEP), + PAD_CFG_GPI(GPP_G0, NONE, DEEP), + PAD_CFG_GPI(GPP_G1, NONE, DEEP), + PAD_CFG_GPI(GPP_G2, NONE, DEEP), + PAD_CFG_GPI(GPP_G3, NONE, DEEP), + PAD_CFG_GPI(GPP_G4, NONE, DEEP), + PAD_CFG_GPI(GPP_G5, NONE, DEEP), + PAD_CFG_GPI(GPP_G6, NONE, DEEP), + PAD_CFG_GPI(GPP_G7, NONE, DEEP), + PAD_CFG_GPI(GPP_H0, NONE, DEEP), + PAD_CFG_NF(GPP_H1, NONE, DEEP, NF3), + PAD_CFG_NF(GPP_H2, NONE, DEEP, NF3), + PAD_CFG_GPI(GPP_H3, NONE, DEEP), + PAD_CFG_GPI(GPP_H4, NONE, DEEP), + PAD_CFG_GPI(GPP_H5, NONE, DEEP), + PAD_CFG_GPI(GPP_H6, NONE, DEEP), + PAD_CFG_GPI(GPP_H7, NONE, DEEP), + PAD_CFG_GPI(GPP_H8, NONE, DEEP), + PAD_CFG_GPI(GPP_H9, NONE, DEEP), + PAD_CFG_GPI(GPP_H10, NONE, DEEP), + PAD_CFG_GPI(GPP_H11, NONE, DEEP), + PAD_CFG_GPI(GPP_H12, NONE, DEEP), + PAD_CFG_GPI(GPP_H13, NONE, DEEP), + PAD_CFG_GPI(GPP_H14, NONE, DEEP), + PAD_CFG_GPI(GPP_H15, NONE, DEEP), + PAD_CFG_GPI(GPP_H16, NONE, DEEP), + PAD_CFG_GPI(GPP_H17, NONE, DEEP), + PAD_CFG_NF(GPP_H18, NONE, DEEP, NF1), + PAD_CFG_GPI(GPP_H19, NONE, DEEP), + PAD_CFG_GPI(GPP_H20, NONE, DEEP), + PAD_CFG_GPI(GPP_H21, NONE, DEEP), + PAD_NC(GPP_H22, NONE), + PAD_CFG_GPI(GPP_H23, NONE, DEEP), +}; + +#endif + +#endif diff --git a/models/darp6/me.rom b/models/darp6/me.rom new file mode 100644 index 0000000..6c81608 --- /dev/null +++ b/models/darp6/me.rom @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e5ad4cb5fa181c2348a35165d1386188fba1afd69628b750130b657e27d17934 +size 4190208 diff --git a/models/darp6/microcode.rom b/models/darp6/microcode.rom new file mode 100644 index 0000000..2c63306 --- /dev/null +++ b/models/darp6/microcode.rom @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2a8cfa26a8937e8967079175bf927f49b1fe877b95f0215dca6ce04aba97c13f +size 485376 diff --git a/models/darp6/uecflash.efi b/models/darp6/uecflash.efi new file mode 100644 index 0000000..5142e4b --- /dev/null +++ b/models/darp6/uecflash.efi @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:71a955861d154bc5b4d31b5552f7ac43619561a7ba626d7373296deb92d254a5 +size 33664 diff --git a/models/darp6/vbt.rom b/models/darp6/vbt.rom new file mode 100644 index 0000000..b338736 --- /dev/null +++ b/models/darp6/vbt.rom @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:80503c6909e370a424f046fe7866c52b0762db7250b3619c3ae36a800967234b +size 4608 diff --git a/models/galp4/IntelGopDriver.efi b/models/galp4/IntelGopDriver.efi new file mode 100644 index 0000000..aebd96c --- /dev/null +++ b/models/galp4/IntelGopDriver.efi @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ebfe655edfde77fbb8fe99bb5617701561fe7e333deedc85519a1205a26a637e +size 71072 diff --git a/models/galp4/IntelGopDriver.inf b/models/galp4/IntelGopDriver.inf new file mode 100644 index 0000000..39b2eb9 --- /dev/null +++ b/models/galp4/IntelGopDriver.inf @@ -0,0 +1,9 @@ +[Defines] + INF_VERSION = 0x00010005 + BASE_NAME = IntelGopDriver + FILE_GUID = 767222f4-a9f4-41ba-9faa-edaa1405a486 + MODULE_TYPE = UEFI_DRIVER + VERSION_STRING = 1.0 + +[Binaries.X64] + PE32|IntelGopDriver.efi|* diff --git a/models/galp4/README.md b/models/galp4/README.md new file mode 100644 index 0000000..b9773f1 --- /dev/null +++ b/models/galp4/README.md @@ -0,0 +1,16 @@ +# System76 Galago Pro (galp4) + +https://system76.com/guides/galp4 + +## Contents + +- [EC](./ec.rom) + - Size: 128 KB + - Model: N140CU + - Version: 1.07.01 +- [FD](./fd.rom) + - Size: 4 KB + - HAP: false +- [ME](./me.rom) + - Size: 4092 KB + - Version: 14.0.0.1061 diff --git a/models/galp4/README.md.in b/models/galp4/README.md.in new file mode 100644 index 0000000..423469e --- /dev/null +++ b/models/galp4/README.md.in @@ -0,0 +1,3 @@ +# System76 Galago Pro (galp4) + +https://system76.com/guides/galp4 diff --git a/models/galp4/chip.txt b/models/galp4/chip.txt new file mode 100644 index 0000000..9f128a8 --- /dev/null +++ b/models/galp4/chip.txt @@ -0,0 +1 @@ +MX25L12805D diff --git a/models/galp4/coreboot-collector.txt b/models/galp4/coreboot-collector.txt new file mode 100644 index 0000000..2c46e37 --- /dev/null +++ b/models/galp4/coreboot-collector.txt @@ -0,0 +1,240 @@ +## PCI ## +PCI Device: 0000:00:00.0: Class 0x00060000, Vendor 0x8086, Device 0x9B61, Revision 0x0C +PCI Device: 0000:00:02.0: Class 0x00030000, Vendor 0x8086, Device 0x9B41, Revision 0x02 +PCI Device: 0000:00:12.0: Class 0x00118000, Vendor 0x8086, Device 0x02F9, Revision 0x00 +PCI Device: 0000:00:14.0: Class 0x000C0330, Vendor 0x8086, Device 0x02ED, Revision 0x00 +PCI Device: 0000:00:14.2: Class 0x00050000, Vendor 0x8086, Device 0x02EF, Revision 0x00 +PCI Device: 0000:00:14.3: Class 0x00028000, Vendor 0x8086, Device 0x02F0, Revision 0x00 +PCI Device: 0000:00:16.0: Class 0x00078000, Vendor 0x8086, Device 0x02E0, Revision 0x00 +PCI Device: 0000:00:17.0: Class 0x00010601, Vendor 0x8086, Device 0x02D3, Revision 0x00 +PCI Device: 0000:00:1c.0: Class 0x00060400, Vendor 0x8086, Device 0x02BC, Revision 0xF0 +PCI Device: 0000:00:1d.0: Class 0x00060400, Vendor 0x8086, Device 0x02B0, Revision 0xF0 +PCI Device: 0000:00:1f.0: Class 0x00060100, Vendor 0x8086, Device 0x0284, Revision 0x00 +PCI Device: 0000:00:1f.3: Class 0x00040300, Vendor 0x8086, Device 0x02C8, Revision 0x00 +PCI Device: 0000:00:1f.4: Class 0x000C0500, Vendor 0x8086, Device 0x02A3, Revision 0x00 +PCI Device: 0000:00:1f.5: Class 0x000C8000, Vendor 0x8086, Device 0x02A4, Revision 0x00 +PCI Device: 0000:01:00.0: Class 0x00060400, Vendor 0x8086, Device 0x15E7, Revision 0x06 +PCI Device: 0000:02:00.0: Class 0x00060400, Vendor 0x8086, Device 0x15E7, Revision 0x06 +PCI Device: 0000:02:01.0: Class 0x00060400, Vendor 0x8086, Device 0x15E7, Revision 0x06 +PCI Device: 0000:02:02.0: Class 0x00060400, Vendor 0x8086, Device 0x15E7, Revision 0x06 +PCI Device: 0000:03:00.0: Class 0x00088000, Vendor 0x8086, Device 0x15E8, Revision 0x06 +PCI Device: 0000:3a:00.0: Class 0x000C0330, Vendor 0x8086, Device 0x15E9, Revision 0x06 +PCI Device: 0000:3b:00.0: Class 0x00FF0000, Vendor 0x10EC, Device 0x5287, Revision 0x01 +PCI Device: 0000:3b:00.1: Class 0x00020000, Vendor 0x10EC, Device 0x8168, Revision 0x12 +## GPIO ## +400 Series PCH-LP +GPP_A0 (0x6E,0x00) 0x44000702 0x00000018 0x00000010 0x00000000 +GPP_A1 (0x6E,0x02) 0x44000702 0x00003c19 0x00000010 0x00000000 +GPP_A2 (0x6E,0x04) 0x44000702 0x00003c1a 0x00000010 0x00000000 +GPP_A3 (0x6E,0x06) 0x44000702 0x00003c1b 0x00000010 0x00000000 +GPP_A4 (0x6E,0x08) 0x44000702 0x00003c1c 0x00000010 0x00000000 +GPP_A5 (0x6E,0x0A) 0x44000700 0x0000001d 0x00000010 0x00000000 +GPP_A6 (0x6E,0x0C) 0x44000702 0x0000001e 0x00000010 0x00000000 +GPP_A7 (0x6E,0x0E) 0x44000102 0x0000001f 0x00000010 0x00000000 +GPP_A8 (0x6E,0x10) 0x44000700 0x00000020 0x00000010 0x00000000 +GPP_A9 (0x6E,0x12) 0x44000700 0x00001021 0x00000010 0x00000000 +GPP_A10 (0x6E,0x14) 0x44000500 0x00001022 0x00000010 0x00000000 +GPP_A11 (0x6E,0x16) 0x44000102 0x00003023 0x00000010 0x00000000 +GPP_A12 (0x6E,0x18) 0x44000102 0x00000024 0x00000010 0x00000000 +GPP_A13 (0x6E,0x1A) 0x44000700 0x00000025 0x00000010 0x00000000 +GPP_A14 (0x6E,0x1C) 0x44000700 0x00000026 0x00000010 0x00000000 +GPP_A15 (0x6E,0x1E) 0x44000702 0x00003027 0x00000010 0x00000000 +GPP_A16 (0x6E,0x20) 0x44000102 0x00000028 0x00000010 0x00000000 +GPP_A17 (0x6E,0x22) 0x44000100 0x00000029 0x00000010 0x00000000 +GPP_A18 (0x6E,0x24) 0x44000102 0x0000002a 0x00000010 0x00000000 +GPP_A19 (0x6E,0x26) 0x44000102 0x0000002b 0x00000010 0x00000000 +GPP_A20 (0x6E,0x28) 0x44000102 0x0000002c 0x00000010 0x00000000 +GPP_A21 (0x6E,0x2A) 0x44000102 0x0000002d 0x00000010 0x00000000 +GPP_A22 (0x6E,0x2C) 0x44000200 0x0000002e 0x00000010 0x00000000 +GPP_A23 (0x6E,0x2E) 0x44000102 0x0000002f 0x00000010 0x00000000 +GPP_B0 (0x6E,0x32) 0x44000102 0x00000030 0x00000010 0x00000000 +GPP_B1 (0x6E,0x34) 0x44000102 0x00000031 0x00000010 0x00000000 +GPP_B2 (0x6E,0x36) 0x44000102 0x00000032 0x00000010 0x00000000 +GPP_B3 (0x6E,0x38) 0x44000102 0x00000033 0x00000010 0x00000000 +GPP_B4 (0x6E,0x3A) 0x44000102 0x00000034 0x00000010 0x00000000 +GPP_B5 (0x6E,0x3C) 0x44000102 0x00000035 0x00000010 0x00000000 +GPP_B6 (0x6E,0x3E) 0x44000102 0x00000036 0x00000010 0x00000000 +GPP_B7 (0x6E,0x40) 0x44000702 0x00000037 0x00000010 0x00000000 +GPP_B8 (0x6E,0x42) 0x44000700 0x00000038 0x00000010 0x00000000 +GPP_B9 (0x6E,0x44) 0x44000702 0x00000039 0x00000010 0x00000000 +GPP_B10 (0x6E,0x46) 0x44000702 0x0000003a 0x00000010 0x00000000 +GPP_B11 (0x6E,0x48) 0x44000102 0x0000003b 0x00000010 0x00000000 +GPP_B12 (0x6E,0x4A) 0x44000700 0x0000003c 0x00000010 0x00000000 +GPP_B13 (0x6E,0x4C) 0x44000700 0x0000003d 0x00000010 0x00000000 +GPP_B14 (0x6E,0x4E) 0x44000600 0x0000003e 0x00000010 0x00000000 +GPP_B15 (0x6E,0x50) 0x44000102 0x0000003f 0x00000010 0x00000000 +GPP_B16 (0x6E,0x52) 0x44000102 0x00000040 0x00000010 0x00000000 +GPP_B17 (0x6E,0x54) 0x44000100 0x00000041 0x00000010 0x00000000 +GPP_B18 (0x6E,0x56) 0x44000102 0x00000042 0x00000010 0x00000000 +GPP_B19 (0x6E,0x58) 0x44000102 0x00000043 0x00000010 0x00000000 +GPP_B20 (0x6E,0x5A) 0x44000102 0x00000044 0x00000010 0x00000000 +GPP_B21 (0x6E,0x5C) 0x44000102 0x00000045 0x00000010 0x00000000 +GPP_B22 (0x6E,0x5E) 0x44000102 0x00000046 0x00000010 0x00000000 +GPP_B23 (0x6E,0x60) 0x44000102 0x00000047 0x00000010 0x00000000 +GPP_G0 (0x6E,0x66) 0x44000102 0x0000006c 0x00000010 0x00000000 +GPP_G1 (0x6E,0x68) 0x44000102 0x0000006d 0x00000010 0x00000000 +GPP_G2 (0x6E,0x6A) 0x44000102 0x0000006e 0x00000010 0x00000000 +GPP_G3 (0x6E,0x6C) 0x44000102 0x0000006f 0x00000010 0x00000000 +GPP_G4 (0x6E,0x6E) 0x44000102 0x00000070 0x00000010 0x00000000 +GPP_G5 (0x6E,0x70) 0x44000102 0x00000071 0x00000010 0x00000000 +GPP_G6 (0x6E,0x72) 0x44000102 0x00000072 0x00000010 0x00000000 +GPP_G7 (0x6E,0x74) 0x44000102 0x00000073 0x00000010 0x00000000 +GPP_D0 (0x6D,0x00) 0x44000102 0x00000060 0x00000010 0x00000000 +GPP_D1 (0x6D,0x02) 0x44000102 0x00000061 0x00000010 0x00000000 +GPP_D2 (0x6D,0x04) 0x44000102 0x00000062 0x00000010 0x00000000 +GPP_D3 (0x6D,0x06) 0x44000102 0x00000063 0x00000010 0x00000000 +GPP_D4 (0x6D,0x08) 0x44000102 0x00000064 0x00000010 0x00000000 +GPP_D5 (0x6D,0x0A) 0x44000102 0x00000065 0x00000010 0x00000000 +GPP_D6 (0x6D,0x0C) 0x44000102 0x00000066 0x00000010 0x00000000 +GPP_D7 (0x6D,0x0E) 0x44000102 0x00000067 0x00000010 0x00000000 +GPP_D8 (0x6D,0x10) 0x44000201 0x00000068 0x00000010 0x00000000 +GPP_D9 (0x6D,0x12) 0x40880102 0x00000069 0x00000010 0x00000000 +GPP_D10 (0x6D,0x14) 0x44000102 0x0000006a 0x00000010 0x00000000 +GPP_D11 (0x6D,0x16) 0x40880102 0x0000306b 0x00000010 0x00000000 +GPP_D12 (0x6D,0x18) 0x44000102 0x0000006c 0x00000810 0x00000000 +GPP_D13 (0x6D,0x1A) 0x44000102 0x0000006d 0x00000010 0x00000000 +GPP_D14 (0x6D,0x1C) 0x44000102 0x0000006e 0x00000010 0x00000000 +GPP_D15 (0x6D,0x1E) 0x84000200 0x0000006f 0x00000010 0x00000000 +GPP_D16 (0x6D,0x20) 0x04000201 0x00000070 0x00000010 0x00000000 +GPP_D17 (0x6D,0x22) 0x44000102 0x00000071 0x00000010 0x00000000 +GPP_D18 (0x6D,0x24) 0x44000102 0x00000072 0x00000010 0x00000000 +GPP_D19 (0x6D,0x26) 0x44000500 0x00000073 0x00000010 0x00000000 +GPP_D20 (0x6D,0x28) 0x44000500 0x00000074 0x00000010 0x00000000 +GPP_D21 (0x6D,0x2A) 0x44000102 0x00000075 0x00000010 0x00000000 +GPP_D22 (0x6D,0x2C) 0x44000102 0x00000076 0x00000010 0x00000000 +GPP_D23 (0x6D,0x2E) 0x44000102 0x00000077 0x00000010 0x00000000 +GPP_F0 (0x6D,0x32) 0x44000700 0x00000030 0x00000010 0x00000000 +GPP_F1 (0x6D,0x34) 0x44000100 0x00000031 0x00000010 0x00000000 +GPP_F2 (0x6D,0x36) 0x44000100 0x00000032 0x00000010 0x00000000 +GPP_F3 (0x6D,0x38) 0x44000100 0x00000033 0x00000010 0x00000000 +GPP_F4 (0x6D,0x3A) 0x44000700 0x00000034 0x00000010 0x00000000 +GPP_F5 (0x6D,0x3C) 0x44000702 0x00003035 0x00000010 0x00000000 +GPP_F6 (0x6D,0x3E) 0x44000700 0x00000036 0x00000010 0x00000000 +GPP_F7 (0x6D,0x40) 0x44000702 0x00003037 0x00000010 0x00000000 +GPP_F8 (0x6D,0x42) 0x44000700 0x00000038 0x00000010 0x00000000 +GPP_F9 (0x6D,0x44) 0x44000700 0x00000039 0x00000010 0x00000000 +GPP_F10 (0x6D,0x46) 0x44000100 0x0000003a 0x00000010 0x00000000 +GPP_F11 (0x6D,0x48) 0x44000100 0x0000003b 0x00000010 0x00000000 +GPP_F12 (0x6D,0x4A) 0x44000100 0x0000003c 0x00000010 0x00000000 +GPP_F13 (0x6D,0x4C) 0x44000100 0x0000003d 0x00000010 0x00000000 +GPP_F14 (0x6D,0x4E) 0x44000100 0x0000003e 0x00000010 0x00000000 +GPP_F15 (0x6D,0x50) 0x44000100 0x0000003f 0x00000010 0x00000000 +GPP_F16 (0x6D,0x52) 0x44000100 0x00000040 0x00000010 0x00000000 +GPP_F17 (0x6D,0x54) 0x44000100 0x00000041 0x00000010 0x00000000 +GPP_F18 (0x6D,0x56) 0x44000100 0x00000042 0x00000010 0x00000000 +GPP_F19 (0x6D,0x58) 0x44000100 0x00000043 0x00000010 0x00000000 +GPP_F20 (0x6D,0x5A) 0x44000100 0x00000044 0x00000010 0x00000000 +GPP_F21 (0x6D,0x5C) 0x44000100 0x00000045 0x00000010 0x00000000 +GPP_F22 (0x6D,0x5E) 0x44000100 0x00000046 0x00000010 0x00000000 +GPP_F23 (0x6D,0x60) 0x44000100 0x00001047 0x00000010 0x00000000 +GPP_H0 (0x6D,0x62) 0x44000102 0x00000048 0x00000010 0x00000000 +GPP_H1 (0x6D,0x64) 0x44000f00 0x00000049 0x00000010 0x00000000 +GPP_H2 (0x6D,0x66) 0x44000f00 0x0000004a 0x00000010 0x00000000 +GPP_H3 (0x6D,0x68) 0x44000102 0x0000004b 0x00000010 0x00000000 +GPP_H4 (0x6D,0x6A) 0x44000102 0x0000004c 0x00000010 0x00000000 +GPP_H5 (0x6D,0x6C) 0x44000102 0x0000004d 0x00000010 0x00000000 +GPP_H6 (0x6D,0x6E) 0x44000102 0x0000004e 0x00000010 0x00000000 +GPP_H7 (0x6D,0x70) 0x44000102 0x0000004f 0x00000010 0x00000000 +GPP_H8 (0x6D,0x72) 0x44000102 0x00000050 0x00000010 0x00000000 +GPP_H9 (0x6D,0x74) 0x44000102 0x00000051 0x00000010 0x00000000 +GPP_H10 (0x6D,0x76) 0x44000102 0x00000052 0x00000010 0x00000000 +GPP_H11 (0x6D,0x78) 0x44000102 0x00000053 0x00000010 0x00000000 +GPP_H12 (0x6D,0x7A) 0x44000102 0x00000054 0x00000010 0x00000000 +GPP_H13 (0x6D,0x7C) 0x44000102 0x00000055 0x00000010 0x00000000 +GPP_H14 (0x6D,0x7E) 0x44000102 0x00000056 0x00000010 0x00000000 +GPP_H15 (0x6D,0x80) 0x44000102 0x00000057 0x00000010 0x00000000 +GPP_H16 (0x6D,0x82) 0x44000102 0x00000058 0x00000010 0x00000000 +GPP_H17 (0x6D,0x84) 0x44000102 0x00000059 0x00000010 0x00000000 +GPP_H18 (0x6D,0x86) 0x44000500 0x0000005a 0x00000010 0x00000000 +GPP_H19 (0x6D,0x88) 0x44000102 0x0000005b 0x00000010 0x00000000 +GPP_H20 (0x6D,0x8A) 0x44000102 0x0000005c 0x00000010 0x00000000 +GPP_H21 (0x6D,0x8C) 0x44000102 0x0000005d 0x00000810 0x00000000 +GPP_H22 (0x6D,0x8E) 0x44000300 0x0000005e 0x00000010 0x00000000 +GPP_H23 (0x6D,0x90) 0x44000102 0x0000005f 0x00000010 0x00000000 +GPD0 (0x6C,0x00) 0x04000102 0x00000060 0x00000010 0x00000000 +GPD1 (0x6C,0x02) 0x44000702 0x00003c61 0x00000010 0x00000000 +GPD2 (0x6C,0x04) 0x04000102 0x00003c62 0x00000010 0x00000000 +GPD3 (0x6C,0x06) 0x44000702 0x00003063 0x00000010 0x00000000 +GPD4 (0x6C,0x08) 0x44000600 0x00000064 0x00000010 0x00000000 +GPD5 (0x6C,0x0A) 0x44000600 0x00000065 0x00000010 0x00000000 +GPD6 (0x6C,0x0C) 0x44000600 0x00000066 0x00000010 0x00000000 +GPD7 (0x6C,0x0E) 0x04000102 0x00000067 0x00000810 0x00000000 +GPD8 (0x6C,0x10) 0x44000700 0x00000068 0x00000010 0x00000000 +GPD9 (0x6C,0x12) 0x04000102 0x00000069 0x00000010 0x00000000 +GPD10 (0x6C,0x14) 0x44000600 0x0000006a 0x00000010 0x00000000 +GPD11 (0x6C,0x16) 0x04000102 0x0000006b 0x00000010 0x00000000 +GPP_C0 (0x6A,0x00) 0x44000702 0x00000048 0x00000010 0x00000000 +GPP_C1 (0x6A,0x02) 0x44000702 0x00000049 0x00000010 0x00000000 +GPP_C2 (0x6A,0x04) 0x44000102 0x0000004a 0x00000010 0x00000000 +GPP_C3 (0x6A,0x06) 0x44000102 0x0000004b 0x00000010 0x00000000 +GPP_C4 (0x6A,0x08) 0x44000102 0x0000004c 0x00000010 0x00000000 +GPP_C5 (0x6A,0x0A) 0x44000100 0x0000004d 0x00000010 0x00000000 +GPP_C6 (0x6A,0x0C) 0x44000102 0x0000004e 0x00000010 0x00000000 +GPP_C7 (0x6A,0x0E) 0x44000102 0x0000004f 0x00000010 0x00000000 +GPP_C8 (0x6A,0x10) 0x44000102 0x00000050 0x00000010 0x00000000 +GPP_C9 (0x6A,0x12) 0x84800102 0x00003051 0x00000010 0x00000000 +GPP_C10 (0x6A,0x14) 0x84000200 0x00000052 0x00000010 0x00000000 +GPP_C11 (0x6A,0x16) 0x44000102 0x00000053 0x00000010 0x00000000 +GPP_C12 (0x6A,0x18) 0x84000201 0x00000054 0x00000010 0x00000000 +GPP_C13 (0x6A,0x1A) 0x84000201 0x00000055 0x00000010 0x00000000 +GPP_C14 (0x6A,0x1C) 0x84000200 0x00000056 0x00000010 0x00000000 +GPP_C15 (0x6A,0x1E) 0x84000200 0x00003057 0x00000010 0x00000000 +GPP_C16 (0x6A,0x20) 0x44000102 0x00000058 0x00000010 0x00000000 +GPP_C17 (0x6A,0x22) 0x44000102 0x00000059 0x00000010 0x00000000 +GPP_C18 (0x6A,0x24) 0x44000102 0x0000005a 0x00000010 0x00000000 +GPP_C19 (0x6A,0x26) 0x44000102 0x0000005b 0x00000010 0x00000000 +GPP_C20 (0x6A,0x28) 0x44000102 0x0000005c 0x00000010 0x00000000 +GPP_C21 (0x6A,0x2A) 0x44000102 0x0000005d 0x00000010 0x00000000 +GPP_C22 (0x6A,0x2C) 0x44000102 0x0000005e 0x00000010 0x00000000 +GPP_C23 (0x6A,0x2E) 0x44000102 0x0000005f 0x00000010 0x00000000 +GPP_E0 (0x6A,0x30) 0x44000102 0x00000018 0x00000010 0x00000000 +GPP_E1 (0x6A,0x32) 0x44000102 0x00000019 0x00000010 0x00000000 +GPP_E2 (0x6A,0x34) 0x44000700 0x0000301a 0x00000010 0x00000000 +GPP_E3 (0x6A,0x36) 0x44000102 0x0000001b 0x00000010 0x00000000 +GPP_E4 (0x6A,0x38) 0x44000102 0x0000001c 0x00000010 0x00000000 +GPP_E5 (0x6A,0x3A) 0x44000102 0x0000001d 0x00000010 0x00000000 +GPP_E6 (0x6A,0x3C) 0x44000700 0x0000001e 0x00000010 0x00000000 +GPP_E7 (0x6A,0x3E) 0x44000102 0x0000001f 0x00000010 0x00000000 +GPP_E8 (0x6A,0x40) 0x44000700 0x00000020 0x00000010 0x00000000 +GPP_E9 (0x6A,0x42) 0x44000102 0x00000021 0x00000810 0x00000000 +GPP_E10 (0x6A,0x44) 0x44000102 0x00000022 0x00000810 0x00000000 +GPP_E11 (0x6A,0x46) 0x44000102 0x00000023 0x00000810 0x00000000 +GPP_E12 (0x6A,0x48) 0x44000102 0x00000024 0x00000010 0x00000000 +GPP_E13 (0x6A,0x4A) 0x44000700 0x00000025 0x00000010 0x00000000 +GPP_E14 (0x6A,0x4C) 0x44000700 0x00000026 0x00000010 0x00000000 +GPP_E15 (0x6A,0x4E) 0x44000102 0x00000027 0x00000010 0x00000000 +GPP_E16 (0x6A,0x50) 0x80880102 0x00000028 0x00000010 0x00000000 +GPP_E17 (0x6A,0x52) 0x44000702 0x00000029 0x00000010 0x00000000 +GPP_E18 (0x6A,0x54) 0x44000702 0x0000002a 0x00000010 0x00000000 +GPP_E19 (0x6A,0x56) 0x44000602 0x0000002b 0x00000810 0x00000000 +GPP_E20 (0x6A,0x58) 0x44000702 0x0000002c 0x00000010 0x00000000 +GPP_E21 (0x6A,0x5A) 0x44000602 0x0000002d 0x00000810 0x00000000 +GPP_E22 (0x6A,0x5C) 0x44000102 0x0000002e 0x00000010 0x00000000 +GPP_E23 (0x6A,0x5E) 0x44000102 0x0000002f 0x00000010 0x00000000 +## HDAUDIO ## +hdaudioC0D0 + vendor_name: Realtek + chip_name: ALC293 + vendor_id: 0x10ec0293 + subsystem_id: 0x15581403 + revision_id: 0x100003 + 0x12: 0x90a60130 + 0x13: 0x40000000 + 0x14: 0x90170110 + 0x15: 0x02211020 + 0x16: 0x411111f0 + 0x18: 0x02a11040 + 0x19: 0x411111f0 + 0x1a: 0x411111f0 + 0x1b: 0x411111f0 + 0x1d: 0x41738205 + 0x1e: 0x411111f0 +hdaudioC0D2 + vendor_name: Intel + chip_name: Kabylake HDMI + vendor_id: 0x8086280b + subsystem_id: 0x80860101 + revision_id: 0x100000 + 0x05: 0x18560010 + 0x06: 0x18560010 + 0x07: 0x18560010 diff --git a/models/galp4/ec.rom b/models/galp4/ec.rom new file mode 100644 index 0000000..a1cb1a0 --- /dev/null +++ b/models/galp4/ec.rom @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5c3d20973f1e5cf16aa5cd37a628557f6dcbff64d4fd2e8af9c8bc97406ea1c8 +size 131072 diff --git a/models/galp4/fd.rom b/models/galp4/fd.rom new file mode 100644 index 0000000..7bcf693 --- /dev/null +++ b/models/galp4/fd.rom @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4e759a311e3a37edfcf36b9ebdbf2e9e51e404ed9d384aa951b7a6dd9907f6ba +size 4096 diff --git a/models/galp4/gpio.h b/models/galp4/gpio.h new file mode 100644 index 0000000..4e36545 --- /dev/null +++ b/models/galp4/gpio.h @@ -0,0 +1,218 @@ +/* + * This file is part of the coreboot project. + * + * Copyright (C) 2019 System76 + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; version 2 of the License. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.See the + * GNU General Public License for more details. + */ + +#ifndef MAINBOARD_GPIO_H +#define MAINBOARD_GPIO_H + +#include +#include + +#ifndef __ACPI__ + +/* Pad configuration in ramstage. */ +static const struct pad_config gpio_table[] = { + PAD_CFG_GPI(GPD0, NONE, PWROK), + PAD_CFG_NF(GPD1, NATIVE, DEEP, NF1), + PAD_CFG_GPI(GPD2, NATIVE, PWROK), + PAD_CFG_NF(GPD3, UP_20K, DEEP, NF1), + PAD_CFG_NF(GPD4, NONE, DEEP, NF1), + PAD_CFG_NF(GPD5, NONE, DEEP, NF1), + PAD_CFG_NF(GPD6, NONE, DEEP, NF1), + PAD_CFG_GPI(GPD7, NONE, PWROK), + PAD_CFG_NF(GPD8, NONE, DEEP, NF1), + PAD_CFG_GPI(GPD9, NONE, PWROK), + PAD_CFG_NF(GPD10, NONE, DEEP, NF1), + PAD_CFG_GPI(GPD11, NONE, PWROK), + PAD_CFG_NF(GPP_A0, NONE, DEEP, NF1), + PAD_CFG_NF(GPP_A1, NATIVE, DEEP, NF1), + PAD_CFG_NF(GPP_A2, NATIVE, DEEP, NF1), + PAD_CFG_NF(GPP_A3, NATIVE, DEEP, NF1), + PAD_CFG_NF(GPP_A4, NATIVE, DEEP, NF1), + PAD_CFG_NF(GPP_A5, NONE, DEEP, NF1), + PAD_CFG_NF(GPP_A6, NONE, DEEP, NF1), + PAD_CFG_GPI(GPP_A7, NONE, DEEP), + PAD_CFG_NF(GPP_A8, NONE, DEEP, NF1), + PAD_CFG_NF(GPP_A9, DN_20K, DEEP, NF1), + PAD_CFG_NF(GPP_A10, DN_20K, DEEP, NF1), + PAD_CFG_GPI(GPP_A11, UP_20K, DEEP), + PAD_CFG_GPI(GPP_A12, NONE, DEEP), + PAD_CFG_NF(GPP_A13, NONE, DEEP, NF1), + PAD_CFG_NF(GPP_A14, NONE, DEEP, NF1), + PAD_CFG_NF(GPP_A15, UP_20K, DEEP, NF1), + PAD_CFG_GPI(GPP_A16, NONE, DEEP), + PAD_CFG_GPI(GPP_A17, NONE, DEEP), + PAD_CFG_GPI(GPP_A18, NONE, DEEP), + PAD_CFG_GPI(GPP_A19, NONE, DEEP), + PAD_CFG_GPI(GPP_A20, NONE, DEEP), + PAD_CFG_GPI(GPP_A21, NONE, DEEP), + PAD_CFG_TERM_GPO(GPP_A22, 0, NONE, DEEP), + PAD_CFG_GPI(GPP_A23, NONE, DEEP), + PAD_CFG_GPI(GPP_B0, NONE, DEEP), + PAD_CFG_GPI(GPP_B1, NONE, DEEP), + PAD_CFG_GPI(GPP_B2, NONE, DEEP), + PAD_CFG_GPI(GPP_B3, NONE, DEEP), + PAD_CFG_GPI(GPP_B4, NONE, DEEP), + PAD_CFG_GPI(GPP_B5, NONE, DEEP), + PAD_CFG_GPI(GPP_B6, NONE, DEEP), + PAD_CFG_NF(GPP_B7, NONE, DEEP, NF1), + PAD_CFG_NF(GPP_B8, NONE, DEEP, NF1), + PAD_CFG_NF(GPP_B9, NONE, DEEP, NF1), + PAD_CFG_NF(GPP_B10, NONE, DEEP, NF1), + PAD_CFG_GPI(GPP_B11, NONE, DEEP), + PAD_CFG_NF(GPP_B12, NONE, DEEP, NF1), + PAD_CFG_NF(GPP_B13, NONE, DEEP, NF1), + PAD_CFG_NF(GPP_B14, NONE, DEEP, NF1), + PAD_CFG_GPI(GPP_B15, NONE, DEEP), + PAD_CFG_GPI(GPP_B16, NONE, DEEP), + PAD_CFG_GPI(GPP_B17, NONE, DEEP), + PAD_CFG_GPI(GPP_B18, NONE, DEEP), + PAD_CFG_GPI(GPP_B19, NONE, DEEP), + PAD_CFG_GPI(GPP_B20, NONE, DEEP), + PAD_CFG_GPI(GPP_B21, NONE, DEEP), + PAD_CFG_GPI(GPP_B22, NONE, DEEP), + PAD_CFG_GPI(GPP_B23, NONE, DEEP), + PAD_CFG_NF(GPP_C0, NONE, DEEP, NF1), + PAD_CFG_NF(GPP_C1, NONE, DEEP, NF1), + PAD_CFG_GPI(GPP_C2, NONE, DEEP), + PAD_CFG_GPI(GPP_C3, NONE, DEEP), + PAD_CFG_GPI(GPP_C4, NONE, DEEP), + PAD_CFG_GPI(GPP_C5, NONE, DEEP), + PAD_CFG_GPI(GPP_C6, NONE, DEEP), + PAD_CFG_GPI(GPP_C7, NONE, DEEP), + PAD_CFG_GPI(GPP_C8, NONE, DEEP), + _PAD_CFG_STRUCT(GPP_C9, 0x84800100, 0x3000), + PAD_CFG_TERM_GPO(GPP_C10, 0, NONE, PLTRST), + PAD_CFG_GPI(GPP_C11, NONE, DEEP), + PAD_CFG_TERM_GPO(GPP_C12, 1, NONE, PLTRST), + PAD_CFG_TERM_GPO(GPP_C13, 1, NONE, PLTRST), + PAD_CFG_TERM_GPO(GPP_C14, 0, NONE, PLTRST), + PAD_CFG_TERM_GPO(GPP_C15, 0, UP_20K, PLTRST), + PAD_CFG_GPI(GPP_C16, NONE, DEEP), + PAD_CFG_GPI(GPP_C17, NONE, DEEP), + PAD_CFG_GPI(GPP_C18, NONE, DEEP), + PAD_CFG_GPI(GPP_C19, NONE, DEEP), + PAD_CFG_GPI(GPP_C20, NONE, DEEP), + PAD_CFG_GPI(GPP_C21, NONE, DEEP), + PAD_CFG_GPI(GPP_C22, NONE, DEEP), + PAD_CFG_GPI(GPP_C23, NONE, DEEP), + PAD_CFG_GPI(GPP_D0, NONE, DEEP), + PAD_CFG_GPI(GPP_D1, NONE, DEEP), + PAD_CFG_GPI(GPP_D2, NONE, DEEP), + PAD_CFG_GPI(GPP_D3, NONE, DEEP), + PAD_CFG_GPI(GPP_D4, NONE, DEEP), + PAD_CFG_GPI(GPP_D5, NONE, DEEP), + PAD_CFG_GPI(GPP_D6, NONE, DEEP), + PAD_CFG_GPI(GPP_D7, NONE, DEEP), + PAD_CFG_TERM_GPO(GPP_D8, 1, NONE, DEEP), + _PAD_CFG_STRUCT(GPP_D9, 0x40880100, 0x0000), + PAD_CFG_GPI(GPP_D10, NONE, DEEP), + _PAD_CFG_STRUCT(GPP_D11, 0x40880100, 0x3000), + PAD_CFG_GPI(GPP_D12, NONE, DEEP), + PAD_CFG_GPI(GPP_D13, NONE, DEEP), + PAD_CFG_GPI(GPP_D14, NONE, DEEP), + PAD_CFG_TERM_GPO(GPP_D15, 0, NONE, PLTRST), + PAD_CFG_TERM_GPO(GPP_D16, 1, NONE, PWROK), + PAD_CFG_GPI(GPP_D17, NONE, DEEP), + PAD_CFG_GPI(GPP_D18, NONE, DEEP), + PAD_CFG_NF(GPP_D19, NONE, DEEP, NF1), + PAD_CFG_NF(GPP_D20, NONE, DEEP, NF1), + PAD_CFG_GPI(GPP_D21, NONE, DEEP), + PAD_CFG_GPI(GPP_D22, NONE, DEEP), + PAD_CFG_GPI(GPP_D23, NONE, DEEP), + PAD_CFG_GPI(GPP_E0, NONE, DEEP), + PAD_CFG_GPI(GPP_E1, NONE, DEEP), + PAD_CFG_NF(GPP_E2, UP_20K, DEEP, NF1), + PAD_CFG_GPI(GPP_E3, NONE, DEEP), + PAD_CFG_GPI(GPP_E4, NONE, DEEP), + PAD_CFG_GPI(GPP_E5, NONE, DEEP), + PAD_CFG_NF(GPP_E6, NONE, DEEP, NF1), + PAD_CFG_GPI(GPP_E7, NONE, DEEP), + PAD_CFG_NF(GPP_E8, NONE, DEEP, NF1), + PAD_CFG_GPI(GPP_E9, NONE, DEEP), + PAD_CFG_GPI(GPP_E10, NONE, DEEP), + PAD_CFG_GPI(GPP_E11, NONE, DEEP), + PAD_CFG_GPI(GPP_E12, NONE, DEEP), + PAD_CFG_NF(GPP_E13, NONE, DEEP, NF1), + PAD_CFG_NF(GPP_E14, NONE, DEEP, NF1), + PAD_CFG_GPI(GPP_E15, NONE, DEEP), + _PAD_CFG_STRUCT(GPP_E16, 0x80880100, 0x0000), + PAD_CFG_NF(GPP_E17, NONE, DEEP, NF1), + PAD_CFG_NF(GPP_E18, NONE, DEEP, NF1), + PAD_CFG_NF(GPP_E19, NONE, DEEP, NF1), + PAD_CFG_NF(GPP_E20, NONE, DEEP, NF1), + PAD_CFG_NF(GPP_E21, NONE, DEEP, NF1), + PAD_CFG_GPI(GPP_E22, NONE, DEEP), + PAD_CFG_GPI(GPP_E23, NONE, DEEP), + PAD_CFG_NF(GPP_F0, NONE, DEEP, NF1), + PAD_CFG_GPI(GPP_F1, NONE, DEEP), + PAD_CFG_GPI(GPP_F2, NONE, DEEP), + PAD_CFG_GPI(GPP_F3, NONE, DEEP), + PAD_CFG_NF(GPP_F4, NONE, DEEP, NF1), + PAD_CFG_NF(GPP_F5, UP_20K, DEEP, NF1), + PAD_CFG_NF(GPP_F6, NONE, DEEP, NF1), + PAD_CFG_NF(GPP_F7, UP_20K, DEEP, NF1), + PAD_CFG_NF(GPP_F8, NONE, DEEP, NF1), + PAD_CFG_NF(GPP_F9, NONE, DEEP, NF1), + PAD_CFG_GPI(GPP_F10, NONE, DEEP), + PAD_CFG_GPI(GPP_F11, NONE, DEEP), + PAD_CFG_GPI(GPP_F12, NONE, DEEP), + PAD_CFG_GPI(GPP_F13, NONE, DEEP), + PAD_CFG_GPI(GPP_F14, NONE, DEEP), + PAD_CFG_GPI(GPP_F15, NONE, DEEP), + PAD_CFG_GPI(GPP_F16, NONE, DEEP), + PAD_CFG_GPI(GPP_F17, NONE, DEEP), + PAD_CFG_GPI(GPP_F18, NONE, DEEP), + PAD_CFG_GPI(GPP_F19, NONE, DEEP), + PAD_CFG_GPI(GPP_F20, NONE, DEEP), + PAD_CFG_GPI(GPP_F21, NONE, DEEP), + PAD_CFG_GPI(GPP_F22, NONE, DEEP), + PAD_CFG_GPI(GPP_F23, DN_20K, DEEP), + PAD_CFG_GPI(GPP_G0, NONE, DEEP), + PAD_CFG_GPI(GPP_G1, NONE, DEEP), + PAD_CFG_GPI(GPP_G2, NONE, DEEP), + PAD_CFG_GPI(GPP_G3, NONE, DEEP), + PAD_CFG_GPI(GPP_G4, NONE, DEEP), + PAD_CFG_GPI(GPP_G5, NONE, DEEP), + PAD_CFG_GPI(GPP_G6, NONE, DEEP), + PAD_CFG_GPI(GPP_G7, NONE, DEEP), + PAD_CFG_GPI(GPP_H0, NONE, DEEP), + PAD_CFG_NF(GPP_H1, NONE, DEEP, NF3), + PAD_CFG_NF(GPP_H2, NONE, DEEP, NF3), + PAD_CFG_GPI(GPP_H3, NONE, DEEP), + PAD_CFG_GPI(GPP_H4, NONE, DEEP), + PAD_CFG_GPI(GPP_H5, NONE, DEEP), + PAD_CFG_GPI(GPP_H6, NONE, DEEP), + PAD_CFG_GPI(GPP_H7, NONE, DEEP), + PAD_CFG_GPI(GPP_H8, NONE, DEEP), + PAD_CFG_GPI(GPP_H9, NONE, DEEP), + PAD_CFG_GPI(GPP_H10, NONE, DEEP), + PAD_CFG_GPI(GPP_H11, NONE, DEEP), + PAD_CFG_GPI(GPP_H12, NONE, DEEP), + PAD_CFG_GPI(GPP_H13, NONE, DEEP), + PAD_CFG_GPI(GPP_H14, NONE, DEEP), + PAD_CFG_GPI(GPP_H15, NONE, DEEP), + PAD_CFG_GPI(GPP_H16, NONE, DEEP), + PAD_CFG_GPI(GPP_H17, NONE, DEEP), + PAD_CFG_NF(GPP_H18, NONE, DEEP, NF1), + PAD_CFG_GPI(GPP_H19, NONE, DEEP), + PAD_CFG_GPI(GPP_H20, NONE, DEEP), + PAD_CFG_GPI(GPP_H21, NONE, DEEP), + PAD_NC(GPP_H22, NONE), + PAD_CFG_GPI(GPP_H23, NONE, DEEP), +}; + +#endif + +#endif diff --git a/models/galp4/me.rom b/models/galp4/me.rom new file mode 100644 index 0000000..adcf64c --- /dev/null +++ b/models/galp4/me.rom @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:29ecd51996b82cfb1e6bc5ce1d89a3a914f39f852d0461a00ef982c8aa8eea8d +size 4190208 diff --git a/models/galp4/microcode.rom b/models/galp4/microcode.rom new file mode 100644 index 0000000..2c63306 --- /dev/null +++ b/models/galp4/microcode.rom @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2a8cfa26a8937e8967079175bf927f49b1fe877b95f0215dca6ce04aba97c13f +size 485376 diff --git a/models/galp4/uecflash.efi b/models/galp4/uecflash.efi new file mode 100644 index 0000000..5142e4b --- /dev/null +++ b/models/galp4/uecflash.efi @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:71a955861d154bc5b4d31b5552f7ac43619561a7ba626d7373296deb92d254a5 +size 33664 diff --git a/models/galp4/vbt.rom b/models/galp4/vbt.rom new file mode 100644 index 0000000..e88f16e --- /dev/null +++ b/models/galp4/vbt.rom @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4d4277e8b84d992c6a801bc32aad326aff3383cb061bae75a1bf3fa3776ff6b2 +size 4608 diff --git a/tools/coreboot-collector b/tools/coreboot-collector index 633c95c..968c705 160000 --- a/tools/coreboot-collector +++ b/tools/coreboot-collector @@ -1 +1 @@ -Subproject commit 633c95c49b71827b6bb8ba84b7a2bc783d0ba363 +Subproject commit 968c7059fa807c139894ce377e3dce671278ff2f