From: Karicheri Muralidharan Date: Mon, 22 Sep 2014 19:19:27 +0000 (-0400) Subject: ARM: dts: keystone: k2l: Fix chip selects for SPI devices X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=48443f07bd077f127d9157f22d8b5eefe28537a1;p=GitHub%2FLineageOS%2FG12%2Fandroid_kernel_amlogic_linux-4.9.git ARM: dts: keystone: k2l: Fix chip selects for SPI devices 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 Signed-off-by: Grygorii Strashko Signed-off-by: Santosh Shilimkar --- diff --git a/arch/arm/boot/dts/k2l.dtsi b/arch/arm/boot/dts/k2l.dtsi index e3bb14268900..291db43a611d 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"; +};