Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update mach timer.h to use axi instead of amba #169

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions libplatsupport/mach_include/zynq/platsupport/mach/timer.h
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,17 @@
#define IRQS_PER_TTC 3

#ifdef CONFIG_PLAT_ZYNQMP
#ifdef CONFIG_ZYNQMP_PETALINUX_AXI
#define TTC0_PATH "/axi/timer@ff110000"
#define TTC1_PATH "/axi/timer@ff120000"
#define TTC2_PATH "/axi/timer@ff130000"
#define TTC3_PATH "/axi/timer@ff140000"
#else
#define TTC0_PATH "/amba/timer@ff110000"
#define TTC1_PATH "/amba/timer@ff120000"
#define TTC2_PATH "/amba/timer@ff130000"
#define TTC3_PATH "/amba/timer@ff140000"
#endif /* CONFIG_ZYNQMP_PETALINUX_AXI */
#else
/* zynq7000 */
#define TTC0_PATH "/amba/timer@f8001000"
Expand Down