summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorManjunathappa, Prakash <prakash.pm@ti.com>2013-04-03 16:09:08 +0200
committerSekhar Nori <nsekhar@ti.com>2013-04-17 18:49:54 +0200
commitc6347e489b4bb120f9fdf11d313f36b920f19789 (patch)
tree551e8cd328e1baabafb15e3053c898051a8da429
parentspi/davinci: add DT binding documentation (diff)
downloadlinux-c6347e489b4bb120f9fdf11d313f36b920f19789.tar.xz
linux-c6347e489b4bb120f9fdf11d313f36b920f19789.zip
ARM: davinci: da850: add SPI1 DT node
Patch adds SPI1 DT node along with pinmux data. Signed-off-by: Manjunathappa, Prakash <prakash.pm@ti.com> Signed-off-by: Sekhar Nori <nsekhar@ti.com>
-rw-r--r--arch/arm/boot/dts/da850.dtsi23
1 files changed, 22 insertions, 1 deletions
diff --git a/arch/arm/boot/dts/da850.dtsi b/arch/arm/boot/dts/da850.dtsi
index b2ae730c7c32..2c88313d2c7a 100644
--- a/arch/arm/boot/dts/da850.dtsi
+++ b/arch/arm/boot/dts/da850.dtsi
@@ -113,7 +113,18 @@
0x4 0x00000004 0x0000000f
>;
};
-
+ spi1_pins: pinmux_spi_pins {
+ pinctrl-single,bits = <
+ /* SIMO, SOMI, CLK */
+ 0x14 0x00110100 0x00ff0f00
+ >;
+ };
+ spi1_cs0_pin: pinmux_spi1_cs0 {
+ pinctrl-single,bits = <
+ /* CS0 */
+ 0x14 0x00000010 0x000000f0
+ >;
+ };
};
serial0: serial@1c42000 {
compatible = "ns16550a";
@@ -195,6 +206,16 @@
reg = <0x308000 0x80>;
status = "disabled";
};
+ spi1: spi@1f0e000 {
+ #address-cells = <1>;
+ #size-cells = <0>;
+ compatible = "ti,da830-spi";
+ reg = <0x30e000 0x1000>;
+ num-cs = <4>;
+ ti,davinci-spi-intr-line = <1>;
+ interrupts = <56>;
+ status = "disabled";
+ };
};
nand_cs3@62000000 {
compatible = "ti,davinci-nand";