From patchwork Tue Oct 21 18:55:40 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: 5127551 Return-Path: X-Original-To: patchwork-linux-spi@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 38E6B9F30B for ; Tue, 21 Oct 2014 18:55:37 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 3CDA720254 for ; Tue, 21 Oct 2014 18:55:36 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 5696A20251 for ; Tue, 21 Oct 2014 18:55:34 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755178AbaJUSzd (ORCPT ); Tue, 21 Oct 2014 14:55:33 -0400 Received: from [207.46.100.76] ([207.46.100.76]:38928 "EHLO na01-by2-obe.outbound.protection.outlook.com" rhost-flags-FAIL-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1755027AbaJUSzd (ORCPT ); Tue, 21 Oct 2014 14:55:33 -0400 Received: from dinh-ubuntu.altera.com (64.129.157.38) by BN1PR03MB121.namprd03.prod.outlook.com (10.255.201.16) with Microsoft SMTP Server (TLS) id 15.0.1054.13; Tue, 21 Oct 2014 18:55:23 +0000 From: To: , , , , , , CC: , , , , , , , , Subject: [PATCHv4] arm: dts: socfpga: Add SPI nodes to SOCFPGA DT. Date: Tue, 21 Oct 2014 13:55:40 -0500 Message-ID: <1413917741-19240-2-git-send-email-tthayer@opensource.altera.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1413917741-19240-1-git-send-email-tthayer@opensource.altera.com> References: <1413917741-19240-1-git-send-email-tthayer@opensource.altera.com> MIME-Version: 1.0 X-Originating-IP: [64.129.157.38] X-ClientProxiedBy: BN1PR08CA0048.namprd08.prod.outlook.com (10.242.217.176) To BN1PR03MB121.namprd03.prod.outlook.com (10.255.201.16) X-Microsoft-Antispam: UriScan:; X-Microsoft-Antispam: BCL:0;PCL:0;RULEID:;SRVR:BN1PR03MB121; X-Exchange-Antispam-Report-Test: UriScan:; X-Forefront-PRVS: 0371762FE7 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(6009001)(199003)(189002)(101416001)(19580405001)(87976001)(93916002)(86362001)(92726001)(86152002)(53416004)(42186005)(87286001)(76176999)(50986999)(77156001)(62966002)(64706001)(105586002)(81156004)(106356001)(66066001)(85852003)(47776003)(95666004)(102836001)(107046002)(229853001)(50466002)(85306004)(97736003)(31966008)(122386002)(88136002)(19580395003)(92566001)(120916001)(48376002)(89996001)(80022003)(76482002)(99396003)(20776003)(104166001)(40100003)(46102003)(21056001)(50226001)(33646002)(4396001)(69596002)(77096002); DIR:OUT; SFP:1101; SCL:1; SRVR:BN1PR03MB121; H:dinh-ubuntu.altera.com; FPR:; MLV:sfv; PTR:InfoNoRecords; A:0; MX:1; 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=-8.3 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, 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. v4: Remove bus-num since it is unused and not defined in bindings. --- arch/arm/boot/dts/socfpga.dtsi | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/arch/arm/boot/dts/socfpga.dtsi b/arch/arm/boot/dts/socfpga.dtsi index 4d77ad6..2792e6c 100644 --- a/arch/arm/boot/dts/socfpga.dtsi +++ b/arch/arm/boot/dts/socfpga.dtsi @@ -628,6 +628,28 @@ 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>; + 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>; + clocks = <&spi_m_clk>; + status = "disabled"; + }; + /* Local timer */ timer@fffec600 { compatible = "arm,cortex-a9-twd-timer";