From mboxrd@z Thu Jan 1 00:00:00 1970 From: alexandre.belloni@free-electrons.com (Alexandre Belloni) Date: Fri, 25 Jul 2014 10:30:54 +0200 Subject: [PATCH] ARM: at91: at91sam9x5: sets NPCS0 (PA14) back to GPIO In-Reply-To: <53D1F5D0.1080006@aksignal.cz> References: <1405074175-22444-1-git-send-email-voice.shen@atmel.com> <53D10C50.50305@aksignal.cz> <20140724162645.4e19c26c@bbrezillon> <53D12103.3020103@aksignal.cz> <20140724175848.44f5da10@bbrezillon> <53D1F5D0.1080006@aksignal.cz> Message-ID: <20140725083053.GD9532@piout.net> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org Hi, On 25/07/2014 at 08:14:40 +0200, Ji?? Prchal wrote : > I'm using custom board. My spi node: > spi0: spi at f0000000 { You should override the pinctrl here as you are using gpios for the cs. pinctrl-0 = <&pinctrl_spi0_custom>; > status = "okay"; > cs-gpios = <&pioA 23 0 > &pioA 22 0 > &pioC 29 0 > &pioA 14 0>; > pinctrl at fffff400 { spi0 { pinctrl_spi0_custom: spi0-custom { atmel,pins = , , , ; }; }; }; -- Alexandre Belloni, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com