Hi, <br><br> I am trying to load the c67x00 driver in my Xilinx ML403 (PowerPC) based platform. I am running a merged tree between DENX+Adeos/Xenomai and Xilinx (2.6.29.4). I have the XPS_EPC core interfaced to the Cypress CY7C67300. Before, in PPC I used to have something like this in my virtex_devices.c <br>
<br>/*<br> * Cypress USB C67x00 shortcut macro for single instance<br> */<br>#define XPAR_C67x00_USB(num) { \<br> .name = "c67x00", \<br> .id = num, \<br> .num_resources = 2, \<br> .resource = (struct resource[]) { \<br>
{ \<br> .start = XPAR_C67X00_USB_PRH##num##_BASEADDR, \<br> .end = XPAR_C67X00_USB_PRH##num##_BASEADDR + 0xf, \<br> .flags = IORESOURCE_MEM, \<br> }, \<br> { \<br> .start = XPAR_OPB_INTC_0_SYSTEM_USB_HPI_INT_PIN_INTR, \<br>
.end = XPAR_OPB_INTC_0_SYSTEM_USB_HPI_INT_PIN_INTR, \<br> .flags = IORESOURCE_IRQ, \<br> }, \<br> }, \<br> .dev.platform_data = &(struct c67x00_platform_data) { \<br> .sie_config = C67X00_SIE1_HOST | C67X00_SIE2_PERIPHERAL_A, \<br>
.hpi_regstep = 0x02, /* A0 not connected on 16bit bus */ \<br> }, \<br>}<br><br>Together with the xparameters.h #defines. And even if I never managed to get it working, the kernel was loading it. Now I am trying to have the equivalent information in the device-tree .dts with no luck. Something like this: <br>
<br> xps_epc_0: usb@80800000 {<br> compatible = "cy,c67300 cy,c67x00";<br> interrupt-parent = <&xps_intc_0>;<br> interrupts = < 0 2 >;<br> reg = < 0x80800000 0x10000 >;<br>
xlnx,family = "virtex4";<br> } ;<br><br>(inspired by another mail in this list). <br><br>It doesn't work at all since it doesn't load anything. I have looked at the driver and there is apparently no openfirmware support for it, so maybe the dts info won't work without it. Am I wrong? Does this means that the c67x00 needs OF support to work in this configuration? How can I make it otherwise? <br>
<br>Thanks, <br>Jorge<br>