mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2026-11-06 20:39:14 +08:00
Add some generic ARM am335x and omap definitions
This commit is contained in:
1 parent
4123e244c8
commit
b51842bb38
3 files changed
+692
No files matched your search
File diff suppressed because it is too large.
Load diff
File diff suppressed because it is too large.
Load diff
@@ -0,0 +1,39 @@
|
||||
/**
|
||||
* @file
|
||||
*
|
||||
* @brief Clock driver configuration.
|
||||
*/
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
typedef struct omap_timer_registers
|
||||
{
|
||||
uint32_t TIDR;
|
||||
uint32_t TIOCP_CFG;
|
||||
uint32_t TISTAT;
|
||||
uint32_t TISR;
|
||||
uint32_t TIER;
|
||||
uint32_t TWER;
|
||||
uint32_t TCLR;
|
||||
uint32_t TCRR;
|
||||
uint32_t TLDR;
|
||||
uint32_t TTGR;
|
||||
uint32_t TWPS;
|
||||
uint32_t TMAR;
|
||||
uint32_t TCAR1;
|
||||
uint32_t TSICR;
|
||||
uint32_t TCAR2;
|
||||
uint32_t TPIR;
|
||||
uint32_t TNIR;
|
||||
uint32_t TCVR;
|
||||
uint32_t TOCR;
|
||||
uint32_t TOWR;
|
||||
|
||||
} omap_timer_registers_t;
|
||||
|
||||
typedef struct omap_timer
|
||||
{
|
||||
uint32_t base;
|
||||
int irq_nr;
|
||||
struct omap_timer_registers *regs;
|
||||
} omap_timer_t;
|
||||
Reference in new issue
Block a user