Received: by 2002:a05:7412:e794:b0:fa:551:50a7 with SMTP id o20csp166167rdd; Mon, 8 Jan 2024 23:23:01 -0800 (PST) X-Google-Smtp-Source: AGHT+IHg7MhSN3WspCxwolSgcs5SF5sF0N855dQx3RqdUyWRGY+gyD9iXwB7Cq3iiODHQkAmeiOX X-Received: by 2002:ad4:5b88:0:b0:681:98f:5029 with SMTP id 8-20020ad45b88000000b00681098f5029mr2563283qvp.123.1704784981375; Mon, 08 Jan 2024 23:23:01 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1704784981; cv=pass; d=google.com; s=arc-20160816; b=X5UooTmYKFCrI4jtw4wr1x1lcS1udognmc9F+L4eLINA0qEcq35M1IbKTtUp9x+ooq pZ6irlpJgDnYt4fQQiMV5sTlUWQCHjhw+lbaOltlAk6c45eVyeSYS4JloWxOI2ykibYt dsdv0EO2pefeINUwBbl5/WnBduieldphsVlZRJ30sPVewNqMH4xPg1jP3mSmyGqMwpCX Ytb9RpcXKorO1bWtOCbTHTlfC7vWEvgqLIuXQnLfwT9Dq5CdyJA13Zu8+VTkBxOluBtz TI9DOCbhMqFXe7F4o1ihlV74k5Nv9wYX/YWTBhJIirIpI7AfOdvbui/FEOIhA1foXegQ EseQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=GzEHseuWZgbqaKQJTdqvuHDahqAOJEonMBupyxnn32I=; fh=Ym4qTpD4M3cm0TbrVGNdP2Ob6NKlyMYuL0vwrAGUgx4=; b=qW8W3hnSppkAawFNAJ27Pjaki2bqbW5NZHgDxwKqk4R4yJRQISCmD4mUEc1/DjQAHs farDoK4BJ+7jYqF2XehaNLcJifeZ37BZ4dB27X+UPdHcDgPkjyOEunqoyKlgqPQQJ070 8L0SVPgxcjupLG46i4c6r+fY7clcTLi5p9ZYjHP1iRRVtqhxN+Vh3lKVjh444vdQTAwC BXOmQVlk4WzPiCqB4ksL2Jp0SF/e9WvpnzL3OYXmsKuPvbT2ZohTCWKPmHEW7O3xhBsg 5jZEVsBJSn5ku/BMFg8V5YSCLTmZt5F4LE/0UcgvL9fBQ+CaBGSvFfTLDlp6m+XLIqTA mb5A== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@wiwynn.com header.s=selector2 header.b="AaAIICy/"; arc=pass (i=1); spf=pass (google.com: domain of linux-kernel+bounces-20456-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-20456-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=wiwynn.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id r3-20020a0ce283000000b0067f6204a180si1690074qvl.19.2024.01.08.23.23.01 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 08 Jan 2024 23:23:01 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-20456-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@wiwynn.com header.s=selector2 header.b="AaAIICy/"; arc=pass (i=1); spf=pass (google.com: domain of linux-kernel+bounces-20456-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-20456-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=wiwynn.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 177621C241AF for ; Tue, 9 Jan 2024 07:23:01 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 273902D045; Tue, 9 Jan 2024 07:21:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=wiwynn.com header.i=@wiwynn.com header.b="AaAIICy/" Received: from APC01-PSA-obe.outbound.protection.outlook.com (mail-psaapc01on2087.outbound.protection.outlook.com [40.107.255.87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 3DAD929CE3; Tue, 9 Jan 2024 07:21:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=wiwynn.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=wiwynn.com ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=f2VoYDX2XLR6Ivv8MK0pTeoNo2qcxnnMIBElGxCu4ixqnVmlqL5EMloFF5KjIXKabRrt91qrNwJ7TtNercJDTF9JnLf4S6M2vA+HamhSXog5yr60/XH/1rdz7o/FJMM8FbP69b2A/aTpZeCA7pDaPyQMxA5LX/QTtyULm3T9gIlSIk/QOJUBCT+QaKmwrUcqvfyglK1kR4Nt9hRmOGb57POufgYYgSHeol/dCO8RRL330Isf/Qlt/eE/OdCG98GS9Zk8q4MMCXh6rhBPNuVBr6zSvbtPHG7hHS5bL/obvjIf0Fwg0xQv99B8NJ48qpJas52G9ZpZA8T0Z6L05iUdSg== 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=GzEHseuWZgbqaKQJTdqvuHDahqAOJEonMBupyxnn32I=; b=Tzltf94eBR+nUE6y4Oxk1teARwTW2la4kk2fi/K+eFj4i6WAOgfLAh7Edg8nGm2xLVOpqj9rWSyDkgO0dnQSfasqsW6+38QGp7yuWqoFysVPwTgvnFiLVQuyquUKHiyLtAmcDHpZqcV9vWDUI5uM5zMV7RK4v2fZDnb9/G/i+7ll+QCC+jux6RORyXHl5W+zCpGd87iWuKmxLWKDD8smAG6ezULGPR9xXf18fdLtWn6gzEvlpXgY822GdRn/7A6dchIR3aS8hQSSy8kSoAYLV7t70lAsGGLzOuuhrMKCFauwlmgnMxPTIWNzbgrpJg9TNdW7L7wK5CksxAbQD+s81w== 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=GzEHseuWZgbqaKQJTdqvuHDahqAOJEonMBupyxnn32I=; b=AaAIICy/EV+C5P96VRlARRYt7fnDLSkSee7pnvI+yBzYBOYxqRo1mvjJHHGXfoKxqPUKc3l+FOIplHp/lk+V/x+2KRfzx7OUUKSNoDcmoSQklyFfrjMLDQkc8ev1LSWORquT4rGIDVLF1qTOCw4BOuCAleSSbFHFmuW1tFEgeWjf2OYzf/ziXOXNsOUJcKE0jD0FMfyidZlm074e8Z2FLdwdFpOQunRek3vJ6nKRE6UhpCx9GofrceLyazM5+P+YF7nwWoOKgl1d5tXyZpGbOFPJ0BaP2ufbuNGTXnCvaJ5lYd75DWX9MP5xNyhqQN9Rr1+h7N3hzngC7WBfXElTDA== Received: from PUZP153CA0007.APCP153.PROD.OUTLOOK.COM (2603:1096:301:c2::11) by JH0PR04MB7071.apcprd04.prod.outlook.com (2603:1096:990:34::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7159.23; Tue, 9 Jan 2024 07:21:14 +0000 Received: from HK3PEPF0000021E.apcprd03.prod.outlook.com (2603:1096:301:c2:cafe::45) by PUZP153CA0007.outlook.office365.com (2603:1096:301:c2::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7202.6 via Frontend Transport; Tue, 9 Jan 2024 07:21:14 +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 HK3PEPF0000021E.mail.protection.outlook.com (10.167.8.40) with Microsoft SMTP Server id 15.20.7181.13 via Frontend Transport; Tue, 9 Jan 2024 07:21:13 +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 v4 07/19] ARM: dts: aspeed: yosemite4: Add gpio pca9506 Date: Tue, 9 Jan 2024 15:20:39 +0800 Message-Id: <20240109072053.3980855-8-Delphine_CC_Chiu@wiwynn.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240109072053.3980855-1-Delphine_CC_Chiu@wiwynn.com> References: <20240109072053.3980855-1-Delphine_CC_Chiu@wiwynn.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: HK3PEPF0000021E:EE_|JH0PR04MB7071:EE_ Content-Type: text/plain X-MS-Office365-Filtering-Correlation-Id: 50593bff-7a4f-4d0f-6f23-08dc10e3902f X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: bObgvnrnxTaa6unh8Z9q1aMi3KvK9ytQjzLKHvcfxOjfE0tEYJ20wWR5Ol7fivRA6DCkJ0FVwd8SzQhGkd6u4zSMwHETkNZ/caBfBI3rh1kWuwMJqmc8ZUXY7U01vBu+Kn714dqimEYvMixA9ccK5GQGweirQQlIA8ZNsSFSRXiHtU4Lt4d/F0f1nb5ndot2FqOuSsUlZ2q9CkDoIjBIs3E1VD82GlWiPAr9XNYCEnOK+ul574jj37Ruy00nyP/gCCSRkTv6rkPwFnpZY8/PHmyC+uT7sw/1yBT4fjg+d1EJv6b086TieVzfkWbmwR4Hm2oN9zrHOoIr8gVY9xRvwGEGgGPeTMZZmP6LVKY1XnihOOqgRKr+mztIEFEq7onv0sjv/s+W0Fp35r3WAoG/4JX/UBY3UyOzX0ps5B7ApmCDNqyESDaIzBeQZPfcNLb8X7HWVGi74IUeZHaG9RNjaOygkhtEiPERWnz0uxpnyw8FrB+QXQqZwapFr/8d8a19LquEJtfxPMaQqjXpH4IuvhivJr06LzYwrupfwhzD2juF5r2skaJNtPstIaICGwqM98t4mwvFJtMTVSE9aKaA8kZQmhRHLEBRhWFbLORfvcRjD45Dndu73DOGjg0RsFB1KDO3nVT6XPl/4nIJk2Y/ES0iutThhsnAT2GW0kl+vXmF5mpRC2yBLH8TpFIBSVeRAAuYOc4qH2NkrAkN5QnFrw== 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)(376002)(396003)(136003)(346002)(230922051799003)(82310400011)(64100799003)(186009)(451199024)(1800799012)(36840700001)(46966006)(478600001)(110136005)(70206006)(70586007)(6486002)(36736006)(5660300002)(316002)(2906002)(7416002)(4326008)(8676002)(8936002)(6512007)(47076005)(6666004)(6506007)(26005)(1076003)(336012)(2616005)(956004)(9316004)(41300700001)(36756003)(81166007)(356005)(36860700001)(86362001)(82740400003)(40480700001);DIR:OUT;SFP:1101; X-OriginatorOrg: wiwynn.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 09 Jan 2024 07:21:13.9291 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 50593bff-7a4f-4d0f-6f23-08dc10e3902f 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: HK3PEPF0000021E.apcprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: JH0PR04MB7071 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 af9f7067c57c..b1775b5a6782 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