|
6 | 6 |
|
7 | 7 | /* Board level DTS fixup file */ |
8 | 8 |
|
9 | | -#ifdef CONFIG_SBL_FIXUP |
10 | | - |
11 | | -#define DT_UART_NS16550_PORT_0_BASE_ADDR DT_NS16550_81434000_BASE_ADDRESS |
12 | | -#define DT_UART_NS16550_PORT_0_BAUD_RATE DT_NS16550_81434000_CURRENT_SPEED |
13 | | -#define DT_UART_NS16550_PORT_0_NAME DT_NS16550_81434000_LABEL |
14 | | -#define DT_UART_NS16550_PORT_0_IRQ DT_NS16550_81434000_IRQ_0 |
15 | | -#define DT_UART_NS16550_PORT_0_IRQ_PRI DT_NS16550_81434000_IRQ_0_PRIORITY |
16 | | -#define DT_UART_NS16550_PORT_0_IRQ_FLAGS DT_NS16550_81434000_IRQ_0_SENSE |
17 | | -#define DT_UART_NS16550_PORT_0_CLK_FREQ DT_NS16550_81434000_CLOCK_FREQUENCY |
18 | | - |
19 | | -#define DT_UART_NS16550_PORT_1_BASE_ADDR DT_NS16550_81432000_BASE_ADDRESS |
20 | | -#define DT_UART_NS16550_PORT_1_BAUD_RATE DT_NS16550_81432000_CURRENT_SPEED |
21 | | -#define DT_UART_NS16550_PORT_1_NAME DT_NS16550_81432000_LABEL |
22 | | -#define DT_UART_NS16550_PORT_1_IRQ DT_NS16550_81432000_IRQ_0 |
23 | | -#define DT_UART_NS16550_PORT_1_IRQ_PRI DT_NS16550_81432000_IRQ_0_PRIORITY |
24 | | -#define DT_UART_NS16550_PORT_1_IRQ_FLAGS DT_NS16550_81432000_IRQ_0_SENSE |
25 | | -#define DT_UART_NS16550_PORT_1_CLK_FREQ DT_NS16550_81432000_CLOCK_FREQUENCY |
26 | | - |
27 | | -#else |
28 | | - |
29 | | -#define DT_UART_NS16550_PORT_0_BASE_ADDR DT_NS16550_91524000_BASE_ADDRESS |
30 | | -#define DT_UART_NS16550_PORT_0_BAUD_RATE DT_NS16550_91524000_CURRENT_SPEED |
31 | | -#define DT_UART_NS16550_PORT_0_NAME DT_NS16550_91524000_LABEL |
32 | | -#define DT_UART_NS16550_PORT_0_IRQ DT_NS16550_91524000_IRQ_0 |
33 | | -#define DT_UART_NS16550_PORT_0_IRQ_PRI DT_NS16550_91524000_IRQ_0_PRIORITY |
34 | | -#define DT_UART_NS16550_PORT_0_IRQ_FLAGS DT_NS16550_91524000_IRQ_0_SENSE |
35 | | -#define DT_UART_NS16550_PORT_0_CLK_FREQ DT_NS16550_91524000_CLOCK_FREQUENCY |
36 | | - |
37 | | -#define DT_UART_NS16550_PORT_1_BASE_ADDR DT_NS16550_91522000_BASE_ADDRESS |
38 | | -#define DT_UART_NS16550_PORT_1_BAUD_RATE DT_NS16550_91522000_CURRENT_SPEED |
39 | | -#define DT_UART_NS16550_PORT_1_NAME DT_NS16550_91522000_LABEL |
40 | | -#define DT_UART_NS16550_PORT_1_IRQ DT_NS16550_91522000_IRQ_0 |
41 | | -#define DT_UART_NS16550_PORT_1_IRQ_PRI DT_NS16550_91522000_IRQ_0_PRIORITY |
42 | | -#define DT_UART_NS16550_PORT_1_IRQ_FLAGS DT_NS16550_91522000_IRQ_0_SENSE |
43 | | -#define DT_UART_NS16550_PORT_1_CLK_FREQ DT_NS16550_91522000_CLOCK_FREQUENCY |
| 9 | +#define DT_UART_NS16550_PORT_0_BASE_ADDR DT_NS16550_0_BASE_ADDRESS |
| 10 | +#define DT_UART_NS16550_PORT_0_SIZE DT_NS16550_0_SIZE |
| 11 | +#define DT_UART_NS16550_PORT_0_BAUD_RATE DT_NS16550_0_CURRENT_SPEED |
| 12 | +#define DT_UART_NS16550_PORT_0_NAME DT_NS16550_0_LABEL |
| 13 | +#define DT_UART_NS16550_PORT_0_IRQ DT_NS16550_0_IRQ_0 |
| 14 | +#define DT_UART_NS16550_PORT_0_IRQ_PRI DT_NS16550_0_IRQ_0_PRIORITY |
| 15 | +#define DT_UART_NS16550_PORT_0_IRQ_FLAGS DT_NS16550_0_IRQ_0_SENSE |
| 16 | +#define DT_UART_NS16550_PORT_0_CLK_FREQ DT_NS16550_0_CLOCK_FREQUENCY |
| 17 | +#define DT_UART_NS16550_PORT_0_PCIE DT_NS16550_0_PCIE |
| 18 | + |
| 19 | +#ifdef DT_NS16550_0_PCP |
| 20 | +#define DT_UART_NS16550_PORT_0_PCP DT_NS16550_0_PCP |
| 21 | +#endif |
44 | 22 |
|
| 23 | +#define DT_UART_NS16550_PORT_1_BASE_ADDR DT_NS16550_1_BASE_ADDRESS |
| 24 | +#define DT_UART_NS16550_PORT_1_SIZE DT_NS16550_1_SIZE |
| 25 | +#define DT_UART_NS16550_PORT_1_BAUD_RATE DT_NS16550_1_CURRENT_SPEED |
| 26 | +#define DT_UART_NS16550_PORT_1_NAME DT_NS16550_1_LABEL |
| 27 | +#define DT_UART_NS16550_PORT_1_IRQ DT_NS16550_1_IRQ_0 |
| 28 | +#define DT_UART_NS16550_PORT_1_IRQ_PRI DT_NS16550_1_IRQ_0_PRIORITY |
| 29 | +#define DT_UART_NS16550_PORT_1_IRQ_FLAGS DT_NS16550_1_IRQ_0_SENSE |
| 30 | +#define DT_UART_NS16550_PORT_1_CLK_FREQ DT_NS16550_1_CLOCK_FREQUENCY |
| 31 | +#define DT_UART_NS16550_PORT_1_PCIE DT_NS16550_1_PCIE |
| 32 | + |
| 33 | +#ifdef DT_NS16550_1_PCP |
| 34 | +#define DT_UART_NS16550_PORT_1_PCP DT_NS16550_1_PCP |
45 | 35 | #endif |
46 | 36 |
|
47 | 37 | /* End of Board Level DTS fixup file */ |
0 commit comments