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
4
Merge Requests
4
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
89598f28
Commit
89598f28
authored
Oct 27, 2020
by
Tomasz Wlostowski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
boards/ertm14: initial support for LTC6953 CLKA/B distribution chip
parent
5a1216d2
Pipeline
#565
passed with stage
in 38 seconds
Changes
2
Pipelines
1
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
244 additions
and
29 deletions
+244
-29
board.c
boards/ertm14/board.c
+231
-21
board.h
boards/ertm14/board.h
+13
-8
No files found.
boards/ertm14/board.c
View file @
89598f28
This diff is collapsed.
Click to expand it.
boards/ertm14/board.h
View file @
89598f28
...
...
@@ -10,9 +10,8 @@
#include "dev/gpio.h"
#include "dev/bb_spi.h"
#include "dev/ad951x.h"
#include "dev/ltc695
0
.h"
#include "dev/ltc695
x
.h"
#include "dev/ad9910.h"
#include "dev/ad9520.h"
#include "dev/clock_monitor.h"
#include "dev/24aa025.h"
#include "dev/ad7888.h"
...
...
@@ -97,8 +96,13 @@ extern unsigned char *BASE_EP;
#define ERTM14_RF_OUT_MIN_ID 4
#define ERTM14_RF_OUT_MAX_ID 12
#define ERTM14_CLKAB_OUT_MIN_ID 0
#define ERTM14_CLKAB_OUT_MAX_ID 11
#define ERTM14_OUT_CLKA 0
#define ERTM14_OUT_CLKB 1
#define ERTM14_CLKAB_OUT_MIN_ID 4
#define ERTM14_CLKAB_OUT_MAX_ID 15
#define ERTM14_CLKAB_OUT_FRONT_PANEL 15
// clock monitor core channels (see ertm14_top.vhd for assignment to the clock monitor core)
#define ERTM14_CMON_CLK_SYS 0
/* system clock */
...
...
@@ -107,7 +111,6 @@ extern unsigned char *BASE_EP;
#define ERTM14_CMON_CLK_REF 3
/* WR REF clock (from the VCXO/OCXO) */
#define ERTM14_CMON_CLK_RX 4
/* RX clock (recovered by the WR PHY) */
#define ERTM14_CLKAB_OUT_FRONT_PANEL 11
// #define ERTM14_CALIBRATION_DEBUG 1
...
...
@@ -151,6 +154,8 @@ struct ertm14_board
struct
spi_bus
spi_pll_main
;
struct
spi_bus
spi_pll_ext
;
struct
spi_bus
spi_ltc6950
;
struct
spi_bus
spi_ltc6953_clka
;
struct
spi_bus
spi_ltc6953_clkb
;
struct
spi_bus
spi_ad9910_ref
;
struct
spi_bus
spi_ad9910_lo
;
struct
spi_bus
spi_ocxo_dac
;
...
...
@@ -160,13 +165,13 @@ struct ertm14_board
struct
ad951x_device
ad9516_main
;
struct
ad951x_device
ad9516_ext
;
struct
ltc695
0
_device
ltc6950_pll
;
struct
ltc695
x
_device
ltc6950_pll
;
struct
ad9910_device
dds_ad9910_ref
;
struct
ad9910_device
dds_ad9910_lo
;
struct
ad7888_device
pwrmon_adc
;
struct
ertm15_rf_distribution_device
rf_distr
;
struct
ad9520
_device
dev_clka_distr
;
struct
ad9520
_device
dev_clkb_distr
;
struct
ltc695x
_device
dev_clka_distr
;
struct
ltc695x
_device
dev_clkb_distr
;
struct
i2c_bus
i2c_mac_addr
;
struct
m24aa025_device
m24_mac_ids
[
2
];
struct
fine_pulse_gen_device
dds_sync_dev
;
...
...
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