Changeset d55d7a0 in rtems


Ignore:
Timestamp:
May 3, 2015, 9:55:55 AM (4 years ago)
Author:
ragunath <ragunath3252@…>
Branches:
4.11, master
Children:
3b8e395
Parents:
92422be
git-author:
ragunath <ragunath3252@…> (05/03/15 09:55:55)
git-committer:
Ben Gras <beng@…> (05/28/15 12:41:37)
Message:

beagle bsp: RTC support for BBB

Location:
c/src/lib
Files:
1 added
4 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/arm/beagle/Makefile.am

    r92422be rd55d7a0  
    115115libbsp_a_SOURCES += misc/i2c.c
    116116
     117#RTC
     118libbsp_a_SOURCES += rtc.c
     119libbsp_a_SOURCES += ../../shared/tod.c
    117120# Clock
    118121libbsp_a_SOURCES += clock.c
  • c/src/lib/libbsp/arm/beagle/configure.ac

    r92422be rd55d7a0  
    3131RTEMS_BSPOPTS_HELP([CONSOLE_POLLED],[polled console i/o (e.g. to run testsuite)])
    3232
     33RTEMS_BSPOPTS_SET([BBB_DEBUG],[beaglebone*],[0])
     34RTEMS_BSPOPTS_HELP([BBB_DEBUG],[Enable BBB debug])
     35
    3336RTEMS_BSP_CLEANUP_OPTIONS(0, 0)
    3437RTEMS_BSP_LINKCMDS
  • c/src/lib/libcpu/arm/shared/include/am335x.h

    r92422be rd55d7a0  
    281281#define AM335X_WDT_WSPR                0x48
    282282    /* Activate/deactivate sequence */
     283
     284/* RTC registers */
     285#define AM335X_RTC_BASE         0x44E3E000
     286#define AM335X_RTC_SECS         0x0
     287#define AM335X_RTC_MINS         0x4
     288#define AM335X_RTC_HOURS        0x8
     289#define AM335X_RTC_DAYS         0xc
     290#define AM335X_RTC_MONTHS       0x10
     291#define AM335X_RTC_YEARS        0x14
     292#define AM335X_RTC_WEEKS        0x18
     293#define AM335X_RTC_CTRL_REG     0x40
     294#define AM335X_RTC_STATUS_REG   0x44
     295#define AM335X_RTC_REV_REG      0x74
     296#define AM335X_RTC_SYSCONFIG    0x78
     297#define AM335X_RTC_KICK0        0x6c
     298#define AM335X_RTC_KICK1        0x70
     299#define AM335X_RTC_OSC_CLOCK    0x54
     300
     301#define AM335X_RTC_KICK0_KEY    0x83E70B13
     302#define AM335X_RTC_KICK1_KEY    0x95A4F1E0
  • c/src/lib/libcpu/arm/shared/include/omap3.h

    r92422be rd55d7a0  
    289289#define CLKSEL_TIMER7_CLK_SEL_SEL4 (0x3 << 0) /* Reserved */
    290290
     291/*RTC CLOCK BASE & Registers*/
     292#define CM_RTC_BASE            0x44E00800
     293#define CM_RTC_RTC_CLKCTRL     0x0
     294#define CM_RTC_CLKSTCTRL       0x4
     295
     296
    291297#define OMAP3_CLKSEL_GPT1    (1 << 0)
    292298#define OMAP3_CLKSEL_GPT10   (1 << 6)
Note: See TracChangeset for help on using the changeset viewer.