aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sh
diff options
context:
space:
mode:
Diffstat (limited to 'arch/sh')
-rw-r--r--arch/sh/boards/mach-sdk7786/setup.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/arch/sh/boards/mach-sdk7786/setup.c b/arch/sh/boards/mach-sdk7786/setup.c
index b460dcc785c1..f2d4b75bf31c 100644
--- a/arch/sh/boards/mach-sdk7786/setup.c
+++ b/arch/sh/boards/mach-sdk7786/setup.c
@@ -15,8 +15,22 @@
15#include <linux/i2c.h> 15#include <linux/i2c.h>
16#include <linux/irq.h> 16#include <linux/irq.h>
17#include <asm/machvec.h> 17#include <asm/machvec.h>
18#include <asm/heartbeat.h>
18#include <asm/sizes.h> 19#include <asm/sizes.h>
19 20
21static struct resource heartbeat_resource = {
22 .start = 0x07fff8b0,
23 .end = 0x07fff8b0 + sizeof(u16) - 1,
24 .flags = IORESOURCE_MEM | IORESOURCE_MEM_16BIT,
25};
26
27static struct platform_device heartbeat_device = {
28 .name = "heartbeat",
29 .id = -1,
30 .num_resources = 1,
31 .resource = &heartbeat_resource,
32};
33
20static struct resource smsc911x_resources[] = { 34static struct resource smsc911x_resources[] = {
21 [0] = { 35 [0] = {
22 .name = "smsc911x-memory", 36 .name = "smsc911x-memory",
@@ -82,6 +96,7 @@ static struct i2c_board_info __initdata sdk7786_i2c_devices[] = {
82}; 96};
83 97
84static struct platform_device *sh7786_devices[] __initdata = { 98static struct platform_device *sh7786_devices[] __initdata = {
99 &heartbeat_device,
85 &smsc911x_device, 100 &smsc911x_device,
86 &smbus_fpga_device, 101 &smbus_fpga_device,
87 &smbus_pcie_device, 102 &smbus_pcie_device,