Hi all,

I'm using linux version 2.6.29-rc5.

I've compiled the SPI diver (spi_mpc83xx.c) as a module, but it fails the load 
with a "No such device" error.

I've managed to track it down to platform_driver_probe() in 
drivers/base/platform.c 
which returns -ENODEV because a device list is empty.

Not sure what I'm doing wrong. 

Part of my device tree is as follows:

        soc8...@e0000000 {
                ...
                s...@7000 {
                        #address-cells = <1>;
                        #size-cells = <0>;
                        compatible = "fsl,spi";
                        reg = <0x7000 0x1000>;
                        interrupts = <0x10 0x8>;
                        interrupt-parent = < &ipic >;

                        m25...@2 {
                                compatible = "m25p80";
                                spi-max-frequency = <25000000>;
                                reg = <2>;
                        };
                };
                ...
        };

Thanks
D

_______________________________________________
Linuxppc-dev mailing list
Linuxppc-dev@ozlabs.org
https://ozlabs.org/mailman/listinfo/linuxppc-dev

Reply via email to