+ omap ml Hi Jean, Andrew, Nicolas, On Wed, Apr 11, 2012 at 21:31:13, Jean-Christophe PLAGNIOL-VILLARD wrote: > + ahb { > + apb { > + dbgu: serial@fffff200 { > + status = "okay"; > + }; > + > + usart0: serial@fffb0000 { > + status = "okay"; > + }; > + > + usart1: serial@fffb4000 { > + status = "okay"; > + }; > + > + macb0: ethernet@fffc4000 { > + phy-mode = "rmii"; > + status = "okay"; > + }; > + > + usb1: gadget@fffa4000 { > + atmel,vbus-gpio = <&pioC 5 0>; > + status = "okay"; > + }; > + }; > + > + nand0: nand@40000000 { > + nand-bus-width = <8>; > + nand-ecc-mode = "soft"; > + nand-on-flash-bbt; > + status = "okay"; I have a few queries about handling static memory controller (SMC) of ATMEL 1. How is SMC configured when DT is used ? 2. With "d6a0166 atmel/nand: add DT support", ek_add_device_nand() is no more present (which was earlier configuring SMC), so is SMC configuration handled by Kernel on DT boot or is it done by bootloader when DT ? 3. How ek_add_device_dm9000() is going to be achieved with DT ? 4. Is there any plan to create a driver out of SMC code & use DT with it ? Reason for bringing these queries is that TI OMAP chips have GPMC [1], SMC in ATMEL seems somewhat similar and currently GPMC is configured in platform code, & we are creating a driver out of that code [2]. There are different views on where GPMC driver should go, mfd, misc folders etc, but could not yet get concrete suggestions even with a loud cry. If ATMEL is also going driver way, then probably our voice together may be heard and hopefully it will expedite the matter. Regards Afzal [1] GPMC (General Purpose Memory Controller) in brief: GPMC is an unified memory controller dedicated to interfacing external memory devices like Asynchronous SRAM like memories and application specific integrated circuit devices. Asynchronous, synchronous, and page mode burst NOR flash devices NAND flash Pseudo-SRAM devices GPMC has to be configured as required by timings of the connected peripheral. It needs to be configured only initially. Once it is configured it can be used to handle different protocols like NAND, NOR. Various kinds of devices like ethernet, uart, usb, fpga etc can work using GPMC interface. GPMC has a seperate additional functionality of NAND handling [2] https://lkml.org/lkml/2012/4/5/210 -- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html