summaryrefslogtreecommitdiff
path: root/firmware/export/config/rk27generic.h
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/export/config/rk27generic.h')
-rw-r--r--firmware/export/config/rk27generic.h25
1 files changed, 18 insertions, 7 deletions
diff --git a/firmware/export/config/rk27generic.h b/firmware/export/config/rk27generic.h
index 6ed7353d16..b2c74bd937 100644
--- a/firmware/export/config/rk27generic.h
+++ b/firmware/export/config/rk27generic.h
@@ -13,7 +13,7 @@
13 13
14/* Define bitmask of input sources - recordable bitmask can be defined 14/* Define bitmask of input sources - recordable bitmask can be defined
15 explicitly if different */ 15 explicitly if different */
16#define INPUT_SRC_CAPS (SRC_CAP_LINEIN) 16/* #define INPUT_SRC_CAPS (SRC_CAP_MIC | SRC_CAP_FM) */
17 17
18/* define the bitmask of hardware sample rates */ 18/* define the bitmask of hardware sample rates */
19#define HW_SAMPR_CAPS (SAMPR_CAP_44 | SAMPR_CAP_22 | SAMPR_CAP_11 \ 19#define HW_SAMPR_CAPS (SAMPR_CAP_44 | SAMPR_CAP_22 | SAMPR_CAP_11 \
@@ -61,6 +61,7 @@
61#define CONFIG_STORAGE (STORAGE_SD | STORAGE_NAND) 61#define CONFIG_STORAGE (STORAGE_SD | STORAGE_NAND)
62 62
63#define CONFIG_NAND NAND_RK27XX 63#define CONFIG_NAND NAND_RK27XX
64#define HAVE_SW_TONE_CONTROLS
64 65
65/* commented for now */ 66/* commented for now */
66/* #define HAVE_HOTSWAP */ 67/* #define HAVE_HOTSWAP */
@@ -90,7 +91,7 @@
90/* TODO: #define HAVE_LCD_SLEEP_SETTING */ 91/* TODO: #define HAVE_LCD_SLEEP_SETTING */
91#endif 92#endif
92 93
93#define CONFIG_KEYPAD IPOD_4G_PAD 94#define CONFIG_KEYPAD RK27XX_GENERIC_PAD
94 95
95/* Define this to enable morse code input */ 96/* Define this to enable morse code input */
96#define HAVE_MORSE_INPUT 97#define HAVE_MORSE_INPUT
@@ -107,18 +108,17 @@
107#define CONFIG_LCD LCD_SPFD5420A 108#define CONFIG_LCD LCD_SPFD5420A
108 109
109/* Define the type of audio codec */ 110/* Define the type of audio codec */
110/* #define HAVE_RK27XX_CODEC */ 111#define HAVE_RK27XX_CODEC
111 112
112/* #define HAVE_PCM_DMA_ADDRESS */ 113/* #define HAVE_PCM_DMA_ADDRESS */
113 114
114/* Define this for LCD backlight available */ 115/* Define this for LCD backlight available */
115#define HAVE_BACKLIGHT 116#define HAVE_BACKLIGHT
116#define HAVE_BACKLIGHT_BRIGHTNESS 117#define HAVE_BACKLIGHT_BRIGHTNESS
117
118/* Main LCD backlight brightness range and defaults */
119#define MIN_BRIGHTNESS_SETTING 0 118#define MIN_BRIGHTNESS_SETTING 0
120#define MAX_BRIGHTNESS_SETTING 31 119#define MAX_BRIGHTNESS_SETTING 31
121#define DEFAULT_BRIGHTNESS_SETTING 18 120#define DEFAULT_BRIGHTNESS_SETTING 20
121#define CONFIG_BACKLIGHT_FADING BACKLIGHT_FADING_SW_HW_REG
122 122
123/* Define this if you have a software controlled poweroff */ 123/* Define this if you have a software controlled poweroff */
124#define HAVE_SW_POWEROFF 124#define HAVE_SW_POWEROFF
@@ -147,6 +147,17 @@
147/* define this if the unit can be powered or charged via USB */ 147/* define this if the unit can be powered or charged via USB */
148#define HAVE_USB_POWER 148#define HAVE_USB_POWER
149 149
150/* USB On-the-go */
151#define CONFIG_USBOTG USBOTG_RK27XX
152
153/* enable these for the experimental usb stack */
154#define HAVE_USBSTACK
155
156#define USE_ROCKBOX_USB
157#define USB_VENDOR_ID 0x071b
158#define USB_PRODUCT_ID 0x3202
159#define HAVE_BOOTLOADER_USB_MODE
160
150/* Define this if your LCD can set contrast */ 161/* Define this if your LCD can set contrast */
151/* #define HAVE_LCD_CONTRAST */ 162/* #define HAVE_LCD_CONTRAST */
152 163
@@ -160,7 +171,7 @@
160#define CPU_FREQ 200000000 171#define CPU_FREQ 200000000
161 172
162/* define this if the hardware can be powered off while charging */ 173/* define this if the hardware can be powered off while charging */
163#define HAVE_POWEROFF_WHILE_CHARGING 174/* #define HAVE_POWEROFF_WHILE_CHARGING */
164 175
165/* Offset ( in the firmware file's header ) to the file CRC */ 176/* Offset ( in the firmware file's header ) to the file CRC */
166#define FIRMWARE_OFFSET_FILE_CRC 0 177#define FIRMWARE_OFFSET_FILE_CRC 0