| 1 | /* SPDX-License-Identifier: GPL-2.0-only */ |
| 2 | |
| 3 | #include <northbridge/intel/i945/i945.h> |
| 4 | #include <southbridge/intel/i82801gx/i82801gx.h> |
| 5 | |
| 6 | void mainboard_late_rcba_config(void) |
| 7 | { |
| 8 | /* Device 1f interrupt pin register */ |
| 9 | RCBA32(0x3100) = 0x00042210; |
| 10 | RCBA32(0x3108) = 0x10004321; |
| 11 | |
| 12 | /* PCIe Interrupts */ |
| 13 | RCBA32(D28IP) = 0x00214321; |
| 14 | /* HD Audio Interrupt */ |
| 15 | RCBA32(D27IP) = 0x00000001; |
| 16 | |
| 17 | /* dev irq route register */ |
| 18 | RCBA16(D31IR) = 0x0232; |
| 19 | RCBA16(D30IR) = 0x3246; |
| 20 | RCBA16(D29IR) = 0x0235; |
| 21 | RCBA16(D28IR) = 0x3201; |
| 22 | RCBA16(D27IR) = 0x3216; |
| 23 | |
| 24 | /* Disable unused devices */ |
| 25 | RCBA32(FD) |= FD_INTLAN; |
| 26 | } |