blob: d7e172b50f3e967b3a5555b6da6093f850cd40a6 [file] [log] [blame]
Karl Kurbjunbebbac82007-09-22 15:43:38 +00001/***************************************************************************
2 * __________ __ ___.
3 * Open \______ \ ____ ____ | | _\_ |__ _______ ___
4 * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
5 * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
6 * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
7 * \/ \/ \/ \/ \/
8 * $Id$
9 *
10 * Copyright (C) 2007 by Karl Kurbjun
11 *
Daniel Stenberg2acc0ac2008-06-28 18:10:04 +000012 * This program is free software; you can redistribute it and/or
13 * modify it under the terms of the GNU General Public License
14 * as published by the Free Software Foundation; either version 2
15 * of the License, or (at your option) any later version.
Karl Kurbjunbebbac82007-09-22 15:43:38 +000016 *
17 * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
18 * KIND, either express or implied.
19 *
20 ****************************************************************************/
Karl Kurbjun4f41af32007-10-21 23:20:17 +000021
Karl Kurbjun7b97fe22007-09-20 04:46:41 +000022/*
Karl Kurbjun4f41af32007-10-21 23:20:17 +000023 * This config file is for the M:Robe 500i
Karl Kurbjun7b97fe22007-09-20 04:46:41 +000024 */
25#define TARGET_TREE /* this target is using the target tree system */
26
27#define CONFIG_SDRAM_START 0x00900000
28
29#define OLYMPUS_MROBE_500 1
30
31/* For Rolo and boot loader */
Karl Kurbjun3f9a9a12007-09-30 17:12:20 +000032#define MODEL_NUMBER 22
Karl Kurbjun7b97fe22007-09-20 04:46:41 +000033
Marcoen Hirschbergbe404272008-03-27 10:58:36 +000034/* define this if you use an ATA controller */
35#define HAVE_ATA
36
Karl Kurbjun7b97fe22007-09-20 04:46:41 +000037/* define this if you have a bitmap LCD display */
38#define HAVE_LCD_BITMAP
39
40/* define this if you have a colour LCD */
41#define HAVE_LCD_COLOR
42
43/* define this if you have access to the quickscreen */
44#define HAVE_QUICKSCREEN
45
46/* define this if you have access to the pitchscreen */
47#define HAVE_PITCHSCREEN
48
49/* define this if you would like tagcache to build on this target */
50#define HAVE_TAGCACHE
51
52/* define this if the target has volume keys which can be used in the lists */
53#define HAVE_VOLUME_IN_LIST
54
55/* LCD dimensions */
Karl Kurbjunfdbc01c2007-10-21 23:12:17 +000056#define CONFIG_LCD LCD_MROBE500
Jonathan Gordon28dfb542007-11-11 04:48:33 +000057
58/* choose the lcd orientation. both work */
Jonathan Gordonc741ecc2008-04-29 01:09:39 +000059/* #define CONFIG_ORIENTATION SCREEN_PORTRAIT */
Karl Kurbjund3d0b262007-11-15 06:44:35 +000060#define CONFIG_ORIENTATION SCREEN_LANDSCAPE
Jonathan Gordon28dfb542007-11-11 04:48:33 +000061
Jonathan Gordonc741ecc2008-04-29 01:09:39 +000062#if CONFIG_ORIENTATION == SCREEN_PORTRAIT
Karl Kurbjun7b97fe22007-09-20 04:46:41 +000063#define LCD_WIDTH 480
64#define LCD_HEIGHT 640
Karl Kurbjunfdbc01c2007-10-21 23:12:17 +000065#else
66#define LCD_WIDTH 640
67#define LCD_HEIGHT 480
68#endif
69
Karl Kurbjun7b97fe22007-09-20 04:46:41 +000070#define LCD_DEPTH 16 /* 65k colours */
71#define LCD_PIXELFORMAT RGB565 /* rgb565 */
72
73/* Define this if your LCD can be enabled/disabled */
74//#define HAVE_LCD_ENABLE
75
Karl Kurbjunfdbc01c2007-10-21 23:12:17 +000076/* remote LCD */
77//#define HAVE_REMOTE_LCD
78#define LCD_REMOTE_WIDTH 79
79#define LCD_REMOTE_HEIGHT 16
80#define LCD_REMOTE_DEPTH 1
81
82#define LCD_REMOTE_PIXELFORMAT VERTICAL_PACKING
83
84#define MIN_REMOTE_CONTRAST_SETTING 0
85#define MAX_REMOTE_CONTRAST_SETTING 15
86#define DEFAULT_REMOTE_CONTRAST_SETTING 7
87
Karl Kurbjun7b97fe22007-09-20 04:46:41 +000088#define CONFIG_KEYPAD MROBE500_PAD
Jonathan Gordon12d1ff92007-10-22 07:01:59 +000089#define HAVE_TOUCHPAD
90#define HAVE_BUTTON_DATA
Karl Kurbjun7b97fe22007-09-20 04:46:41 +000091
92/* Define this if you do software codec */
93#define CONFIG_CODEC SWCODEC
94
95/* define this if you have a real-time clock */
Jonathan Gordondbff3732007-10-23 14:22:44 +000096#define CONFIG_RTC RTC_RX5X348AB
Karl Kurbjun7b97fe22007-09-20 04:46:41 +000097
98/* Define this for LCD backlight available */
99#define HAVE_BACKLIGHT
100
101#define HAVE_BACKLIGHT_BRIGHTNESS
102
103/* Main LCD backlight brightness range and defaults */
Catalin Patuleaf57ea9a2007-11-02 06:13:43 +0000104#define MIN_BRIGHTNESS_SETTING 0
105#define MAX_BRIGHTNESS_SETTING 127
106#define DEFAULT_BRIGHTNESS_SETTING 85 /* OF "full brightness" */
107#define DEFAULT_DIMNESS_SETTING 22 /* OF "most dim" */
Karl Kurbjun7b97fe22007-09-20 04:46:41 +0000108
109/* Define this if you have a software controlled poweroff */
110#define HAVE_SW_POWEROFF
111
112/* The number of bytes reserved for loadable codecs */
113#define CODEC_SIZE 0x80000
114
Catalin Patuleaf57ea9a2007-11-02 06:13:43 +0000115/* The number of bytes reserved for loadable plugins */
Karl Kurbjun38548c72007-11-02 05:21:34 +0000116#define PLUGIN_BUFFER_SIZE 0x100000
Karl Kurbjun7b97fe22007-09-20 04:46:41 +0000117
118/* Define this if you have the WM8975 audio codec */
119//#define HAVE_WM8751
120
121/* Define this if you want to use the adaptive bass capibility of the 8751 */
122/* #define USE_ADAPTIVE_BASS */
123
124#define HW_SAMPR_CAPS (SAMPR_CAP_88 | SAMPR_CAP_44 | SAMPR_CAP_22 | \
125 SAMPR_CAP_11)
126
127#define BATTERY_CAPACITY_DEFAULT 1100 /* default battery capacity */
128#define BATTERY_CAPACITY_MIN 500 /* min. capacity selectable */
129#define BATTERY_CAPACITY_MAX 2500 /* max. capacity selectable */
130#define BATTERY_CAPACITY_INC 100 /* capacity increment */
131#define BATTERY_TYPES_COUNT 1 /* only one type */
132
133/* Hardware controlled charging with monitoring */
134#define CONFIG_CHARGING CHARGING_MONITOR
135
Jonathan Gordon17f7adb2008-04-28 02:19:23 +0000136
137/* Define this if you have a Texas Instruments TSC2100 touch screen */
138#define HAVE_TSC2100
139
Karl Kurbjun7b97fe22007-09-20 04:46:41 +0000140#ifndef SIMULATOR
141
142/* Define this if you have a Motorola SCF5249 */
143#define CONFIG_CPU DM320
144
Karl Kurbjun7b97fe22007-09-20 04:46:41 +0000145/* Define this if you want to use coldfire's i2c interface */
146//#define CONFIG_I2C I2C_S3C2440
147
148/* define this if the hardware can be powered off while charging */
149#define HAVE_POWEROFF_WHILE_CHARGING
150
151/* The size of the flash ROM */
152#define FLASH_SIZE 0x400000
153
154/* Define this to the CPU frequency */
155#define CPU_FREQ 16934400
156
157/* Define this if you have ATA power-off control */
158#define HAVE_ATA_POWER_OFF
159
160/* Virtual LED (icon) */
161#define CONFIG_LED LED_VIRTUAL
162
Karl Kurbjun7b97fe22007-09-20 04:46:41 +0000163/* define this if the backlight can be set to a brightness */
Karl Kurbjun7b97fe22007-09-20 04:46:41 +0000164#define __BACKLIGHT_INIT
165
166/* Offset ( in the firmware file's header ) to the file CRC */
167#define FIRMWARE_OFFSET_FILE_CRC 0
168
169/* Offset ( in the firmware file's header ) to the real data */
170#define FIRMWARE_OFFSET_FILE_DATA 8
171
172/* Define this if you have adjustable CPU frequency */
173/* #define HAVE_ADJUSTABLE_CPU_FREQ */
174
175#define BOOTFILE_EXT "mrobe500"
176#define BOOTFILE "rockbox." BOOTFILE_EXT
177#define BOOTDIR "/.rockbox"
178
179#endif