ARM: dts: AM33XX: Add SPI node
authorPhilip, Avinash <avinashphilip@ti.com>
Wed, 31 Oct 2012 10:51:09 +0000 (16:21 +0530)
committerBenoit Cousson <b-cousson@ti.com>
Thu, 1 Nov 2012 13:37:03 +0000 (14:37 +0100)
Add McSPI data node to AM33XX device tree file. The McSPI module (and so
as the driver) is reused from OMAP4.

Signed-off-by: Philip, Avinash <avinashphilip@ti.com>
Tested-by: Matt Porter <mporter@ti.com>
[b-cousson@ti.com: Remove interrupt-parent]
Signed-off-by: Benoit Cousson <b-cousson@ti.com>
arch/arm/boot/dts/am33xx.dtsi

index 97a7bd31229ac7443d7613b28aad334f1667a52e..5dfd6822e6f836db303e600f117125241f5e33a7 100644 (file)
                                      76>;
                        ti,hwmods = "rtc";
                };
+
+               spi0: spi@48030000 {
+                       compatible = "ti,omap4-mcspi";
+                       #address-cells = <1>;
+                       #size-cells = <0>;
+                       reg = <0x48030000 0x400>;
+                       interrupt = <65>;
+                       ti,spi-num-cs = <2>;
+                       ti,hwmods = "spi0";
+                       status = "disabled";
+               };
+
+               spi1: spi@481a0000 {
+                       compatible = "ti,omap4-mcspi";
+                       #address-cells = <1>;
+                       #size-cells = <0>;
+                       reg = <0x481a0000 0x400>;
+                       interrupt = <125>;
+                       ti,spi-num-cs = <2>;
+                       ti,hwmods = "spi1";
+                       status = "disabled";
+               };
        };
 };