Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp3835597rdb; Mon, 11 Dec 2023 01:00:33 -0800 (PST) X-Google-Smtp-Source: AGHT+IG/5Nxw3Wb9uoWvZt0mxHOMJu3+yB9c1QPHrTU+xCNf2Gnig7lubZaX6q6L4kek1CAtxQHB X-Received: by 2002:a05:6358:27a3:b0:170:406a:67ea with SMTP id l35-20020a05635827a300b00170406a67eamr793954rwb.59.1702285233032; Mon, 11 Dec 2023 01:00:33 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1702285232; cv=pass; d=google.com; s=arc-20160816; b=gFt0zIVoXbzpUbk9lqOgy6ZzwhJniyrvvt+aUj9emGfzVQ/HK1gR6wj5ZU2lrUAPsZ PKC1qZsEgmrsy9KiiJCSz4EUQyunUzpIWUEYZPfgIsKF7UW3bFKeFE3yZ3MmAKBYp5Rc FRUhL8PQON79rOi5sZqQ+lSnRpZmX+adYHKyoF0mnXuBvwyXCR2arVNQB3l8P2m0C07p jQMgKbxby+iLUqqR11q3+j/OvWlw+xwkDsW2AsZj7hXFONDi39E7bpSeGw+awYn3+/Nt a3Cpi8yw5I2AlpA0vqhtrxX3vo8U+XBgxmpLEQggH74BWBlSNS+k8lRoy2h+SpiPjRp9 ptWw== 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=SMd6HYaAsmF5z7kcGL9OkN6HPkOFiqEArjYVw3SCJWM=; fh=Ym4qTpD4M3cm0TbrVGNdP2Ob6NKlyMYuL0vwrAGUgx4=; b=yBNA2b8/+r+Lb2GtR82K1My4F7L+HBbIe07/3IdMG3ZiWRhgGjBA0cYr4YgYdWf9yo cHi+FPslkOHqML9Bsq2Zr787Vb6BAucTxhB5GU0KiVX33bs+xjPs+Gsx9k3yQlR8bg18 tMa9WcTUHsWH4G+g0rty+DrMS6u60KX+64BVh399KyLJuzDTOZqhAGIfsANVlI1IDnob QCwGeuESnKCmWHwEo+N9hDzgzULJViYUo2AIYQhBEXo7hWxuR6EAM/s2cxqNsYq1JH0h pwXSUyL2+L5MUhZ3i8+ww5SuuXAjI6uY4Xh0lVBk3w29Kyf+oJ3HETYICJlqzWWlkN+H XrMA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@wiwynn.com header.s=selector2 header.b="h/DzDV1k"; arc=pass (i=1); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 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 howler.vger.email (howler.vger.email. [23.128.96.34]) by mx.google.com with ESMTPS id f15-20020a65628f000000b005c66e4949a8si5776513pgv.246.2023.12.11.01.00.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 11 Dec 2023 01:00:32 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) client-ip=23.128.96.34; Authentication-Results: mx.google.com; dkim=pass header.i=@wiwynn.com header.s=selector2 header.b="h/DzDV1k"; arc=pass (i=1); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 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 howler.vger.email (Postfix) with ESMTP id 3738C80A1E00; Sun, 10 Dec 2023 21:49:19 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233540AbjLKFso (ORCPT + 99 others); Mon, 11 Dec 2023 00:48:44 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37488 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233295AbjLKFsa (ORCPT ); Mon, 11 Dec 2023 00:48:30 -0500 Received: from APC01-SG2-obe.outbound.protection.outlook.com (mail-sgaapc01on2082.outbound.protection.outlook.com [40.107.215.82]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E835719A5; Sun, 10 Dec 2023 21:48:14 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=od5CnK6PcpeCGrKURnW14pWXinvYhHk+1uQ7o4LFeF2/2+b9liaZpkFQjf+Ow8SAnE/mT90+m2xWrDNKfFU6D2VkSW805a/bXxIpMwq54ZuXQKijIFjNBa6OhLcJBEovbfqucrkzTpq6yvi9VZVUDhxF09sRy8CfFfi1nFevbOMpcVAV0v3u+xwTPhFW6c5/tyTjGyoRQM7s3nDsa21Btht/GuA+Uh8Q2o56/D+8VSYZIuPhkvQlQL1sxSf/26Ef7dLmX52cZi1vRl7ZaeyNSU6BvqvRRcsVpCPrwz9O2PSwaXf70D5S7w/BqMCbhAqv9/ksH5uFAA+g9xSk6/GYqQ== 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=SMd6HYaAsmF5z7kcGL9OkN6HPkOFiqEArjYVw3SCJWM=; b=VEKDKAFVmAFrz8a+0PNnU113nYPuOXOENU/cxSNIy+yjRSyc5/WWu7t2XMqJnf+5928KFSGTbGX1epnY+4JrKadAVhzrRUu473RtZdC2+1xqi48CnwFdiwpmWGuq2MkPivSa2Fz77Ww1Hjs+VZ4rqnXyCgHYSiJj7Fty/MyNWtfaSZeIt3TL3BRlRxO27kkkPYrfxMS/czYG28lvOpWMidvQoXYgefQvUa4yRqL9YZKQdPEqnIkL/2B3UpjuW74tZqh4jB2n47Cr+U1XBwW3AXCEN+mywnklbqWP0jUUlxQ3VZiR2hDTWhjRGWgVEIJV9LmewCGQRDHM58eJqr3/lg== 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=SMd6HYaAsmF5z7kcGL9OkN6HPkOFiqEArjYVw3SCJWM=; b=h/DzDV1kz1VGVCoO4CLde9bnVbuy9wzhvxb/cNqz1G6sAStB/vm93AYvu+3cCLUfUhgdZB0zzofIPCoF4xe+EpU2Yh0tU9t8PmmHoaPRZXKbFaLHf+Tj0Ox0xLQHxeqOqPRJDll8aSpLVuZV7yT54b+mmk2jGHTdQcXHsIDUU1PqcLd+ZQSLLFjxpzQ5UMacqrd3vq5nhRr1IQwxSXaHGX2fF4tBvfeNvcqER1ofMQjUynkff7jfgZPqX+oaczaP6Vs/PvoRcumv9ZtGKvM7I4jU/cd9iI0zwVEkTZ+SaYqQdnzeSevlGX7Mdkn7QDoCFFYG99/VblQ26NhyYOwrFQ== Received: from SG2PR02CA0064.apcprd02.prod.outlook.com (2603:1096:4:54::28) by OSQPR04MB8014.apcprd04.prod.outlook.com (2603:1096:604:29a::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7068.32; Mon, 11 Dec 2023 05:48:06 +0000 Received: from HK2PEPF00006FAF.apcprd02.prod.outlook.com (2603:1096:4:54:cafe::5b) by SG2PR02CA0064.outlook.office365.com (2603:1096:4:54::28) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7068.32 via Frontend Transport; Mon, 11 Dec 2023 05:48:06 +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 HK2PEPF00006FAF.mail.protection.outlook.com (10.167.8.5) with Microsoft SMTP Server id 15.20.7091.18 via Frontend Transport; Mon, 11 Dec 2023 05:48:06 +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 v3 07/14] ARM: dts: aspeed: yosemite4: Add gpio pca9506 Date: Mon, 11 Dec 2023 13:47:22 +0800 Message-Id: <20231211054730.208588-8-Delphine_CC_Chiu@wiwynn.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20231211054730.208588-1-Delphine_CC_Chiu@wiwynn.com> References: <20231211054730.208588-1-Delphine_CC_Chiu@wiwynn.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: HK2PEPF00006FAF:EE_|OSQPR04MB8014:EE_ Content-Type: text/plain X-MS-Office365-Filtering-Correlation-Id: 00360048-e133-41ba-48e1-08dbfa0cbfae X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: QI2Xemop02S5V/s/us7qziouJkPam4YL0jSSoiGoJEDNyp5APrpHOTO3hLwhUhPvniaDWhriMBHW4HB2lUxOBohWaj3srypS85BYWi4da1G4D/m7M78nJeJFHYwMsDpq2EL89Z2t4k0tnWMAhBN5Zz0oPSYr5cIbWnvBCere6eLt8J8xjPbrYjOd3Lh+CYkAj+YvS5+YAsE2/iqwVYaLJ0RcdWvcuwAZB30muFJpNYU7diRdVx33mRZQSdv5YqXphKfl+UvsFwCvPRg+ZFO9IHlZUOvXSgbsToheC40EeSkd64USQvNkcaXAKV1PWmuBRTxBXfpeyha/s+LCr+qDNimmk62NRhR4O99sTmt6aTR1a/FCCmMibWkpMlHPWDR0WGMTf6aJ4khKaoVbMwLs+yvdZLNeOTHSqdcEK4YtYuuwUZ8akuAiUAQG2Ms1PJTEk0lEu/5tXQjRN2lxPR4ZwNIABp3CEdiTdn2wh17pAy62NSD6jkqZATfyWGgvGM9Y1Vfyfsscavc+Qsd9zVTSZPtKf8kwXslTdRb3cpWNblcsKV+jdC+byFa7DzVN4ka3mUssIkm5asfbRJQXb8RTQRkBU4q4/iAEYW5RqoWaqJGiRi6JWSxrqgvdEutWmft9GAoBL5oOt599lxrJCY9ltJPCuYvGgKoeYHjGw7qL4gpxVvSMZHxEPrkc0d9a3HKOSN4gSwxhqXi6jzDmvB5xVQ== 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)(376002)(346002)(396003)(136003)(39850400004)(230922051799003)(1800799012)(186009)(451199024)(82310400011)(64100799003)(36840700001)(46966006)(6512007)(26005)(336012)(956004)(2616005)(1076003)(6486002)(478600001)(6506007)(6666004)(47076005)(36860700001)(7416002)(2906002)(5660300002)(41300700001)(9316004)(70206006)(70586007)(4326008)(8676002)(8936002)(316002)(110136005)(36736006)(356005)(81166007)(82740400003)(86362001)(36756003)(40480700001);DIR:OUT;SFP:1101; X-OriginatorOrg: wiwynn.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 11 Dec 2023 05:48:06.3135 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 00360048-e133-41ba-48e1-08dbfa0cbfae 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: HK2PEPF00006FAF.apcprd02.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: OSQPR04MB8014 X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on howler.vger.email 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 (howler.vger.email [0.0.0.0]); Sun, 10 Dec 2023 21:49:19 -0800 (PST) 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 7f0134fcee57..da413325ce30 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