diff mbox

[3/3] ARM: dts: keystone: k2l: Fix chip selects for SPI devices

Message ID 1411060524-25077-4-git-send-email-grygorii.strashko@ti.com
State Accepted
Commit 48443f07bd077f127d9157f22d8b5eefe28537a1
Headers show

Commit Message

Grygorii Strashko Sept. 18, 2014, 5:15 p.m. UTC
From: Murali Karicheri <m-karicheri2@ti.com>

There are 5 chip selects per SPI0 and SPI2 and 3 per SPI1. SPI2 needs
to be pinned out to use and by default they are disabled. So keep the
state disabled to reflect default.

Signed-off-by: Murali Karicheri <m-karicheri2@ti.com>
Signed-off-by: Grygorii Strashko <grygorii.strashko@ti.com>
---
 arch/arm/boot/dts/k2l.dtsi | 14 ++++++++++++++
 1 file changed, 14 insertions(+)
diff mbox

Patch

diff --git a/arch/arm/boot/dts/k2l.dtsi b/arch/arm/boot/dts/k2l.dtsi
index e3bb142..291db43 100644
--- a/arch/arm/boot/dts/k2l.dtsi
+++ b/arch/arm/boot/dts/k2l.dtsi
@@ -81,3 +81,17 @@ 
 		};
 	};
 };
+
+&spi0 {
+       ti,davinci-spi-num-cs = <5>;
+};
+
+&spi1 {
+       ti,davinci-spi-num-cs = <3>;
+};
+
+&spi2 {
+       ti,davinci-spi-num-cs = <5>;
+       /* Pin muxed. Enabled and configured by Bootloader */
+       status = "disabled";
+};