2 * Memory pre-allocations for Cronus Lite boxes.
4 * Copyright (C) 2005-2009 Scientific-Atlanta, Inc.
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; either version 2 of the License, or
9 * (at your option) any later version.
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
16 * You should have received a copy of the GNU General Public License
17 * along with this program; if not, write to the Free Software
18 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
20 * Author: Ken Eppinett
21 * David Schleef <ds@schleef.org>
24 #include <linux/init.h>
25 #include <asm/mach-powertv/asic.h>
28 * NON_DVR_CAPABLE CRONUSLITE RESOURCES
30 struct resource non_dvr_cronuslite_resources[] __initdata =
38 .name = "ST231aImage", /* Delta-Mu 2 image and ram */
40 .end = 0x601FFFFF, /* 2MiB */
41 .flags = IORESOURCE_IO,
44 .name = "ST231aMonitor", /* 8KiB block ST231b monitor */
47 .flags = IORESOURCE_IO,
50 .name = "MediaMemory1",
52 .end = 0x61FFFFFF, /*~29.9MiB (32MiB - (2MiB + 8KiB)) */
53 .flags = IORESOURCE_IO,
59 * This driver requires:
61 * Arbitrary Based Buffers:
62 * DSP_Image_Buff - DSP code and data images (1MB)
63 * ADSC_CPU_PCM_Buff - ADSC CPU PCM buffer (40KB)
64 * ADSC_AUX_Buff - ADSC AUX buffer (16KB)
65 * ADSC_Main_Buff - ADSC Main buffer (16KB)
69 .name = "DSP_Image_Buff",
72 .flags = IORESOURCE_MEM,
75 .name = "ADSC_CPU_PCM_Buff",
78 .flags = IORESOURCE_MEM,
81 .name = "ADSC_AUX_Buff",
84 .flags = IORESOURCE_MEM,
87 .name = "ADSC_Main_Buff",
90 .flags = IORESOURCE_MEM,
96 * This driver requires:
98 * Arbitrary Based Buffers:
99 * This memory area is used for allocating buffers for Video decoding
100 * purposes. Allocation/De-allocation within this buffer is managed
101 * by the STAVMEM driver of the STAPI. They could be Decimated
102 * Picture Buffers, Intermediate Buffers, as deemed necessary for
103 * video decoding purposes, for any video decoders on Zeus.
107 .name = "AVMEMPartition0",
109 .end = 0x63B80000 - 1, /* 6 MB total */
110 .flags = IORESOURCE_IO,
116 * This driver requires:
118 * Arbitrary Based Buffers:
125 .end = 0x62700000 - 1, /* 7 MB total */
126 .flags = IORESOURCE_IO,
132 * This driver requires:
134 * Arbitrary Based Buffers:
135 * GraphicsHeap - PowerTV Graphics Heap
139 .name = "GraphicsHeap",
141 .end = 0x63500000 - 1, /* 14 MB total */
142 .flags = IORESOURCE_IO,
146 * multi com buffer area
148 * This driver requires:
150 * Arbitrary Based Buffers:
155 .name = "MulticomSHM",
157 .end = 0x26020000 - 1,
158 .flags = IORESOURCE_MEM,
164 * This driver requires:
166 * Arbitrary Based Buffers:
171 .name = "BMM_Buffer",
173 .end = 0x000AA000 - 1,
174 .flags = IORESOURCE_MEM,
178 * Display bins buffer for unit0
180 * This driver requires:
182 * Arbitrary Based Buffers:
183 * Display Bins for unit0
187 .name = "DisplayBins0",
189 .end = 0x00000FFF, /* 4 KB total */
190 .flags = IORESOURCE_MEM,
194 * Display bins buffer
196 * This driver requires:
198 * Arbitrary Based Buffers:
199 * Display Bins for unit1
203 .name = "DisplayBins1",
205 .end = 0x63B84000 - 1, /* 4 KB total */
206 .flags = IORESOURCE_IO,
210 * AVFS: player HAL memory
215 .name = "AvfsDmaMem",
217 .end = 0x63E48C00 - 1, /* 945K * 3 for playback */
218 .flags = IORESOURCE_IO,
224 * This driver requires:
226 * Arbitrary Based Buffers:
227 * Persistent memory for diagnostics.
231 .name = "DiagPersistentMemory",
234 .flags = IORESOURCE_MEM,
240 * This driver requires:
242 * Arbitrary Based Buffers:
243 * Read and write buffers for Internal/External cards
247 .name = "SmartCardInfo",
249 .end = 0x63B82800 - 1,
250 .flags = IORESOURCE_IO,
255 * NP Reset Vector - must be of the form xxCxxxxx
256 * NP Image - must be video bank 1
257 * NP IPC - must be video bank 2
260 .name = "NP_Reset_Vector",
262 .end = 0x27c01000 - 1,
263 .flags = IORESOURCE_MEM,
268 .end = 0x27060000 - 1,
269 .flags = IORESOURCE_MEM,
274 .end = 0x63580000 - 1,
275 .flags = IORESOURCE_IO,
282 .start = NAND_FLASH_BASE,
283 .end = NAND_FLASH_BASE + 0x400 - 1,
284 .flags = IORESOURCE_IO,
287 * Add other resources here