From patchwork Wed Sep 29 11:54:08 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Zev Weiss X-Patchwork-Id: 12525335 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 9AA05C433EF for ; Wed, 29 Sep 2021 12:02:50 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 6DDAD613D1 for ; Wed, 29 Sep 2021 12:02:50 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 6DDAD613D1 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=bewilderbeest.net Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=DOXchE2D9jAtceUcEglECJvwUE4wlxSm7pmkgvzDksI=; b=hXZj0Pw2WLccQ0 MvPy9UKlQlS6qoi/G5UUv1PidAbao2u+sQsfkEoQNlrxdaNDHqCxXcfEJBz1cgWaSVFeGYxC8+Hs4 IXqS+3tncPPvKL8SdtqZEufo1/cyAz8A6LWxS5leZ69H3qbIMARUg4ywBtJpLKf7Mmujup7fx/KIf 7M2FLLMd19/4l0XUjKx06XqLJ2TyQfPxwftSEvNZqyakRRAxLtW8W1+cs2rwmbChyzi+YTCzpICGw a0fYMgLtq15D7KuTbDZr5IT9lM6bDjZfexyeImG4jIK2TzMDkMo85hrSCJDc49iqBGW0Ho3qAFKqK UO+u6VdlE3obolq3W59g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mVYG6-00Avwk-7K; Wed, 29 Sep 2021 12:00:22 +0000 Received: from thorn.bewilderbeest.net ([71.19.156.171]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mVYAS-00Atzv-Q0 for linux-arm-kernel@lists.infradead.org; Wed, 29 Sep 2021 11:54:34 +0000 Received: from hatter.bewilderbeest.net (71-212-29-146.tukw.qwest.net [71.212.29.146]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: zev) by thorn.bewilderbeest.net (Postfix) with ESMTPSA id 87F68C85; Wed, 29 Sep 2021 04:54:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bewilderbeest.net; s=thorn; t=1632916470; bh=8ZmLBz7D/sbq84QJ7vQOxYGraYtGThjNvOcKVo+RF4o=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=gZgRjbpv0EC0S8V6wVnuUrHB5EN8Kfa4AFQZWHAkb5f5F/Xz8UtB18GhLfgYS1rh5 w0H9GjeVe/tPLZ/i1gucxKd3zp6DisjwE002E7lZNvgCjWkrnzKMf8dMiujx8cku4x 4YQOmo/egYbTKBldqdgY4iIZn/42OhmBn8z6w7dU= From: Zev Weiss To: openbmc@lists.ozlabs.org Cc: Greg Kroah-Hartman , Jeremy Kerr , Joel Stanley , =?utf-8?q?C=C3=A9dric_Le_Goater?= , Zev Weiss , Rob Herring , Andrew Jeffery , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-aspeed@lists.ozlabs.org, linux-kernel@vger.kernel.org Subject: [PATCH 6/6] ARM: dts: aspeed: Add e3c246d4i BIOS flash device Date: Wed, 29 Sep 2021 04:54:08 -0700 Message-Id: <20210929115409.21254-7-zev@bewilderbeest.net> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20210929115409.21254-1-zev@bewilderbeest.net> References: <20210929115409.21254-1-zev@bewilderbeest.net> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210929_045432_901321_322397F9 X-CRM114-Status: GOOD ( 11.87 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Signed-off-by: Zev Weiss --- .../arm/boot/dts/aspeed-bmc-asrock-e3c246d4i.dts | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/arch/arm/boot/dts/aspeed-bmc-asrock-e3c246d4i.dts b/arch/arm/boot/dts/aspeed-bmc-asrock-e3c246d4i.dts index 9b4cf5ebe6d5..456f4de53869 100644 --- a/arch/arm/boot/dts/aspeed-bmc-asrock-e3c246d4i.dts +++ b/arch/arm/boot/dts/aspeed-bmc-asrock-e3c246d4i.dts @@ -68,6 +68,22 @@ flash@0 { }; }; +&spi1 { + status = "okay"; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_spi1_default>; + flash@0 { + /* + * The BIOS SPI flash is shared with the host via an + * external mux, and is not accessible by the BMC by + * default (hence "reserved" rather than "okay"). + */ + status = "reserved"; + label = "bios"; + m25p,fast-read; + }; +}; + &uart5 { status = "okay"; };