Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
S
Software for White Rabbit PTP Core
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
32
Issues
32
List
Board
Labels
Milestones
Merge Requests
7
Merge Requests
7
CI / CD
CI / CD
Pipelines
Schedules
Wiki
Wiki
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Projects
Software for White Rabbit PTP Core
Commits
397dda2e
Commit
397dda2e
authored
Nov 30, 2023
by
Tomasz Wlostowski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
boards/wrs-v4: fix base addresses
parent
35114408
Pipeline
#5004
failed with stage
in 1 minute and 26 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
9 deletions
+16
-9
board.h
boards/wr-switch-v4/board.h
+16
-9
No files found.
boards/wr-switch-v4/board.h
View file @
397dda2e
...
...
@@ -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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment