Received: by 2002:a05:7412:f589:b0:e2:908c:2ebd with SMTP id eh9csp1142346rdb; Wed, 1 Nov 2023 12:30:53 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFA7BL0YbnxHzKViL2Wfji4Rwhj+8W32NDf0RN08Od6aX8wqeCnRGq6YITmn+y0G03h6Hys X-Received: by 2002:a17:902:d488:b0:1cc:5f5a:5d3 with SMTP id c8-20020a170902d48800b001cc5f5a05d3mr9587399plg.22.1698867052789; Wed, 01 Nov 2023 12:30:52 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1698867052; cv=pass; d=google.com; s=arc-20160816; b=aZdAdmBLBb5CEy2KQZoU9hu3rYVlIXYN7Vi0QQL/kpccP4bcFZ4QRrz/eTZDGPaFxc ou0yf/kRTjBqB+KQxaWxv0aSEcsS1iKMAKA80IuoF4mESelGLAeRhb3zcesbgz11g9xU FYbkw9lmVq1zW/0hZ6FwDj9i2UWBPK91XjzHt196ZJwuuhK6kldfFlo1MVTe1eRliwbS a4dr1goqIPqTsCu3oJgqcsbfn37RWVK5AvAwwb//tmzEraYHBm9nEheWoyGOBDyboWzb H4rxZKrBr8mtcHS04ggxuUTh/BIcxSGRVHvCUv9F7t6aX9rA18Mtus/1/LXipkAT/itD dwKg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=EzJiwb0Y7D7f0nHCbqbuY0leYtFEGEJro3rzx/xHDC4=; fh=Ym4qTpD4M3cm0TbrVGNdP2Ob6NKlyMYuL0vwrAGUgx4=; b=0BAk9j1mNaUkjsApXy3s8P/myoZKghSdMGD2R+VMS3aTYVPV0FJEBJOHQs+N49W4k9 6ool2yuykxwQBlUeaKZ4dMlaRf1+gf3tTslQK2HVffpILRM3u8boF96pDsxULcDTZT8p EiAhcWm/PUcHgXfahXz/pI0hgPna2Aj49/V+YsnGoXfHO7pWfj75O8ecgeub6aDlUbUF 2XBPzwOTaoyKt4x/GICh/eiZLMjCBztTlN/M0Giy5qHPfYqLufVhH6i273byqu0DMxaF uPKR2VaosR4/gTkWWM5Lv9w64PlZ0gmO5yzY2VdvmcxbJVpM6X+LXrmAIhY1wB/lUF4J WcIw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@wiwynn.com header.s=selector2 header.b=xLsdGxiH; arc=pass (i=1); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=wiwynn.com Return-Path: Received: from snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id c17-20020a170902d49100b001bbad1883d5si3943373plg.293.2023.11.01.12.30.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 01 Nov 2023 12:30:52 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) client-ip=2620:137:e000::3:7; Authentication-Results: mx.google.com; dkim=pass header.i=@wiwynn.com header.s=selector2 header.b=xLsdGxiH; arc=pass (i=1); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=wiwynn.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id AD0EA802C7C8; Wed, 1 Nov 2023 03:07:16 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234760AbjKAKHD (ORCPT + 99 others); Wed, 1 Nov 2023 06:07:03 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47720 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234894AbjKAKG5 (ORCPT ); Wed, 1 Nov 2023 06:06:57 -0400 Received: from APC01-PSA-obe.outbound.protection.outlook.com (mail-psaapc01on2054.outbound.protection.outlook.com [40.107.255.54]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F218E1A4; Wed, 1 Nov 2023 03:06:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=hMdJzGsZtRYfECiI6oLqqc2dHw4VzXfhFGHG2gKpld+xowO6/TPcdDcSo8gMcI/JJpEN6ERzWjF+gwFuLURphRdU2ow+J55ydEXIGYMs9iHp7bxv9YxHre6/c5VoQHySr5iAZDHGmW5FI/PWn33CLqdeVfTfHWzoboHP+n05heGo5oqTj0JoRLj3wFZv72BGDqOD9MAysq8aYr+aFPm9WVGyesHjqmL+0FL8SSSpkTdOXGzh+DEsYHuepHOwBqUdPihCMj3Ls2c28tirjfiZyukiJUMGnJOaru/JMU/YSJO3jVl5hBLLUKnB7dc9v3LinoNlfxCNlGPK5EsCgY/p2w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; 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=EzJiwb0Y7D7f0nHCbqbuY0leYtFEGEJro3rzx/xHDC4=; b=J+nAduFJdA/19rsdp/49W5fgla5Rrmz/nnqqsl6m0XygNo2Yb25g6ed1ZEKHYxZouK2Pl3XcA1O4EZWvY3CIcH7ejccyonWJRSZApd7HcHjmRvUpZ3CizbfTbeyHKvV/H/SL2ZkcZeq9melwpN0yr9cAWyUJUBMHGcJkmiTYIg8P8lOPPYdNZVKZs3eyqaVWIhsJWfOoHKrbGLRhJSPHlMfg7D/4fw5EGytol+PJceYmzqa/AEjrZ2xGKP60nQWRQaLj9bMR5e6DhcD2+Wcl+TwAjmNea3uI3LZl99a6tYfse5T6Xq6pkWw8cVoq5Yjx0S5BlwL9eFKctYU3pfBWEA== 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=EzJiwb0Y7D7f0nHCbqbuY0leYtFEGEJro3rzx/xHDC4=; b=xLsdGxiHC0LAJNmQFkV7zR9D4D1NgtZ3Vj7dTOV1yg7vDTL/Ifd0rWJGxDr1l6G0c0hxtIsfohBVeTu09dCTTuT2fZCZTtqcO0cTFNTTyGQDNlQhLvOziSlqeF5CIKClZVWkh/0cxhhC85NzEwW/f7d3cqHdAS5ew2f9PhOmsqkmWoppENcAqR2/KJPdj4CaKGzBg5BwMkOmZ5UYjdHcDgLNiUCzQ/R+miA0Z4VAdHe4qaVw/qfvD63avDE4EZgtT472lPgO9Q+NK2rt3ycnqV8u4u7ExwuAptEcTigQQAsSXnqQg+CIsYx+RXXVHiBoJivv+IlVMpJg00Y+OYzimQ== Received: from PS2PR01CA0059.apcprd01.prod.exchangelabs.com (2603:1096:300:57::23) by SG2PR04MB5638.apcprd04.prod.outlook.com (2603:1096:4:1c2::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6933.25; Wed, 1 Nov 2023 10:06:36 +0000 Received: from HK3PEPF0000021C.apcprd03.prod.outlook.com (2603:1096:300:57:cafe::97) by PS2PR01CA0059.outlook.office365.com (2603:1096:300:57::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6954.19 via Frontend Transport; Wed, 1 Nov 2023 10:06:35 +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 HK3PEPF0000021C.mail.protection.outlook.com (10.167.8.38) with Microsoft SMTP Server id 15.20.6838.22 via Frontend Transport; Wed, 1 Nov 2023 10:06:35 +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 v1 07/10] ARM: dts: aspeed: yosemite4: Add gpio pca9506 Date: Wed, 1 Nov 2023 18:06:04 +0800 Message-Id: <20231101100609.2516844-8-Delphine_CC_Chiu@wiwynn.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20231101100609.2516844-1-Delphine_CC_Chiu@wiwynn.com> References: <20231101100609.2516844-1-Delphine_CC_Chiu@wiwynn.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: HK3PEPF0000021C:EE_|SG2PR04MB5638:EE_ Content-Type: text/plain X-MS-Office365-Filtering-Correlation-Id: 5b73f478-c173-496b-8c13-08dbdac23b60 X-MS-Exchange-AtpMessageProperties: SA X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: MKMf/9Ze5t5BkxQYHR22ENNyuzuPUmx7GajudUEiwD378neVd0Iafj7KteanOfHCBTjRljc13sprYQDB07gGUb2H62jbm78Ab2zAHadqUx1CaWK7wJltl+cRPqCoriXlyhIKbnRWnhSOfU0TtcunXPTr1G3Ve418S9w1VeJrUKc2I7UmVtA5o/4LXoycCnxpySxdoLF8PAZ/Be9gPrrDkVS6gSVWaXdKmZ1b66c4QweQy5xjBowKgBIyyyqYPLzwRFJ4+R7RutJh1pTndaYyvNRcH47IPMcTbbjbLIa5eahf7Y2flx4nP+WaxJUbzZgIB2+7vG4eBWD6yTQot+Q3fiQCPB8SnuI0lAKQGEXtBfkJSGgxZpdt6jXods65Ei7oB7gB+tKRHbLztg9OnA5vyVn1Aurxbaw+6GvxvuDfEAy9Qq9VY+AtwL39iJFWPw/yx9WHjC72UC/gQRYbRmQB6b+V77DyTFowR95NPavqMoR8JW/0e/el+QjXMNrdX/IHHl3VAgj79DLLjUeKoRCpoK/YP+jda/zg4CVbxXAvpS2teI4MAWP9pHZO3xfVb7x4kWjZ2b4kROApbGE2ft5JRcewW0wpXstBFO5QupKfp6pfh0Xx3CRKS885QIH8VFrM7OTBScsq8Wz3V0bfT8+cAT7pvxF6AauXh3N/9gL48NNVim282KLWaH55NLaRmHW+PJw/VGiJbdFWSjD0Srcm2A== 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:(13230031)(6069001)(4636009)(39860400002)(346002)(136003)(376002)(396003)(64100799003)(186009)(451199024)(1800799009)(82310400011)(46966006)(36840700001)(47076005)(356005)(81166007)(36860700001)(82740400003)(9316004)(6506007)(6666004)(6512007)(36736006)(478600001)(70206006)(70586007)(110136005)(6486002)(316002)(4326008)(8936002)(5660300002)(7416002)(2906002)(41300700001)(956004)(1076003)(2616005)(336012)(26005)(40480700001)(8676002)(36756003)(86362001);DIR:OUT;SFP:1101; X-OriginatorOrg: wiwynn.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 01 Nov 2023 10:06:35.5563 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 5b73f478-c173-496b-8c13-08dbdac23b60 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: HK3PEPF0000021C.apcprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: SG2PR04MB5638 X-Spam-Status: No, score=-0.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, RCVD_IN_MSPIKE_H2,RCVD_IN_VALIDITY_RPBL,SPF_HELO_PASS,SPF_PASS, T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Wed, 01 Nov 2023 03:07:16 -0700 (PDT) Add gpio pca9506 I/O expander for yv4 use Signed-off-by: Delphine CC Chiu --- .../aspeed/aspeed-bmc-facebook-yosemite4.dts | 251 ++++++++++++++++++ 1 file changed, 251 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 b9dd7705b172..e58d2ecf8ab5 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@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>; + }; + power-sensor@40 { compatible = "adi,adm1281"; reg = <0x40>; @@ -193,6 +221,34 @@ mctp@10 { reg = <(0x10 | I2C_OWN_SLAVE_ADDRESS)>; }; + 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>; + }; + power-sensor@40 { compatible = "adi,adm1281"; reg = <0x40>; @@ -211,6 +267,34 @@ mctp@10 { reg = <(0x10 | I2C_OWN_SLAVE_ADDRESS)>; }; + 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>; + }; + power-sensor@40 { compatible = "adi,adm1281"; reg = <0x40>; @@ -229,6 +313,34 @@ mctp@10 { reg = <(0x10 | I2C_OWN_SLAVE_ADDRESS)>; }; + 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>; + }; + power-sensor@40 { compatible = "adi,adm1281"; reg = <0x40>; @@ -247,6 +359,34 @@ mctp@10 { reg = <(0x10 | I2C_OWN_SLAVE_ADDRESS)>; }; + 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>; + }; + power-sensor@40 { compatible = "adi,adm1281"; reg = <0x40>; @@ -265,6 +405,34 @@ mctp@10 { reg = <(0x10 | I2C_OWN_SLAVE_ADDRESS)>; }; + 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>; + }; + power-sensor@40 { compatible = "adi,adm1281"; reg = <0x40>; @@ -283,6 +451,34 @@ mctp@10 { reg = <(0x10 | I2C_OWN_SLAVE_ADDRESS)>; }; + 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>; + }; + power-sensor@40 { compatible = "adi,adm1281"; reg = <0x40>; @@ -301,6 +497,34 @@ mctp@10 { reg = <(0x10 | I2C_OWN_SLAVE_ADDRESS)>; }; + 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>; + }; + power-sensor@40 { compatible = "adi,adm1281"; reg = <0x40>; @@ -683,6 +907,33 @@ rtc@6f { &i2c13 { status = "okay"; bus-frequency = <400000>; + 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 { -- 2.25.1