aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-mx25/devices.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-mx25/devices.c')
-rw-r--r--arch/arm/mach-mx25/devices.c76
1 files changed, 0 insertions, 76 deletions
diff --git a/arch/arm/mach-mx25/devices.c b/arch/arm/mach-mx25/devices.c
index 27d07ce55ee0..13a3c280a834 100644
--- a/arch/arm/mach-mx25/devices.c
+++ b/arch/arm/mach-mx25/devices.c
@@ -22,63 +22,6 @@
22#include <mach/mx25.h> 22#include <mach/mx25.h>
23#include <mach/irqs.h> 23#include <mach/irqs.h>
24 24
25static struct resource mxc_pwm_resources0[] = {
26 {
27 .start = 0x53fe0000,
28 .end = 0x53fe3fff,
29 .flags = IORESOURCE_MEM,
30 }, {
31 .start = 26,
32 .end = 26,
33 .flags = IORESOURCE_IRQ,
34 }
35};
36
37struct platform_device mxc_pwm_device0 = {
38 .name = "mxc_pwm",
39 .id = 0,
40 .num_resources = ARRAY_SIZE(mxc_pwm_resources0),
41 .resource = mxc_pwm_resources0,
42};
43
44static struct resource mxc_pwm_resources1[] = {
45 {
46 .start = 0x53fa0000,
47 .end = 0x53fa3fff,
48 .flags = IORESOURCE_MEM,
49 }, {
50 .start = 36,
51 .end = 36,
52 .flags = IORESOURCE_IRQ,
53 }
54};
55
56struct platform_device mxc_pwm_device1 = {
57 .name = "mxc_pwm",
58 .id = 1,
59 .num_resources = ARRAY_SIZE(mxc_pwm_resources1),
60 .resource = mxc_pwm_resources1,
61};
62
63static struct resource mxc_pwm_resources2[] = {
64 {
65 .start = 0x53fa8000,
66 .end = 0x53fabfff,
67 .flags = IORESOURCE_MEM,
68 }, {
69 .start = 41,
70 .end = 41,
71 .flags = IORESOURCE_IRQ,
72 }
73};
74
75struct platform_device mxc_pwm_device2 = {
76 .name = "mxc_pwm",
77 .id = 2,
78 .num_resources = ARRAY_SIZE(mxc_pwm_resources2),
79 .resource = mxc_pwm_resources2,
80};
81
82static struct resource mxc_keypad_resources[] = { 25static struct resource mxc_keypad_resources[] = {
83 { 26 {
84 .start = 0x43fa8000, 27 .start = 0x43fa8000,
@@ -98,25 +41,6 @@ struct platform_device mxc_keypad_device = {
98 .resource = mxc_keypad_resources, 41 .resource = mxc_keypad_resources,
99}; 42};
100 43
101static struct resource mxc_pwm_resources3[] = {
102 {
103 .start = 0x53fc8000,
104 .end = 0x53fcbfff,
105 .flags = IORESOURCE_MEM,
106 }, {
107 .start = 42,
108 .end = 42,
109 .flags = IORESOURCE_IRQ,
110 }
111};
112
113struct platform_device mxc_pwm_device3 = {
114 .name = "mxc_pwm",
115 .id = 3,
116 .num_resources = ARRAY_SIZE(mxc_pwm_resources3),
117 .resource = mxc_pwm_resources3,
118};
119
120static struct mxc_gpio_port imx_gpio_ports[] = { 44static struct mxc_gpio_port imx_gpio_ports[] = {
121 { 45 {
122 .chip.label = "gpio-0", 46 .chip.label = "gpio-0",