| 1 |
## SPDX-License-Identifier: GPL-2.0-or-later |
| 2 |
|
| 3 |
chip soc/intel/xeon_sp/gnr |
| 4 |
|
| 5 |
# configure LPC generic IO decode ranges |
| 6 |
# [bits 31..24: reserved] |
| 7 |
# [bits 23..18: io decode address mask <7..2>] |
| 8 |
# [bits 17..16: reserved] |
| 9 |
# [bits 15..2 : io decode dword aligned address <15..2>] |
| 10 |
# [bit 1 : reserved] |
| 11 |
# [bit 0 : enabled] |
| 12 |
register "gen1_dec" = "0x00000CA1" # IPMI KCS |
| 13 |
|
| 14 |
# configure FSP debug settings |
| 15 |
register "serial_io_uart_debug_io_base" = CONFIG_TTYS0_BASE |
| 16 |
|
| 17 |
device domain 0 on |
| 18 |
device pci 1f.0 on |
| 19 |
chip superio/common |
| 20 |
device pnp 2e.0 on |
| 21 |
chip superio/aspeed/ast2400 |
| 22 |
register "use_espi" = "1" |
| 23 |
device pnp 2e.2 on # SUART1 |
| 24 |
io 0x60 = 0x3f8 # PNP_IDX_IO0 |
| 25 |
irq 0x70 = 4 # PNP_IDX_IRQ0 |
| 26 |
end |
| 27 |
device pnp 2e.3 on # SUART2 |
| 28 |
io 0x60 = 0x2f8 |
| 29 |
irq 0x70 = 3 |
| 30 |
end |
| 31 |
|
| 32 |
end |
| 33 |
end |
| 34 |
end |
| 35 |
chip drivers/ipmi |
| 36 |
device pnp ca2.0 on end # BMC KCS |
| 37 |
register "wait_for_bmc" = "1" |
| 38 |
register "bmc_boot_timeout" = "60" |
| 39 |
end |
| 40 |
end |
| 41 |
end |
| 42 |
end |