Received: by 2002:ac0:a594:0:0:0:0:0 with SMTP id m20-v6csp208272imm; Mon, 21 May 2018 04:55:07 -0700 (PDT) X-Google-Smtp-Source: AB8JxZp0kheflTKSxTsA14v2ZYp//9KFBjAD5e5nAylIdgcVWnsZ+I2ZuHVKQL2/fMiHDdk9z+w0 X-Received: by 2002:a17:902:7c95:: with SMTP id y21-v6mr12239880pll.76.1526903707731; Mon, 21 May 2018 04:55:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1526903707; cv=none; d=google.com; s=arc-20160816; b=BZqBFSgO2T9eppoU2D4xZe0tmgPIfgGoJjyOftIT8hbY3TzB0JIgVMC2iiWJPEtYwJ iM5O0uzgycmmK/sxqNDo3DsAFq/JAQUCHWVwN+lEJwkadH1Bj6N7dJFeN9kDzevxEp7N gZF7qHe/+fJqJtwFfwHJy3JkQ0pfENkyOxvGJncgafCoT2rP6+dpnjefX87WqxIZJ7Fw eEESChelPMunRLBmh5G8eiVSRlTZHOZJMTuZs0A/bp5AIuBcjCJH/BjF0nRw8vL06jGu uajSOGZeA+Kia3xONx2xOSDSsMRwQjbquFk6MsiD84NRwO5KpfKKamz+bKJv2pkXKCRD pdnw== 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=NSoEmYmH8DfolPUJ24mznxEfH+U81CDFEvev46eABcY=; b=ua20QUAF2CxJXjwlXwRoAHCZ02vduy2oFQpyT9KRdTsjxlfU6BzphqLeBh9IVG9mCY +r+O6X6YWAvG/Wg8z9K2iGm2aVP3viPQtkUrekRMeGdAajZqHGUNfErKA/Z8QvCpd0h/ /N7Oeq5RbqNNfJc6tlgfziSjZcYFOxNPFJmk4OvfiHf04tHdtkp6KHGK3mZ7uz7Acxr/ DcVRqvWFbK3Ip4RRcbQym7TefDnpzI2wts1MwPH3qx4ROVB+e6LqWD9TDe0f4/g80ARH r9FpMTbWcWeoeMEA56catFekPu1VCFGdSymJSpyOW1I/RG/rWrAjeIqE5HhQo2GCbxx8 ijSg== 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 l7-v6si14726787plt.197.2018.05.21.04.54.53; Mon, 21 May 2018 04:55:07 -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 S1752754AbeEULyh (ORCPT + 99 others); Mon, 21 May 2018 07:54:37 -0400 Received: from mx2.freebsd.org ([8.8.178.116]:11076 "EHLO mx2.freebsd.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751077AbeEULyf (ORCPT ); Mon, 21 May 2018 07:54:35 -0400 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 BC89C6C74A; Mon, 21 May 2018 11:54:34 +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 0F2137A3FB; Mon, 21 May 2018 11:54:34 +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 ED66F15737; Mon, 21 May 2018 11:54:32 +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: h5: Add spi flash node for OrangePi PC2 Date: Mon, 21 May 2018 13:54:26 +0200 Message-Id: <20180521115426.92115-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 --- 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-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..3e0d5a9c096d 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 = "jedec,spi-nor"; + reg = <0>; + spi-max-frequency = <40000000>; + }; +}; + &uart0 { pinctrl-names = "default"; pinctrl-0 = <&uart0_pins_a>; -- 2.17.0