From patchwork Mon Aug 2 18:09:02 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Raag Jadav X-Patchwork-Id: 12414505 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-13.7 required=3.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED,DKIM_SIGNED,DKIM_VALID,FREEMAIL_FORGED_FROMDOMAIN, FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 75013C4338F for ; Mon, 2 Aug 2021 18:10:57 +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 3FF4860C3E for ; Mon, 2 Aug 2021 18:10:57 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 3FF4860C3E Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com 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:MIME-Version:List-Subscribe:List-Help: List-Post:List-Archive:List-Unsubscribe:List-Id: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:In-Reply-To:References: List-Owner; bh=XAvUKTsIAiOxDflGcU6FUvbbMFosSd5MESeqSvnI+3I=; b=np+GnpGoo8i+iq Skq6H2lTDmF1NXYOO9Tuhit0UkPXLiounBGmoBTccPwnBYrtGkb+F4e0gUZjtpyHEewHeBD5ZVIvd qm7HoNQ//90+FvGr9+oPI73ZTSvtGT2Q5lEgbC7itkVoOQVVZSez/aI7RGW6i1CEIlaISGmZFjUc8 qRn9gDE3eFrYX9FRIy8AkyM3Er+ycCeowiAhXBUAp5VqmY2k8Lfe+MIN3ZQhr6Ms1ig3Y6hY1rF98 y9FV/mRSvfnzZkgnVZgOIlCealHOm8+iUYnXslQ3ub2MFhGqp2JPO0y7kQmIjFJm9vVy3XoQXCZw1 2e5NIsABIlUGUo+x92OA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mAcNL-00HSAC-Tr; Mon, 02 Aug 2021 18:09:20 +0000 Received: from mail-pj1-x102d.google.com ([2607:f8b0:4864:20::102d]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mAcNH-00HS84-Ow for linux-arm-kernel@lists.infradead.org; Mon, 02 Aug 2021 18:09:17 +0000 Received: by mail-pj1-x102d.google.com with SMTP id o44-20020a17090a0a2fb0290176ca3e5a2fso1151722pjo.1 for ; Mon, 02 Aug 2021 11:09:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=T2v/c84JGgZj8frH8nCtCcL6naJ0wiQBy76zvSdrpt0=; b=JlNE/WLk87Wu2Wsfx1md0X2XnnGc4XtjkXVv1c0A/uyB8pMdhhlq/JHomOX/IqskPU p7jbBxco4djceLFb7pfxzFqpKFqRf5cGAwMx656yWmrO/RKUVyd9hsi67sruX0OeJX7b /YSdpnlmREUD/x4E5HmoZ2Zbwm/bjEgb/564reAIYjdU0Zvvce9bMylGCQlaB+BZO+/x jIYVDR66XhlMGKLgJxF1fU5wNQV50wvzLrJv1gg5qmBmF8UNGbX6kaEzAT+r/Exk47BI oUxORf2S9ji7xJYEiyJ1VMp1oyd36mJx45zjmltU1BJETwWu1bGghRWloO9srbsjZTbV qGYQ== 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=T2v/c84JGgZj8frH8nCtCcL6naJ0wiQBy76zvSdrpt0=; b=ME1sRT2pH8sL1r4SLbaTU71r81ysCOkCwEapd9hokDnkQEtQJNFRmQPU5PCHDqql7p TgnAaO7E41Ug5Btzposx66WKeKq7Ct6/BkcXDA/sK7BEOCQGJfggiWRyEuQF8+e6pb0A cxnwy44muhB+EA82XVThXWlFBDs355wADYFrzEnF+Bt3wT04zNpvLc47kRJwN8CIIobs 7dDTCkPP9VJy88MuMcVITWM0XZa8JDvqAUDexQtSPSNySw4AfbepKVFd51uENRkV9wyC 90WZ0nHoQmQXI/6c1kNgq9BAht4HkHxyJ65d4UC1MnijG7fgEmU+RHlKfxj0k/ijlHsz aRzw== X-Gm-Message-State: AOAM532o+2X9kjQbbtm7KlY9xxb2fbRZmbXBuaMMJgqqYZvAR08Zvihw LM4kMvtrAzbuOFmG7vVfqow= X-Google-Smtp-Source: ABdhPJwlOQXf/tuXtqwaHwV52O2Rnw9+gwyxKG+X4MW5FvmW0aAMt6vDnC8Y3faKtiuOVlOlE4H9AQ== X-Received: by 2002:a63:f62:: with SMTP id 34mr2460375pgp.159.1627927754057; Mon, 02 Aug 2021 11:09:14 -0700 (PDT) Received: from localhost.localdomain ([49.36.83.2]) by smtp.gmail.com with ESMTPSA id d2sm14333379pgk.57.2021.08.02.11.09.11 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Mon, 02 Aug 2021 11:09:13 -0700 (PDT) From: Raag Jadav To: Shawn Guo , Li Yang , Rob Herring , linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Raag Jadav Subject: [PATCH] arm64: dts: ls1046a: fix eeprom entries Date: Mon, 2 Aug 2021 23:39:02 +0530 Message-Id: <1627927742-8675-1-git-send-email-raagjadav@gmail.com> X-Mailer: git-send-email 2.7.4 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210802_110915_876716_72F9723F X-CRM114-Status: GOOD ( 11.94 ) 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: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org ls1046afrwy and ls1046ardb boards have CAT24C04[1] and CAT24C05[2] eeproms respectively. Both are 4Kb (512 bytes) in size. Remove multi-address entries, as we have auto-rollover support in at24 driver. [1] https://www.onsemi.com/pdf/datasheet/cat24c01-d.pdf [2] https://www.onsemi.com/pdf/datasheet/cat24c03-d.pdf Signed-off-by: Raag Jadav --- arch/arm64/boot/dts/freescale/fsl-ls1046a-frwy.dts | 8 +------- arch/arm64/boot/dts/freescale/fsl-ls1046a-rdb.dts | 7 +------ 2 files changed, 2 insertions(+), 13 deletions(-) diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1046a-frwy.dts b/arch/arm64/boot/dts/freescale/fsl-ls1046a-frwy.dts index db3d303..83afe21 100644 --- a/arch/arm64/boot/dts/freescale/fsl-ls1046a-frwy.dts +++ b/arch/arm64/boot/dts/freescale/fsl-ls1046a-frwy.dts @@ -83,15 +83,9 @@ }; eeprom@52 { - compatible = "atmel,24c512"; + compatible = "atmel,24c04"; reg = <0x52>; }; - - eeprom@53 { - compatible = "atmel,24c512"; - reg = <0x53>; - }; - }; }; }; diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1046a-rdb.dts b/arch/arm64/boot/dts/freescale/fsl-ls1046a-rdb.dts index 60acdf0..d220f98 100644 --- a/arch/arm64/boot/dts/freescale/fsl-ls1046a-rdb.dts +++ b/arch/arm64/boot/dts/freescale/fsl-ls1046a-rdb.dts @@ -59,14 +59,9 @@ }; eeprom@52 { - compatible = "atmel,24c512"; + compatible = "atmel,24c04"; reg = <0x52>; }; - - eeprom@53 { - compatible = "atmel,24c512"; - reg = <0x53>; - }; }; &i2c3 {