Loading arch/arm/mach-mx25/devices.c +20 −0 Original line number Original line Diff line number Diff line Loading @@ -438,3 +438,23 @@ struct platform_device mx25_fec_device = { .num_resources = ARRAY_SIZE(mx25_fec_resources), .num_resources = ARRAY_SIZE(mx25_fec_resources), .resource = mx25_fec_resources, .resource = mx25_fec_resources, }; }; static struct resource mxc_nand_resources[] = { { .start = MX25_NFC_BASE_ADDR, .end = MX25_NFC_BASE_ADDR + 0x1fff, .flags = IORESOURCE_MEM, }, { .start = MX25_INT_NANDFC, .end = MX25_INT_NANDFC, .flags = IORESOURCE_IRQ, }, }; struct platform_device mxc_nand_device = { .name = "mxc_nand", .id = 0, .num_resources = ARRAY_SIZE(mxc_nand_resources), .resource = mxc_nand_resources, }; arch/arm/mach-mx25/devices.h +1 −0 Original line number Original line Diff line number Diff line Loading @@ -18,3 +18,4 @@ extern struct platform_device mxc_i2c_device0; extern struct platform_device mxc_i2c_device1; extern struct platform_device mxc_i2c_device1; extern struct platform_device mxc_i2c_device2; extern struct platform_device mxc_i2c_device2; extern struct platform_device mx25_fec_device; extern struct platform_device mx25_fec_device; extern struct platform_device mxc_nand_device; arch/arm/plat-mxc/include/mach/mx25.h +2 −0 Original line number Original line Diff line number Diff line Loading @@ -31,7 +31,9 @@ #define UART2_BASE_ADDR 0x43f94000 #define UART2_BASE_ADDR 0x43f94000 #define MX25_FEC_BASE_ADDR 0x50038000 #define MX25_FEC_BASE_ADDR 0x50038000 #define MX25_NFC_BASE_ADDR 0xbb000000 #define MX25_INT_FEC 57 #define MX25_INT_FEC 57 #define MX25_INT_NANDFC 33 #endif /* ifndef __MACH_MX25_H__ */ #endif /* ifndef __MACH_MX25_H__ */ Loading
arch/arm/mach-mx25/devices.c +20 −0 Original line number Original line Diff line number Diff line Loading @@ -438,3 +438,23 @@ struct platform_device mx25_fec_device = { .num_resources = ARRAY_SIZE(mx25_fec_resources), .num_resources = ARRAY_SIZE(mx25_fec_resources), .resource = mx25_fec_resources, .resource = mx25_fec_resources, }; }; static struct resource mxc_nand_resources[] = { { .start = MX25_NFC_BASE_ADDR, .end = MX25_NFC_BASE_ADDR + 0x1fff, .flags = IORESOURCE_MEM, }, { .start = MX25_INT_NANDFC, .end = MX25_INT_NANDFC, .flags = IORESOURCE_IRQ, }, }; struct platform_device mxc_nand_device = { .name = "mxc_nand", .id = 0, .num_resources = ARRAY_SIZE(mxc_nand_resources), .resource = mxc_nand_resources, };
arch/arm/mach-mx25/devices.h +1 −0 Original line number Original line Diff line number Diff line Loading @@ -18,3 +18,4 @@ extern struct platform_device mxc_i2c_device0; extern struct platform_device mxc_i2c_device1; extern struct platform_device mxc_i2c_device1; extern struct platform_device mxc_i2c_device2; extern struct platform_device mxc_i2c_device2; extern struct platform_device mx25_fec_device; extern struct platform_device mx25_fec_device; extern struct platform_device mxc_nand_device;
arch/arm/plat-mxc/include/mach/mx25.h +2 −0 Original line number Original line Diff line number Diff line Loading @@ -31,7 +31,9 @@ #define UART2_BASE_ADDR 0x43f94000 #define UART2_BASE_ADDR 0x43f94000 #define MX25_FEC_BASE_ADDR 0x50038000 #define MX25_FEC_BASE_ADDR 0x50038000 #define MX25_NFC_BASE_ADDR 0xbb000000 #define MX25_INT_FEC 57 #define MX25_INT_FEC 57 #define MX25_INT_NANDFC 33 #endif /* ifndef __MACH_MX25_H__ */ #endif /* ifndef __MACH_MX25_H__ */