Commit 573960aca5c420c7c62ff49c0ab13a4a9c50c7b3
Committed by
Stefano Babic
1 parent
32c81ea65c
Exists in
v2017.01-smarct4x
and in
37 other branches
mx6: add weim registers
Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Showing 1 changed file with 37 additions and 0 deletions Side-by-side Diff
arch/arm/include/asm/arch-mx6/imx-regs.h
... | ... | @@ -332,6 +332,43 @@ |
332 | 332 | #define SRC_SCR_CORE_3_ENABLE_OFFSET 24 |
333 | 333 | #define SRC_SCR_CORE_3_ENABLE_MASK (1<<SRC_SCR_CORE_3_ENABLE_OFFSET) |
334 | 334 | |
335 | +/* WEIM registers */ | |
336 | +struct weim { | |
337 | + u32 cs0gcr1; | |
338 | + u32 cs0gcr2; | |
339 | + u32 cs0rcr1; | |
340 | + u32 cs0rcr2; | |
341 | + u32 cs0wcr1; | |
342 | + u32 cs0wcr2; | |
343 | + | |
344 | + u32 cs1gcr1; | |
345 | + u32 cs1gcr2; | |
346 | + u32 cs1rcr1; | |
347 | + u32 cs1rcr2; | |
348 | + u32 cs1wcr1; | |
349 | + u32 cs1wcr2; | |
350 | + | |
351 | + u32 cs2gcr1; | |
352 | + u32 cs2gcr2; | |
353 | + u32 cs2rcr1; | |
354 | + u32 cs2rcr2; | |
355 | + u32 cs2wcr1; | |
356 | + u32 cs2wcr2; | |
357 | + | |
358 | + u32 cs3gcr1; | |
359 | + u32 cs3gcr2; | |
360 | + u32 cs3rcr1; | |
361 | + u32 cs3rcr2; | |
362 | + u32 cs3wcr1; | |
363 | + u32 cs3wcr2; | |
364 | + | |
365 | + u32 unused[12]; | |
366 | + | |
367 | + u32 wcr; | |
368 | + u32 wiar; | |
369 | + u32 ear; | |
370 | +}; | |
371 | + | |
335 | 372 | /* System Reset Controller (SRC) */ |
336 | 373 | struct src { |
337 | 374 | u32 scr; |