Thank you fjpse for your answer, i actually find out yersteday how to access to the local bus
I will try what you did
The first thing is to configure some registers BRn and ORn to enable the chip select when you are accessing the chip on the local bus, and window some adresses on the mapping with LBLAWBARn and LBLAWARn.
For example i have a chip at the address 0xf0010000, in GPCM mode, with a 16bits port.
//VIRT_IMMRBAR is the base register of my ppc
*(unsigned long*)(VIRT_IMMRBAR + 0x5010) = 0xf00110001; //BR2
*(unsigned long*)(VIRT_IMMRBAR + 0x5014) = 0xffff80f0; //OR2
*(unsigned long*)(VIRT_IMMRBAR + 0x38) = 0xf0010000; //LBLAWBAR3
*(unsigned long*)(VIRT_IMMRBAR + 0x3c) = 0x8000000b; //LBLAWAR3
char *mypointer = ioremap(0xf0010000,1*1024);
writel(value,mypointer);
iounmap(mypointer);
I don't know what is the best way between our codes, after that i will have to use some DMA to do some transfers if you have some information i could be very interrested
thanks for your answer,