Received: by 2002:ac0:a594:0:0:0:0:0 with SMTP id m20-v6csp3112869imm; Thu, 17 May 2018 03:41:34 -0700 (PDT) X-Google-Smtp-Source: AB8JxZqbjkp3z0jCjZN7ym3NnpgQP4a5zA58wCqDq48lEf/rbeB8FOyunpKDcp9Bra5LGAnKoUJK X-Received: by 2002:a63:6185:: with SMTP id v127-v6mr3652879pgb.441.1526553694184; Thu, 17 May 2018 03:41:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1526553694; cv=none; d=google.com; s=arc-20160816; b=frlhjWkx0BLWZhv9URbxdgow5uLqNOMBoKxQcz+LsWsvIo90ojkuhYnEpmXo4W+Y0c KPPgByTazRHvu8O9b+Z2bjsal1GdG8ohhl4goRFYsV6jwYRkUXUoqKyIpPwE7otoKLae IMVkoGhICCNK2SPjms3n53Wf/vUidq0cVemZ1LQS7X2j7HlBBBwhG0bWP2bFFnG8OEFy mGhqolkebZzNYzcBMvWoIDJhpjP5HivORhhZRfYz7sThuMdmG3hmq4xQRp8WVyJLXkX0 KiY8qrX4TEmqjqupMLEZcq5txJ+FV1Mkwvw1EoISlsH4UNM1yxGolr+HLvpPJCnfsRhe Zpdw== 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=hclUeKtqNNv+CO6kSbbigVNddWQhxqmiTGAMUkJx8Zk=; b=oUa+PCXpS6QlJu4lIlgDNBs0hzZevOBr5m76YVjtohZ9koynFHfjNfnEofe2FVK+Du KSRt+o6Xc9eS61jpATdR0kS84CmKjDSkkWOEXjqZH3jTY4Aq+14XnDr2SbAzuJ9aGyH/ mSCX2sre4NF+5In/+RgdfnaIKWGzVZGjgyQo4IRazFLDijP3JLEk6ZVHXvOlSqqoGjTp lS/9k6P3SQSDjGUiTav9MNnR3zq5iNiwzj9Jl3mFsrkuEaR1wpxza/RnJU8IcA/4Yqxg YGgs82+lXRhDd8DeqQ5WeECuQc1PbLU0/J3IFl0/2UoR0nw/HrI0G7mb7C396BsJ9A5t iQLw== 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 t15-v6si4765206ply.201.2018.05.17.03.41.19; Thu, 17 May 2018 03:41:34 -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 S1752063AbeEQKkP (ORCPT + 99 others); Thu, 17 May 2018 06:40:15 -0400 Received: from mx2.freebsd.org ([8.8.178.116]:20697 "EHLO mx2.freebsd.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751914AbeEQKkN (ORCPT ); Thu, 17 May 2018 06:40:13 -0400 X-Greylist: delayed 327 seconds by postgrey-1.27 at vger.kernel.org; Thu, 17 May 2018 06:40:13 EDT Received: from mx1.freebsd.org (mx1.freebsd.org [96.47.72.80]) (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 D1B577F337; Thu, 17 May 2018 10:34:45 +0000 (UTC) (envelope-from manu@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (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 E1D0C79002; Thu, 17 May 2018 10:34:44 +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 A814710E22; Thu, 17 May 2018 10:34:43 +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: h5: Add spi flash node for OrangePi PC2 Date: Thu, 17 May 2018 12:34:35 +0200 Message-Id: <20180517103435.92874-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 OrangePi PC2 have an mx25l1606e spi flash. Add a node for it. Signed-off-by: Emmanuel Vadot --- .../boot/dts/allwinner/sun50i-h5-orangepi-pc2.dts | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/arch/arm64/boot/dts/allwinner/sun50i-h5-orangepi-pc2.dts b/arch/arm64/boot/dts/allwinner/sun50i-h5-orangepi-pc2.dts index 98862c7c7258..0b870e4b4fad 100644 --- a/arch/arm64/boot/dts/allwinner/sun50i-h5-orangepi-pc2.dts +++ b/arch/arm64/boot/dts/allwinner/sun50i-h5-orangepi-pc2.dts @@ -207,6 +207,18 @@ status = "okay"; }; +&spi0 { + status = "okay"; + + flash@0 { + #address-cells = <1>; + #size-cells = <1>; + compatible = "mx25l1606e", "jedec,spi-nor"; + reg = <0>; + spi-max-frequency = <40000000>; + }; +}; + &uart0 { pinctrl-names = "default"; pinctrl-0 = <&uart0_pins_a>; -- 2.17.0