Commit 397dda2e authored by Tomasz Wlostowski's avatar Tomasz Wlostowski

boards/wrs-v4: fix base addresses

parent 35114408
Pipeline #5004 failed with stage
in 1 minute and 26 seconds
......@@ -6,6 +6,13 @@
#ifndef __BOARD_WRS_10G_H
#define __BOARD_WRS_10G_H
#ifndef CONFIG_ARCH_RISCV
#error wrsv4 board requires CONFIG_ARCH_RISCV
#endif
#define DEV_BASE 0x100000
#define SI57X_I2C_ADDR 0x55
#define TICS_PER_SECOND 100000
......@@ -23,14 +30,14 @@
#define UART_BAUDRATE 115200
/* RT CPU Memory layout */
#define BASE_UART 0x10000
#define BASE_SOFTPLL 0x10100
#define BASE_SPI 0x10200
#define BASE_GPIO 0x10300
#define BASE_TIMER 0x10400
#define BASE_PPS_GEN 0x10500
#define BASE_SPI_LJD_BOARD 0x10700
#define BASE_SI57X_INTERFACE 0x10800
#define BASE_UART (DEV_BASE + 0x10000)
#define BASE_SOFTPLL (DEV_BASE + 0x10100)
#define BASE_SPI (DEV_BASE + 0x10200)
#define BASE_GPIO (DEV_BASE + 0x10300)
#define BASE_TIMER (DEV_BASE + 0x10400)
#define BASE_PPS_GEN (DEV_BASE + 0x10500)
#define BASE_SPI_LJD_BOARD (DEV_BASE + 0x10700)
#define BASE_SI57X_INTERFACE (DEV_BASE + 0x10800)
/* spll parameter that are board-specific */
#define BOARD_DIVIDE_DMTD_CLOCKS 0
......@@ -42,6 +49,6 @@
#define BOARD_MAX_CONSOLE_DEVICES 1
// fixme:
#define CONFIG_WR_SWITCH_V4
//#define CONFIG_WR_SWITCH_V4
#endif
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment