From patchwork Thu Nov 24 14:13:21 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Markus Reichl X-Patchwork-Id: 9445541 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 893BA6071C for ; Thu, 24 Nov 2016 14:13:41 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 7B6B927FA4 for ; Thu, 24 Nov 2016 14:13:41 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 6CFDA27FA7; Thu, 24 Nov 2016 14:13:41 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=2.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 6FF3727FA4 for ; Thu, 24 Nov 2016 14:13:40 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S965678AbcKXONc (ORCPT ); Thu, 24 Nov 2016 09:13:32 -0500 Received: from wp126.webpack.hosteurope.de ([80.237.132.133]:39860 "EHLO wp126.webpack.hosteurope.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S965062AbcKXONb (ORCPT ); Thu, 24 Nov 2016 09:13:31 -0500 Received: from p5098d998.dip0.t-ipconnect.de ([80.152.217.152] helo=linuxbbg.five-lan.de); authenticated by wp126.webpack.hosteurope.de running ExIM with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) id 1c9umD-0003xy-Mi; Thu, 24 Nov 2016 15:13:25 +0100 X-Virus-Scanned: by amavisd-new 2.9.1 using newest ClamAV at linuxbbg.five-lan.de Received: from [192.168.34.101] (reichl-x64.fritz.box [192.168.34.101]) (authenticated bits=0) by linuxbbg.five-lan.de (8.14.9/8.14.5/SuSE Linux 0.8) with ESMTP id uAOEDLlU014112 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO); Thu, 24 Nov 2016 15:13:21 +0100 From: Markus Reichl Subject: [PATCH] ARM: dts: exynos: Enable SPI on 4412 based odroid-X and -X2 boards. To: linux-samsung-soc , Krzysztof Kozlowski , Kukjin Kim , Marek Szyprowski , Javier Martinez Canillas , Tobias Jakobi Organization: five technologies GmbH Message-ID: <5ffdcde0-547f-3da6-2371-c0b0cab69b6b@fivetechno.de> Date: Thu, 24 Nov 2016 15:13:21 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0 MIME-Version: 1.0 X-bounce-key: webpack.hosteurope.de; m.reichl@fivetechno.de; 1479996811; 633e94c7; Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Odroid-X and -X2 have SPI_1 routed to an external connector. Enable SPI_1 on X and -X2. Signed-off-by: Markus Reichl Acked-by: Marek Szyprowski --- Tested on X, U3. --- arch/arm/boot/dts/exynos4412-odroid-common.dtsi | 8 ++++++++ arch/arm/boot/dts/exynos4412-odroidu3.dts | 7 ------- 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/arch/arm/boot/dts/exynos4412-odroid-common.dtsi b/arch/arm/boot/dts/exynos4412-odroid-common.dtsi index 7dc1009..c919405 100644 --- a/arch/arm/boot/dts/exynos4412-odroid-common.dtsi +++ b/arch/arm/boot/dts/exynos4412-odroid-common.dtsi @@ -559,6 +559,14 @@ status = "okay"; }; +&spi_1 { + pinctrl-names = "default"; + pinctrl-0 = <&spi1_bus>; + num-cs = <1>; + cs-gpios = <&gpb 5 GPIO_ACTIVE_HIGH>; + status = "okay"; +}; + &tmu { vtmu-supply = <&ldo10_reg>; status = "okay"; diff --git a/arch/arm/boot/dts/exynos4412-odroidu3.dts b/arch/arm/boot/dts/exynos4412-odroidu3.dts index fc14da5..4bd215f 100644 --- a/arch/arm/boot/dts/exynos4412-odroidu3.dts +++ b/arch/arm/boot/dts/exynos4412-odroidu3.dts @@ -124,10 +124,3 @@ "Speakers", "SPKL", "Speakers", "SPKR"; }; - -&spi_1 { - pinctrl-names = "default"; - pinctrl-0 = <&spi1_bus>; - cs-gpios = <&gpb 5 GPIO_ACTIVE_HIGH>; - status = "okay"; -};