2 * TI DaVinci DM365 EVM board support
4 * Copyright (C) 2009 Texas Instruments Incorporated
6 * This program is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU General Public License as
8 * published by the Free Software Foundation version 2.
10 * This program is distributed "as is" WITHOUT ANY WARRANTY of any
11 * kind, whether express or implied; without even the implied warranty
12 * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
15 #include <linux/kernel.h>
16 #include <linux/init.h>
17 #include <linux/err.h>
18 #include <linux/i2c.h>
20 #include <linux/clk.h>
21 #include <linux/property.h>
22 #include <linux/leds.h>
23 #include <linux/mtd/mtd.h>
24 #include <linux/mtd/partitions.h>
25 #include <linux/slab.h>
26 #include <linux/mtd/rawnand.h>
27 #include <linux/nvmem-provider.h>
28 #include <linux/input.h>
29 #include <linux/spi/spi.h>
30 #include <linux/spi/eeprom.h>
31 #include <linux/v4l2-dv-timings.h>
32 #include <linux/platform_data/ti-aemif.h>
33 #include <linux/regulator/fixed.h>
34 #include <linux/regulator/machine.h>
36 #include <asm/mach-types.h>
37 #include <asm/mach/arch.h>
39 #include <linux/platform_data/i2c-davinci.h>
40 #include <linux/platform_data/mmc-davinci.h>
41 #include <linux/platform_data/mtd-davinci.h>
42 #include <linux/platform_data/keyscan-davinci.h>
44 #include <media/i2c/ths7303.h>
45 #include <media/i2c/tvp514x.h>
52 static inline int have_imager(void)
54 /* REVISIT when it's supported, trigger via Kconfig */
58 static inline int have_tvp7002(void)
60 /* REVISIT when it's supported, trigger via Kconfig */
64 #define DM365_EVM_PHY_ID "davinci_mdio-0:01"
66 * A MAX-II CPLD is used for various board control functions.
68 #define CPLD_OFFSET(a13a8,a2a1) (((a13a8) << 10) + ((a2a1) << 3))
70 #define CPLD_VERSION CPLD_OFFSET(0,0) /* r/o */
71 #define CPLD_TEST CPLD_OFFSET(0,1)
72 #define CPLD_LEDS CPLD_OFFSET(0,2)
73 #define CPLD_MUX CPLD_OFFSET(0,3)
74 #define CPLD_SWITCH CPLD_OFFSET(1,0) /* r/o */
75 #define CPLD_POWER CPLD_OFFSET(1,1)
76 #define CPLD_VIDEO CPLD_OFFSET(1,2)
77 #define CPLD_CARDSTAT CPLD_OFFSET(1,3) /* r/o */
79 #define CPLD_DILC_OUT CPLD_OFFSET(2,0)
80 #define CPLD_DILC_IN CPLD_OFFSET(2,1) /* r/o */
82 #define CPLD_IMG_DIR0 CPLD_OFFSET(2,2)
83 #define CPLD_IMG_MUX0 CPLD_OFFSET(2,3)
84 #define CPLD_IMG_MUX1 CPLD_OFFSET(3,0)
85 #define CPLD_IMG_DIR1 CPLD_OFFSET(3,1)
86 #define CPLD_IMG_MUX2 CPLD_OFFSET(3,2)
87 #define CPLD_IMG_MUX3 CPLD_OFFSET(3,3)
88 #define CPLD_IMG_DIR2 CPLD_OFFSET(4,0)
89 #define CPLD_IMG_MUX4 CPLD_OFFSET(4,1)
90 #define CPLD_IMG_MUX5 CPLD_OFFSET(4,2)
92 #define CPLD_RESETS CPLD_OFFSET(4,3)
94 #define CPLD_CCD_DIR1 CPLD_OFFSET(0x3e,0)
95 #define CPLD_CCD_IO1 CPLD_OFFSET(0x3e,1)
96 #define CPLD_CCD_DIR2 CPLD_OFFSET(0x3e,2)
97 #define CPLD_CCD_IO2 CPLD_OFFSET(0x3e,3)
98 #define CPLD_CCD_DIR3 CPLD_OFFSET(0x3f,0)
99 #define CPLD_CCD_IO3 CPLD_OFFSET(0x3f,1)
101 static void __iomem *cpld;
104 /* NOTE: this is geared for the standard config, with a socketed
105 * 2 GByte Micron NAND (MT29F16G08FAA) using 128KB sectors. If you
106 * swap chips with a different block size, partitioning will
107 * need to be changed. This NAND chip MT29F16G08FAA is the default
108 * NAND shipped with the Spectrum Digital DM365 EVM
110 #define NAND_BLOCK_SIZE SZ_128K
112 static struct mtd_partition davinci_nand_partitions[] = {
114 /* UBL (a few copies) plus U-Boot */
115 .name = "bootloader",
117 .size = 30 * NAND_BLOCK_SIZE,
118 .mask_flags = MTD_WRITEABLE, /* force read-only */
120 /* U-Boot environment */
122 .offset = MTDPART_OFS_APPEND,
123 .size = 2 * NAND_BLOCK_SIZE,
127 .offset = MTDPART_OFS_APPEND,
131 .name = "filesystem1",
132 .offset = MTDPART_OFS_APPEND,
136 .name = "filesystem2",
137 .offset = MTDPART_OFS_APPEND,
138 .size = MTDPART_SIZ_FULL,
141 /* two blocks with bad block table (and mirror) at the end */
144 static struct davinci_nand_pdata davinci_nand_data = {
146 .mask_chipsel = BIT(14),
147 .parts = davinci_nand_partitions,
148 .nr_parts = ARRAY_SIZE(davinci_nand_partitions),
149 .engine_type = NAND_ECC_ENGINE_TYPE_ON_HOST,
150 .bbt_options = NAND_BBT_USE_FLASH,
154 static struct resource davinci_nand_resources[] = {
156 .start = DM365_ASYNC_EMIF_DATA_CE0_BASE,
157 .end = DM365_ASYNC_EMIF_DATA_CE0_BASE + SZ_32M - 1,
158 .flags = IORESOURCE_MEM,
160 .start = DM365_ASYNC_EMIF_CONTROL_BASE,
161 .end = DM365_ASYNC_EMIF_CONTROL_BASE + SZ_4K - 1,
162 .flags = IORESOURCE_MEM,
166 static struct platform_device davinci_aemif_devices[] = {
168 .name = "davinci_nand",
170 .num_resources = ARRAY_SIZE(davinci_nand_resources),
171 .resource = davinci_nand_resources,
173 .platform_data = &davinci_nand_data,
178 static struct resource davinci_aemif_resources[] = {
180 .start = DM365_ASYNC_EMIF_CONTROL_BASE,
181 .end = DM365_ASYNC_EMIF_CONTROL_BASE + SZ_4K - 1,
182 .flags = IORESOURCE_MEM,
186 static struct aemif_abus_data da850_evm_aemif_abus_data[] = {
192 static struct aemif_platform_data davinci_aemif_pdata = {
193 .abus_data = da850_evm_aemif_abus_data,
194 .num_abus_data = ARRAY_SIZE(da850_evm_aemif_abus_data),
195 .sub_devices = davinci_aemif_devices,
196 .num_sub_devices = ARRAY_SIZE(davinci_aemif_devices),
199 static struct platform_device davinci_aemif_device = {
203 .platform_data = &davinci_aemif_pdata,
205 .resource = davinci_aemif_resources,
206 .num_resources = ARRAY_SIZE(davinci_aemif_resources),
209 static struct nvmem_cell_info davinci_nvmem_cells[] = {
217 static struct nvmem_cell_table davinci_nvmem_cell_table = {
218 .nvmem_name = "1-00500",
219 .cells = davinci_nvmem_cells,
220 .ncells = ARRAY_SIZE(davinci_nvmem_cells),
223 static struct nvmem_cell_lookup davinci_nvmem_cell_lookup = {
224 .nvmem_name = "1-00500",
225 .cell_name = "macaddr",
226 .dev_id = "davinci_emac.1",
227 .con_id = "mac-address",
230 static const struct property_entry eeprom_properties[] = {
231 PROPERTY_ENTRY_U32("pagesize", 64),
235 static const struct software_node eeprom_node = {
236 .properties = eeprom_properties,
239 static struct i2c_board_info i2c_info[] = {
241 I2C_BOARD_INFO("24c256", 0x50),
242 .swnode = &eeprom_node,
245 I2C_BOARD_INFO("tlv320aic3x", 0x18),
249 static struct davinci_i2c_platform_data i2c_pdata = {
250 .bus_freq = 400 /* kHz */,
251 .bus_delay = 0 /* usec */,
254 /* Fixed regulator support */
255 static struct regulator_consumer_supply fixed_supplies_3_3v[] = {
256 /* Baseboard 3.3V: 5V -> TPS767D301 -> 3.3V */
257 REGULATOR_SUPPLY("AVDD", "1-0018"),
258 REGULATOR_SUPPLY("DRVDD", "1-0018"),
259 REGULATOR_SUPPLY("IOVDD", "1-0018"),
262 static struct regulator_consumer_supply fixed_supplies_1_8v[] = {
263 /* Baseboard 1.8V: 5V -> TPS767D301 -> 1.8V */
264 REGULATOR_SUPPLY("DVDD", "1-0018"),
267 static int dm365evm_keyscan_enable(struct device *dev)
269 return davinci_cfg_reg(DM365_KEYSCAN);
272 static unsigned short dm365evm_keymap[] = {
292 static struct davinci_ks_platform_data dm365evm_ks_data = {
293 .device_enable = dm365evm_keyscan_enable,
294 .keymap = dm365evm_keymap,
295 .keymapsize = ARRAY_SIZE(dm365evm_keymap),
297 /* Scan period = strobe + interval */
300 .matrix_type = DAVINCI_KEYSCAN_MATRIX_4X4,
303 static int cpld_mmc_get_cd(int module)
308 /* low == card present */
309 return !(__raw_readb(cpld + CPLD_CARDSTAT) & BIT(module ? 4 : 0));
312 static int cpld_mmc_get_ro(int module)
317 /* high == card's write protect switch active */
318 return !!(__raw_readb(cpld + CPLD_CARDSTAT) & BIT(module ? 5 : 1));
321 static struct davinci_mmc_config dm365evm_mmc_config = {
322 .get_cd = cpld_mmc_get_cd,
323 .get_ro = cpld_mmc_get_ro,
325 .max_freq = 50000000,
326 .caps = MMC_CAP_MMC_HIGHSPEED | MMC_CAP_SD_HIGHSPEED,
329 static void dm365evm_emac_configure(void)
332 * EMAC pins are multiplexed with GPIO and UART
333 * Further details are available at the DM365 ARM
334 * Subsystem Users Guide(sprufg5.pdf) pages 125 - 127
336 davinci_cfg_reg(DM365_EMAC_TX_EN);
337 davinci_cfg_reg(DM365_EMAC_TX_CLK);
338 davinci_cfg_reg(DM365_EMAC_COL);
339 davinci_cfg_reg(DM365_EMAC_TXD3);
340 davinci_cfg_reg(DM365_EMAC_TXD2);
341 davinci_cfg_reg(DM365_EMAC_TXD1);
342 davinci_cfg_reg(DM365_EMAC_TXD0);
343 davinci_cfg_reg(DM365_EMAC_RXD3);
344 davinci_cfg_reg(DM365_EMAC_RXD2);
345 davinci_cfg_reg(DM365_EMAC_RXD1);
346 davinci_cfg_reg(DM365_EMAC_RXD0);
347 davinci_cfg_reg(DM365_EMAC_RX_CLK);
348 davinci_cfg_reg(DM365_EMAC_RX_DV);
349 davinci_cfg_reg(DM365_EMAC_RX_ER);
350 davinci_cfg_reg(DM365_EMAC_CRS);
351 davinci_cfg_reg(DM365_EMAC_MDIO);
352 davinci_cfg_reg(DM365_EMAC_MDCLK);
355 * EMAC interrupts are multiplexed with GPIO interrupts
356 * Details are available at the DM365 ARM
357 * Subsystem Users Guide(sprufg5.pdf) pages 133 - 134
359 davinci_cfg_reg(DM365_INT_EMAC_RXTHRESH);
360 davinci_cfg_reg(DM365_INT_EMAC_RXPULSE);
361 davinci_cfg_reg(DM365_INT_EMAC_TXPULSE);
362 davinci_cfg_reg(DM365_INT_EMAC_MISCPULSE);
365 static void dm365evm_mmc_configure(void)
368 * MMC/SD pins are multiplexed with GPIO and EMIF
369 * Further details are available at the DM365 ARM
370 * Subsystem Users Guide(sprufg5.pdf) pages 118, 128 - 131
372 davinci_cfg_reg(DM365_SD1_CLK);
373 davinci_cfg_reg(DM365_SD1_CMD);
374 davinci_cfg_reg(DM365_SD1_DATA3);
375 davinci_cfg_reg(DM365_SD1_DATA2);
376 davinci_cfg_reg(DM365_SD1_DATA1);
377 davinci_cfg_reg(DM365_SD1_DATA0);
380 static struct tvp514x_platform_data tvp5146_pdata = {
386 #define TVP514X_STD_ALL (V4L2_STD_NTSC | V4L2_STD_PAL)
387 /* Inputs available at the TVP5146 */
388 static struct v4l2_input tvp5146_inputs[] = {
392 .type = V4L2_INPUT_TYPE_CAMERA,
393 .std = TVP514X_STD_ALL,
398 .type = V4L2_INPUT_TYPE_CAMERA,
399 .std = TVP514X_STD_ALL,
404 * this is the route info for connecting each input to decoder
405 * ouput that goes to vpfe. There is a one to one correspondence
406 * with tvp5146_inputs
408 static struct vpfe_route tvp5146_routes[] = {
410 .input = INPUT_CVBS_VI2B,
411 .output = OUTPUT_10BIT_422_EMBEDDED_SYNC,
414 .input = INPUT_SVIDEO_VI2C_VI1C,
415 .output = OUTPUT_10BIT_422_EMBEDDED_SYNC,
419 static struct vpfe_subdev_info vpfe_sub_devs[] = {
423 .num_inputs = ARRAY_SIZE(tvp5146_inputs),
424 .inputs = tvp5146_inputs,
425 .routes = tvp5146_routes,
428 .if_type = VPFE_BT656,
429 .hdpol = VPFE_PINPOL_POSITIVE,
430 .vdpol = VPFE_PINPOL_POSITIVE,
433 I2C_BOARD_INFO("tvp5146", 0x5d),
434 .platform_data = &tvp5146_pdata,
439 static struct vpfe_config vpfe_cfg = {
440 .num_subdevs = ARRAY_SIZE(vpfe_sub_devs),
441 .sub_devs = vpfe_sub_devs,
443 .card_name = "DM365 EVM",
447 /* venc standards timings */
448 static struct vpbe_enc_mode_info dm365evm_enc_std_timing[] = {
451 .timings_type = VPBE_ENC_STD,
452 .std_id = V4L2_STD_NTSC,
457 .fps = {30000, 1001},
459 .upper_margin = 0x10,
463 .timings_type = VPBE_ENC_STD,
464 .std_id = V4L2_STD_PAL,
471 .upper_margin = 0x16,
475 /* venc dv timings */
476 static struct vpbe_enc_mode_info dm365evm_enc_preset_timing[] = {
479 .timings_type = VPBE_ENC_DV_TIMINGS,
480 .dv_timings = V4L2_DV_BT_CEA_720X480P59_94,
487 .upper_margin = 0x2D,
491 .timings_type = VPBE_ENC_DV_TIMINGS,
492 .dv_timings = V4L2_DV_BT_CEA_720X576P50,
499 .upper_margin = 0x36,
503 .timings_type = VPBE_ENC_DV_TIMINGS,
504 .dv_timings = V4L2_DV_BT_CEA_1280X720P60,
510 .left_margin = 0x117,
519 .timings_type = VPBE_ENC_DV_TIMINGS,
520 .dv_timings = V4L2_DV_BT_CEA_1920X1080I60,
535 #define VENC_STD_ALL (V4L2_STD_NTSC | V4L2_STD_PAL)
538 * The outputs available from VPBE + ecnoders. Keep the
539 * the order same as that of encoders. First those from venc followed by that
540 * from encoders. Index in the output refers to index on a particular
541 * encoder.Driver uses this index to pass it to encoder when it supports more
542 * than one output. Application uses index of the array to set an output.
544 static struct vpbe_output dm365evm_vpbe_outputs[] = {
549 .type = V4L2_OUTPUT_TYPE_ANALOG,
551 .capabilities = V4L2_OUT_CAP_STD,
553 .subdev_name = DM365_VPBE_VENC_SUBDEV_NAME,
554 .default_mode = "ntsc",
555 .num_modes = ARRAY_SIZE(dm365evm_enc_std_timing),
556 .modes = dm365evm_enc_std_timing,
557 .if_params = MEDIA_BUS_FMT_FIXED,
563 .type = V4L2_OUTPUT_TYPE_ANALOG,
564 .capabilities = V4L2_OUT_CAP_DV_TIMINGS,
566 .subdev_name = DM365_VPBE_VENC_SUBDEV_NAME,
567 .default_mode = "480p59_94",
568 .num_modes = ARRAY_SIZE(dm365evm_enc_preset_timing),
569 .modes = dm365evm_enc_preset_timing,
570 .if_params = MEDIA_BUS_FMT_FIXED,
575 * Amplifiers on the board
577 static struct ths7303_platform_data ths7303_pdata = {
583 static struct amp_config_info vpbe_amp = {
584 .module_name = "ths7303",
587 I2C_BOARD_INFO("ths7303", 0x2c),
588 .platform_data = &ths7303_pdata,
592 static struct vpbe_config dm365evm_display_cfg = {
593 .module_name = "dm365-vpbe-display",
597 .module_name = DM365_VPBE_OSD_SUBDEV_NAME,
600 .module_name = DM365_VPBE_VENC_SUBDEV_NAME,
602 .num_outputs = ARRAY_SIZE(dm365evm_vpbe_outputs),
603 .outputs = dm365evm_vpbe_outputs,
606 static void __init evm_init_i2c(void)
608 davinci_init_i2c(&i2c_pdata);
609 i2c_register_board_info(1, i2c_info, ARRAY_SIZE(i2c_info));
612 static inline int have_leds(void)
614 #ifdef CONFIG_LEDS_CLASS
622 struct led_classdev cdev;
626 static const struct {
630 { "dm365evm::ds2", },
631 { "dm365evm::ds3", },
632 { "dm365evm::ds4", },
633 { "dm365evm::ds5", },
634 { "dm365evm::ds6", "nand-disk", },
635 { "dm365evm::ds7", "mmc1", },
636 { "dm365evm::ds8", "mmc0", },
637 { "dm365evm::ds9", "heartbeat", },
640 static void cpld_led_set(struct led_classdev *cdev, enum led_brightness b)
642 struct cpld_led *led = container_of(cdev, struct cpld_led, cdev);
643 u8 reg = __raw_readb(cpld + CPLD_LEDS);
649 __raw_writeb(reg, cpld + CPLD_LEDS);
652 static enum led_brightness cpld_led_get(struct led_classdev *cdev)
654 struct cpld_led *led = container_of(cdev, struct cpld_led, cdev);
655 u8 reg = __raw_readb(cpld + CPLD_LEDS);
657 return (reg & led->mask) ? LED_OFF : LED_FULL;
660 static int __init cpld_leds_init(void)
664 if (!have_leds() || !cpld)
668 __raw_writeb(0xff, cpld + CPLD_LEDS);
669 for (i = 0; i < ARRAY_SIZE(cpld_leds); i++) {
670 struct cpld_led *led;
672 led = kzalloc(sizeof(*led), GFP_KERNEL);
676 led->cdev.name = cpld_leds[i].name;
677 led->cdev.brightness_set = cpld_led_set;
678 led->cdev.brightness_get = cpld_led_get;
679 led->cdev.default_trigger = cpld_leds[i].trigger;
682 if (led_classdev_register(NULL, &led->cdev) < 0) {
690 /* run after subsys_initcall() for LEDs */
691 fs_initcall(cpld_leds_init);
694 static void __init evm_init_cpld(void)
698 struct clk *aemif_clk;
701 /* Make sure we can configure the CPLD through CS1. Then
702 * leave it on for later access to MMC and LED registers.
704 aemif_clk = clk_get(NULL, "aemif");
705 if (IS_ERR(aemif_clk))
707 clk_prepare_enable(aemif_clk);
709 if (request_mem_region(DM365_ASYNC_EMIF_DATA_CE1_BASE, SECTION_SIZE,
712 cpld = ioremap(DM365_ASYNC_EMIF_DATA_CE1_BASE, SECTION_SIZE);
714 release_mem_region(DM365_ASYNC_EMIF_DATA_CE1_BASE,
717 pr_err("ERROR: can't map CPLD\n");
718 clk_disable_unprepare(aemif_clk);
722 /* External muxing for some signals */
725 /* Read SW5 to set up NAND + keypad _or_ OneNAND (sync read).
726 * NOTE: SW4 bus width setting must match!
728 if ((__raw_readb(cpld + CPLD_SWITCH) & BIT(5)) == 0) {
729 /* external keypad mux */
732 rc = platform_device_register(&davinci_aemif_device);
734 pr_warn("%s(): error registering the aemif device: %d\n",
737 /* no OneNAND support yet */
740 /* Leave external chips in reset when unused. */
741 resets = BIT(3) | BIT(2) | BIT(1) | BIT(0);
743 /* Static video input config with SN74CBT16214 1-of-3 mux:
744 * - port b1 == tvp7002 (mux lowbits == 1 or 6)
745 * - port b2 == imager (mux lowbits == 2 or 7)
746 * - port b3 == tvp5146 (mux lowbits == 5)
748 * Runtime switching could work too, with limitations.
754 /* externally mux MMC1/ENET/AIC33 to imager */
755 mux |= BIT(6) | BIT(5) | BIT(3);
757 struct davinci_soc_info *soc_info = &davinci_soc_info;
759 /* we can use MMC1 ... */
760 dm365evm_mmc_configure();
761 davinci_setup_mmc(1, &dm365evm_mmc_config);
763 /* ... and ENET ... */
764 dm365evm_emac_configure();
765 soc_info->emac_pdata->phy_id = DM365_EVM_PHY_ID;
771 if (have_tvp7002()) {
774 label = "tvp7002 HD";
776 /* default to tvp5146 */
779 label = "tvp5146 SD";
782 __raw_writeb(mux, cpld + CPLD_MUX);
783 __raw_writeb(resets, cpld + CPLD_RESETS);
784 pr_info("EVM: %s video input\n", label);
786 /* REVISIT export switches: NTSC/PAL (SW5.6), EXTRA1 (SW5.2), etc */
789 static void __init dm365_evm_map_io(void)
794 static struct spi_eeprom at25640 = {
795 .byte_len = SZ_64K / 8,
801 static const struct spi_board_info dm365_evm_spi_info[] __initconst = {
804 .platform_data = &at25640,
805 .max_speed_hz = 10 * 1000 * 1000,
812 static __init void dm365_evm_init(void)
816 dm365_register_clocks();
818 ret = dm365_gpio_register();
820 pr_warn("%s: GPIO init failed: %d\n", __func__, ret);
822 regulator_register_always_on(0, "fixed-dummy", fixed_supplies_1_8v,
823 ARRAY_SIZE(fixed_supplies_1_8v), 1800000);
824 regulator_register_always_on(1, "fixed-dummy", fixed_supplies_3_3v,
825 ARRAY_SIZE(fixed_supplies_3_3v), 3300000);
827 nvmem_add_cell_table(&davinci_nvmem_cell_table);
828 nvmem_add_cell_lookups(&davinci_nvmem_cell_lookup, 1);
831 davinci_serial_init(dm365_serial_device);
833 dm365evm_emac_configure();
834 dm365evm_mmc_configure();
836 davinci_setup_mmc(0, &dm365evm_mmc_config);
838 dm365_init_video(&vpfe_cfg, &dm365evm_display_cfg);
840 /* maybe setup mmc1/etc ... _after_ mmc0 */
843 #ifdef CONFIG_SND_SOC_DM365_AIC3X_CODEC
845 #elif defined(CONFIG_SND_SOC_DM365_VOICE_CODEC)
849 dm365_init_ks(&dm365evm_ks_data);
851 dm365_init_spi0(BIT(0), dm365_evm_spi_info,
852 ARRAY_SIZE(dm365_evm_spi_info));
855 MACHINE_START(DAVINCI_DM365_EVM, "DaVinci DM365 EVM")
856 .atag_offset = 0x100,
857 .map_io = dm365_evm_map_io,
858 .init_irq = dm365_init_irq,
859 .init_time = dm365_init_time,
860 .init_machine = dm365_evm_init,
861 .init_late = davinci_init_late,
862 .dma_zone_size = SZ_128M,