diff options
-rw-r--r-- | arch/arm/mach-lpc32xx/phy3250.c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/arch/arm/mach-lpc32xx/phy3250.c b/arch/arm/mach-lpc32xx/phy3250.c index b07dcc90829d..a4a43b3684ef 100644 --- a/arch/arm/mach-lpc32xx/phy3250.c +++ b/arch/arm/mach-lpc32xx/phy3250.c | |||
@@ -37,6 +37,8 @@ | |||
37 | #include <linux/of_irq.h> | 37 | #include <linux/of_irq.h> |
38 | #include <linux/of_platform.h> | 38 | #include <linux/of_platform.h> |
39 | #include <linux/clk.h> | 39 | #include <linux/clk.h> |
40 | #include <linux/mtd/lpc32xx_slc.h> | ||
41 | #include <linux/mtd/lpc32xx_mlc.h> | ||
40 | 42 | ||
41 | #include <asm/setup.h> | 43 | #include <asm/setup.h> |
42 | #include <asm/mach-types.h> | 44 | #include <asm/mach-types.h> |
@@ -223,6 +225,14 @@ static struct mmci_platform_data lpc32xx_mmci_data = { | |||
223 | * gather, and the MMCI driver doesn't do it this way */ | 225 | * gather, and the MMCI driver doesn't do it this way */ |
224 | }; | 226 | }; |
225 | 227 | ||
228 | static struct lpc32xx_slc_platform_data lpc32xx_slc_data = { | ||
229 | .dma_filter = pl08x_filter_id, | ||
230 | }; | ||
231 | |||
232 | static struct lpc32xx_mlc_platform_data lpc32xx_mlc_data = { | ||
233 | .dma_filter = pl08x_filter_id, | ||
234 | }; | ||
235 | |||
226 | static const struct of_dev_auxdata lpc32xx_auxdata_lookup[] __initconst = { | 236 | static const struct of_dev_auxdata lpc32xx_auxdata_lookup[] __initconst = { |
227 | OF_DEV_AUXDATA("arm,pl022", 0x20084000, "dev:ssp0", &lpc32xx_ssp0_data), | 237 | OF_DEV_AUXDATA("arm,pl022", 0x20084000, "dev:ssp0", &lpc32xx_ssp0_data), |
228 | OF_DEV_AUXDATA("arm,pl022", 0x2008C000, "dev:ssp1", &lpc32xx_ssp1_data), | 238 | OF_DEV_AUXDATA("arm,pl022", 0x2008C000, "dev:ssp1", &lpc32xx_ssp1_data), |
@@ -230,6 +240,10 @@ static const struct of_dev_auxdata lpc32xx_auxdata_lookup[] __initconst = { | |||
230 | OF_DEV_AUXDATA("arm,pl080", 0x31000000, "pl08xdmac", &pl08x_pd), | 240 | OF_DEV_AUXDATA("arm,pl080", 0x31000000, "pl08xdmac", &pl08x_pd), |
231 | OF_DEV_AUXDATA("arm,pl18x", 0x20098000, "20098000.sd", | 241 | OF_DEV_AUXDATA("arm,pl18x", 0x20098000, "20098000.sd", |
232 | &lpc32xx_mmci_data), | 242 | &lpc32xx_mmci_data), |
243 | OF_DEV_AUXDATA("nxp,lpc3220-slc", 0x20020000, "20020000.flash", | ||
244 | &lpc32xx_slc_data), | ||
245 | OF_DEV_AUXDATA("nxp,lpc3220-mlc", 0x200a8000, "200a8000.flash", | ||
246 | &lpc32xx_mlc_data), | ||
233 | { } | 247 | { } |
234 | }; | 248 | }; |
235 | 249 | ||