[PATCH v5] spi: Add PPC4xx SPI driver
Steven A. Falco
sfalco at harris.com
Wed Dec 10 09:14:12 EST 2008
Steven A. Falco wrote:
> Stefan Roese wrote:
>> This adds a SPI driver for the SPI controller found in the IBM/AMCC
>> 4xx PowerPC's.
>>
>> Signed-off-by: Stefan Roese <sr at denx.de>
>> Signed-off-by: Wolfgang Ocker <weo at reccoware.de>
>> Acked-by: Josh Boyer <jwboyer at linux.vnet.ibm.com>
>> ---
>
> How is this intended to work? An example .dts would be greatly
> appreciated.
Answered my own question. The gpios must be directly under the spi
node rather than elsewhere in the tree. This works:
SPI0: spi at ef600900 {
compatible = "ibm,ppc4xx-spi";
reg = <ef600900 7>;
interrupts = <8 4>;
interrupt-parent = <&UIC0>;
gpios = <&GPIO1 14 0>;
};
More information about the Linuxppc-dev
mailing list