From patchwork Thu Aug 1 16:01:31 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: PeterYin X-Patchwork-Id: 13750695 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 5D084C3DA4A for ; Thu, 1 Aug 2024 16:08:10 +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:To:From:Reply-To: Cc:Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=lMUkek2hVzU0p0l016s6b0CKb/s4GTG52EiEP4PKD44=; b=pDwNa9SNu8rI9hxL3wJGgmo0X9 tctM78fUm+wC3sdPWdB1EDglJdhDDRbZnwGH3wptDBwrp95k2b6dy8P3a4xF842xeOLNBAhtrbLPi ebRBpxXtPjERKz+wcNMRbnGYytOZBdXN2Aiek7cObMRJXiMbc4cQt7bY+vw0FLsAhBoeHeAx2DJFP MzC9O26yqD/QZtjzfYq5KR7WKYucv8RVXgfQVEfdYcCjQ5PugYRUjiDka/DIFQILgq2OfyRa7Ntts p4aKE+5apJpau4XQHI2QlTm8edUhcq9ZvSVnoNiTLfLCc4b/zIlmHq+szeLYmUgj2lK1LLDVTvARW BqSj/y3g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sZYLP-00000005ywn-19Ai; Thu, 01 Aug 2024 16:07:59 +0000 Received: from mail-pl1-x62a.google.com ([2607:f8b0:4864:20::62a]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sZYHY-00000005xWO-38wT for linux-arm-kernel@lists.infradead.org; Thu, 01 Aug 2024 16:04:02 +0000 Received: by mail-pl1-x62a.google.com with SMTP id d9443c01a7336-1fd640a6454so56294605ad.3 for ; Thu, 01 Aug 2024 09:04:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1722528240; x=1723133040; darn=lists.infradead.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=lMUkek2hVzU0p0l016s6b0CKb/s4GTG52EiEP4PKD44=; b=C6dTaMzMfsmIBOQaBCNN9ytFMrIFuKmsKE0jvUxW5QScHbcqodGnF2b1RdtBwZ3mq6 pP3udd5EP+jSfyN+NPVNKa7+Qu414GE8mkNWvPn11X2SObfPG1lM//YW1iU1Zl45jG4P RZ31nvOHe3EeKUVrEc5X+EeShvI8tMf+qSAo9zCcVVOJ/L34mVDDOZm0I3/swzKo5U4d P++3t9VcjK1M2ju+0dtOsok+TfeS9v8SbVv3727DIFD9uc82LQFy/nxxQyYmXSi7wh11 dWQlfak07eDeABTQY3DcloQzbWPo846KeC+0Qr29HqZECoMnYAfaGiUyYSJRw6RlMBNQ Z0fw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1722528240; x=1723133040; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=lMUkek2hVzU0p0l016s6b0CKb/s4GTG52EiEP4PKD44=; b=cWlqqnqMhMuAIUnhfACN4lniljBkWZBJCjxQ+xN8ZDB9zhYPwIQf7xPySV9XuCfnln 3sRHR8G4WXJ8LfxUUZkdYvU7lUtGbGPVN3BFvHOQXQnXtO+KAWf4Z8Z6+uuu1+aLkeJ8 F8LB5h/h5mqt/bferdQfU7VLKHlWQBLMr5qkReimVPHNRYfU7ww3cUsJPxemhgPRKT0A K26WBP1gpUuhY0xdkhv0Sxz+2UNXhGUX50klZZltJXUA0mah5nKoogso6qSdGDABvfFS XgkFccQ+rIG8xo8n0sImfr0L3zD7vYKDAFe5nY+loslTGd45HgTg4tU+Degsw/KbjNCK CcEg== X-Forwarded-Encrypted: i=1; AJvYcCXlMXqzBdSusNbkexa7/n43Y/F1itlmWTOnNhF0I7FyHiJ93I7oeUy46Uoub2K/Z984zEchal09cgM/c5djFZXq60wWVzUG0AVDxX+PrPROY9f2lao= X-Gm-Message-State: AOJu0YyqMizDDBFHuNErOqUewb8xOSzuJjTr7wB1GlyPudYm/+LXtg9Q 0jKKcpbio2gUEPUJiKJidUr9sXKSHV83bhE6nv7isQDw8Tu+5FKz X-Google-Smtp-Source: AGHT+IH0JtqqECKHnudAUXqhOjRTWHB80HJL81jyDNQofXWGUg5tNgWs/U7hOX2Nsy2Ud8Tz78eT4w== X-Received: by 2002:a17:90b:4c05:b0:2c8:85c:750b with SMTP id 98e67ed59e1d1-2cff952f21emr765328a91.34.1722528239873; Thu, 01 Aug 2024 09:03:59 -0700 (PDT) Received: from peter-bmc.dhcpserver.bu9bmc.local (61-220-246-151.hinet-ip.hinet.net. [61.220.246.151]) by smtp.gmail.com with ESMTPSA id 98e67ed59e1d1-2cfdc4cf181sm3535268a91.37.2024.08.01.09.03.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 01 Aug 2024 09:03:59 -0700 (PDT) From: Peter Yin To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Joel Stanley , Andrew Jeffery , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-aspeed@lists.ozlabs.org, linux-kernel@vger.kernel.org Subject: [PATCH v3 07/11] ARM: dts: aspeed: Harma: add fru device Date: Fri, 2 Aug 2024 00:01:31 +0800 Message-Id: <20240801160136.1281291-8-peteryin.openbmc@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240801160136.1281291-1-peteryin.openbmc@gmail.com> References: <20240801160136.1281291-1-peteryin.openbmc@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240801_090400_809953_8681C53A X-CRM114-Status: GOOD ( 10.60 ) 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 Add Aegis fru device and gpio expander device in bus 11. Signed-off-by: Peter Yin --- .../dts/aspeed/aspeed-bmc-facebook-harma.dts | 25 +++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-harma.dts b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-harma.dts index e10ee54fe472..f55ffe9c4d89 100644 --- a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-harma.dts +++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-harma.dts @@ -427,6 +427,31 @@ eeprom@52 { &i2c11 { status = "okay"; + + gpio@30 { + compatible = "nxp,pca9555"; + reg = <0x30>; + gpio-controller; + #gpio-cells = <2>; + }; + gpio@31 { + compatible = "nxp,pca9555"; + reg = <0x31>; + gpio-controller; + #gpio-cells = <2>; + + gpio-line-names = + "","","","", + "","","presence-cmm","", + "","","","", + "","","",""; + }; + + // Aegis FRU + eeprom@52 { + compatible = "atmel,24c64"; + reg = <0x52>; + }; }; &i2c12 {