File tree Expand file tree Collapse file tree 4 files changed +8
-0
lines changed Expand file tree Collapse file tree 4 files changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -313,6 +313,8 @@ static const u32 vsc9959_ptp_regmap[] = {
313
313
REG (PTP_PIN_TOD_SEC_MSB , 0x000004 ),
314
314
REG (PTP_PIN_TOD_SEC_LSB , 0x000008 ),
315
315
REG (PTP_PIN_TOD_NSEC , 0x00000c ),
316
+ REG (PTP_PIN_WF_HIGH_PERIOD , 0x000014 ),
317
+ REG (PTP_PIN_WF_LOW_PERIOD , 0x000018 ),
316
318
REG (PTP_CFG_MISC , 0x0000a0 ),
317
319
REG (PTP_CLK_CFG_ADJ_CFG , 0x0000a4 ),
318
320
REG (PTP_CLK_CFG_ADJ_FREQ , 0x0000a8 ),
Original file line number Diff line number Diff line change @@ -239,6 +239,8 @@ static const u32 ocelot_ptp_regmap[] = {
239
239
REG (PTP_PIN_TOD_SEC_MSB , 0x000004 ),
240
240
REG (PTP_PIN_TOD_SEC_LSB , 0x000008 ),
241
241
REG (PTP_PIN_TOD_NSEC , 0x00000c ),
242
+ REG (PTP_PIN_WF_HIGH_PERIOD , 0x000014 ),
243
+ REG (PTP_PIN_WF_LOW_PERIOD , 0x000018 ),
242
244
REG (PTP_CFG_MISC , 0x0000a0 ),
243
245
REG (PTP_CLK_CFG_ADJ_CFG , 0x0000a4 ),
244
246
REG (PTP_CLK_CFG_ADJ_FREQ , 0x0000a8 ),
Original file line number Diff line number Diff line change @@ -385,6 +385,8 @@ enum ocelot_reg {
385
385
PTP_PIN_TOD_SEC_MSB ,
386
386
PTP_PIN_TOD_SEC_LSB ,
387
387
PTP_PIN_TOD_NSEC ,
388
+ PTP_PIN_WF_HIGH_PERIOD ,
389
+ PTP_PIN_WF_LOW_PERIOD ,
388
390
PTP_CFG_MISC ,
389
391
PTP_CLK_CFG_ADJ_CFG ,
390
392
PTP_CLK_CFG_ADJ_FREQ ,
Original file line number Diff line number Diff line change 17
17
#define PTP_PIN_TOD_SEC_MSB_RSZ PTP_PIN_CFG_RSZ
18
18
#define PTP_PIN_TOD_SEC_LSB_RSZ PTP_PIN_CFG_RSZ
19
19
#define PTP_PIN_TOD_NSEC_RSZ PTP_PIN_CFG_RSZ
20
+ #define PTP_PIN_WF_HIGH_PERIOD_RSZ PTP_PIN_CFG_RSZ
21
+ #define PTP_PIN_WF_LOW_PERIOD_RSZ PTP_PIN_CFG_RSZ
20
22
21
23
#define PTP_PIN_CFG_DOM BIT(0)
22
24
#define PTP_PIN_CFG_SYNC BIT(2)
You can’t perform that action at this time.
0 commit comments