From patchwork Thu Jun 13 15:24:25 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: PeterYin X-Patchwork-Id: 13696986 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 5C54FC27C6E for ; Thu, 13 Jun 2024 15:27:28 +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=rwI/HNhW+KLaFfAR0mDxuIlHrsRtZCH23dDOp06Pu+Q=; b=Dz5HoZvaIaW0kiIPkfyu3pgbJJ D0x0CGGauvNFXeuP09BHrYt718oSnLLGnKT9s9F/Zs8kN9nVZl8AHHheehizkzhJAhL/8ZwlfTDxl Mt5Un7p+0Bfw8gL/mwhXn+mfyQNTZJM2lLARaMy6AB7b39pqqVTVZF6GyR4/lYcmPQpz8EF3b8D9P FNGbK4iDWdml3A2rkmnVsAFth1sdoGIfgp/yEA/TQix/brGWU5PgCXDkNci9c5x/t7v7StLc7N+w/ aGN4JHOOjtlPtTHXiyFQ08H+/LYkmtslYSHh6fO4ywMf+HR9lwQ0kgaXJ1rVHBFe6mPMVGIRzm1mm wMwUP6tQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sHmM9-0000000HAGJ-2UTc; Thu, 13 Jun 2024 15:27:17 +0000 Received: from mail-oo1-xc2c.google.com ([2607:f8b0:4864:20::c2c]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sHmLi-0000000H9wn-20uC for linux-arm-kernel@lists.infradead.org; Thu, 13 Jun 2024 15:26:51 +0000 Received: by mail-oo1-xc2c.google.com with SMTP id 006d021491bc7-5b52b0d0dfeso627138eaf.0 for ; Thu, 13 Jun 2024 08:26:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1718292409; x=1718897209; 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=rwI/HNhW+KLaFfAR0mDxuIlHrsRtZCH23dDOp06Pu+Q=; b=Ab/XHuRwArQbucW99HQFkHEOYobBwCezEU+0+ihxJJemhMKZ4Qe2yHJv6kpKJ3G+r/ rJLgH/ktPtjT4e5H/Cm7PGm5GgpgE+YXVsPoSysDryWNVvMhIjFKX3EFRI6EDwNdO7cP 74HhUjfxjW/pOkVSjQsoWnMHPbDw960i6nBk5o1JO3VOjZci/rwq8tnISGDTcjuSYVWq aaO4S4jWiEEj24fOmuY+mW66JMYLeSqxDHL7nzWkdwT2k9WwMkdGXlmXQYGWsRZXSKDg xeclhSMefUvrQXQ/3ztqLj7Wsp8Ka0ydINJd76haYcYVHpgaUqgmLdLYNQYhjqLBbXr+ ZcMQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718292409; x=1718897209; 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=rwI/HNhW+KLaFfAR0mDxuIlHrsRtZCH23dDOp06Pu+Q=; b=OK2NhwXsmL1+JWGcbAb9vkrGMd7U1Ik1b7XVJCcbL0p8lckHMC5EtGulhQ/Y8Jmpp9 StObur6Bn94xkkLt76u6vU6dVMb1FkjbZytGZgxT+wv5UzqJEXY6ybtY2sjb1hI9ochr k3XsSMuvxWSF1koCH1bYSWsSk8T4UJP86ca/7tl25mUJzAiBmS52CsWg5dJml6rAeVyW qMkvkbBdHjReuy6q1lsklnoBnPRE/Ni+CAvvgu+z1Fv7qKycmQ3Fx9q3geKCRF8hIkb2 trZ/b2gS3wc20og8ta46/o3jM0j50VKqFjPQ6lr4F8bV5un4cGWz9vNcYk2JMVgU49J8 InNQ== X-Forwarded-Encrypted: i=1; AJvYcCW25lZL1Swpsf9t1mSBrZGwivxB792WEvUxu9sTBtSlsMFVNNQIaIwMOVVRvn5huIlQKSqYQNH1MRTao/pg9/Rj42Q7XS38EFFMckhjw0K4aTzj9O0= X-Gm-Message-State: AOJu0YxKInBcO2Ag4ZyrsR1o4NnflpbGicfLe3za6lqdshHRAdu4RwZB I1zdGay9CvKQ3OUqNfs41gGfyhjbMonMaqY09xrbYkCqkVgVMvv5 X-Google-Smtp-Source: AGHT+IEb6jZiHrXtDO8lryaRnm7jdVVTAkWt5alb7bZewa05Z+A7qVZBuRcEhv6XaHOnlahOVxqFlA== X-Received: by 2002:a05:6359:4c82:b0:19f:4fda:4163 with SMTP id e5c5f4694b2df-19fa9ddf24fmr11457155d.1.1718292409110; Thu, 13 Jun 2024 08:26:49 -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 41be03b00d2f7-6fee41663d2sm1198183a12.92.2024.06.13.08.26.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 13 Jun 2024 08:26:48 -0700 (PDT) From: Peter Yin To: patrick@stwcx.xyz, 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 v1 7/7] ARM: dts: aspeed: Harma: remove pca9546 Date: Thu, 13 Jun 2024 23:24:25 +0800 Message-Id: <20240613152425.1582059-8-peteryin.openbmc@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240613152425.1582059-1-peteryin.openbmc@gmail.com> References: <20240613152425.1582059-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-20240613_082650_585536_094F7CA7 X-CRM114-Status: GOOD ( 11.17 ) 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 remove pca9546 and add Aegis fru device Signed-off-by: Peter Yin --- .../dts/aspeed/aspeed-bmc-facebook-harma.dts | 56 +++++++++---------- 1 file changed, 25 insertions(+), 31 deletions(-) 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 d892e646fced..4ff9e0104bbe 100644 --- a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-harma.dts +++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-harma.dts @@ -20,10 +20,6 @@ aliases { i2c21 = &imux21; i2c22 = &imux22; i2c23 = &imux23; - i2c24 = &imux24; - i2c25 = &imux25; - i2c26 = &imux26; - i2c27 = &imux27; i2c28 = &imux28; i2c29 = &imux29; i2c30 = &imux30; @@ -391,33 +387,6 @@ gpio@31 { "","","",""; }; - i2c-mux@71 { - compatible = "nxp,pca9546"; - reg = <0x71>; - #address-cells = <1>; - #size-cells = <0>; - - imux24: i2c@0 { - #address-cells = <1>; - #size-cells = <0>; - reg = <0>; - }; - imux25: i2c@1 { - #address-cells = <1>; - #size-cells = <0>; - reg = <1>; - }; - imux26: i2c@2 { - #address-cells = <1>; - #size-cells = <0>; - reg = <2>; - }; - imux27: i2c@3 { - #address-cells = <1>; - #size-cells = <0>; - reg = <3>; - }; - }; // PTTV FRU eeprom@52 { compatible = "atmel,24c64"; @@ -427,6 +396,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 {