From patchwork Fri Aug 11 22:28:13 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Stefan_Br=C3=BCns?= X-Patchwork-Id: 9896685 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 2BF94602DA for ; Fri, 11 Aug 2017 22:29:19 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 1FA0F2818E for ; Fri, 11 Aug 2017 22:29:19 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 1479628450; Fri, 11 Aug 2017 22:29:19 +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=-2.6 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 93EBF2818E for ; Fri, 11 Aug 2017 22:29:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:Message-ID:MIME-Version:References: In-Reply-To:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=qkXOaFuPp9i8HDWp97TV9Qc+qTV+6qEctS324Qqyv8A=; b=eZ60CBPqx0CPYF bTwxupXAOYtSBKA5GP8SFSU/FG/4s4JiQE2SGkHRxuJodPNg3t4A2wnPF7XyL3ol8gccCceRG7gLo w5ddm200Psl1aooO4DNC4ydJDUi1qyPh3udJvVUxXmpdaWPFtJ0O8feslFjwqhD0Yim4gRhINm7P1 cdbdKnvBUtVKUa2zUeWvZ+4B/S8wexYv6Pg/mSVniJldrzNxY19Tw7Zl5MSHiZSC/L4dwXyIK44zJ YKDBv7yzvjPUalF9Rw9nXYv1JvI/KVsLw4ci+gR/QOZ/xtRPJr+DKJSVG9ljfCBOc0/IOUdFHPhfY JzFbBzlxzpRGJoenKpdg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1dgIQb-000514-5S; Fri, 11 Aug 2017 22:29:13 +0000 Received: from mail-out-2.itc.rwth-aachen.de ([134.130.5.47]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1dgIQH-0004h4-7X for linux-arm-kernel@lists.infradead.org; Fri, 11 Aug 2017 22:28:55 +0000 X-IronPort-AV: E=Sophos;i="5.41,359,1498514400"; d="scan'208";a="8258000" Received: from rwthex-w2-b.rwth-ad.de ([134.130.26.159]) by mail-in-2.itc.rwth-aachen.de with ESMTP; 12 Aug 2017 00:28:27 +0200 Received: from pebbles.fritz.box (77.182.178.77) by rwthex-w2-b.rwth-ad.de (2002:8682:1a9f::8682:1a9f) with Microsoft SMTP Server (TLS) id 15.0.1293.2; Sat, 12 Aug 2017 00:28:25 +0200 From: =?UTF-8?q?Stefan=20Br=C3=BCns?= To: Subject: [PATCH 2/2] arm64: allwinner: pine64: Enable spi0/spi1 Date: Sat, 12 Aug 2017 00:28:13 +0200 X-Mailer: git-send-email 2.13.3 In-Reply-To: <20170811222813.1567-1-stefan.bruens@rwth-aachen.de> References: <20170811222813.1567-1-stefan.bruens@rwth-aachen.de> MIME-Version: 1.0 X-Originating-IP: [77.182.178.77] X-ClientProxiedBy: rwthex-w2-b.rwth-ad.de (2002:8682:1a9f::8682:1a9f) To rwthex-w2-b.rwth-ad.de (2002:8682:1a9f::8682:1a9f) Message-ID: <36eb917eabc044878607a8812b8e18f8@rwthex-w2-b.rwth-ad.de> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170811_152853_681163_72CB088E X-CRM114-Status: UNSURE ( 6.40 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Maxime Ripard , Chen-Yu Tsai , linux-kernel@vger.kernel.org, Rob Herring , =?UTF-8?q?Stefan=20Br=C3=BCns?= Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP The two spi channels/controllers are available on the PI-2 resp. Euler connector, enable both. Contrary to the Pi, the A64 SOC only supports one chip select, so the second chipselect is not available (though it can be emulated using gpio chipselect). Signed-off-by: Stefan BrĂ¼ns --- arch/arm64/boot/dts/allwinner/sun50i-a64-pine64.dts | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/arch/arm64/boot/dts/allwinner/sun50i-a64-pine64.dts b/arch/arm64/boot/dts/allwinner/sun50i-a64-pine64.dts index 08cda24ea194..f795d4074a3a 100644 --- a/arch/arm64/boot/dts/allwinner/sun50i-a64-pine64.dts +++ b/arch/arm64/boot/dts/allwinner/sun50i-a64-pine64.dts @@ -123,6 +123,14 @@ status = "okay"; }; +&spi0 { + status = "okay"; +}; + +&spi1 { + status = "okay"; +}; + /* On Exp and Euler connectors */ &uart0 { pinctrl-names = "default";