summaryrefslogtreecommitdiff
path: root/firmware/export/config/ondavx767.h
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/export/config/ondavx767.h')
-rw-r--r--firmware/export/config/ondavx767.h173
1 files changed, 173 insertions, 0 deletions
diff --git a/firmware/export/config/ondavx767.h b/firmware/export/config/ondavx767.h
new file mode 100644
index 0000000000..5aa755bfa4
--- /dev/null
+++ b/firmware/export/config/ondavx767.h
@@ -0,0 +1,173 @@
1/***************************************************************************
2 * __________ __ ___.
3 * Open \______ \ ____ ____ | | _\_ |__ _______ ___
4 * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
5 * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
6 * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
7 * \/ \/ \/ \/ \/
8 * $Id$
9 *
10 * Copyright (C) 2008 by Maurus Cuelenaere
11 *
12 * 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.
16 *
17 * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
18 * KIND, either express or implied.
19 *
20 ****************************************************************************/
21
22/*
23 * This config file is for the Onda VX747
24 */
25#define TARGET_TREE /* this target is using the target tree system */
26
27#define CONFIG_SDRAM_START 0x80004000
28
29#define ONDA_VX767 1
30
31#define MODEL_NAME "Onda VX767"
32
33/* For Rolo and boot loader */
34#define MODEL_NUMBER 64
35
36//#define HAVE_ATA_SD
37//#define HAVE_HOTSWAP
38
39//#define CONFIG_STORAGE (STORAGE_NAND | STORAGE_SD)
40#define CONFIG_STORAGE STORAGE_SD /* Multivolume currently handled at firmware/target/ level */
41
42#define CONFIG_NAND NAND_CC
43
44#define HAVE_MULTIDRIVE
45#define NUM_DRIVES 2
46
47/* define this if you have a bitmap LCD display */
48#define HAVE_LCD_BITMAP
49
50/* define this if you have a colour LCD */
51#define HAVE_LCD_COLOR
52
53/* define this if you have access to the quickscreen */
54#define HAVE_QUICKSCREEN
55
56/* define this if you have access to the pitchscreen */
57#define HAVE_PITCHSCREEN
58
59/* define this if you would like tagcache to build on this target */
60#define HAVE_TAGCACHE
61
62/* define this if the target has volume keys which can be used in the lists */
63#define HAVE_VOLUME_IN_LIST
64
65/* LCD dimensions */
66#define CONFIG_LCD LCD_ONDAVX767
67
68#define LCD_WIDTH 320
69#define LCD_HEIGHT 240
70
71#define LCD_DEPTH 16 /* 16bit colours */
72#define LCD_PIXELFORMAT RGB565 /* rgb565 */
73
74/* Define this if your LCD can be enabled/disabled */
75//#define HAVE_LCD_ENABLE
76
77#define CONFIG_KEYPAD ONDAVX767_PAD
78
79/* Define this if you do software codec */
80#define CONFIG_CODEC SWCODEC
81
82/* define this if you have a real-time clock */
83#define CONFIG_RTC RTC_JZ47XX
84
85/* Define this for LCD backlight available */
86#define HAVE_BACKLIGHT
87
88#define HAVE_BACKLIGHT_BRIGHTNESS
89
90/* Main LCD backlight brightness range and defaults */
91#define MIN_BRIGHTNESS_SETTING 0 /* TODO */
92#define MAX_BRIGHTNESS_SETTING 127
93#define DEFAULT_BRIGHTNESS_SETTING 85
94#define DEFAULT_DIMNESS_SETTING 22
95
96/* Define this if you have a software controlled poweroff */
97#define HAVE_SW_POWEROFF
98
99/* The number of bytes reserved for loadable codecs */
100#define CODEC_SIZE 0x100000
101
102/* The number of bytes reserved for loadable plugins */
103#define PLUGIN_BUFFER_SIZE 0x100000
104
105/* Define this if you have the Jz4740 internal codec */
106#define HAVE_JZ4740_CODEC
107
108/* Define bitmask of input sources - recordable bitmask can be defined
109 explicitly if different */
110#define INPUT_SRC_CAPS (SRC_CAP_MIC | SRC_CAP_FMRADIO)
111
112/* Tuner config */
113#define CONFIG_TUNER TEA5767
114#define CONFIG_TUNER_XTAL 32768
115
116/* Define this if you have a speaker */
117//#define HAVE_SPEAKER
118
119#define CONFIG_I2C I2C_JZ47XX
120
121/* TLV320 has no tone controls, so we use the software ones */
122//#define HAVE_SW_TONE_CONTROLS
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 1250 /* 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
136#ifndef SIMULATOR
137
138/* Define this if you have a Ingenic JZ4740 */
139#define CONFIG_CPU JZ4732
140
141/* define this if the hardware can be powered off while charging */
142#define HAVE_POWEROFF_WHILE_CHARGING
143
144/* Define this to the CPU frequency */
145#define CPU_FREQ 336000000 /* CPU clock: 336 MHz */
146#define CFG_EXTAL 12000000 /* EXT clock: 12 Mhz */
147
148/* define this if you have a flash memory storage */
149#define HAVE_FLASH_STORAGE
150
151/* define this if the backlight can be set to a brightness */
152#define __BACKLIGHT_INIT
153
154/* Offset ( in the firmware file's header ) to the file CRC */
155#define FIRMWARE_OFFSET_FILE_CRC 0
156
157/* Offset ( in the firmware file's header ) to the real data */
158#define FIRMWARE_OFFSET_FILE_DATA 8
159
160/* Define this if you have adjustable CPU frequency */
161#define HAVE_ADJUSTABLE_CPU_FREQ
162
163#define BOOTFILE_EXT "vx767"
164#define BOOTFILE "rockbox." BOOTFILE_EXT
165#define BOOTDIR "/.rockbox"
166
167#define CONFIG_USBOTG USBOTG_JZ4740
168#define HAVE_USBSTACK
169#define USE_ROCKBOX_USB
170#define USB_VENDOR_ID 0x07C4
171#define USB_PRODUCT_ID 0xA4A5
172
173#endif