From patchwork Tue Jun 25 12:18:22 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yang Chen X-Patchwork-Id: 13711012 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 A5F85C2BBCA for ; Tue, 25 Jun 2024 12:21: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:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From: Reply-To:Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=NrtPbGSmykS0cLt2ThwHws1Euel48gln1tDvUnq/Z9E=; b=mrHVB5E9E1MRmFNtcjLaQwNCQQ tBXvjm5BElq8DaBQZyfbhRj3byvPxpufN6GJkJOAiqs7IkLM2za3G6RgX9nbEtgYWu0zdnh0atqIA RAuFdm9qyb/jLZkqn1WSEIDmV2v+XgLycHLCbulzL/EUPP0tuXieotq+woRIXyCAUHXx+E+6jd/cE RcROVYKa3QzHRgWtkKORXGUzKYAVgg4ud10eRCn9Us/Uaq51vj+onwcAaKh3menk2aVaY97Id8+OX gn4clt6R4c1/MeVuTuMX1TJ4oy71y14A9K38tY33uf8VLlLFOBfIeX2p06wEah29ET/yS4vcbLtAf EwPQ2RUw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sM5An-00000002hXe-0pqB; Tue, 25 Jun 2024 12:21:21 +0000 Received: from mail-pf1-x433.google.com ([2607:f8b0:4864:20::433]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sM5AG-00000002hDv-2wJI for linux-arm-kernel@lists.infradead.org; Tue, 25 Jun 2024 12:20:50 +0000 Received: by mail-pf1-x433.google.com with SMTP id d2e1a72fcca58-7067108f2cdso2188618b3a.1 for ; Tue, 25 Jun 2024 05:20:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1719318048; x=1719922848; darn=lists.infradead.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=NrtPbGSmykS0cLt2ThwHws1Euel48gln1tDvUnq/Z9E=; b=cnVOZH2bCH3WvODbL1/Ily3IYMVzo1Gnl2YBtQn82G4gMfLh60CvEscMBwF3rdoFOK yM8u8Dg0lXKUqK9QxL1us5oDNztg7BXjcTany5tL2yvfxfAtUJMmZgPvl3C1KBr/qEqJ ggAn4cM4E+zqcQLc30VC1/kRG5NJRp+/zw9saMl8qvJfvpO0vQaU1Wphb0DmaCQiCxvd dHC8gMQAnnVGxrL55P8ah4lyKIgucdUhCKlTKgu4ABfq7JSumD7j034Q+yJIF006ojvy oGqZa4nZ2g26PTSRoupKnkfLqd+/CsE0BX6dbeuXem1mZx8t6+bHvZTY6w3fIDw2JoWq UqAA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1719318048; x=1719922848; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=NrtPbGSmykS0cLt2ThwHws1Euel48gln1tDvUnq/Z9E=; b=u/TD7n6gDWte6AeiKf6ylDbz9t8MOhrPSiabdaRG8kiNAK6E8GpMIRBEFYhQnMroti VMgBli/BxR/agZJeZjXvihQ90pWZI8AE6JadUaEzQheNg9K4pfq/uF7afosfhNwa6Bu1 Zxhcn1cYY4H7+YqACvxymr6/+BBDl0kdqM06gh0QREeKObqiLf3rQE7zm6sN5Gf4JmBO quaWM6rIQQz4ofN+RPwP3dlIHUsOQjJ5PItrpXMpnR7ryx7eLT3G+GEQsujTqp2uIDpn UTxyv6Yw16AX5A9C7B9YB9u1IEYeRx7HOJQqEGzPMRJPmf3ITozkJpJXBh3tGC63P+Ei VPpQ== X-Forwarded-Encrypted: i=1; AJvYcCXm8hSFHkEGYrbIQKnepiAFVI/LD+yVeOeBRbGl4rpmSVH0eEgYe+ZjhX6/hCME0Ppg7xGmMS94CK786L9DsD4P4isZwzkB4rUmYvPN02/C21pjlms= X-Gm-Message-State: AOJu0YyO9+5OkF9u0Hb2nWU/fOajLKOWHuUlSUmS+m9dbmaIzxx9mEya kgN2DHEeovTWZ+0DWf6todcB+spo1zQqc5O8dE0LfHU0qKqDJ2cK5DsN0a/o X-Google-Smtp-Source: AGHT+IGzdeIjPSg2rWQ5ZEg4nniQMEMPO1e67nua4W+EJWyUQjrWionEjpF79ZppKBT76By0UdnM3A== X-Received: by 2002:aa7:990e:0:b0:705:9748:7bb8 with SMTP id d2e1a72fcca58-70671034a55mr8085919b3a.29.1719318048019; Tue, 25 Jun 2024 05:20:48 -0700 (PDT) Received: from obliging-System-Product-Name.dhcpserver.bu9bmc.local (61-220-246-151.hinet-ip.hinet.net. [61.220.246.151]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-70650e312e4sm7978146b3a.0.2024.06.25.05.20.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 25 Jun 2024 05:20:47 -0700 (PDT) From: Yang Chen To: joel@jms.id.au, andrew@codeconstruct.com.au, patrick@stwcx.xyz, linux-arm-kernel@lists.infradead.org, linux-aspeed@lists.ozlabs.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org Cc: Jerry.Lin@quantatw.com, yangchen.openbmc@gmail.com Subject: [PATCH 04/17] ARM: dts: aspeed: minerva: add eeprom on i2c bus Date: Tue, 25 Jun 2024 20:18:22 +0800 Message-Id: <20240625121835.751013-5-yangchen.openbmc@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240625121835.751013-1-yangchen.openbmc@gmail.com> References: <20240625121835.751013-1-yangchen.openbmc@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240625_052048_775005_B38A5C1B X-CRM114-Status: GOOD ( 10.27 ) 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 From: Yang Chen Add eeprom on the i2c-9 address 0x50 and i2c-15 address 0x56. Signed-off-by: Yang Chen --- .../boot/dts/aspeed/aspeed-bmc-facebook-minerva.dts | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-minerva.dts b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-minerva.dts index b0643d1d549b..19f609cfd026 100644 --- a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-minerva.dts +++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-minerva.dts @@ -324,6 +324,11 @@ &i2c8 { &i2c9 { status = "okay"; + + eeprom@50 { + compatible = "atmel,24c64"; + reg = <0x50>; + }; }; &i2c10 { @@ -360,6 +365,11 @@ eeprom@50 { compatible = "atmel,24c128"; reg = <0x50>; }; + + eeprom@56 { + compatible = "atmel,24c64"; + reg = <0x56>; + }; }; &adc0 {