From patchwork Fri Sep 8 10:49:48 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 13377361 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 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 smtp.lore.kernel.org (Postfix) with ESMTPS id ADE31EE57EB for ; Fri, 8 Sep 2023 10:50:31 +0000 (UTC) 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:Cc:To:In-Reply-To:References:Message-Id :MIME-Version:Subject:Date:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=SS+rvQutm+18Sm/U77Ir2DaLYbFKC7S20rq0nxbTVgE=; b=sp/yGp18Q6zGXK sgGUtQgmZdFyd0UW51ln6/6jYVKUTTPKP3fI4Hgl/OPkmdVOHOUwLIeNanunfOH7fx7c4164jflPO lIJGjioaynUa6ehkYnaprDtEZVZnEVDODvNcsk46CrQbdql4IZf1qUAf+QETkxbkdfszv6Uh1aZeE 2+ECtiNyfC76KKQR0bmDhHoHh8nwWoPVFSQwc2AkRBfmvtnNbtAlD9ZLT1ylwOtbpi3CoOi9swOvi NRn7Pe9ljFgvBU89MEmfetmlMDmuR+JIvKvoWoFJSuhi9uF+pXgEnOzEAoMzgCKwSED4GldFg1UIr b/wMWNTF83b+PW7WQdRA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qeZ3l-00DcwW-2p; Fri, 08 Sep 2023 10:49:57 +0000 Received: from mail-lf1-x12c.google.com ([2a00:1450:4864:20::12c]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qeZ3h-00Dcu8-2X for linux-arm-kernel@lists.infradead.org; Fri, 08 Sep 2023 10:49:55 +0000 Received: by mail-lf1-x12c.google.com with SMTP id 2adb3069b0e04-5007c8308c3so3241889e87.0 for ; Fri, 08 Sep 2023 03:49:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1694170190; x=1694774990; darn=lists.infradead.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=1vzCZEwPNr7Ag8FayuSyK2O3/B460AqQ5RqOT23N1fw=; b=U6hUJkWU5puzxp9OKf5M/IyimmtNhwTA5rP32ZlkiNLSyWmhwU9oZ7RGKp62aOfREb DDPY+U8WdAMcSdY6qCHymmbuMaXsZFftc4JNwIaCvVQIgls4bkzH7xzT5RBQRdpdfgn8 TL5v5c3VUG9c4S1XWLeqDR5aRLOkAniYSqO4WsYuWQzsC7/uIB+l+D9PrSPz1g43C/q4 bdcp3wHLJBuJnsSqrwbDPbnV9YYeLaSVWJloMWAjs2a3Jtj3EYsb17JfY9fflgZiGwOh VrglmPPfX0VlX8z2Fy09uwD1kMPTCOIc4foP4aeMotGT/C+Nb4+nEZ/d/IOwdaILm0Tm 3ouw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1694170190; x=1694774990; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=1vzCZEwPNr7Ag8FayuSyK2O3/B460AqQ5RqOT23N1fw=; b=mEUsehw1QXSQPt/OMR5dOTUhe5VAifEV/MgQ8L+E7KgeLbFnTzimCukadqqD2lcDba 8ny7gtK5T8+dSyncDKyj5VchqD/RuosSxu24GfbFbpUDcdDaFMjBAvsbMbFQTgFoL2l7 jKTgzcPlIJNV9kFYYLPJ97+fqg7ehuOwq95mvdNU1gzXoyqrYHtGiVxn8ffgzvcootdU njkTZJ/P3uwRHIgd3Kv0zKnpq6vGIL5e4VI6i0VWDlw8PF8WxNcXkBswwkM4teP+ox5c NXIDfhnhIF/B3Av6Vwsnkka9Lb9tTXDxBg/NyT4GmecxQz9OTpmaQKs2LYbVhGPqFsrN DkKw== X-Gm-Message-State: AOJu0YyH2XFar2laEuz+tIJbbdd4+frvMGkrwHSljRU3AhetNDc1Z9w1 N//vGTdbb1ZrAXU2QwxOXFLTvqD7eW1XXvBOxos= X-Google-Smtp-Source: AGHT+IEw4p+dgbfZBhiOwmB+9Ck6P7rI8sfTPPIGE6s4cE2XLLX6ycEE6rZLPcditjzBrX06wCFeAw== X-Received: by 2002:a05:6512:2216:b0:500:acf1:b42f with SMTP id h22-20020a056512221600b00500acf1b42fmr1586363lfu.53.1694170190635; Fri, 08 Sep 2023 03:49:50 -0700 (PDT) Received: from [192.168.1.2] (c-05d8225c.014-348-6c756e10.bbcust.telenor.se. [92.34.216.5]) by smtp.gmail.com with ESMTPSA id y15-20020ac255af000000b0050089b26eb0sm243321lfg.132.2023.09.08.03.49.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 08 Sep 2023 03:49:50 -0700 (PDT) From: Linus Walleij Date: Fri, 08 Sep 2023 12:49:48 +0200 Subject: [PATCH 1/2] ARM: dts: ixp4xx-nslu2: Enable write on flash MIME-Version: 1.0 Message-Id: <20230908-ixp4xx-dts-v1-1-98d36264ed6d@linaro.org> References: <20230908-ixp4xx-dts-v1-0-98d36264ed6d@linaro.org> In-Reply-To: <20230908-ixp4xx-dts-v1-0-98d36264ed6d@linaro.org> To: Linus Walleij , Imre Kaloz , Krzysztof Halasa , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Linus Walleij X-Mailer: b4 0.12.3 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230908_034953_847506_0A03A60F X-CRM114-Status: GOOD ( 12.00 ) 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 To upgrade the firmware and similar, the flash needs write access. Signed-off-by: Linus Walleij --- arch/arm/boot/dts/intel/ixp/intel-ixp42x-linksys-nslu2.dts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/boot/dts/intel/ixp/intel-ixp42x-linksys-nslu2.dts b/arch/arm/boot/dts/intel/ixp/intel-ixp42x-linksys-nslu2.dts index da1e93212b86..706ba531faf0 100644 --- a/arch/arm/boot/dts/intel/ixp/intel-ixp42x-linksys-nslu2.dts +++ b/arch/arm/boot/dts/intel/ixp/intel-ixp42x-linksys-nslu2.dts @@ -101,6 +101,8 @@ bus@c4000000 { flash@0,0 { compatible = "intel,ixp4xx-flash", "cfi-flash"; bank-width = <2>; + /* Enable writes on the expansion bus */ + intel,ixp4xx-eb-write-enable = <1>; /* * 8 MB of Flash in 0x20000 byte blocks * mapped in at CS0.