summaryrefslogtreecommitdiff
path: root/Documentation/powerpc/dts-bindings/fsl/spi.txt
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2008-07-19 00:50:34 +0400
committerIngo Molnar <mingo@elte.hu>2008-07-19 00:50:34 +0400
commita208f37a465e222218974ab20a31b42b7b4893b2 (patch)
tree77c6acdd4be32024330a14f2618b814126ce7a20 /Documentation/powerpc/dts-bindings/fsl/spi.txt
parent511d9d34183662aada3890883e860b151d707e22 (diff)
parent5b664cb235e97afbf34db9c4d77f08ebd725335e (diff)
downloadlinux-a208f37a465e222218974ab20a31b42b7b4893b2.tar.xz
Merge branch 'linus' into x86/x2apic
Diffstat (limited to 'Documentation/powerpc/dts-bindings/fsl/spi.txt')
-rw-r--r--Documentation/powerpc/dts-bindings/fsl/spi.txt24
1 files changed, 24 insertions, 0 deletions
diff --git a/Documentation/powerpc/dts-bindings/fsl/spi.txt b/Documentation/powerpc/dts-bindings/fsl/spi.txt
new file mode 100644
index 000000000000..e7d9a344c4f4
--- /dev/null
+++ b/Documentation/powerpc/dts-bindings/fsl/spi.txt
@@ -0,0 +1,24 @@
+* SPI (Serial Peripheral Interface)
+
+Required properties:
+- cell-index : SPI controller index.
+- compatible : should be "fsl,spi".
+- mode : the SPI operation mode, it can be "cpu" or "cpu-qe".
+- reg : Offset and length of the register set for the device
+- interrupts : <a b> where a is the interrupt number and b is a
+ field that represents an encoding of the sense and level
+ information for the interrupt. This should be encoded based on
+ the information in section 2) depending on the type of interrupt
+ controller you have.
+- interrupt-parent : the phandle for the interrupt controller that
+ services interrupts for this device.
+
+Example:
+ spi@4c0 {
+ cell-index = <0>;
+ compatible = "fsl,spi";
+ reg = <4c0 40>;
+ interrupts = <82 0>;
+ interrupt-parent = <700>;
+ mode = "cpu";
+ };