Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp5234810imm; Tue, 31 Jul 2018 07:40:14 -0700 (PDT) X-Google-Smtp-Source: AAOMgpdr1ksKlKfg8UkHMxb5XzGQUECH3VWyGGoLvjA4OQAFcLUKeUeH9pTKsvsxSaH7BSUawem2 X-Received: by 2002:a63:1d5e:: with SMTP id d30-v6mr21283338pgm.12.1533048014561; Tue, 31 Jul 2018 07:40:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1533048014; cv=none; d=google.com; s=arc-20160816; b=Mlugx3ytuzHrSV5Vbub4oN57VPq8mFjUcrF5jr7MiBEEFq/tnAYBMn4smFmApw1iDg FwvcvFO0bbRPJsefvP6LDDOc95FjoTICpxFlO/EpUCqtgXh1fquSFSIR9rJtZWIFEyf9 YCkYXo+pPex4RY319VH5++/fE7IMPkJYKwfv0c+4HfKEiU9KhYAbb4mzKkZXfVxf3ToK 2O895V4OWP+FteBWgTthKlzgA3wXY5rNbg2ZMoIMyAheBKpgX12lALZRn3YxMGdfVXQ0 8EtqMcWYA8WYuIHTLx0625rF0W7HysUAv8eIJecsarjU2T7yTfjTH6mLPhEx9mvUwTEL uN2w== 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=aPGsnWLtm4tclUvih47mszzClPEAOWwAJMj4tQIZCns=; b=d3e0RpFDupAg2NkE0J5a/2rkHSM84+EqDBYl3rvFHiD2jO5bLWukPIsa+RmvuKUHdi jzU6zH5LanzQC5XawI257eDyr5lD0Gm898c9wyfIS8xfLOclnSL/o44RtaC4HPeRJyz9 3vpRAvO5vuTz4wlWwwRnmEW1nWO0grZQT9PU4BBB3TYWUUb4WiyS+zIqeneWylqfH8r0 haQIYpXpT8677b77gxSBu6EFc9hh6kmC3QkJoh+aqOdkh1w/+xaL1XR7rJ3qSyvRzshu fNPp2bwK9fLvcxvGRRjwNOTj0RXjxHE4VqNk1lkD/ky7SwhJwU4CBH0tq8fwVtlBJJ2z b3Dw== 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 t19-v6si13705063pgb.196.2018.07.31.07.40.00; Tue, 31 Jul 2018 07:40:14 -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 S1732473AbeGaQTi (ORCPT + 99 others); Tue, 31 Jul 2018 12:19:38 -0400 Received: from mail.bootlin.com ([62.4.15.54]:40824 "EHLO mail.bootlin.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732373AbeGaQTg (ORCPT ); Tue, 31 Jul 2018 12:19:36 -0400 Received: by mail.bootlin.com (Postfix, from userid 110) id 1BC27207B7; Tue, 31 Jul 2018 16:38:57 +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 E744D20731; 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 3/3] mips: dts: mscc: enable spi and NOR flash support on ocelot PCB123 Date: Tue, 31 Jul 2018 16:38:55 +0200 Message-Id: <20180731143855.7131-4-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 Ocelot PCB123 has a SPI NOR connected on its SPI bus. Signed-off-by: Alexandre Belloni --- arch/mips/boot/dts/mscc/ocelot_pcb123.dts | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/arch/mips/boot/dts/mscc/ocelot_pcb123.dts b/arch/mips/boot/dts/mscc/ocelot_pcb123.dts index 4ccd65379059..2266027759f9 100644 --- a/arch/mips/boot/dts/mscc/ocelot_pcb123.dts +++ b/arch/mips/boot/dts/mscc/ocelot_pcb123.dts @@ -26,6 +26,16 @@ status = "okay"; }; +&spi { + status = "okay"; + + flash@0 { + compatible = "macronix,mx25l25635f", "jedec,spi-nor"; + spi-max-frequency = <20000000>; + reg = <0>; + }; +}; + &mdio0 { status = "okay"; }; -- 2.18.0