]> git.karo-electronics.de Git - linux-beck.git/commitdiff
ARM: dts: keystone: k2l: Fix chip selects for SPI devices
authorKaricheri Muralidharan <m-karicheri2@ti.com>
Mon, 22 Sep 2014 19:19:27 +0000 (15:19 -0400)
committerSantosh Shilimkar <santosh.shilimkar@ti.com>
Mon, 22 Sep 2014 19:19:27 +0000 (15:19 -0400)
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>
Signed-off-by: Santosh Shilimkar <santosh.shilimkar@ti.com>
arch/arm/boot/dts/k2l.dtsi

index e3bb1426890049bebcff307eedfb932fd671836a..291db43a611dea3e0268c327c2cf446d13812c9a 100644 (file)
                };
        };
 };
+
+&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";
+};