Tue Jun 18 22:41:03 2013 UTC ()
Add AHCI OMAP5 address


(matt)
diff -r1.20 -r1.21 src/sys/arch/arm/omap/omap2_reg.h

cvs diff -r1.20 -r1.21 src/sys/arch/arm/omap/Attic/omap2_reg.h (expand / switch to unified diff)

--- src/sys/arch/arm/omap/Attic/omap2_reg.h 2013/06/18 15:02:55 1.20
+++ src/sys/arch/arm/omap/Attic/omap2_reg.h 2013/06/18 22:41:03 1.21
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1/* $NetBSD: omap2_reg.h,v 1.20 2013/06/18 15:02:55 matt Exp $ */ 1/* $NetBSD: omap2_reg.h,v 1.21 2013/06/18 22:41:03 matt Exp $ */
2 2
3/* 3/*
4 * Copyright (c) 2007 Microsoft 4 * Copyright (c) 2007 Microsoft
5 * All rights reserved. 5 * All rights reserved.
6 * 6 *
7 * Redistribution and use in source and binary forms, with or without 7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions 8 * modification, are permitted provided that the following conditions
9 * are met: 9 * are met:
10 * 1. Redistributions of source code must retain the above copyright 10 * 1. Redistributions of source code must retain the above copyright
11 * notice, this list of conditions and the following disclaimer. 11 * notice, this list of conditions and the following disclaimer.
12 * 2. Redistributions in binary form must reproduce the above copyright 12 * 2. Redistributions in binary form must reproduce the above copyright
13 * notice, this list of conditions and the following disclaimer in the 13 * notice, this list of conditions and the following disclaimer in the
14 * documentation and/or other materials provided with the distribution. 14 * documentation and/or other materials provided with the distribution.
@@ -775,26 +775,28 @@ @@ -775,26 +775,28 @@
775 * DMA 775 * DMA
776 */ 776 */
777#define OMAP3530_SDMA_BASE 0x48056000 777#define OMAP3530_SDMA_BASE 0x48056000
778#define OMAP3530_SDMA_SIZE 0x00001000 /* 4KB */ 778#define OMAP3530_SDMA_SIZE 0x00001000 /* 4KB */
779 779
780/* 780/*
781 * PL310 L2CC (44xx) 781 * PL310 L2CC (44xx)
782 */ 782 */
783#define OMAP4_L2CC_BASE 0x48242000 783#define OMAP4_L2CC_BASE 0x48242000
784#define OMAP4_L2CC_SIZE 0x00001000 /* 4KB */ 784#define OMAP4_L2CC_SIZE 0x00001000 /* 4KB */
785 785
786#define OMAP4_CONTROL_ID_CODE 0x4a002204 786#define OMAP4_CONTROL_ID_CODE 0x4a002204
787 787
 788#define AHCI1_BASE_OMAP5 0x4a140000
 789
788#ifdef TI_AM335X 790#ifdef TI_AM335X
789#define TI_AM335X_CTLMOD_BASE 0x44e10000 791#define TI_AM335X_CTLMOD_BASE 0x44e10000
790#define CTLMOD_CONTROL_STATUS 0x40 792#define CTLMOD_CONTROL_STATUS 0x40
791#define CTLMOD_CONTROL_STATUS_SYSBOOT1 __BITS(23,22) 793#define CTLMOD_CONTROL_STATUS_SYSBOOT1 __BITS(23,22)
792#endif 794#endif
793#if defined(OMAP4) || defined(TI_AM335X) 795#if defined(OMAP4) || defined(TI_AM335X)
794#define EMIF_SDRAM_CONFIG 8 796#define EMIF_SDRAM_CONFIG 8
795#define SDRAM_CONFIG_WIDTH __BITS(15,14) 797#define SDRAM_CONFIG_WIDTH __BITS(15,14)
796#define SDRAM_CONFIG_RSIZE __BITS(9,7) 798#define SDRAM_CONFIG_RSIZE __BITS(9,7)
797#define SDRAM_CONFIG_IBANK __BITS(6,4) 799#define SDRAM_CONFIG_IBANK __BITS(6,4)
798#define SDRAM_CONFIG_EBANK __BIT(3) 800#define SDRAM_CONFIG_EBANK __BIT(3)
799#define SDRAM_CONFIG_PAGESIZE __BITS(2,0) 801#define SDRAM_CONFIG_PAGESIZE __BITS(2,0)
800#endif 802#endif