1 From: Daniel Schwierzeck <daniel.schwierzeck@googlemail.com>
2 Date: Thu, 3 Mar 2011 17:15:58 +0000 (+0100)
3 Subject: MIPS: lantiq: Add platform data for Lantiq SoC SPI controller driver
4 X-Git-Url: http://nbd.name/gitweb.cgi?p=lantiq.git;a=commitdiff_plain;h=3d21b04682ae8eb1c1965aba39d1796e8c5ad84b;hp=06b420500fe98e37662837e78d8e51aead8aea81
6 MIPS: lantiq: Add platform data for Lantiq SoC SPI controller driver
8 Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@googlemail.com>
11 --- a/arch/mips/include/asm/mach-lantiq/lantiq_platform.h
12 +++ b/arch/mips/include/asm/mach-lantiq/lantiq_platform.h
13 @@ -50,4 +50,13 @@ struct ltq_eth_data {
18 +struct ltq_spi_platform_data {
22 +struct ltq_spi_controller_data {
27 --- a/arch/mips/include/asm/mach-lantiq/xway/lantiq_soc.h
28 +++ b/arch/mips/include/asm/mach-lantiq/xway/lantiq_soc.h
31 #define PMU_DMA 0x0020
32 #define PMU_USB 0x8041
33 +#define PMU_SPI 0x0100
34 #define PMU_LED 0x0800
35 #define PMU_GPT 0x1000
36 #define PMU_PPE 0x2000