Received: by 2002:ac0:a594:0:0:0:0:0 with SMTP id m20-v6csp208000imm; Mon, 21 May 2018 04:54:49 -0700 (PDT) X-Google-Smtp-Source: AB8JxZqV7lie5fR0ClBp4ZGuvIkCo3y+veN3mNWtF4wUVpojSJPPGx/NSGmkR5OzXTPv2mulH1pl X-Received: by 2002:a17:902:7209:: with SMTP id ba9-v6mr20588448plb.119.1526903689250; Mon, 21 May 2018 04:54:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1526903689; cv=none; d=google.com; s=arc-20160816; b=f8K0YS3cvZOXdxYO3wND88qK43pWpSPRNcaprreWd41eoc4mjS5kpQzWfUMN8b89Gr SymJr6swgMglSPvsxZPYlbFj6zddKpA5CzeKlevZ4UgStyCUlX0diYNF2Kir9I+lKbBd XkpRy94e9MZsyoDcdxbmyCjnz1vd6nDItM68CbvJB8J9r1NYMf8KAUauYZW5L3fD5jUL JA79S1Q1KJmMp439aOhXLbmbwtCbtoNxPRtIsEdUsO91MLlgj/7HEKUJeqCWl5XHPEa6 Y0tJCPVHafE+qs/2e8wBx30UPKIxBOUjG2xgeaO2YzSfFWzOhfzJvSCcK+ERkumxp4Bh vKGg== 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=qH8KJJHrrdZGEhz1ompTDGTHaL+hsZEMrpwi3eVJS34=; b=X5cWRiTDJW3XA7TzPE5AEVLnuv6nt/vkJ/z9hDJe308glHQyuQVQ675g2auL6Mt8id tI/6ZMKCjreK/T95K9nFV6PYS0GtWjKafC3G8Ow0UGIXuBOKC9mPRM2+PgFJh5vtW0VM ZENS55OAyd3uj62FrpMOgDhDJ1gufU+UFhnHu0ZlYrHgpwSVoEFxnzbHRyWt/QUXccB+ egV3WDJ3KKqd4WzIKjvHFm9CCu4OT51Z3G5lLGyhIX5zYH33QQBafV4pFQIuNUzzeJgj J+WZP6zHl/6clKKrhHnCIqn9aitkRNthOD2fEbd8ns1NcvIpKuK0osOHyGT90i+YP9gP zQ6w== 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 r4-v6si7606624pgn.547.2018.05.21.04.54.32; Mon, 21 May 2018 04:54:49 -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 S1752044AbeEULyY (ORCPT + 99 others); Mon, 21 May 2018 07:54:24 -0400 Received: from mx2.freebsd.org ([8.8.178.116]:11063 "EHLO mx2.freebsd.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751036AbeEULyX (ORCPT ); Mon, 21 May 2018 07:54:23 -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 C115D6C741; Mon, 21 May 2018 11:54:22 +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 13A747A3F2; Mon, 21 May 2018 11:54: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 EAC8615736; Mon, 21 May 2018 11:54:20 +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 v2] ARM64: dts: sun50i: a64: Add spi flash node for sopine Date: Mon, 21 May 2018 13:54:13 +0200 Message-Id: <20180521115413.92070-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 --- Changes in v2: - Only use the compatible 'jedec,spi-nor' since the device answer to the jedec command 0x9F 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..b94f93c04acb 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 = "jedec,spi-nor"; + reg = <0>; + spi-max-frequency = <40000000>; + }; +}; + #include "axp803.dtsi" ®_aldo2 { -- 2.17.0