Received: by 2002:a05:6a10:d5a5:0:0:0:0 with SMTP id gn37csp1312481pxb; Fri, 1 Oct 2021 08:04:44 -0700 (PDT) X-Google-Smtp-Source: ABdhPJybIKx/YFcBb9/qwbOn5ozw/3kT9io+2pQjF2FXtAUQqemDLWmnOfvEHHVk0tiUkHjL2k2n X-Received: by 2002:a17:906:c252:: with SMTP id bl18mr6606299ejb.519.1633100684141; Fri, 01 Oct 2021 08:04:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1633100684; cv=none; d=google.com; s=arc-20160816; b=Vfo3PuEaRbNndlSpnqlfM76/BqR4FVh7ojw5GtrpHKwtY7BnuJ2ymQ0S6o7/vOBbcG 0HtAxV85MVdjL0DnmZrfiB8OAab/FipRa4YZs42LfxPOOn7g1zr4ZxxyLxlxdslK7gto grMIbb704WloentpFfzZ00VGQlxIFEMR7T0sCz9Ixi3rVBDPiOCFL6++Yb6yw5pb2enJ 4eqsSlocmN6271FKFiedJ6PhWOAceeg77SZvppJwUKBiLkbAKQhI3nCq4/0hPF0wNQy3 AVle8hMYRCW1rXLTgdddCX8DLVXEO2sWV1Np3aaC6e5kVC3x2ElLc49Uofn0fH+Kpt2h Ua2w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:date:subject:cc:to:from; bh=AlAyOxPqfwdl7jsKxBZA1pdJm36z6xDHE2BvccLIacE=; b=YL/lp3Y9wtxay5odnw9V7mojCNf5j4NUAG3CxXIYXk1sNhexc8kf9BS6JKhdAcJy/J P9L7FcVfAm55P7nS6c/IK0hUoO2jq6I0E/WMsce7CobcKxBbSY0GUtlxuF5M9L+1eMQ7 14ey6Phf62qRrEKXiHCWn5oSzOuIBrjdipSatYFI+Uue/FgLzhOkEHaSB+Uv7mkH7FI9 k0fHng8ndj26NfvuxsMcdGLAkrf2mFiqUjx8EP447aQ0VNFTtYaHH/OiggMNhkZZ3bLi tVccAYOLTCGYLtUsRVsd2IrDvWxnSl9XozXlyFHMiUuSqztqaxxGdA8omeewHXWFse3I hf2w== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=jmu.edu.cn Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id s11si8574896edh.403.2021.10.01.08.04.17; Fri, 01 Oct 2021 08:04:44 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=jmu.edu.cn Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1354729AbhJAPDc (ORCPT + 99 others); Fri, 1 Oct 2021 11:03:32 -0400 Received: from mail-m17638.qiye.163.com ([59.111.176.38]:45404 "EHLO mail-m17638.qiye.163.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231947AbhJAPDb (ORCPT ); Fri, 1 Oct 2021 11:03:31 -0400 Received: from localhost.localdomain (unknown [112.48.80.210]) by mail-m17638.qiye.163.com (Hmail) with ESMTPA id 588041C00DC; Fri, 1 Oct 2021 22:50:48 +0800 (CST) From: Chukun Pan To: Rob Herring Cc: Maxime Ripard , Chen-Yu Tsai , Jernej Skrabec , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-sunxi@lists.linux.dev, linux-kernel@vger.kernel.org, Chukun Pan Subject: [PATCH] arm64: dts: allwinner: NanoPi R1S H5: use the correct compatible for the eeprom Date: Fri, 1 Oct 2021 22:50:36 +0800 Message-Id: <20211001145036.18129-1-amadeus@jmu.edu.cn> X-Mailer: git-send-email 2.17.1 X-HM-Spam-Status: e1kfGhgUHx5ZQUtXWQgPGg8OCBgUHx5ZQUlOS1dZCBgUCR5ZQVlLVUtZV1 kWDxoPAgseWUFZKDYvK1lXWShZQUhPN1dZLVlBSVdZDwkaFQgSH1lBWRpJTExWTExPGkxOSUxPGU 1JVRMBExYaEhckFA4PWVdZFhoPEhUdFFlBWVVLWQY+ X-HM-Sender-Digest: e1kMHhlZQR0aFwgeV1kSHx4VD1lBWUc6MRA6OBw*PD4NNzgiAkkRNipJ OQoKCx1VSlVKTUhIS0JCQ09CS0pJVTMWGhIXVRoWGh8eDgg7ERYOVR4fDlUYFUVZV1kSC1lBWUpK SVVPQ1VDS1VJSktZV1kIAVlBSUtJTTcG X-HM-Tid: 0a7c3c561b9cd993kuws588041c00dc Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The 'microchip,24c02' compatible does not match the at24 driver, so replace it with 'atmel,24c02'. In addition, because the mac address is stored on this eeprom, set it to read-only mode. Signed-off-by: Chukun Pan --- arch/arm64/boot/dts/allwinner/sun50i-h5-nanopi-r1s-h5.dts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/arch/arm64/boot/dts/allwinner/sun50i-h5-nanopi-r1s-h5.dts b/arch/arm64/boot/dts/allwinner/sun50i-h5-nanopi-r1s-h5.dts index 55bcdf8d1a07..4f01c17c49e0 100644 --- a/arch/arm64/boot/dts/allwinner/sun50i-h5-nanopi-r1s-h5.dts +++ b/arch/arm64/boot/dts/allwinner/sun50i-h5-nanopi-r1s-h5.dts @@ -142,9 +142,10 @@ status = "okay"; eeprom@51 { - compatible = "microchip,24c02"; - reg = <0x51>; + compatible = "atmel,24c02"; pagesize = <16>; + reg = <0x51>; + read-only; /* This holds our MAC */ }; }; -- 2.17.1