From patchwork Sun Mar 4 13:17:49 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 881178 X-Patchwork-Delegate: blogic@openwrt.org Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (helo) smtp.helo=arrakis.dune.hu (client-ip=78.24.191.176; helo=arrakis.dune.hu; envelope-from=openwrt-devel-bounces@lists.openwrt.org; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.b="LREDOq5y"; dkim-atps=neutral Received: from arrakis.dune.hu (arrakis.dune.hu [78.24.191.176]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3zvNtv6hYCz9sW3 for ; Mon, 5 Mar 2018 00:20:05 +1100 (AEDT) Received: from arrakis.dune.hu (localhost [127.0.0.1]) by arrakis.dune.hu (Postfix) with ESMTP id C65A1B91354; Sun, 4 Mar 2018 14:19:59 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on arrakis.dune.hu X-Spam-Level: X-Spam-Status: No, score=-1.5 required=5.0 tests=BAYES_00,T_DKIM_INVALID autolearn=unavailable autolearn_force=no version=3.4.1 Received: from arrakis.dune.hu (localhost [127.0.0.1]) by arrakis.dune.hu (Postfix) with ESMTP; Sun, 4 Mar 2018 14:19:59 +0100 (CET) Received: from arrakis.dune.hu (localhost [127.0.0.1]) by arrakis.dune.hu (Postfix) with ESMTP id 9D7B1B806C6 for ; Sun, 4 Mar 2018 14:19:58 +0100 (CET) X-policyd-weight: NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_SPAMCOP=-1.5 CL_IP_EQ_HELO_IP=-2 (check from: .linaro. - helo: .mail-lf0-f67.google. - helo-domain: .google.) FROM/MX_MATCHES_HELO(DOMAIN)=-2; rate: -7 Received: from mail-lf0-f67.google.com (mail-lf0-f67.google.com [209.85.215.67]) by arrakis.dune.hu (Postfix) with ESMTPS for ; Sun, 4 Mar 2018 14:19:55 +0100 (CET) Received: by mail-lf0-f67.google.com with SMTP id h127so18333689lfg.12 for ; Sun, 04 Mar 2018 05:19:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=GDIsTcaV/g9P8zUYo/8PWRdsmIgiumrccPqtox/r72s=; b=LREDOq5yetjsaj4GO53yGKEC69FOAcIOf3LmBnPs1iKgWwzaIGL4cTRQG2rr1ahvot z4GgZIYz688ETERHeXpS3yqWJzOAhippCraJ4hZz/y0OqlEcxguv43LpLzd8+UZPLetP 6fGBbL9HeEmwa96YPTklSS8RYjbryfc8vi438= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=GDIsTcaV/g9P8zUYo/8PWRdsmIgiumrccPqtox/r72s=; b=gN+vmRvwy+5ZUE3jFOUWo5IBaK+/x8uELz5F1dE/m7SttY4rzEEikGPqbQiv5PdFDI P00PeW3yAYtgSnT+J5Uai9pIKhwncS3i4Hf8QvTnPgdf8+d0WcMfmZsdHOuEetYjIAcL 09KbZeqpXJkfYJl845eCRsfXW6u9O2MPrIYR3KbtF/BEH5eCPtE8cloxTsmE5yu8fzWI k9XIcGJMMa9X8IpQwjzpChTCU1PFoMGrmuk03BJZSKF3kXykjD12+B7Oxtz3puIlX/1Y ZMk6QsylMuu+LRj5hVxAoeUVNQUvg2oaBKzQVXrjFWJJQbPj2l+YntW6xEBL9t5ClC66 Qogw== X-Gm-Message-State: AElRT7EKKtECO1p92JGTsBQjvJkUmWJY+zqSKXVGr6b20bHRYHqgZAoq m8NeFbpXmeser1bT5Is2rvn3yg== X-Google-Smtp-Source: AG47ELsZjmGiuYpbfEZWQZVL2N1oG+VuzWFgKV10+Y9Sde1ZEqcOmT01GU01w/rIVihqDYFgZ7aksw== X-Received: by 10.25.125.212 with SMTP id y203mr8229208lfc.32.1520169594885; Sun, 04 Mar 2018 05:19:54 -0800 (PST) Received: from localhost.localdomain (c-cb7471d5.014-348-6c756e10.cust.bredbandsbolaget.se. [213.113.116.203]) by smtp.gmail.com with ESMTPSA id t28sm2238374lfd.71.2018.03.04.05.19.53 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sun, 04 Mar 2018 05:19:54 -0800 (PST) From: Linus Walleij To: linux-arm-kernel@lists.infradead.org, Hans Ulli Kroll , Florian Fainelli Date: Sun, 4 Mar 2018 14:17:49 +0100 Message-Id: <20180304131749.32065-1-linus.walleij@linaro.org> X-Mailer: git-send-email 2.14.3 Subject: [OpenWrt-Devel] [PATCH] ARM: dts: Fix the DNS-313 flash compatible X-BeenThere: openwrt-devel@lists.openwrt.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: OpenWrt Development List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Janos Laube , openwrt-devel@lists.openwrt.org, Paulius Zaleckas MIME-Version: 1.0 Errors-To: openwrt-devel-bounces@lists.openwrt.org Sender: "openwrt-devel" The flash on the DNS-313 needs to be probed as JEDEC, it does not conform to the common CFI standard. Signed-off-by: Linus Walleij --- arch/arm/boot/dts/gemini-dlink-dns-313.dts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/gemini-dlink-dns-313.dts b/arch/arm/boot/dts/gemini-dlink-dns-313.dts index 5fb3ea8bf300..189ffa1e7c31 100644 --- a/arch/arm/boot/dts/gemini-dlink-dns-313.dts +++ b/arch/arm/boot/dts/gemini-dlink-dns-313.dts @@ -159,8 +159,12 @@ soc { flash@30000000 { + /* + * This is a Eon EN29LV400AB 512 KiB flash with + * three partitions. + */ + compatible = "cortina,gemini-flash", "jedec-flash"; status = "okay"; - /* 512KB of flash */ reg = <0x30000000 0x00080000>; /*