From patchwork Mon Aug 26 06:23:41 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Delphine CC Chiu X-Patchwork-Id: 13777160 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 C93D8C5321D for ; Mon, 26 Aug 2024 06:51:04 +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-Type: Content-Transfer-Encoding:MIME-Version:References:In-Reply-To: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:List-Owner; bh=VIYwTFLr7k3/66Qq65omckRUKm3v7IIjsRhJzbIKUfk=; b=zko/FrqQt1lHr4P8Zihl5VxR5/ cnn2M+ZXwtGB8Klls4Yh/AkZ+ZHf7d2nZ8bL88SVVrWxhVCV1fUXLCY9CgQP8hPoILOveTc2DRsXt rM5WZdtgZ4jEKooDMfwdYveLyXQtXzliwkhI7/twlCyn8ZuJwJbTSaykyVqv76DS4/Iv4xt4TIrZk L2S4j6+hQUzThuN59zB/cNytmnwfTKnxrGfbFCB5SsAy81DBkewzCZrw5j7W6hT4GavOJmSH1iU75 Jw3GFiCFOCsTAsltpzfQQLSC73Cxf4+OU7ITZ0pMLS+ra3Awq1d2wRXQKTt0wOARNxjSd/xlOdlJg FUaHnB+w==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1siTZ0-000000067Mz-3vvH; Mon, 26 Aug 2024 06:50:54 +0000 Received: from mail-eastasiaazlp170100000.outbound.protection.outlook.com ([2a01:111:f403:c400::] helo=HK2PR02CU002.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1siT9v-000000060E1-08VF for linux-arm-kernel@lists.infradead.org; Mon, 26 Aug 2024 06:25:01 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=tI9aUT7M7/I+S03W0oKd77UM4rpbspkmrrZ1EEVPhXDVUdUY76UU2bZh8piaijj1c6grQCB3irCuIOnlaB0aE4UTptuHHW9n9aG2rpUDLKSUGiAhj+FcGjp22vEseoVmwfYYsyEbgiKM625xXVXWsjfV4Vw4vvv7aOGMzNGBz0v3WBg9f8JtNU4+YBZjZS6oljcCPscPFZ/BLYNd6n9GRc+ZGzk+vHKIwxPwzvX4ZLbxssteIMAJIyrndGKGmEyJcE6sLw/JWVX7FL2bAIOdatX22h4UGhiDlrPomUvkkpD/tAhKHxMGFdKEzE0ZTkyrXI5BRHAJb3Wp23uYL3eG8Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=VIYwTFLr7k3/66Qq65omckRUKm3v7IIjsRhJzbIKUfk=; b=XwklJSKx57UrPIV6/pcuyzm50wbCuFsiuqX2qZH/W6dJh5bGk5+ZF4lhIGHBEmpRF18aru75n9Ko9c+KMtDAAEcOID48wYhuEJHDmea9XyDAw3uN5v4nVM8pbeoaIXY6UjxUvatbfygFU6Z2+2eddH2ull5igcS3epueJQgwG0O88nX7KUH+JVUsg502odZN2nPdR/q6aXsTexYK1HjagpKmJi2if6UopWbx7a95EB2OS2uL1NUOKFRb6FYY+juLV9mfIwFuaLAZCwVpr0jNe3DAyan7A59NNgG+ifXd0PprLKY9/OiQOHc9q5HGqJRpzF18jqD8h15qE87Rf3tbVQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=fail (sender ip is 211.20.1.79) smtp.rcpttodomain=stwcx.xyz smtp.mailfrom=wiwynn.com; dmarc=fail (p=quarantine sp=quarantine pct=100) action=quarantine header.from=wiwynn.com; dkim=none (message not signed); arc=none (0) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=wiwynn.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=VIYwTFLr7k3/66Qq65omckRUKm3v7IIjsRhJzbIKUfk=; b=MJ2GK2bZiycNx+heIOjLBY9MTaKiabC90IA2tK6fDhR5L3T3+s2OqIzbgSWf/NnjdkXY3lByJpiCeocSPwFlLsI88B8jR4tS42R1Zi4TJ/lU5S87NKCi3/P71uBE0XJVg0oVmey7uLV3+GIv80KlBG+Kk2qsUygDO4tgn1VmZ75vSgJFExum0x+SrgXEo517T53TPHO+x2idkXYAIFnuE9vJ2dnz4nF97R05Xvluw4Hh6R9WYHQejVZr16WC9kfFL6gR4o1sRQlqz9ZZ+gSBvqGraZZqYlBYIpTRXl2KAgaNvoeNsyCnXu4LMa5BNVRYdTtZy0vsTTnQFpQj93tUJQ== Received: from PUZP153CA0012.APCP153.PROD.OUTLOOK.COM (2603:1096:301:c2::20) by SEZPR04MB6876.apcprd04.prod.outlook.com (2603:1096:101:ec::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7875.20; Mon, 26 Aug 2024 06:24:47 +0000 Received: from HK2PEPF00006FB0.apcprd02.prod.outlook.com (2603:1096:301:c2:cafe::fe) by PUZP153CA0012.outlook.office365.com (2603:1096:301:c2::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7918.14 via Frontend Transport; Mon, 26 Aug 2024 06:24:47 +0000 X-MS-Exchange-Authentication-Results: spf=fail (sender IP is 211.20.1.79) smtp.mailfrom=wiwynn.com; dkim=none (message not signed) header.d=none;dmarc=fail action=quarantine header.from=wiwynn.com; Received-SPF: Fail (protection.outlook.com: domain of wiwynn.com does not designate 211.20.1.79 as permitted sender) receiver=protection.outlook.com; client-ip=211.20.1.79; helo=localhost.localdomain; Received: from localhost.localdomain (211.20.1.79) by HK2PEPF00006FB0.mail.protection.outlook.com (10.167.8.6) with Microsoft SMTP Server id 15.20.7918.13 via Frontend Transport; Mon, 26 Aug 2024 06:24:47 +0000 From: Delphine CC Chiu To: patrick@stwcx.xyz, Rob Herring , Krzysztof Kozlowski , Conor Dooley , Joel Stanley , Andrew Jeffery Cc: Delphine CC Chiu , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-aspeed@lists.ozlabs.org, linux-kernel@vger.kernel.org Subject: [PATCH v14 07/31] ARM: dts: aspeed: yosemite4: Add gpio pca9506 Date: Mon, 26 Aug 2024 14:23:41 +0800 Message-Id: <20240826062408.2885174-8-Delphine_CC_Chiu@wiwynn.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240826062408.2885174-1-Delphine_CC_Chiu@wiwynn.com> References: <20240826062408.2885174-1-Delphine_CC_Chiu@wiwynn.com> MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: HK2PEPF00006FB0:EE_|SEZPR04MB6876:EE_ X-MS-Office365-Filtering-Correlation-Id: 6a38f719-a67f-46f7-53b7-08dcc597c87c X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|1800799024|376014|7416014|82310400026|36860700013; X-Microsoft-Antispam-Message-Info: T9knfn4l+HoRKd0HiH2cEOY5WcIxp2+0LqwubOdgeZMMowr1v/nzo5i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JySV/F0a8PtHiF8tFuhGAnLksPNF0uOCVZWUbn/MQ5TFUWQoi3iI+L4BUJhLSUIWN+OluJ7iwDZ1j4EvXzff/4zbHqtfqn8F8P9xN3Kw5KQkE3FebZ3XiLrbjoxtVRSHIOq3EezffKWzI1N4XPdk/8GKqTV23CBFhkPhC5tMmsKorunpVZ1SLuZ/pZt5NwEJwjFOUnkFn8oDVe5CU1h5Y3fxjRQTPD37xjQ3+ANB5JGLv2536jvmCAQJaVBvwwHzVJa8yBgC16v55mk72AHbeW+Yh+Wpk0jTKMeLboaRh6qKIIPFkN9V6WeOUQUTSAXFS1yC66 X-Forefront-Antispam-Report: CIP:211.20.1.79;CTRY:TW;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:localhost.localdomain;PTR:211-20-1-79.hinet-ip.hinet.net;CAT:NONE;SFS:(13230040)(1800799024)(376014)(7416014)(82310400026)(36860700013);DIR:OUT;SFP:1101; X-OriginatorOrg: wiwynn.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 26 Aug 2024 06:24:47.1748 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 6a38f719-a67f-46f7-53b7-08dcc597c87c X-MS-Exchange-CrossTenant-Id: da6e0628-fc83-4caf-9dd2-73061cbab167 X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=da6e0628-fc83-4caf-9dd2-73061cbab167;Ip=[211.20.1.79];Helo=[localhost.localdomain] X-MS-Exchange-CrossTenant-AuthSource: HK2PEPF00006FB0.apcprd02.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: SEZPR04MB6876 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240825_232459_145190_639AA21D X-CRM114-Status: UNSURE ( 7.26 ) X-CRM114-Notice: Please train this message. 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 gpio pca9506 I/O expander for yv4 use Signed-off-by: Delphine CC Chiu --- .../aspeed/aspeed-bmc-facebook-yosemite4.dts | 252 ++++++++++++++++++ 1 file changed, 252 insertions(+) diff --git a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts index 7b79fcd77c8c..f4d27f1ffdb8 100644 --- a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts +++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts @@ -175,6 +175,34 @@ mctp@10 { reg = <(0x10 | I2C_OWN_SLAVE_ADDRESS)>; }; + gpio@21 { + compatible = "nxp,pca9506"; + reg = <0x21>; + gpio-controller; + #gpio-cells = <2>; + }; + + gpio@22 { + compatible = "nxp,pca9506"; + reg = <0x22>; + gpio-controller; + #gpio-cells = <2>; + }; + + gpio@23 { + compatible = "nxp,pca9506"; + reg = <0x23>; + gpio-controller; + #gpio-cells = <2>; + }; + + gpio@24 { + compatible = "nxp,pca9506"; + reg = <0x24>; + gpio-controller; + #gpio-cells = <2>; + }; + power-sensor@40 { compatible = "adi,adm1281"; reg = <0x40>; @@ -193,6 +221,34 @@ mctp@10 { reg = <(0x10 | I2C_OWN_SLAVE_ADDRESS)>; }; + gpio@21 { + compatible = "nxp,pca9506"; + reg = <0x21>; + gpio-controller; + #gpio-cells = <2>; + }; + + gpio@22 { + compatible = "nxp,pca9506"; + reg = <0x22>; + gpio-controller; + #gpio-cells = <2>; + }; + + gpio@23 { + compatible = "nxp,pca9506"; + reg = <0x23>; + gpio-controller; + #gpio-cells = <2>; + }; + + gpio@24 { + compatible = "nxp,pca9506"; + reg = <0x24>; + gpio-controller; + #gpio-cells = <2>; + }; + power-sensor@40 { compatible = "adi,adm1281"; reg = <0x40>; @@ -211,6 +267,34 @@ mctp@10 { reg = <(0x10 | I2C_OWN_SLAVE_ADDRESS)>; }; + gpio@21 { + compatible = "nxp,pca9506"; + reg = <0x21>; + gpio-controller; + #gpio-cells = <2>; + }; + + gpio@22 { + compatible = "nxp,pca9506"; + reg = <0x22>; + gpio-controller; + #gpio-cells = <2>; + }; + + gpio@23 { + compatible = "nxp,pca9506"; + reg = <0x23>; + gpio-controller; + #gpio-cells = <2>; + }; + + gpio@24 { + compatible = "nxp,pca9506"; + reg = <0x24>; + gpio-controller; + #gpio-cells = <2>; + }; + power-sensor@40 { compatible = "adi,adm1281"; reg = <0x40>; @@ -229,6 +313,34 @@ mctp@10 { reg = <(0x10 | I2C_OWN_SLAVE_ADDRESS)>; }; + gpio@21 { + compatible = "nxp,pca9506"; + reg = <0x21>; + gpio-controller; + #gpio-cells = <2>; + }; + + gpio@22 { + compatible = "nxp,pca9506"; + reg = <0x22>; + gpio-controller; + #gpio-cells = <2>; + }; + + gpio@23 { + compatible = "nxp,pca9506"; + reg = <0x23>; + gpio-controller; + #gpio-cells = <2>; + }; + + gpio@24 { + compatible = "nxp,pca9506"; + reg = <0x24>; + gpio-controller; + #gpio-cells = <2>; + }; + power-sensor@40 { compatible = "adi,adm1281"; reg = <0x40>; @@ -247,6 +359,34 @@ mctp@10 { reg = <(0x10 | I2C_OWN_SLAVE_ADDRESS)>; }; + gpio@21 { + compatible = "nxp,pca9506"; + reg = <0x21>; + gpio-controller; + #gpio-cells = <2>; + }; + + gpio@22 { + compatible = "nxp,pca9506"; + reg = <0x22>; + gpio-controller; + #gpio-cells = <2>; + }; + + gpio@23 { + compatible = "nxp,pca9506"; + reg = <0x23>; + gpio-controller; + #gpio-cells = <2>; + }; + + gpio@24 { + compatible = "nxp,pca9506"; + reg = <0x24>; + gpio-controller; + #gpio-cells = <2>; + }; + power-sensor@40 { compatible = "adi,adm1281"; reg = <0x40>; @@ -265,6 +405,34 @@ mctp@10 { reg = <(0x10 | I2C_OWN_SLAVE_ADDRESS)>; }; + gpio@21 { + compatible = "nxp,pca9506"; + reg = <0x21>; + gpio-controller; + #gpio-cells = <2>; + }; + + gpio@22 { + compatible = "nxp,pca9506"; + reg = <0x22>; + gpio-controller; + #gpio-cells = <2>; + }; + + gpio@23 { + compatible = "nxp,pca9506"; + reg = <0x23>; + gpio-controller; + #gpio-cells = <2>; + }; + + gpio@24 { + compatible = "nxp,pca9506"; + reg = <0x24>; + gpio-controller; + #gpio-cells = <2>; + }; + power-sensor@40 { compatible = "adi,adm1281"; reg = <0x40>; @@ -283,6 +451,34 @@ mctp@10 { reg = <(0x10 | I2C_OWN_SLAVE_ADDRESS)>; }; + gpio@21 { + compatible = "nxp,pca9506"; + reg = <0x21>; + gpio-controller; + #gpio-cells = <2>; + }; + + gpio@22 { + compatible = "nxp,pca9506"; + reg = <0x22>; + gpio-controller; + #gpio-cells = <2>; + }; + + gpio@23 { + compatible = "nxp,pca9506"; + reg = <0x23>; + gpio-controller; + #gpio-cells = <2>; + }; + + gpio@24 { + compatible = "nxp,pca9506"; + reg = <0x24>; + gpio-controller; + #gpio-cells = <2>; + }; + power-sensor@40 { compatible = "adi,adm1281"; reg = <0x40>; @@ -301,6 +497,34 @@ mctp@10 { reg = <(0x10 | I2C_OWN_SLAVE_ADDRESS)>; }; + gpio@21 { + compatible = "nxp,pca9506"; + reg = <0x21>; + gpio-controller; + #gpio-cells = <2>; + }; + + gpio@22 { + compatible = "nxp,pca9506"; + reg = <0x22>; + gpio-controller; + #gpio-cells = <2>; + }; + + gpio@23 { + compatible = "nxp,pca9506"; + reg = <0x23>; + gpio-controller; + #gpio-cells = <2>; + }; + + gpio@24 { + compatible = "nxp,pca9506"; + reg = <0x24>; + gpio-controller; + #gpio-cells = <2>; + }; + power-sensor@40 { compatible = "adi,adm1281"; reg = <0x40>; @@ -690,6 +914,34 @@ ipmb@10 { reg = <(0x10 | I2C_OWN_SLAVE_ADDRESS)>; i2c-protocol; }; + + gpio@20 { + compatible = "nxp,pca9506"; + reg = <0x20>; + gpio-controller; + #gpio-cells = <2>; + }; + + gpio@21 { + compatible = "nxp,pca9506"; + reg = <0x21>; + gpio-controller; + #gpio-cells = <2>; + }; + + gpio@22 { + compatible = "nxp,pca9506"; + reg = <0x22>; + gpio-controller; + #gpio-cells = <2>; + }; + + gpio@23 { + compatible = "nxp,pca9506"; + reg = <0x23>; + gpio-controller; + #gpio-cells = <2>; + }; }; &i2c14 {