]> git.karo-electronics.de Git - karo-tx-uboot.git/blobdiff - arch/arm/include/asm/arch-mx6/imx-regs.h
i.MX6: add enable_sata_clock()
[karo-tx-uboot.git] / arch / arm / include / asm / arch-mx6 / imx-regs.h
index cad957a3b77283f6ab2e5d4988572b35eb576e07..e165810ddc3d5c57aba4c157068054443ff5e724 100644 (file)
@@ -19,6 +19,8 @@
 #ifndef __ASM_ARCH_MX6_IMX_REGS_H__
 #define __ASM_ARCH_MX6_IMX_REGS_H__
 
+#define CONFIG_SYS_CACHELINE_SIZE      32
+
 #define ROMCP_ARB_BASE_ADDR             0x00000000
 #define ROMCP_ARB_END_ADDR              0x000FFFFF
 #define CAAM_ARB_BASE_ADDR              0x00100000
 #define FEC_QUIRK_ENET_MAC
 
 #define GPIO_NUMBER(port, index)               ((((port)-1)*32)+((index)&31))
-#define GPIO_TO_PORT(number)           (((number)/32)+1)
-#define GPIO_TO_INDEX(number)          ((number)&31)
 
 #if !(defined(__KERNEL_STRICT_NAMES) || defined(__ASSEMBLY__))
 #include <asm/types.h>
@@ -436,5 +436,14 @@ struct anatop_regs {
        u32     digprog;                /* 0x260 */
 };
 
+struct iomuxc_base_regs {
+       u32     gpr[14];        /* 0x000 */
+       u32     obsrv[5];       /* 0x038 */
+       u32     swmux_ctl[197]; /* 0x04c */
+       u32     swpad_ctl[250]; /* 0x360 */
+       u32     swgrp[26];      /* 0x748 */
+       u32     daisy[104];     /* 0x7b0..94c */
+};
+
 #endif /* __ASSEMBLER__*/
 #endif /* __ASM_ARCH_MX6_IMX_REGS_H__ */