Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp5234611imm; Tue, 31 Jul 2018 07:40:05 -0700 (PDT) X-Google-Smtp-Source: AAOMgpeM9J1juWVcpaDyR7906Pvt/fivWnS8YNm1W9yVnJ8oHUt1EJRIThyLFsqXYPnN1UReSx22 X-Received: by 2002:a17:902:bd07:: with SMTP id p7-v6mr21159686pls.32.1533048005910; Tue, 31 Jul 2018 07:40:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1533048005; cv=none; d=google.com; s=arc-20160816; b=zy8awrTlEC4oI/vpd/QCDYmjCUeu1eiJuv6lvO1e30dAg34WqXZXkYndUnR8yjCcHY vscV31n3T1P8MDDxYmG6+4E+y1j4tjJakTR1j36ZgyatHcPiotWET48ueDP8lHvCJfwG TS7jVBTndZQcIfEFsPgkd8eqwXIxRcgSNHDG+MmM52h851gDjUgxATF+DpqtsExHY50Z WRo3JUGUTBfXt17xl6R7+7n/N7E+qsgk0YNLr7OyOZGnQLt04gkNJl4hEYBdTkrTdPeD S7iGQFK+DsgbHbl0GZYfMBQkMXF8qhtN5g+w2H8gsrnSeNJIcz76N4xOV/hjY/03o5vi 0gVA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:arc-authentication-results; bh=78iP6h6ehCCZddsogt4MKXLCu8nrQON4qWT75Xkv+jE=; b=vByETqumWHxhu7OdgFBf4EkJa1b6QtqRBNNegzu5E4MrErr6+/Qv/pcZ8iLxqzYefc aaMQer39g6VKnxCXNmQZbImkbC2hCysUIVoI8EhXoYV2rZ4c5OATVkx3Ci7I4OGqt5Ja SV4OHNmCW4tcFI0xdB3+py2FasfT38pzy2Q7RsJwtCyO0QPY9F1BDMm2oUEU3A+cKiTn mGPx/gak+yS+6LG9FfwDqNVgHhiW9RZxbta72vy3ZTwjXtOxqQ1AyRXVDaEgFGnmM3or /jZNU2yP8n0THut4TqCFqj/B5ZGBzf5nzfiugcDULtd5uC+TrsfMuqJ+XNLwyjQ1U0eh Yryw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id r24-v6si12942700pgo.295.2018.07.31.07.39.51; Tue, 31 Jul 2018 07:40:05 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732489AbeGaQTi (ORCPT + 99 others); Tue, 31 Jul 2018 12:19:38 -0400 Received: from mail.bootlin.com ([62.4.15.54]:40817 "EHLO mail.bootlin.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732359AbeGaQTg (ORCPT ); Tue, 31 Jul 2018 12:19:36 -0400 Received: by mail.bootlin.com (Postfix, from userid 110) id C58CA207AB; Tue, 31 Jul 2018 16:38:56 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mail.bootlin.com X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED,SHORTCIRCUIT, URIBL_BLOCKED shortcircuit=ham autolearn=disabled version=3.4.0 Received: from localhost (242.171.71.37.rev.sfr.net [37.71.171.242]) by mail.bootlin.com (Postfix) with ESMTPSA id 9F2FB20731; Tue, 31 Jul 2018 16:38:56 +0200 (CEST) From: Alexandre Belloni To: Mark Brown , Paul Burton Cc: James Hogan , linux-spi@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-mips@linux-mips.org, Thomas Petazzoni , Allan Nielsen , Alexandre Belloni Subject: [PATCH v4 2/3] mips: dts: mscc: Add spi on Ocelot Date: Tue, 31 Jul 2018 16:38:54 +0200 Message-Id: <20180731143855.7131-3-alexandre.belloni@bootlin.com> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20180731143855.7131-1-alexandre.belloni@bootlin.com> References: <20180731143855.7131-1-alexandre.belloni@bootlin.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add support for the SPI controller Signed-off-by: Alexandre Belloni --- arch/mips/boot/dts/mscc/ocelot.dtsi | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/arch/mips/boot/dts/mscc/ocelot.dtsi b/arch/mips/boot/dts/mscc/ocelot.dtsi index 4f33dbc67348..f7616a476247 100644 --- a/arch/mips/boot/dts/mscc/ocelot.dtsi +++ b/arch/mips/boot/dts/mscc/ocelot.dtsi @@ -91,6 +91,17 @@ status = "disabled"; }; + spi: spi@101000 { + compatible = "mscc,ocelot-spi", "snps,dw-apb-ssi"; + #address-cells = <1>; + #size-cells = <0>; + reg = <0x101000 0x100>, <0x3c 0x18>; + interrupts = <9>; + clocks = <&ahb_clk>; + + status = "disabled"; + }; + switch@1010000 { compatible = "mscc,vsc7514-switch"; reg = <0x1010000 0x10000>, -- 2.18.0