Other Parts Discussed in Thread: OMAP3530
Hello,everyone
I am trying to use GPMC with CS6 on a OMAP3530 board . there is a cs5 gpmc config for smsc9220 in uboot and linux ,the smdc9220 is work. I want to enable gpmc cs6 like cs5 config, but cs6 did not work .
For test ,I test cs 6 in uboot code . and this is code .
writel(FPGA_GPMC_CONFIG1, &gpmc_cfg->cs[6].config1);
writel(FPGA_GPMC_CONFIG2, &gpmc_cfg->cs[6].config2);
writel(FPGA_GPMC_CONFIG3, &gpmc_cfg->cs[6].config3);
writel(FPGA_GPMC_CONFIG4, &gpmc_cfg->cs[6].config4);
writel(FPGA_GPMC_CONFIG5, &gpmc_cfg->cs[6].config5);
writel(FPGA_GPMC_CONFIG6, &gpmc_cfg->cs[6].config6);
writel(FPGA_GPMC_CONFIG7, &gpmc_cfg->cs[6].config7);
#define FPGA_GPMC_CONFIG1 0x00001000
#define FPGA_GPMC_CONFIG2 0x001e1e01
#define FPGA_GPMC_CONFIG3 0x00080300
#define FPGA_GPMC_CONFIG4 0x1c091c09
#define FPGA_GPMC_CONFIG5 0x04181f1f
#define FPGA_GPMC_CONFIG6 0x00000FCF
#define FPGA_GPMC_CONFIG7 0x00000f70
I want to say ,I have troubled a lot time .and for now ,I have only know 7 register for gpmc . Is there any config for gpmc and It is addr not correct ?
From I know ,gpmc_base_cs 6 is 3000 0000 ,Is it right ? when I read cyclely addr 3000 0000,It have no response wave with the oscilloscope.
I am confused about if I missed any config for gpmc except seven GPMC register , or I get a wrong base addr ?
Thanks.