|
@@ -17,6 +17,7 @@
|
|
#include <linux/irq.h>
|
|
#include <linux/irq.h>
|
|
#include <linux/mtd/physmap.h>
|
|
#include <linux/mtd/physmap.h>
|
|
#include <linux/mv643xx_eth.h>
|
|
#include <linux/mv643xx_eth.h>
|
|
|
|
+#include <linux/ata_platform.h>
|
|
#include <linux/i2c.h>
|
|
#include <linux/i2c.h>
|
|
#include <asm/mach-types.h>
|
|
#include <asm/mach-types.h>
|
|
#include <asm/gpio.h>
|
|
#include <asm/gpio.h>
|
|
@@ -229,6 +230,13 @@ static struct i2c_board_info __initdata rd88f5182_i2c_rtc = {
|
|
.addr = 0x68,
|
|
.addr = 0x68,
|
|
};
|
|
};
|
|
|
|
|
|
|
|
+/*****************************************************************************
|
|
|
|
+ * Sata
|
|
|
|
+ ****************************************************************************/
|
|
|
|
+static struct mv_sata_platform_data rd88f5182_sata_data = {
|
|
|
|
+ .n_ports = 2,
|
|
|
|
+};
|
|
|
|
+
|
|
/*****************************************************************************
|
|
/*****************************************************************************
|
|
* General Setup
|
|
* General Setup
|
|
****************************************************************************/
|
|
****************************************************************************/
|
|
@@ -292,6 +300,7 @@ static void __init rd88f5182_init(void)
|
|
platform_add_devices(rd88f5182_devices, ARRAY_SIZE(rd88f5182_devices));
|
|
platform_add_devices(rd88f5182_devices, ARRAY_SIZE(rd88f5182_devices));
|
|
i2c_register_board_info(0, &rd88f5182_i2c_rtc, 1);
|
|
i2c_register_board_info(0, &rd88f5182_i2c_rtc, 1);
|
|
orion_eth_init(&rd88f5182_eth_data);
|
|
orion_eth_init(&rd88f5182_eth_data);
|
|
|
|
+ orion_sata_init(&rd88f5182_sata_data);
|
|
}
|
|
}
|
|
|
|
|
|
MACHINE_START(RD88F5182, "Marvell Orion-NAS Reference Design")
|
|
MACHINE_START(RD88F5182, "Marvell Orion-NAS Reference Design")
|