Received: by 2002:ac0:a594:0:0:0:0:0 with SMTP id m20-v6csp3394733imm; Thu, 17 May 2018 08:06:58 -0700 (PDT) X-Google-Smtp-Source: AB8JxZrEhe2vu+DZ56vcxEB6+IrrfkBJbDzs8qQCI/TZdyuZSOcNGSgUoJnqGLtAZxlTzilMs0Na X-Received: by 2002:a62:4589:: with SMTP id n9-v6mr5525887pfi.158.1526569618208; Thu, 17 May 2018 08:06:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1526569618; cv=none; d=google.com; s=arc-20160816; b=RX6sugCPa2Y0mS/qjDlKJMlK8GtepvfERvMuKNaAbhNnb98Mx+UeLWN2Jswshsdjgs g0FOt7aF6dp3or2FMp3uCSTMJgdB4NhYSRZ+9XO4Q6O1jShhN4UZ/ne4eyxPLGtCR+zj rNK1ydebo/OowMqVekzIUnqTjzc8YZnEG0brMMz6SPhY9Porx1Q0uVBF9HxJzdbqZ3jg ozQIYQpLOjTKC8rGMRLJZU7P4FXoIytS1BTPTnyIRf/sOwRpWagDEAcVa8ArubzgCGm2 bXo6vosB9ZgMqU8/+uj3H1zSr96wxOUUMB/CI7C39XgLo87AnzZX7P6LYONuiSKzqyT/ wjzg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :arc-authentication-results; bh=97MQF6CFkrpj+L80aqnBS4jUXaDeZVUQgMlNdszeRBM=; b=X5E6fZEf81tNqJbbEPaEto4CyTftFwwPHz2+ymfEKu8RfsLTLENrHBFbrfeaa/BSHa /QQ6lTXemZRZHd3RC4BSdWidtn7FsQ0BX1r/BOs1Wb4ofGlUeq4E5JLWViDaYUBwWjJM pHMVkhyb037Tz2JMMMPDo6tFal/Ll5oKLNwrZ7TFq45Z+LHnQhkxYwBtWt+7RDB+aVYw /unthZPu4htFEDH6qK1Y9KnxU0AYrAUiQWURXBfHyvpvk5RMFEA4rv2iK/fmb+0JBjkr sBFIxUSeO+SE+EPbRpIaOOr7FyinZffypHCq3bqCW8FAMSNUvB84X/WSYrTUQtstW5Te FRQA== 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 202-v6si4267922pgg.546.2018.05.17.08.06.43; Thu, 17 May 2018 08:06:58 -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 S1752129AbeEQPGZ (ORCPT + 99 others); Thu, 17 May 2018 11:06:25 -0400 Received: from mx2.freebsd.org ([8.8.178.116]:15600 "EHLO mx2.freebsd.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751280AbeEQPGY (ORCPT ); Thu, 17 May 2018 11:06:24 -0400 Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mx1.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx2.freebsd.org (Postfix) with ESMTPS id D9FC87967C; Thu, 17 May 2018 15:06:23 +0000 (UTC) (envelope-from manu@freebsd.org) Received: from smtp.freebsd.org (unknown [IPv6:2610:1c1:1:606c::24b:4]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "smtp.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 84BF7840E2; Thu, 17 May 2018 15:06:22 +0000 (UTC) (envelope-from manu@freebsd.org) Received: from skull.home.blih.net (ip-9.net-89-3-105.rev.numericable.fr [89.3.105.9]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) (Authenticated sender: manu) by smtp.freebsd.org (Postfix) with ESMTPSA id 49C1812974; Thu, 17 May 2018 15:06:21 +0000 (UTC) (envelope-from manu@freebsd.org) From: Emmanuel Vadot To: maxime.ripard@bootlin.com, wens@csie.org, robh+dt@kernel.org, mark.rutland@arm.com, catalin.marinas@arm.com, will.deacon@arm.com, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Emmanuel Vadot Subject: [PATCH] ARM64: dts: sun50i: a64: Add spi flash node for sopine Date: Thu, 17 May 2018 17:06:13 +0200 Message-Id: <20180517150613.11916-1-manu@freebsd.org> X-Mailer: git-send-email 2.17.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The Sopine and Pine64-LTS have a winbond w25q128 spi flash on spi0. Add a node for it. Signed-off-by: Emmanuel Vadot --- arch/arm64/boot/dts/allwinner/sun50i-a64-sopine.dtsi | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/arch/arm64/boot/dts/allwinner/sun50i-a64-sopine.dtsi b/arch/arm64/boot/dts/allwinner/sun50i-a64-sopine.dtsi index 43418bd881d8..3285aebc06d9 100644 --- a/arch/arm64/boot/dts/allwinner/sun50i-a64-sopine.dtsi +++ b/arch/arm64/boot/dts/allwinner/sun50i-a64-sopine.dtsi @@ -66,6 +66,18 @@ }; }; +&spi0 { + status = "okay"; + + flash@0 { + #address-cells = <1>; + #size-cells = <1>; + compatible = "w25q128", "jedec,spi-nor"; + reg = <0>; + spi-max-frequency = <40000000>; + }; +}; + #include "axp803.dtsi" ®_aldo2 { -- 2.17.0