diff options
Diffstat (limited to 'src/mainboard/google')
-rw-r--r-- | src/mainboard/google/cherry/Kconfig | 3 | ||||
-rw-r--r-- | src/mainboard/google/cherry/variants/dojo/overridetree.cb | 22 |
2 files changed, 25 insertions, 0 deletions
diff --git a/src/mainboard/google/cherry/Kconfig b/src/mainboard/google/cherry/Kconfig index 51ad029db3..206c4e41f0 100644 --- a/src/mainboard/google/cherry/Kconfig +++ b/src/mainboard/google/cherry/Kconfig @@ -71,4 +71,7 @@ config CHERRY_USE_MAX98390 endchoice +config OVERRIDE_DEVICETREE + default "variants/dojo/overridetree.cb" if BOARD_GOOGLE_DOJO + endif diff --git a/src/mainboard/google/cherry/variants/dojo/overridetree.cb b/src/mainboard/google/cherry/variants/dojo/overridetree.cb new file mode 100644 index 0000000000..1dff594736 --- /dev/null +++ b/src/mainboard/google/cherry/variants/dojo/overridetree.cb @@ -0,0 +1,22 @@ +## SPDX-License-Identifier: GPL-2.0-only + +chip soc/mediatek/mt8195 + device domain 0 on + register "pcie_config" = "{ + .base = 0x112f0000, + .mmio_res_io = { + .cpu_addr = 0x20000000, + .pci_addr = 0x20000000, + .size = 16 * MiB, + .type = IORESOURCE_IO, + }, + .mmio_res_mem = { + .cpu_addr = 0x21000000, + .pci_addr = 0x21000000, + .size = 48 * MiB, + .type = IORESOURCE_MEM, + }, + }" + device pci 00.0 on end # - Host Bridge + end +end |