From patchwork Thu Oct 16 22:07:31 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: tthayer@opensource.altera.com X-Patchwork-Id: 5094641 Return-Path: X-Original-To: patchwork-linux-spi@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 5AF38C11AC for ; Thu, 16 Oct 2014 22:07:29 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 90E37201FB for ; Thu, 16 Oct 2014 22:07:28 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id A0B83201ED for ; Thu, 16 Oct 2014 22:07:27 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752673AbaJPWH1 (ORCPT ); Thu, 16 Oct 2014 18:07:27 -0400 Received: from mail-bl2on0068.outbound.protection.outlook.com ([65.55.169.68]:11398 "EHLO na01-bl2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751382AbaJPWH0 (ORCPT ); Thu, 16 Oct 2014 18:07:26 -0400 Received: from dinh-ubuntu.altera.com (64.129.157.38) by BLUPR03MB117.namprd03.prod.outlook.com (10.255.212.15) with Microsoft SMTP Server (TLS) id 15.0.1054.13; Thu, 16 Oct 2014 22:07:23 +0000 From: To: , , , , , , CC: , , , , , , , , Subject: [PATCHv3] arm: dts: socfpga: Add SPI nodes to SOCFPGA DT. Date: Thu, 16 Oct 2014 17:07:31 -0500 Message-ID: <1413497251-21954-2-git-send-email-tthayer@opensource.altera.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1413497251-21954-1-git-send-email-tthayer@opensource.altera.com> References: <1413497251-21954-1-git-send-email-tthayer@opensource.altera.com> MIME-Version: 1.0 X-Originating-IP: [64.129.157.38] X-ClientProxiedBy: CY1PR0601CA0031.namprd06.prod.outlook.com (25.160.162.41) To BLUPR03MB117.namprd03.prod.outlook.com (10.255.212.15) X-Microsoft-Antispam: UriScan:; X-Microsoft-Antispam: BCL:0;PCL:0;RULEID:;SRVR:BLUPR03MB117; X-Exchange-Antispam-Report-Test: UriScan:; X-Forefront-PRVS: 036614DD9C X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(979002)(6009001)(189002)(199003)(76482002)(62966002)(33646002)(99396003)(120916001)(77096002)(102836001)(97736003)(122386002)(101416001)(40100003)(95666004)(105586002)(107046002)(31966008)(64706001)(106356001)(81156004)(229853001)(42186005)(53416004)(66066001)(47776003)(20776003)(21056001)(86362001)(85852003)(50466002)(93916002)(86152002)(88136002)(92566001)(77156001)(92726001)(50986999)(89996001)(85306004)(19580395003)(87286001)(76176999)(80022003)(87976001)(48376002)(19580405001)(46102003)(50226001)(4396001)(69596002)(104166001)(969003)(989001)(999001)(1009001)(1019001); DIR:OUT; SFP:1101; SCL:1; SRVR:BLUPR03MB117; H:dinh-ubuntu.altera.com; FPR:; MLV:ovrnspm; PTR:InfoNoRecords; MX:1; A:0; LANG:en; X-OriginatorOrg: opensource.altera.com Sender: linux-spi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-spi@vger.kernel.org X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Thor Thayer Add 2 SPI nodes to SOCFPGA device tree. Signed-off-by: Thor Thayer --- v2: Remove extra files. Move SPIDEV into board specific file. v3: Remove dts file since SPIDEV is not allowed. --- arch/arm/boot/dts/socfpga.dtsi | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/arch/arm/boot/dts/socfpga.dtsi b/arch/arm/boot/dts/socfpga.dtsi index 4d77ad6..d81bc2d3 100644 --- a/arch/arm/boot/dts/socfpga.dtsi +++ b/arch/arm/boot/dts/socfpga.dtsi @@ -628,6 +628,30 @@ clock-names = "biu", "ciu"; }; + spi0: spi@fff00000 { + compatible = "snps,dw-apb-ssi"; + #address-cells = <1>; + #size-cells = <0>; + reg = <0xfff00000 0x1000>; + interrupts = <0 154 4>; + num-cs = <4>; + bus-num = <0>; + clocks = <&spi_m_clk>; + status = "disabled"; + }; + + spi1: spi@fff01000 { + compatible = "snps,dw-apb-ssi"; + #address-cells = <1>; + #size-cells = <0>; + reg = <0xfff01000 0x1000>; + interrupts = <0 156 4>; + num-cs = <4>; + bus-num = <1>; + clocks = <&spi_m_clk>; + status = "disabled"; + }; + /* Local timer */ timer@fffec600 { compatible = "arm,cortex-a9-twd-timer";