Part Number: AM3359
Tool/software: Linux
Hello all,
We are designing a custom board based on AM3359 ice-v2.We have interfaced a nand flash and xilinix fpga to gpmc.Is it possible to detect and drive the fpga with xillybus's generic fpga driver using the "compatible" property in dts file?
My gpmc configuration in dts file looks somewhat like this:
&gpmc {
status = "okay";
pinctrl-names = "default";
pinctrl-0 = <&gpmc_pins>;
/* chip select ranges */
ranges = <0 0 0x08000000 0x10000000>, /*CSn0 for NAND*/
<1 0 0x18000000 0x08000000>; /*CSn1 for FPGA*/
nand@0,0 {
compatible = "ti,omap2-nand";
/*deprecated*/
/*configurations parameters and partitions goes here*/
};
fpga{
reg = <1 0 0x01000000>; /*CSn1*/
compatible = "xillybus,xillybus-1.00.a";
#address-cells = <1>;
#size-cells = <0>;
gpmc,sync-clk-ps = <20000>; /* Minimum clock period for synchronous mode,
....
Regards,
Murugan S