[PATCH 0/2] allow to use named resources

Jean-Christophe PLAGNIOL-VILLARD plagnioj at jcrosoft.com
Tue Oct 23 06:22:40 EDT 2012


On 10:44 Tue 23 Oct     , Sascha Hauer wrote:
> On Wed, Oct 17, 2012 at 03:03:20PM +0200, Jean-Christophe PLAGNIOL-VILLARD wrote:
> > Hi,
> > 
> > 	add helper to use named resources and use it on nomadik
> 
> Do we need this? devicetree does not have named resources, so with
> devicetree support we are back to some arbitrary numbered resource
> anyway.
> 
devicetree does have it I use on spear and I'm going to ues on at91 too

for spear13xx.dtsi

                fsmc: flash at b0000000 {
                        compatible = "st,spear600-fsmc-nand";
                        #address-cells = <1>;
                        #size-cells = <1>;
                        reg = <0xb0000000 0x1000        /* FSMC Register */
                               0xb0800000 0x0010>;      /* NAND Base */
                        reg-names = "fsmc_regs", "nand_data";
                        interrupts = <0 20 0x4
                                      0 21 0x4
                                      0 22 0x4
                                      0 23 0x4>;
                        st,ale-off = <0x20000>;
                        st,cle-off = <0x10000>;
                        status = "disabled";
                };

Best Regards,
J.
> Sascha
> 
> -- 
> Pengutronix e.K.                           |                             |
> Industrial Linux Solutions                 | http://www.pengutronix.de/  |
> Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
> Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |



More information about the barebox mailing list