
SPI building for the dts file at91-ariag25.dts:
spi0: spi@f0000000 {
status = "okay";
interrupts = <13 4 5>;
cs-gpios = <&pioA 14 0>, <0>, <0>, <0>;
device@0 {
compatible = "spidev";
spi-max-frequency = <5000000>;
reg = <0>;
};
};
The following two modules used in this example come from the Quick2wire project: