Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp113686imm; Wed, 25 Jul 2018 23:53:54 -0700 (PDT) X-Google-Smtp-Source: AAOMgpfJhujLwZeFFlGLo3NYFDH9aFXYtbXy58FHjtQAgvoDEEcd9ll71VoTzUtlZMBKvFc9nJ63 X-Received: by 2002:a17:902:7586:: with SMTP id j6-v6mr749852pll.295.1532588034191; Wed, 25 Jul 2018 23:53:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1532588034; cv=none; d=google.com; s=arc-20160816; b=f2E5nFA/MO8blc4lmw82TxVKpYt6IUcihnjIlVRZ2cy9a23cSZu5nJsZsRs+X/W6gN xHgG4F44fozywMv3yZ1EyGpPHwHKvI5xubPbJN4D00X50XftYrN9Fr/88FMgKnhcRiJE YbSZ4Qa3zoUQRL1MNbhzA9Y1ybOu6oTNEz21LGd6pjvSaIrA6IjJGUjHNpuiPF6apkzU IU1jRXETwuE6IXzunjUkAUQ1/GHiBqFr3DuYerIMLyGrhxn/xJmeIBAq8ZbTDeqD3KCZ FoxxUM2WS97xb8DExlpvUrVnPfvG8xmQQErixpkATq8k8fsBR9NZbqk38+2jlwMYQ7gr i5eA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:arc-authentication-results; bh=MKIRt4/U5zgYwzFE9IdhVqmuNX3XU8M3zdsjgZRpl6Q=; b=aYOlvm57T/hmfB5xuEWrTuBWF/ObZSH6QRaIrMaVPjUZ/ZVmKvlHKoC7qZZZdKRlwR m1/hQlR6wh1ipnrm0LuO9+EOZyvGKhNfrMwQq0DqVglD1cEiW0sYyTbaf7EFs4KVy5P9 R7wrd28lScJgGa9GCCf1bTSR1xKtMH8KFlg13C2s3ZN/b+fL4pMmNJi3GmnF5h7otvTF mImBeZrbYcouNZCvRCgm+KYtb11Zxy0UlNeFKPJ/yVYBTbAH9FlGSxlZOImwloZ5kTLt MjteSwo/qQ3pueEEVVVSp21xyWS10cw51SJmYz3v6bDmMSHxyQd5wuemvNObpWMb3+z5 k4sQ== 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 v5-v6si572299plg.348.2018.07.25.23.53.38; Wed, 25 Jul 2018 23:53:54 -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 S1728770AbeGZIIL (ORCPT + 99 others); Thu, 26 Jul 2018 04:08:11 -0400 Received: from relay1.mentorg.com ([192.94.38.131]:59585 "EHLO relay1.mentorg.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726621AbeGZIIK (ORCPT ); Thu, 26 Jul 2018 04:08:10 -0400 Received: from nat-ies.mentorg.com ([192.94.31.2] helo=SVR-IES-MBX-04.mgc.mentorg.com) by relay1.mentorg.com with esmtps (TLSv1.2:ECDHE-RSA-AES256-SHA384:256) id 1fia8e-0002Vd-AL from Akash_Gajjar@mentor.com ; Wed, 25 Jul 2018 23:52:40 -0700 Received: from eyas.local (137.202.0.87) by SVR-IES-MBX-04.mgc.mentorg.com (139.181.222.4) with Microsoft SMTP Server (TLS) id 15.0.1320.4; Thu, 26 Jul 2018 07:52:34 +0100 From: Akash Gajjar To: CC: Maxime Ripard , Chen-Yu Tsai , Rob Herring , Mark Rutland , Catalin Marinas , Will Deacon , , , Subject: [PATCH] arm64: dts: allwinner: activate spi flash on pine64 LTS board Date: Thu, 26 Jul 2018 12:21:46 +0530 Message-ID: <1532587906-5415-1-git-send-email-Akash_Gajjar@mentor.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [137.202.0.87] X-ClientProxiedBy: svr-ies-mbx-01.mgc.mentorg.com (139.181.222.1) To SVR-IES-MBX-04.mgc.mentorg.com (139.181.222.4) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This board has SPI flash. add spi flash support in device tree. Tested on pine64 LTS. Signed-off-by: Akash Gajjar --- .../arm64/boot/dts/allwinner/sun50i-a64-sopine-baseboard.dts | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/arch/arm64/boot/dts/allwinner/sun50i-a64-sopine-baseboard.dts b/arch/arm64/boot/dts/allwinner/sun50i-a64-sopine-baseboard.dts index abe179d..9af07db 100644 --- a/arch/arm64/boot/dts/allwinner/sun50i-a64-sopine-baseboard.dts +++ b/arch/arm64/boot/dts/allwinner/sun50i-a64-sopine-baseboard.dts @@ -134,6 +134,18 @@ regulator-name = "vcc-wifi"; }; +&spi0 { + status = "okay"; + + flash@0 { + #address-cells = <1>; + #size-cells = <1>; + compatible = "winbond,w25q128", "jedec,spi-nor"; + reg = <0x0>; + spi-max-frequency = <40000000>; + }; +}; + &uart0 { pinctrl-names = "default"; pinctrl-0 = <&uart0_pins_a>; -- 2.7.4