|
@@ -177,3 +177,60 @@ static struct mtd_partition omap3beagle_nand_partitions[] = {
|
|
|
.mask_flags = MTD_WRITEABLE, /* force read-only */
|
|
|
},
|
|
|
{
|
|
|
+ .name = "U-Boot Env",
|
|
|
+ .offset = MTDPART_OFS_APPEND, /* Offset = 0x260000 */
|
|
|
+ .size = 1 * NAND_BLOCK_SIZE,
|
|
|
+ },
|
|
|
+ {
|
|
|
+ .name = "Kernel",
|
|
|
+ .offset = MTDPART_OFS_APPEND, /* Offset = 0x280000 */
|
|
|
+ .size = 32 * NAND_BLOCK_SIZE,
|
|
|
+ },
|
|
|
+ {
|
|
|
+ .name = "File System",
|
|
|
+ .offset = MTDPART_OFS_APPEND, /* Offset = 0x680000 */
|
|
|
+ .size = MTDPART_SIZ_FULL,
|
|
|
+ },
|
|
|
+};
|
|
|
+
|
|
|
+/* DSS */
|
|
|
+
|
|
|
+static struct tfp410_platform_data dvi_panel = {
|
|
|
+ .i2c_bus_num = 3,
|
|
|
+ .power_down_gpio = -1,
|
|
|
+};
|
|
|
+
|
|
|
+static struct omap_dss_device beagle_dvi_device = {
|
|
|
+ .type = OMAP_DISPLAY_TYPE_DPI,
|
|
|
+ .name = "dvi",
|
|
|
+ .driver_name = "tfp410",
|
|
|
+ .data = &dvi_panel,
|
|
|
+ .phy.dpi.data_lines = 24,
|
|
|
+};
|
|
|
+
|
|
|
+static struct omap_dss_device beagle_tv_device = {
|
|
|
+ .name = "tv",
|
|
|
+ .driver_name = "venc",
|
|
|
+ .type = OMAP_DISPLAY_TYPE_VENC,
|
|
|
+ .phy.venc.type = OMAP_DSS_VENC_TYPE_SVIDEO,
|
|
|
+};
|
|
|
+
|
|
|
+static struct omap_dss_device *beagle_dss_devices[] = {
|
|
|
+ &beagle_dvi_device,
|
|
|
+ &beagle_tv_device,
|
|
|
+};
|
|
|
+
|
|
|
+static struct omap_dss_board_info beagle_dss_data = {
|
|
|
+ .num_devices = ARRAY_SIZE(beagle_dss_devices),
|
|
|
+ .devices = beagle_dss_devices,
|
|
|
+ .default_device = &beagle_dvi_device,
|
|
|
+};
|
|
|
+
|
|
|
+#include "sdram-micron-mt46h32m32lf-6.h"
|
|
|
+
|
|
|
+static struct omap2_hsmmc_info mmc[] = {
|
|
|
+ {
|
|
|
+ .mmc = 1,
|
|
|
+ .caps = MMC_CAP_4_BIT_DATA,
|
|
|
+ .gpio_wp = -EINVAL,
|
|
|
+ .deferred = true,
|