davinci: Initial support for Neuros OSD2 platform.
The Neuros OSD 2.0 is the hardware component of the Neuros Open
Internet Television Platform. Hardware is very close to Ti DM644X-EVM board.
It has: DM6446M02 module with 256MB NAND, 256MB RAM, TLV320AIC32 AIC,
USB, Ethernet, SD/MMC, UART, THS8200, TVP7000 for video.
Additionaly realtime clock, IR remote control receiver,
IR Blaster based on MSP430 (firmware although is different
from used in DM644X-EVM), internal ATA-6 3.5” HDD drive
with PATA interface, two muxed red-green leds.
For more information please refer to
http://wiki.neurostechnology.com/index.php/OSD_2.0_HD
Signed-off-by: Andrey Porodko <panda@chelcom.ru>
Signed-off-by: Kevin Hilman <khilman@deeprootsystems.com>
2009-11-13 22:16:51 +08:00
|
|
|
/*
|
|
|
|
* Neuros Technologies OSD2 board support
|
|
|
|
*
|
|
|
|
* Modified from original 644X-EVM board support.
|
|
|
|
* 2008 (c) Neuros Technology, LLC.
|
|
|
|
* 2009 (c) Jorge Luis Zapata Muga <jorgeluis.zapata@gmail.com>
|
|
|
|
* 2009 (c) Andrey A. Porodko <Andrey.Porodko@gmail.com>
|
|
|
|
*
|
|
|
|
* The Neuros OSD 2.0 is the hardware component of the Neuros Open
|
|
|
|
* Internet Television Platform. Hardware is very close to TI
|
|
|
|
* DM644X-EVM board. It has:
|
|
|
|
* DM6446M02 module with 256MB NAND, 256MB RAM, TLV320AIC32 AIC,
|
|
|
|
* USB, Ethernet, SD/MMC, UART, THS8200, TVP7000 for video.
|
2011-03-31 09:57:33 +08:00
|
|
|
* Additionally realtime clock, IR remote control receiver,
|
davinci: Initial support for Neuros OSD2 platform.
The Neuros OSD 2.0 is the hardware component of the Neuros Open
Internet Television Platform. Hardware is very close to Ti DM644X-EVM board.
It has: DM6446M02 module with 256MB NAND, 256MB RAM, TLV320AIC32 AIC,
USB, Ethernet, SD/MMC, UART, THS8200, TVP7000 for video.
Additionaly realtime clock, IR remote control receiver,
IR Blaster based on MSP430 (firmware although is different
from used in DM644X-EVM), internal ATA-6 3.5” HDD drive
with PATA interface, two muxed red-green leds.
For more information please refer to
http://wiki.neurostechnology.com/index.php/OSD_2.0_HD
Signed-off-by: Andrey Porodko <panda@chelcom.ru>
Signed-off-by: Kevin Hilman <khilman@deeprootsystems.com>
2009-11-13 22:16:51 +08:00
|
|
|
* IR Blaster based on MSP430 (firmware although is different
|
|
|
|
* from used in DM644X-EVM), internal ATA-6 3.5” HDD drive
|
|
|
|
* with PATA interface, two muxed red-green leds.
|
|
|
|
*
|
|
|
|
* For more information please refer to
|
|
|
|
* http://wiki.neurostechnology.com/index.php/OSD_2.0_HD
|
|
|
|
*
|
|
|
|
* This file is licensed under the terms of the GNU General Public
|
|
|
|
* License version 2. This program is licensed "as is" without any
|
|
|
|
* warranty of any kind, whether express or implied.
|
|
|
|
*/
|
|
|
|
#include <linux/platform_device.h>
|
|
|
|
#include <linux/gpio.h>
|
|
|
|
#include <linux/mtd/partitions.h>
|
2013-08-18 13:19:02 +08:00
|
|
|
#include <linux/platform_data/gpio-davinci.h>
|
|
|
|
#include <linux/platform_data/i2c-davinci.h>
|
|
|
|
#include <linux/platform_data/mmc-davinci.h>
|
|
|
|
#include <linux/platform_data/mtd-davinci.h>
|
|
|
|
#include <linux/platform_data/usb-davinci.h>
|
davinci: Initial support for Neuros OSD2 platform.
The Neuros OSD 2.0 is the hardware component of the Neuros Open
Internet Television Platform. Hardware is very close to Ti DM644X-EVM board.
It has: DM6446M02 module with 256MB NAND, 256MB RAM, TLV320AIC32 AIC,
USB, Ethernet, SD/MMC, UART, THS8200, TVP7000 for video.
Additionaly realtime clock, IR remote control receiver,
IR Blaster based on MSP430 (firmware although is different
from used in DM644X-EVM), internal ATA-6 3.5” HDD drive
with PATA interface, two muxed red-green leds.
For more information please refer to
http://wiki.neurostechnology.com/index.php/OSD_2.0_HD
Signed-off-by: Andrey Porodko <panda@chelcom.ru>
Signed-off-by: Kevin Hilman <khilman@deeprootsystems.com>
2009-11-13 22:16:51 +08:00
|
|
|
|
|
|
|
#include <asm/mach-types.h>
|
|
|
|
#include <asm/mach/arch.h>
|
|
|
|
|
2010-04-21 22:11:33 +08:00
|
|
|
#include <mach/common.h>
|
davinci: Initial support for Neuros OSD2 platform.
The Neuros OSD 2.0 is the hardware component of the Neuros Open
Internet Television Platform. Hardware is very close to Ti DM644X-EVM board.
It has: DM6446M02 module with 256MB NAND, 256MB RAM, TLV320AIC32 AIC,
USB, Ethernet, SD/MMC, UART, THS8200, TVP7000 for video.
Additionaly realtime clock, IR remote control receiver,
IR Blaster based on MSP430 (firmware although is different
from used in DM644X-EVM), internal ATA-6 3.5” HDD drive
with PATA interface, two muxed red-green leds.
For more information please refer to
http://wiki.neurostechnology.com/index.php/OSD_2.0_HD
Signed-off-by: Andrey Porodko <panda@chelcom.ru>
Signed-off-by: Kevin Hilman <khilman@deeprootsystems.com>
2009-11-13 22:16:51 +08:00
|
|
|
#include <mach/serial.h>
|
|
|
|
#include <mach/mux.h>
|
|
|
|
|
2011-12-21 21:43:35 +08:00
|
|
|
#include "davinci.h"
|
|
|
|
|
2012-01-21 05:18:17 +08:00
|
|
|
#define NEUROS_OSD2_PHY_ID "davinci_mdio-0:01"
|
davinci: Initial support for Neuros OSD2 platform.
The Neuros OSD 2.0 is the hardware component of the Neuros Open
Internet Television Platform. Hardware is very close to Ti DM644X-EVM board.
It has: DM6446M02 module with 256MB NAND, 256MB RAM, TLV320AIC32 AIC,
USB, Ethernet, SD/MMC, UART, THS8200, TVP7000 for video.
Additionaly realtime clock, IR remote control receiver,
IR Blaster based on MSP430 (firmware although is different
from used in DM644X-EVM), internal ATA-6 3.5” HDD drive
with PATA interface, two muxed red-green leds.
For more information please refer to
http://wiki.neurostechnology.com/index.php/OSD_2.0_HD
Signed-off-by: Andrey Porodko <panda@chelcom.ru>
Signed-off-by: Kevin Hilman <khilman@deeprootsystems.com>
2009-11-13 22:16:51 +08:00
|
|
|
#define LXT971_PHY_ID 0x001378e2
|
|
|
|
#define LXT971_PHY_MASK 0xfffffff0
|
|
|
|
|
|
|
|
#define NTOSD2_AUDIOSOC_I2C_ADDR 0x18
|
|
|
|
#define NTOSD2_MSP430_I2C_ADDR 0x59
|
|
|
|
#define NTOSD2_MSP430_IRQ 2
|
|
|
|
|
|
|
|
/* Neuros OSD2 has a Samsung 256 MByte NAND flash (Dev ID of 0xAA,
|
|
|
|
* 2048 blocks in the device, 64 pages per block, 2048 bytes per
|
|
|
|
* page.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#define NAND_BLOCK_SIZE SZ_128K
|
|
|
|
|
2010-02-26 07:36:38 +08:00
|
|
|
static struct mtd_partition davinci_ntosd2_nandflash_partition[] = {
|
davinci: Initial support for Neuros OSD2 platform.
The Neuros OSD 2.0 is the hardware component of the Neuros Open
Internet Television Platform. Hardware is very close to Ti DM644X-EVM board.
It has: DM6446M02 module with 256MB NAND, 256MB RAM, TLV320AIC32 AIC,
USB, Ethernet, SD/MMC, UART, THS8200, TVP7000 for video.
Additionaly realtime clock, IR remote control receiver,
IR Blaster based on MSP430 (firmware although is different
from used in DM644X-EVM), internal ATA-6 3.5” HDD drive
with PATA interface, two muxed red-green leds.
For more information please refer to
http://wiki.neurostechnology.com/index.php/OSD_2.0_HD
Signed-off-by: Andrey Porodko <panda@chelcom.ru>
Signed-off-by: Kevin Hilman <khilman@deeprootsystems.com>
2009-11-13 22:16:51 +08:00
|
|
|
{
|
|
|
|
/* UBL (a few copies) plus U-Boot */
|
|
|
|
.name = "bootloader",
|
|
|
|
.offset = 0,
|
|
|
|
.size = 15 * NAND_BLOCK_SIZE,
|
|
|
|
.mask_flags = MTD_WRITEABLE, /* force read-only */
|
|
|
|
}, {
|
|
|
|
/* U-Boot environment */
|
|
|
|
.name = "params",
|
|
|
|
.offset = MTDPART_OFS_APPEND,
|
|
|
|
.size = 1 * NAND_BLOCK_SIZE,
|
|
|
|
.mask_flags = 0,
|
|
|
|
}, {
|
|
|
|
/* Kernel */
|
|
|
|
.name = "kernel",
|
|
|
|
.offset = MTDPART_OFS_APPEND,
|
|
|
|
.size = SZ_4M,
|
|
|
|
.mask_flags = 0,
|
|
|
|
}, {
|
|
|
|
/* File System */
|
|
|
|
.name = "filesystem",
|
|
|
|
.offset = MTDPART_OFS_APPEND,
|
|
|
|
.size = MTDPART_SIZ_FULL,
|
|
|
|
.mask_flags = 0,
|
|
|
|
}
|
|
|
|
/* A few blocks at end hold a flash Bad Block Table. */
|
|
|
|
};
|
|
|
|
|
|
|
|
static struct davinci_nand_pdata davinci_ntosd2_nandflash_data = {
|
|
|
|
.parts = davinci_ntosd2_nandflash_partition,
|
|
|
|
.nr_parts = ARRAY_SIZE(davinci_ntosd2_nandflash_partition),
|
|
|
|
.ecc_mode = NAND_ECC_HW,
|
2013-08-16 17:13:48 +08:00
|
|
|
.ecc_bits = 1,
|
2011-06-01 07:31:23 +08:00
|
|
|
.bbt_options = NAND_BBT_USE_FLASH,
|
davinci: Initial support for Neuros OSD2 platform.
The Neuros OSD 2.0 is the hardware component of the Neuros Open
Internet Television Platform. Hardware is very close to Ti DM644X-EVM board.
It has: DM6446M02 module with 256MB NAND, 256MB RAM, TLV320AIC32 AIC,
USB, Ethernet, SD/MMC, UART, THS8200, TVP7000 for video.
Additionaly realtime clock, IR remote control receiver,
IR Blaster based on MSP430 (firmware although is different
from used in DM644X-EVM), internal ATA-6 3.5” HDD drive
with PATA interface, two muxed red-green leds.
For more information please refer to
http://wiki.neurostechnology.com/index.php/OSD_2.0_HD
Signed-off-by: Andrey Porodko <panda@chelcom.ru>
Signed-off-by: Kevin Hilman <khilman@deeprootsystems.com>
2009-11-13 22:16:51 +08:00
|
|
|
};
|
|
|
|
|
|
|
|
static struct resource davinci_ntosd2_nandflash_resource[] = {
|
|
|
|
{
|
2010-04-17 01:29:11 +08:00
|
|
|
.start = DM644X_ASYNC_EMIF_DATA_CE0_BASE,
|
|
|
|
.end = DM644X_ASYNC_EMIF_DATA_CE0_BASE + SZ_16M - 1,
|
davinci: Initial support for Neuros OSD2 platform.
The Neuros OSD 2.0 is the hardware component of the Neuros Open
Internet Television Platform. Hardware is very close to Ti DM644X-EVM board.
It has: DM6446M02 module with 256MB NAND, 256MB RAM, TLV320AIC32 AIC,
USB, Ethernet, SD/MMC, UART, THS8200, TVP7000 for video.
Additionaly realtime clock, IR remote control receiver,
IR Blaster based on MSP430 (firmware although is different
from used in DM644X-EVM), internal ATA-6 3.5” HDD drive
with PATA interface, two muxed red-green leds.
For more information please refer to
http://wiki.neurostechnology.com/index.php/OSD_2.0_HD
Signed-off-by: Andrey Porodko <panda@chelcom.ru>
Signed-off-by: Kevin Hilman <khilman@deeprootsystems.com>
2009-11-13 22:16:51 +08:00
|
|
|
.flags = IORESOURCE_MEM,
|
|
|
|
}, {
|
2010-04-17 01:29:11 +08:00
|
|
|
.start = DM644X_ASYNC_EMIF_CONTROL_BASE,
|
|
|
|
.end = DM644X_ASYNC_EMIF_CONTROL_BASE + SZ_4K - 1,
|
davinci: Initial support for Neuros OSD2 platform.
The Neuros OSD 2.0 is the hardware component of the Neuros Open
Internet Television Platform. Hardware is very close to Ti DM644X-EVM board.
It has: DM6446M02 module with 256MB NAND, 256MB RAM, TLV320AIC32 AIC,
USB, Ethernet, SD/MMC, UART, THS8200, TVP7000 for video.
Additionaly realtime clock, IR remote control receiver,
IR Blaster based on MSP430 (firmware although is different
from used in DM644X-EVM), internal ATA-6 3.5” HDD drive
with PATA interface, two muxed red-green leds.
For more information please refer to
http://wiki.neurostechnology.com/index.php/OSD_2.0_HD
Signed-off-by: Andrey Porodko <panda@chelcom.ru>
Signed-off-by: Kevin Hilman <khilman@deeprootsystems.com>
2009-11-13 22:16:51 +08:00
|
|
|
.flags = IORESOURCE_MEM,
|
|
|
|
},
|
|
|
|
};
|
|
|
|
|
|
|
|
static struct platform_device davinci_ntosd2_nandflash_device = {
|
|
|
|
.name = "davinci_nand",
|
|
|
|
.id = 0,
|
|
|
|
.dev = {
|
|
|
|
.platform_data = &davinci_ntosd2_nandflash_data,
|
|
|
|
},
|
|
|
|
.num_resources = ARRAY_SIZE(davinci_ntosd2_nandflash_resource),
|
|
|
|
.resource = davinci_ntosd2_nandflash_resource,
|
|
|
|
};
|
|
|
|
|
|
|
|
static u64 davinci_fb_dma_mask = DMA_BIT_MASK(32);
|
|
|
|
|
|
|
|
static struct platform_device davinci_fb_device = {
|
|
|
|
.name = "davincifb",
|
|
|
|
.id = -1,
|
|
|
|
.dev = {
|
|
|
|
.dma_mask = &davinci_fb_dma_mask,
|
|
|
|
.coherent_dma_mask = DMA_BIT_MASK(32),
|
|
|
|
},
|
|
|
|
.num_resources = 0,
|
|
|
|
};
|
|
|
|
|
|
|
|
static struct snd_platform_data dm644x_ntosd2_snd_data;
|
|
|
|
|
|
|
|
static struct gpio_led ntosd2_leds[] = {
|
|
|
|
{ .name = "led1_green", .gpio = GPIO(10), },
|
|
|
|
{ .name = "led1_red", .gpio = GPIO(11), },
|
|
|
|
{ .name = "led2_green", .gpio = GPIO(12), },
|
|
|
|
{ .name = "led2_red", .gpio = GPIO(13), },
|
|
|
|
};
|
|
|
|
|
|
|
|
static struct gpio_led_platform_data ntosd2_leds_data = {
|
|
|
|
.num_leds = ARRAY_SIZE(ntosd2_leds),
|
|
|
|
.leds = ntosd2_leds,
|
|
|
|
};
|
|
|
|
|
|
|
|
static struct platform_device ntosd2_leds_dev = {
|
|
|
|
.name = "leds-gpio",
|
|
|
|
.id = -1,
|
|
|
|
.dev = {
|
|
|
|
.platform_data = &ntosd2_leds_data,
|
|
|
|
},
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
static struct platform_device *davinci_ntosd2_devices[] __initdata = {
|
|
|
|
&davinci_fb_device,
|
|
|
|
&ntosd2_leds_dev,
|
|
|
|
};
|
|
|
|
|
|
|
|
static void __init davinci_ntosd2_map_io(void)
|
|
|
|
{
|
|
|
|
dm644x_init();
|
|
|
|
}
|
|
|
|
|
|
|
|
static struct davinci_mmc_config davinci_ntosd2_mmc_config = {
|
|
|
|
.wires = 4,
|
|
|
|
};
|
|
|
|
|
2013-04-01 15:13:44 +08:00
|
|
|
#define HAS_ATA IS_ENABLED(CONFIG_BLK_DEV_PALMCHIP_BK3710)
|
davinci: Initial support for Neuros OSD2 platform.
The Neuros OSD 2.0 is the hardware component of the Neuros Open
Internet Television Platform. Hardware is very close to Ti DM644X-EVM board.
It has: DM6446M02 module with 256MB NAND, 256MB RAM, TLV320AIC32 AIC,
USB, Ethernet, SD/MMC, UART, THS8200, TVP7000 for video.
Additionaly realtime clock, IR remote control receiver,
IR Blaster based on MSP430 (firmware although is different
from used in DM644X-EVM), internal ATA-6 3.5” HDD drive
with PATA interface, two muxed red-green leds.
For more information please refer to
http://wiki.neurostechnology.com/index.php/OSD_2.0_HD
Signed-off-by: Andrey Porodko <panda@chelcom.ru>
Signed-off-by: Kevin Hilman <khilman@deeprootsystems.com>
2009-11-13 22:16:51 +08:00
|
|
|
|
2013-04-01 15:13:44 +08:00
|
|
|
#define HAS_NAND IS_ENABLED(CONFIG_MTD_NAND_DAVINCI)
|
davinci: Initial support for Neuros OSD2 platform.
The Neuros OSD 2.0 is the hardware component of the Neuros Open
Internet Television Platform. Hardware is very close to Ti DM644X-EVM board.
It has: DM6446M02 module with 256MB NAND, 256MB RAM, TLV320AIC32 AIC,
USB, Ethernet, SD/MMC, UART, THS8200, TVP7000 for video.
Additionaly realtime clock, IR remote control receiver,
IR Blaster based on MSP430 (firmware although is different
from used in DM644X-EVM), internal ATA-6 3.5” HDD drive
with PATA interface, two muxed red-green leds.
For more information please refer to
http://wiki.neurostechnology.com/index.php/OSD_2.0_HD
Signed-off-by: Andrey Porodko <panda@chelcom.ru>
Signed-off-by: Kevin Hilman <khilman@deeprootsystems.com>
2009-11-13 22:16:51 +08:00
|
|
|
|
|
|
|
static __init void davinci_ntosd2_init(void)
|
|
|
|
{
|
2013-08-18 13:19:02 +08:00
|
|
|
int ret;
|
davinci: Initial support for Neuros OSD2 platform.
The Neuros OSD 2.0 is the hardware component of the Neuros Open
Internet Television Platform. Hardware is very close to Ti DM644X-EVM board.
It has: DM6446M02 module with 256MB NAND, 256MB RAM, TLV320AIC32 AIC,
USB, Ethernet, SD/MMC, UART, THS8200, TVP7000 for video.
Additionaly realtime clock, IR remote control receiver,
IR Blaster based on MSP430 (firmware although is different
from used in DM644X-EVM), internal ATA-6 3.5” HDD drive
with PATA interface, two muxed red-green leds.
For more information please refer to
http://wiki.neurostechnology.com/index.php/OSD_2.0_HD
Signed-off-by: Andrey Porodko <panda@chelcom.ru>
Signed-off-by: Kevin Hilman <khilman@deeprootsystems.com>
2009-11-13 22:16:51 +08:00
|
|
|
struct clk *aemif_clk;
|
|
|
|
struct davinci_soc_info *soc_info = &davinci_soc_info;
|
|
|
|
|
2013-08-18 13:19:02 +08:00
|
|
|
ret = dm644x_gpio_register();
|
|
|
|
if (ret)
|
|
|
|
pr_warn("%s: GPIO init failed: %d\n", __func__, ret);
|
|
|
|
|
davinci: Initial support for Neuros OSD2 platform.
The Neuros OSD 2.0 is the hardware component of the Neuros Open
Internet Television Platform. Hardware is very close to Ti DM644X-EVM board.
It has: DM6446M02 module with 256MB NAND, 256MB RAM, TLV320AIC32 AIC,
USB, Ethernet, SD/MMC, UART, THS8200, TVP7000 for video.
Additionaly realtime clock, IR remote control receiver,
IR Blaster based on MSP430 (firmware although is different
from used in DM644X-EVM), internal ATA-6 3.5” HDD drive
with PATA interface, two muxed red-green leds.
For more information please refer to
http://wiki.neurostechnology.com/index.php/OSD_2.0_HD
Signed-off-by: Andrey Porodko <panda@chelcom.ru>
Signed-off-by: Kevin Hilman <khilman@deeprootsystems.com>
2009-11-13 22:16:51 +08:00
|
|
|
aemif_clk = clk_get(NULL, "aemif");
|
2012-08-03 00:53:48 +08:00
|
|
|
clk_prepare_enable(aemif_clk);
|
davinci: Initial support for Neuros OSD2 platform.
The Neuros OSD 2.0 is the hardware component of the Neuros Open
Internet Television Platform. Hardware is very close to Ti DM644X-EVM board.
It has: DM6446M02 module with 256MB NAND, 256MB RAM, TLV320AIC32 AIC,
USB, Ethernet, SD/MMC, UART, THS8200, TVP7000 for video.
Additionaly realtime clock, IR remote control receiver,
IR Blaster based on MSP430 (firmware although is different
from used in DM644X-EVM), internal ATA-6 3.5” HDD drive
with PATA interface, two muxed red-green leds.
For more information please refer to
http://wiki.neurostechnology.com/index.php/OSD_2.0_HD
Signed-off-by: Andrey Porodko <panda@chelcom.ru>
Signed-off-by: Kevin Hilman <khilman@deeprootsystems.com>
2009-11-13 22:16:51 +08:00
|
|
|
|
|
|
|
if (HAS_ATA) {
|
|
|
|
if (HAS_NAND)
|
|
|
|
pr_warning("WARNING: both IDE and Flash are "
|
|
|
|
"enabled, but they share AEMIF pins.\n"
|
|
|
|
"\tDisable IDE for NAND/NOR support.\n");
|
2010-04-21 22:11:33 +08:00
|
|
|
davinci_init_ide();
|
davinci: Initial support for Neuros OSD2 platform.
The Neuros OSD 2.0 is the hardware component of the Neuros Open
Internet Television Platform. Hardware is very close to Ti DM644X-EVM board.
It has: DM6446M02 module with 256MB NAND, 256MB RAM, TLV320AIC32 AIC,
USB, Ethernet, SD/MMC, UART, THS8200, TVP7000 for video.
Additionaly realtime clock, IR remote control receiver,
IR Blaster based on MSP430 (firmware although is different
from used in DM644X-EVM), internal ATA-6 3.5” HDD drive
with PATA interface, two muxed red-green leds.
For more information please refer to
http://wiki.neurostechnology.com/index.php/OSD_2.0_HD
Signed-off-by: Andrey Porodko <panda@chelcom.ru>
Signed-off-by: Kevin Hilman <khilman@deeprootsystems.com>
2009-11-13 22:16:51 +08:00
|
|
|
} else if (HAS_NAND) {
|
|
|
|
davinci_cfg_reg(DM644X_HPIEN_DISABLE);
|
|
|
|
davinci_cfg_reg(DM644X_ATAEN_DISABLE);
|
|
|
|
|
|
|
|
/* only one device will be jumpered and detected */
|
|
|
|
if (HAS_NAND)
|
|
|
|
platform_device_register(
|
|
|
|
&davinci_ntosd2_nandflash_device);
|
|
|
|
}
|
|
|
|
|
|
|
|
platform_add_devices(davinci_ntosd2_devices,
|
|
|
|
ARRAY_SIZE(davinci_ntosd2_devices));
|
|
|
|
|
2013-06-19 17:15:42 +08:00
|
|
|
davinci_serial_init(dm644x_serial_device);
|
davinci: Initial support for Neuros OSD2 platform.
The Neuros OSD 2.0 is the hardware component of the Neuros Open
Internet Television Platform. Hardware is very close to Ti DM644X-EVM board.
It has: DM6446M02 module with 256MB NAND, 256MB RAM, TLV320AIC32 AIC,
USB, Ethernet, SD/MMC, UART, THS8200, TVP7000 for video.
Additionaly realtime clock, IR remote control receiver,
IR Blaster based on MSP430 (firmware although is different
from used in DM644X-EVM), internal ATA-6 3.5” HDD drive
with PATA interface, two muxed red-green leds.
For more information please refer to
http://wiki.neurostechnology.com/index.php/OSD_2.0_HD
Signed-off-by: Andrey Porodko <panda@chelcom.ru>
Signed-off-by: Kevin Hilman <khilman@deeprootsystems.com>
2009-11-13 22:16:51 +08:00
|
|
|
dm644x_init_asp(&dm644x_ntosd2_snd_data);
|
|
|
|
|
2010-09-15 22:11:25 +08:00
|
|
|
soc_info->emac_pdata->phy_id = NEUROS_OSD2_PHY_ID;
|
davinci: Initial support for Neuros OSD2 platform.
The Neuros OSD 2.0 is the hardware component of the Neuros Open
Internet Television Platform. Hardware is very close to Ti DM644X-EVM board.
It has: DM6446M02 module with 256MB NAND, 256MB RAM, TLV320AIC32 AIC,
USB, Ethernet, SD/MMC, UART, THS8200, TVP7000 for video.
Additionaly realtime clock, IR remote control receiver,
IR Blaster based on MSP430 (firmware although is different
from used in DM644X-EVM), internal ATA-6 3.5” HDD drive
with PATA interface, two muxed red-green leds.
For more information please refer to
http://wiki.neurostechnology.com/index.php/OSD_2.0_HD
Signed-off-by: Andrey Porodko <panda@chelcom.ru>
Signed-off-by: Kevin Hilman <khilman@deeprootsystems.com>
2009-11-13 22:16:51 +08:00
|
|
|
|
|
|
|
davinci_setup_usb(1000, 8);
|
|
|
|
/*
|
|
|
|
* Mux the pins to be GPIOs, VLYNQEN is already done at startup.
|
|
|
|
* The AEAWx are five new AEAW pins that can be muxed by separately.
|
|
|
|
* They are a bitmask for GPIO management. According TI
|
|
|
|
* documentation (http://www.ti.com/lit/gpn/tms320dm6446) to employ
|
|
|
|
* gpio(10,11,12,13) for leds any combination of bits works except
|
|
|
|
* four last. So we are to reset all five.
|
|
|
|
*/
|
|
|
|
davinci_cfg_reg(DM644X_AEAW0);
|
|
|
|
davinci_cfg_reg(DM644X_AEAW1);
|
|
|
|
davinci_cfg_reg(DM644X_AEAW2);
|
|
|
|
davinci_cfg_reg(DM644X_AEAW3);
|
|
|
|
davinci_cfg_reg(DM644X_AEAW4);
|
|
|
|
|
|
|
|
davinci_setup_mmc(0, &davinci_ntosd2_mmc_config);
|
|
|
|
}
|
|
|
|
|
|
|
|
MACHINE_START(NEUROS_OSD2, "Neuros OSD2")
|
|
|
|
/* Maintainer: Neuros Technologies <neuros@groups.google.com> */
|
2011-07-06 10:38:11 +08:00
|
|
|
.atag_offset = 0x100,
|
davinci: Initial support for Neuros OSD2 platform.
The Neuros OSD 2.0 is the hardware component of the Neuros Open
Internet Television Platform. Hardware is very close to Ti DM644X-EVM board.
It has: DM6446M02 module with 256MB NAND, 256MB RAM, TLV320AIC32 AIC,
USB, Ethernet, SD/MMC, UART, THS8200, TVP7000 for video.
Additionaly realtime clock, IR remote control receiver,
IR Blaster based on MSP430 (firmware although is different
from used in DM644X-EVM), internal ATA-6 3.5” HDD drive
with PATA interface, two muxed red-green leds.
For more information please refer to
http://wiki.neurostechnology.com/index.php/OSD_2.0_HD
Signed-off-by: Andrey Porodko <panda@chelcom.ru>
Signed-off-by: Kevin Hilman <khilman@deeprootsystems.com>
2009-11-13 22:16:51 +08:00
|
|
|
.map_io = davinci_ntosd2_map_io,
|
2010-05-08 05:06:37 +08:00
|
|
|
.init_irq = davinci_irq_init,
|
2012-11-09 03:40:59 +08:00
|
|
|
.init_time = davinci_timer_init,
|
davinci: Initial support for Neuros OSD2 platform.
The Neuros OSD 2.0 is the hardware component of the Neuros Open
Internet Television Platform. Hardware is very close to Ti DM644X-EVM board.
It has: DM6446M02 module with 256MB NAND, 256MB RAM, TLV320AIC32 AIC,
USB, Ethernet, SD/MMC, UART, THS8200, TVP7000 for video.
Additionaly realtime clock, IR remote control receiver,
IR Blaster based on MSP430 (firmware although is different
from used in DM644X-EVM), internal ATA-6 3.5” HDD drive
with PATA interface, two muxed red-green leds.
For more information please refer to
http://wiki.neurostechnology.com/index.php/OSD_2.0_HD
Signed-off-by: Andrey Porodko <panda@chelcom.ru>
Signed-off-by: Kevin Hilman <khilman@deeprootsystems.com>
2009-11-13 22:16:51 +08:00
|
|
|
.init_machine = davinci_ntosd2_init,
|
2012-04-26 09:45:39 +08:00
|
|
|
.init_late = davinci_init_late,
|
2011-07-06 10:28:08 +08:00
|
|
|
.dma_zone_size = SZ_128M,
|
2011-12-05 18:29:46 +08:00
|
|
|
.restart = davinci_restart,
|
davinci: Initial support for Neuros OSD2 platform.
The Neuros OSD 2.0 is the hardware component of the Neuros Open
Internet Television Platform. Hardware is very close to Ti DM644X-EVM board.
It has: DM6446M02 module with 256MB NAND, 256MB RAM, TLV320AIC32 AIC,
USB, Ethernet, SD/MMC, UART, THS8200, TVP7000 for video.
Additionaly realtime clock, IR remote control receiver,
IR Blaster based on MSP430 (firmware although is different
from used in DM644X-EVM), internal ATA-6 3.5” HDD drive
with PATA interface, two muxed red-green leds.
For more information please refer to
http://wiki.neurostechnology.com/index.php/OSD_2.0_HD
Signed-off-by: Andrey Porodko <panda@chelcom.ru>
Signed-off-by: Kevin Hilman <khilman@deeprootsystems.com>
2009-11-13 22:16:51 +08:00
|
|
|
MACHINE_END
|