From patchwork Fri Nov 11 15:50:14 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Shenwei Wang X-Patchwork-Id: 13040559 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 3376CC4332F for ; Fri, 11 Nov 2022 15:52:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id: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=iG39PJWEvimLgWmHlh4kFY1eMHnOvYcRiVdF+1gj4lE=; b=jwXf1HEaMYZd+6 9Wdaw5xtCPRSaZqhlz58/nvbB09BMOg1mLc1Y7qeyC7nCyaELa4JY56qf9KXCCzJy9QNrhZ9Ld9ir oGIkkHSJlsmUTDUCbil2mq5so30USTe4XIoqDjHXeiwa8Cag/54QFV24lkzATKlAac6X+bHBuPyl7 Mk8omd8BaFMhOGvHbo4271JF9pyJMg8EUKtyfOWIdXqjDnfill9e9T7zW0Keu0oX/2Xolli4N6HWv VVsuJY0mdDDxWtE2LmYWaCwCwPJ/2CwWdQdb9lcF3SPmYG38wLxPOPA4rW308iJfpBVBnEo7fMCx+ WpKUT5Z2t++cHE8Bz33A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1otWJo-00Ggkg-4i; Fri, 11 Nov 2022 15:51:48 +0000 Received: from mail-vi1eur03on2086.outbound.protection.outlook.com ([40.107.103.86] helo=EUR03-VI1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1otWIn-00Gg86-Mw for linux-arm-kernel@lists.infradead.org; Fri, 11 Nov 2022 15:50:47 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=LRIRNk7tynQb2V75Fh+VP1jyyZaP1fq1dI1JMiM25ZfGz+wkRn3yUNLM7Z8i06POsn5mZVV1RbyFYSx1/O4bbavgrORNVbL8zbEemuzj6/On6qISYyg4KE4OuDMsFS8TE0aCN3LHvcJA5zaFVku76QCbE+mEf5BpqkH+44ajesc8LQAwjkJs/iheoH5fwNjD0fpoW9i55o5zgdQRw83jf9nhMelWXT7ZQtjlj3PSrnUBXN2pgQ8j+gc42X5VlYjDyO4f5L4zaBZFP+xKAmlRa7E0ktHEhbE16rTtv35kQLKqBBg48dIa+vMpcpJX5aiBr1Ng7DPMeiVYxXDgq5SGKg== 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=r9tbLJ09QYeGU25u4uHN7twnPVqob2xwFLaiOPPaB8Q=; b=hx8PMWbBK0dQgRRoKMtIjGad8PM2mvLV97Ho+PZF3+41AdcgIGCow6aGj1qobV8xSOd2dWAuTU7RlejFwRSSZzis3tctJGCW8wLrnXoxzpmiNs63jbMR897Mq/jgCTfLUmpr+dIUbw08hjdihMO4chh7Bkfiqtc95tEbqMWCpoHDAuvvtURd+MPEz7vBFeQOHNuK3ossrQqeltztIQE+xNaCejM0S+3mSe33u6mwS3d6KIL0QMHLKKCrAaOsIl7ZueQRy/1654IqvlzmzxCY7OyJSJd5WAOvXI6HHzZUDFaxrAW09NU7Q+u/6k7KMLtoUaMKMPyC1Dsop0wRXYoDGg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nxp.com; dmarc=pass action=none header.from=nxp.com; dkim=pass header.d=nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=r9tbLJ09QYeGU25u4uHN7twnPVqob2xwFLaiOPPaB8Q=; b=aM1639nPqDlm9IMqwVrd0X6iweCcxQgfbeCm3gS6Ix2eBQkKQjtehfwDa7XDLULg+bL0EF6FGi4t4HhK04qaPpVFWZM9HsI93GXLvp+CKzZVgKR3JbnD/Ob+18RwWYQ6SQtODP2gjcRy4+k3h7Szh997hhIleOh12LmEWufSXjU= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from PAXPR04MB9185.eurprd04.prod.outlook.com (2603:10a6:102:231::11) by VE1PR04MB7342.eurprd04.prod.outlook.com (2603:10a6:800:1a0::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5813.13; Fri, 11 Nov 2022 15:50:44 +0000 Received: from PAXPR04MB9185.eurprd04.prod.outlook.com ([fe80::6b44:4677:ad1d:b33a]) by PAXPR04MB9185.eurprd04.prod.outlook.com ([fe80::6b44:4677:ad1d:b33a%6]) with mapi id 15.20.5813.013; Fri, 11 Nov 2022 15:50:44 +0000 From: Shenwei Wang To: Rob Herring , Krzysztof Kozlowski , Shawn Guo , Sascha Hauer Cc: Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , Shenwei Wang , Peng Fan , Linus Walleij , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, imx@lists.linux.dev Subject: [PATCH v5 1/3] arm64: dts: imx8dxl-ss-lsio: add gpio-ranges property Date: Fri, 11 Nov 2022 09:50:14 -0600 Message-Id: <20221111155016.434591-2-shenwei.wang@nxp.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20221111155016.434591-1-shenwei.wang@nxp.com> References: <20221111155016.434591-1-shenwei.wang@nxp.com> X-ClientProxiedBy: BYAPR11CA0085.namprd11.prod.outlook.com (2603:10b6:a03:f4::26) To PAXPR04MB9185.eurprd04.prod.outlook.com (2603:10a6:102:231::11) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PAXPR04MB9185:EE_|VE1PR04MB7342:EE_ X-MS-Office365-Filtering-Correlation-Id: c98d0ffc-246c-4e92-1a7e-08dac3fc7de7 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: aBZ/BV0ln5uZTey0C4fxHRCt64kfxtjHWkvdlUuo5kymC22HYJlsUeobvjO8yTNZ4aTaODGGB3rrrazbElS/kiwghFsODmaIXQLqTb4sQxTUUJyafeG0rIGubBN1YgzGo1yVbKaA3AwWKxtfDLcSpPTqPO1csNUeW/tA6yZ3Fmy1HC4AC3M1EJ/sxwjj31uYhmbzSPKoEGUcVvrDg55q9Z5JNIpjDvuU+LyzNWvoNSos+GFv5VPE6uB7ceTAlVeFLfpBpgu/R3Z+ugRkU6yM4JZCed/4fAbrpj3dpg1zEVGoqQZYyMdhm2wRchlw0GOUiE2H8BC+Egn70Phk2THKV0FNXdy/cC/wKgzolGE6MSVVkqkECg6/1tnVDWt+r4WNxutO1jTfXpSBPBd3tK/Ws4KjE3YzlSSJt91yW5ZgEFHRMLfxoMdmcV7m7Wo3a+kzBeBFRPwMtBm7moEBxG4QSbiw/hOKURqZXKgfZMRwkGTYx9ZjK1WKlkatNoaVwTFJPfV9fjGwtdQsoXZ+HcVEcxQZU3Ax+ZN3T02bAV9HG7DWVrWyLO6E6keU5vuFdqMJZJ4YWl/lCGUh8a5quGgyxUnmWubzRfenoNM/JfxIL7NFbhQPi6rmjsU6wiJItK38KyJg5i9XsPcmSj9uaGnVvyDqCeJ3UImtzWlGIBiHfrb9bVyeErNLUsTs7iztqQFFDal7XIDUi0Y+YDfeTbcXknKcqrxxgR0OOX5yqX0uvTsKXnL8tbJimgivuFO1+4Dv664QHN4D8xxGbL0H9GC7SHUAZ7TrOImWwvNgLtnsbNo= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:PAXPR04MB9185.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230022)(4636009)(376002)(136003)(346002)(396003)(366004)(39860400002)(451199015)(38350700002)(38100700002)(66556008)(66476007)(4326008)(478600001)(6486002)(66946007)(5660300002)(41300700001)(7416002)(86362001)(8676002)(6666004)(54906003)(8936002)(316002)(186003)(1076003)(110136005)(2906002)(44832011)(2616005)(6506007)(6512007)(26005)(36756003)(55236004)(52116002)(32563001);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: /rssal6NtfqdgJR0UKhA04Y+ZWcQ0mAtg02K8oK5YFtPTe/uiRC88dVMJFOnxXwRcBSwwxgOmykxP5mlNXwfsUr3QWphiTYvHzc8+Bj7nL7fo7EmNIFfgMCGp7nCYbOvFyUa2iSQjgRxKEioCi3VWFGBOERFKO4Rm4vuI63WoThFrMuIim+av5XKLKOtwhD+27lNcw7edet8hpMGhmozn7d/un6+z/gPbmmvqc4HXt+3y0CGhWe6yeztLb5GqsNR6XUO9YGluzetXjRgeMhOu5eb0fS0bS/NZHXuyrRmxdQJIlMjlKM91wxn4byDrcrEDaKwGKw1qUYBahosq0tJA2VBFbqBOnwGRq+uz5rxYkmPdnhio37QLoSKnHgSmT1cDNQumzCAeI8+8h5DS8ImemzadMp8XTVYmmIp3nKdNGoUBZnw2TkRjBWnh6YDcGZh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ltGSkuQYo3cMciDP7/2hteCtXYtfhm1iJh+7RLG55Umi06OgeG+z+HNdofFbosDhkYGqxv2o05 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: c98d0ffc-246c-4e92-1a7e-08dac3fc7de7 X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB9185.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 11 Nov 2022 15:50:44.0162 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: mF3CnVsDPV4MsSQGhyaaawBnSzY8PCMWspMIDCZB+n1zvkCHPN/Q0kmAlh6K/OMFcV5ZVf4SL5ObfI4LkSUFVA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VE1PR04MB7342 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221111_075045_865063_4FE15004 X-CRM114-Status: GOOD ( 10.37 ) 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-ranges property for imx8dxl soc. This gpio-range is used to record which GPIOs correspond to which pins on which pin controllers. The GPIO to PIN mapping will be referenced by the pad wakeup function in GPIO-MXC driver. Signed-off-by: Shenwei Wang Reviewed-by: Linus Walleij Reviewed-by: Peng Fan --- .../boot/dts/freescale/imx8dxl-ss-lsio.dtsi | 41 +++++++++++++++++++ 1 file changed, 41 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx8dxl-ss-lsio.dtsi b/arch/arm64/boot/dts/freescale/imx8dxl-ss-lsio.dtsi index 815bd987b09b..5306d2b3fc3f 100644 --- a/arch/arm64/boot/dts/freescale/imx8dxl-ss-lsio.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8dxl-ss-lsio.dtsi @@ -6,41 +6,82 @@ &lsio_gpio0 { compatible = "fsl,imx8dxl-gpio", "fsl,imx35-gpio"; interrupts = ; + gpio-ranges = <&iomuxc 0 47 13>, + <&iomuxc 13 61 4>, + <&iomuxc 19 67 4>, + <&iomuxc 24 72 1>; }; &lsio_gpio1 { compatible = "fsl,imx8dxl-gpio", "fsl,imx35-gpio"; interrupts = ; + gpio-ranges = <&iomuxc 4 74 5>, + <&iomuxc 9 80 16>; }; &lsio_gpio2 { compatible = "fsl,imx8dxl-gpio", "fsl,imx35-gpio"; interrupts = ; + gpio-ranges = <&iomuxc 1 98 2>, + <&iomuxc 3 101 1>, + <&iomuxc 5 107 8>; }; &lsio_gpio3 { compatible = "fsl,imx8dxl-gpio", "fsl,imx35-gpio"; interrupts = ; + gpio-ranges = <&iomuxc 0 115 4>, + <&iomuxc 9 121 1>, + <&iomuxc 10 120 1>, + <&iomuxc 11 123 1>, + <&iomuxc 12 122 1>, + <&iomuxc 13 125 1>, + <&iomuxc 14 124 1>, + <&iomuxc 16 126 1>, + <&iomuxc 17 128 1>, + <&iomuxc 18 131 1>, + <&iomuxc 19 130 1>, + <&iomuxc 20 133 1>, + <&iomuxc 21 132 1>, + <&iomuxc 22 129 1>, + <&iomuxc 23 134 1>; }; &lsio_gpio4 { compatible = "fsl,imx8dxl-gpio", "fsl,imx35-gpio"; interrupts = ; + gpio-ranges = <&iomuxc 0 0 3>, + <&iomuxc 3 4 4>, + <&iomuxc 7 9 12>, + <&iomuxc 19 22 2>, + <&iomuxc 21 25 2>, + <&iomuxc 29 29 3>; }; &lsio_gpio5 { compatible = "fsl,imx8dxl-gpio", "fsl,imx35-gpio"; interrupts = ; + gpio-ranges = <&iomuxc 0 32 3>, + <&iomuxc 3 36 6>, + <&iomuxc 9 43 3>; }; &lsio_gpio6 { compatible = "fsl,imx8dxl-gpio", "fsl,imx35-gpio"; interrupts = ; + gpio-ranges = <&iomuxc 0 53 7>, + <&iomuxc 8 86 10>, + <&iomuxc 19 107 8>; }; &lsio_gpio7 { compatible = "fsl,imx8dxl-gpio", "fsl,imx35-gpio"; interrupts = ; + gpio-ranges = <&iomuxc 0 0 3>, + <&iomuxc 3 4 4>, + <&iomuxc 8 22 2>, + <&iomuxc 10 25 2>, + <&iomuxc 16 44 2>; }; &lsio_mu0 { From patchwork Fri Nov 11 15:50:15 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Shenwei Wang X-Patchwork-Id: 13040560 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 17E35C4332F for ; Fri, 11 Nov 2022 15:53:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id: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=thasVn4P8BPFlffBOs/5gu0HO+xNvCuQE/c9agZHjjw=; b=Uwu38G/L18j8LQ +9cF9AghfiXnIlpo3oRDVmEfrOdOoOklyQWyP1VLaTW/fLOIRR43/m9uoDMddhnESnj4G3IyuOMzE Alxh1HiH5cnFkBEDyAudusMSuQVBw9JuCeZF7GSHdM35aKW2ShERoQekKgmJkGZXtvc6Y2T8snYRq erzIrV5bQy9M3Nc6nAFUFzEx8vldLvfmFqxkrZ0zdYHjv1vae3PmddHjteLA2wSBW3sAnDijvc0kO nQHpxTRBU/b+4vXk+3TVahXdPxHnGExjy2ayTuLNMIw9eDlUCHLiFiAVFvs1IpYDGZTLcvDK3H5NC DMB8gycpGASegub0bvkQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1otWKS-00Gh3H-Aq; Fri, 11 Nov 2022 15:52:30 +0000 Received: from mail-eopbgr60040.outbound.protection.outlook.com ([40.107.6.40] helo=EUR04-DB3-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1otWIv-00GgFe-VB for linux-arm-kernel@lists.infradead.org; Fri, 11 Nov 2022 15:50:56 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=UmMq+lWhquVQtI1/CAF2lBLsinh4TDveoHPiOXeVEDZ9r+F2KTklJG+fh2YdIQCe0Q4i6Fbw5JFquC9/4AnwcTKTgAgMJX7YgR8WtELgC81ZA6xJIPqG2yn/D2nl3vcN2HUfx9N/bMIqZ1x0OO6qIxuG7zni5IO11oykBtkHYQFanKfUtu2gzp+QUjrpes6ykP3KTnvhrQ/H+bbfSyaMdSRQeoAmEmS9hHcTr0tdrQi8z2pcP6llrdH7l+6k125MFUe+0DG9Epwf0cjGh4s08a6z9ggmcgbAGhsbRREAIXnorJYYjux2Y6kgHhkC0CJZKPpX2u/qTPuVjGV1VflDvA== 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=4qDDbfJ1kpiVV1JtFpBx44j/WAocFwMV7LHVzKKppZs=; b=J3sO+ojmcl8Cc9LO2cIeSgzNr3roB1dsldQ/E1HKWtnqaZ/z1S/rK5SzJum8rNjUx8InsvI3VgbyaZCJLWjmfxI0JEMkhCOUqLyYnA4UGYeV72fo/i73oLk+p0nLkDuvaL4vvXdMeE5nkFdvPq/UNXDBS3eMxsXSCXzRomSzsHuY/6WZ9OSWDz3NHIG/LkXSTpSVF4QFWU0C5HROqno0UPAK2qtVTnsObiH8ulR6RpGNsmERZX/Mv302Yct3+6TNB2rPOiiazCXXd6NZeUgrWki9F/L97MVCLOkhg4z36EFZrdNY29fgb87Y5At5RDHAJ0XKlpMR38uMlTucrEzXTg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nxp.com; dmarc=pass action=none header.from=nxp.com; dkim=pass header.d=nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=4qDDbfJ1kpiVV1JtFpBx44j/WAocFwMV7LHVzKKppZs=; b=dRRQUt+zgilCb2GGJ1R3OpqrXx09fqhMvVZZAMKk3wBo2NeKGeEEYXGpnDq/5+E1/3FoHlIjR7qFwLWT9nzc+13c1hu6aDQLeal2meJ2mv7As+xH+8V8TOpQ9WVsrKTW2CTW/xXg1Jex4+fAFDkZcleJPWU8DmkLLbARc3CSV6s= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from PAXPR04MB9185.eurprd04.prod.outlook.com (2603:10a6:102:231::11) by VE1PR04MB7342.eurprd04.prod.outlook.com (2603:10a6:800:1a0::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5813.13; Fri, 11 Nov 2022 15:50:50 +0000 Received: from PAXPR04MB9185.eurprd04.prod.outlook.com ([fe80::6b44:4677:ad1d:b33a]) by PAXPR04MB9185.eurprd04.prod.outlook.com ([fe80::6b44:4677:ad1d:b33a%6]) with mapi id 15.20.5813.013; Fri, 11 Nov 2022 15:50:50 +0000 From: Shenwei Wang To: Rob Herring , Krzysztof Kozlowski , Shawn Guo , Sascha Hauer Cc: Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , Shenwei Wang , Peng Fan , Linus Walleij , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, imx@lists.linux.dev Subject: [PATCH v5 2/3] arm64: dts: imx8qm-ss-lsio: add gpio-ranges property Date: Fri, 11 Nov 2022 09:50:15 -0600 Message-Id: <20221111155016.434591-3-shenwei.wang@nxp.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20221111155016.434591-1-shenwei.wang@nxp.com> References: <20221111155016.434591-1-shenwei.wang@nxp.com> X-ClientProxiedBy: BYAPR08CA0059.namprd08.prod.outlook.com (2603:10b6:a03:117::36) To PAXPR04MB9185.eurprd04.prod.outlook.com (2603:10a6:102:231::11) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PAXPR04MB9185:EE_|VE1PR04MB7342:EE_ X-MS-Office365-Filtering-Correlation-Id: 09fe82b3-db28-461b-886c-08dac3fc81f9 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 1FYRRcIzCER6xIzzec1fzigr28Bsdw7rf7IXopkLg/stzx5JQa6AR+PbRCtFcioMc89YEcpDnii7uzloNng07lwN3luEFBNMV3Nyhc7sk48w3kxTP32QnXwRVTSbihzkrm1AyIZuCTSy5GztUeuIiEVMQV+KEvKMHX8YqB9Jc9PYietwUoRhPgvzj0uDw1JFaNfUEd/WfonxXLiLkh7HZcl+RRB6scwWMjmoJ8+bMaoO4oXPKBxuENQCozuBcOlwY4hlOl5Kp1C6jIsRBbWg4bCdWNtaWSo15UKnJiiEn2BMUMqis+nYbeyVm0PSEGzp0rpdnGeMM5QSg+q6rL1kOoIa0tZJWqwiHlFr/UYCFt/JFdtrC6Xzf9P3XZ6ytOjQf6imAu6lRNZm6LsBFYL6+jbRR2su6H65bkMXtcnG1jEbegHyzo8xeMMV4C3uWCfFHnUo+QnEo/4cbDXblcE+705NALtduJFmrHhwYWZ5Qf7HIYCaRz+kWZCu3oPPdv4Fn67qhq1zEhXvVJVJTD/D0+sQ+Ujm26dYAJDvce4nU+kYd1qAe6tnjejTjmsjujbCHrykmQiDylsTud/bGDRxaqw8oefLR4vNU3u0ZsgJPeBbj+q9rmDSmvmFQF7YKgaQDst8Zzuyh2D1PUuJwoIpfW9AuL0xEFmVkVJmNvOpOGIs3aDa8NZEmShZSRVCXX03w8JUgRQi0r9L75eKg58Z5d3UWLtaEJcyrPBreJ0gLIH9uwUoZmbBtyXQ1kyNZd6j3WA5MPssPBVryZ4dg/82V0DIoj6hlOXSFnxnyvgBvJ0= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:PAXPR04MB9185.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230022)(4636009)(376002)(136003)(346002)(396003)(366004)(39860400002)(451199015)(38350700002)(38100700002)(66556008)(66476007)(4326008)(478600001)(6486002)(66946007)(5660300002)(41300700001)(7416002)(86362001)(8676002)(6666004)(54906003)(8936002)(316002)(186003)(1076003)(110136005)(2906002)(44832011)(2616005)(6506007)(6512007)(26005)(36756003)(55236004)(52116002)(32563001);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: DP7zOCJHZ16CMlKQd2N8xkfCu3NLr69ZUU38OmNAoIUywm30kEASLyt+pCskWbZo1/iwPPu5g5rIxDr48d71zEoeS4HPMvKTfJvWTkGyRtiWlV7zBuWGFYyDroCW+gg2WlN33AfXmxpRtggQxXB5rA3X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MxN+cDDIUIYP1WBZC/x3kU75HlD/EPSbGI7rMnJEr0ZYS/95l8ak0Brwd00EjBpvWy2kFlnn4KKCxKSEpy1V+v60gDDx15dyrfUpz+U5xYmTzZaV9BbbgoCXDYS3eZAoGK5eAZjjoW3AfolTjH0xJr3eVmQC8f0u9shKKu7k/cdAYtKUfIcFDtxZ+UKGDOZeQFKr9ipB/Y+mQ0LB54n0e5t5nelS6p2av4Qodfz8NlFFxfKIAHUbegnn9bAGoC9WcuTXOCecNeQiO0rsRsKqhE+IcrKwdnZixi99TZdYdxD6w+TD9hOLjqP+/HTWbyhMVURgaTz6dWqkvtCs2mDquqwBoMvjiNIm7NRMl56/e3nFt0wSA1hwTWlTq+rCaPjE5uU61 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 09fe82b3-db28-461b-886c-08dac3fc81f9 X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB9185.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 11 Nov 2022 15:50:50.8791 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: YFJA+8Q8WLqfCunT2PTQsMsSAnnBhuSrZ1R3h7pPEBcpeCefZAOtO2UdYyy0iiL63AjuFDMIgD31cqqf1Uqjrw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VE1PR04MB7342 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221111_075054_057464_10B7C948 X-CRM114-Status: GOOD ( 10.96 ) 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-ranges property for imx8qm soc. This gpio-range is used to record which GPIOs correspond to which pins on which pin controllers. The GPIO to PIN mapping will be referenced by the pad wakeup function in GPIO-MXC driver. Signed-off-by: Shenwei Wang Reviewed-by: Linus Walleij Reviewed-by: Peng Fan --- .../boot/dts/freescale/imx8qm-ss-lsio.dtsi | 38 +++++++++++++++++++ 1 file changed, 38 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx8qm-ss-lsio.dtsi b/arch/arm64/boot/dts/freescale/imx8qm-ss-lsio.dtsi index 669aa14ce9f7..b483134f84d1 100644 --- a/arch/arm64/boot/dts/freescale/imx8qm-ss-lsio.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8qm-ss-lsio.dtsi @@ -6,30 +6,68 @@ &lsio_gpio0 { compatible = "fsl,imx8qm-gpio", "fsl,imx35-gpio"; + gpio-ranges = <&iomuxc 0 0 6>, + <&iomuxc 6 7 22>, + <&iomuxc 28 36 4>; }; &lsio_gpio1 { compatible = "fsl,imx8qm-gpio", "fsl,imx35-gpio"; + gpio-ranges = <&iomuxc 0 40 4>, + <&iomuxc 4 50 12>, + <&iomuxc 16 63 8>, + <&iomuxc 24 72 8>; }; &lsio_gpio2 { compatible = "fsl,imx8qm-gpio", "fsl,imx35-gpio"; + gpio-ranges = <&iomuxc 0 80 4>, + <&iomuxc 4 85 18>, + <&iomuxc 22 104 10>; }; &lsio_gpio3 { compatible = "fsl,imx8qm-gpio", "fsl,imx35-gpio"; + gpio-ranges = <&iomuxc 0 114 2>, + <&iomuxc 2 117 16>, + <&iomuxc 18 141 1>, + <&iomuxc 19 140 1>, + <&iomuxc 20 139 1>, + <&iomuxc 21 138 1>, + <&iomuxc 22 137 1>, + <&iomuxc 23 136 1>, + <&iomuxc 24 135 1>, + <&iomuxc 25 134 1>, + <&iomuxc 26 142 3>, + <&iomuxc 29 146 3>; }; &lsio_gpio4 { compatible = "fsl,imx8qm-gpio", "fsl,imx35-gpio"; + gpio-ranges = <&iomuxc 0 149 3>, + <&iomuxc 3 153 4>, + <&iomuxc 7 158 6>, + <&iomuxc 13 165 6>, + <&iomuxc 19 172 8>, + <&iomuxc 27 198 5>; }; &lsio_gpio5 { compatible = "fsl,imx8qm-gpio", "fsl,imx35-gpio"; + gpio-ranges = <&iomuxc 0 203 1>, + <&iomuxc 1 205 2>, + <&iomuxc 3 210 11>, + <&iomuxc 14 223 3>, + <&iomuxc 17 227 2>, + <&iomuxc 19 230 5>, + <&iomuxc 24 236 6>, + <&iomuxc 30 243 2>; }; &lsio_gpio6 { compatible = "fsl,imx8qm-gpio", "fsl,imx35-gpio"; + gpio-ranges = <&iomuxc 0 245 10>, + <&iomuxc 10 256 12>; }; &lsio_gpio7 { From patchwork Fri Nov 11 15:50:16 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Shenwei Wang X-Patchwork-Id: 13040561 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 DF073C433FE for ; Fri, 11 Nov 2022 15:54:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id: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=+T4hPXKz96gOS+HkrOXqtTJs3dFfxG8DYnPfLDcIOA8=; b=GnqXYvxvsMRcsX Xxhq02fHXDzfxpVlrJ2VMqpUgeOpPfBIIrOcD3aOQFBF7FQhX6uc5aQWKoqEJv9V+CQqhv60Pj1Z5 OAVW1XjOA9Z5oqTmAhYknbsFZwtgY4JVki/JHeF5IrN4iclME4OAq6qmCKvisd/Et/wcwW4KmbiOa Dhcu/TSTfj+VsRdkvFRfMaz+d31Ox01dDft0acRgC2dBae7aRjbkOCPtBGnyAUzP0ylS6S/winflz Uqn1sXf1yeJagYmmbmBKXjeIWjPTFAF69/QBQWaExbo9V95k4abAHgNL5dpiu20JNSF+pRk/XgZsR NV+dlvIN8P/VcKBg/bkg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1otWLB-00GhPH-ET; Fri, 11 Nov 2022 15:53:14 +0000 Received: from mail-eopbgr60054.outbound.protection.outlook.com ([40.107.6.54] helo=EUR04-DB3-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1otWJ3-00GgIu-1m for linux-arm-kernel@lists.infradead.org; Fri, 11 Nov 2022 15:51:03 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Uio7mLMm5H/cnBxWnswNDNIV5z/4Y5/p2WbfURlCCfS1WTUkVHHQH//E7l6+IFZwclcQEMqyNeDIq7Bq2e6L5ZXyrmPO+7ZrKg6rf+fab238MpWOiGQ941+GbeZsXa49Th/ARQlOmk+LhdpYMOkITsoS1Ig9rfnqXSNsWwO9ll4Juno4FLoNeMsbYGKC3GTXuaBjgEYdPQz820FG0ZBmJafImZA0DReLoYw8SSBl/WE22NkI98C/w/KR6HavgT3eMDMn4/A8HCZ3q1XuBV5UjgF+6dKvHZXcXcYq6tuNVQwYtWtvBREc03FylPkqRGNsOOtOQ5OETb8zlr01oaD/Yw== 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=Fwi4znr6WRUMdIdIGzyyqVbMbsDzsFH2WItrIUdizSg=; b=aEYazTZSbX85xHNdsmRdngyEGfnRJ4bftytqjk23CGyYzJwQ+iUOD+q3uWwq4/dR62ctcSeTdocmFD2btHVSBrZ106FeM2VHNHtY6vIUQhvjZfvl4kzmfCrMIgdTFnamSg+O0Bvz3yJNkZmiDBf4do5nuDeOcDKXp7jU+KGm20GbMphEdDFg2LoM9edB4tAPm1zvm/9sgqM99AFYhvc2N5ftTgwUiSLnEGMvBjw4smeQkPtU09V4IScjDcebPUDtYoHUfgDs/OY4uI+6rz85eNQSAamgrk4BEl0wyVb+9QT5X74zWuwcO+/aBC2ur8HC+kIsczD415FtUai3Bft9MA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nxp.com; dmarc=pass action=none header.from=nxp.com; dkim=pass header.d=nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Fwi4znr6WRUMdIdIGzyyqVbMbsDzsFH2WItrIUdizSg=; b=l49k0aNjmgNzo8qdDB/g21TwfAmyXA5L+i856XjfflpjvU5b3UgeMAO+oyHYXHR8By+8P5y+yfbuIUFW75z8T9BSwJvdmbja7GWFKHj8/WdYiw3gZV6g41kraHcgS68eZbQWSkdq0uJ/wTqEQWxrtxYsRKwwW8qW7GWdj8eSYu4= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from PAXPR04MB9185.eurprd04.prod.outlook.com (2603:10a6:102:231::11) by VE1PR04MB7342.eurprd04.prod.outlook.com (2603:10a6:800:1a0::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5813.13; Fri, 11 Nov 2022 15:50:58 +0000 Received: from PAXPR04MB9185.eurprd04.prod.outlook.com ([fe80::6b44:4677:ad1d:b33a]) by PAXPR04MB9185.eurprd04.prod.outlook.com ([fe80::6b44:4677:ad1d:b33a%6]) with mapi id 15.20.5813.013; Fri, 11 Nov 2022 15:50:58 +0000 From: Shenwei Wang To: Rob Herring , Krzysztof Kozlowski , Shawn Guo , Sascha Hauer Cc: Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , Shenwei Wang , Peng Fan , Linus Walleij , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, imx@lists.linux.dev Subject: [PATCH v5 3/3] arm64: dts: imx8qxp-ss-lsio: add gpio-ranges property Date: Fri, 11 Nov 2022 09:50:16 -0600 Message-Id: <20221111155016.434591-4-shenwei.wang@nxp.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20221111155016.434591-1-shenwei.wang@nxp.com> References: <20221111155016.434591-1-shenwei.wang@nxp.com> X-ClientProxiedBy: BY3PR05CA0025.namprd05.prod.outlook.com (2603:10b6:a03:254::30) To PAXPR04MB9185.eurprd04.prod.outlook.com (2603:10a6:102:231::11) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PAXPR04MB9185:EE_|VE1PR04MB7342:EE_ X-MS-Office365-Filtering-Correlation-Id: 86e55aa0-00bc-45b5-c60a-08dac3fc8653 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: sylaSwVEHOyxY448nH6dO/kpi7gQMlVodBtVTtMGU8Zdp0yev5VlcfslysPd1ctnSA1NHLGyzf7/2+hPvoPcBGFWaLiW41NFl5xEzxSBDo1YtP8qtveSUNSSISB4gy2N9PV7sd2ipS932IqeWcmxE36vWA+B4Ku4QL6HIiHku8mmUqzbst9DbzFdOIl6DBO9l5YcNCMun/a6JdU1g75SBraE+r9935M4qCuMTS4hKxVcRNCBd3KvhugUNUp3pC1YZSlm+Ufltne0mHOPCWorXFNB5q0RouN8FHJzg1ZGrkPbunyDkJLKSuw6tgE6nNeK2Rdj1sXsBbohLltmesnc9QHnYXAAivCkNmhOX+ATyG/GoXMuy6s2/9xVbJe0i4d6J2KHzMT6zIhuc03kJFljhaYr43fwH6utCrK3pbk2plh7OLjocQLDeui/P9W+lkQZ5oTMBZ8udDpftz14q6X+VvFa7UK/ebmGFVh1gzMEc5rCIC5PmQL0GYng0pPoy3doKhzUcaSSXgNsXwNUZqhWQYcCtG273PCg6KIipsxhiSgm7muLuL1dHtRIVV6FchskYvKYznQ57vFTI3ugT7zqdZJjnR/XmQGjpQBiFUC6hC9jSBrZ7sdmu8+iu5Fnc2f3F+ye2Z586yGA8WIjpYzxRsKP0GwyHi6fiPj5+IX8A+QxC9qDARPSPdW74NrKkZo7sluGElOBh6u3D4WRU26k1BZfwj3VaHSkZo6nlGF0ZIyJvlldmD7awulbRkvp3r/TyovXZN5OM09FH75QMBAtmYWBrVuYv4YDopQ9FZdRov0= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:PAXPR04MB9185.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230022)(4636009)(376002)(136003)(346002)(396003)(366004)(39860400002)(451199015)(38350700002)(38100700002)(66556008)(66476007)(4326008)(478600001)(6486002)(66946007)(5660300002)(41300700001)(7416002)(86362001)(8676002)(6666004)(54906003)(8936002)(316002)(186003)(1076003)(110136005)(2906002)(44832011)(2616005)(6506007)(6512007)(26005)(36756003)(55236004)(52116002)(32563001);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: /JQHLyaQf09S5HpYZbtXJ9tW/eR9J7aggX/6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avVwwSgr93PwYeyaTGlm6O7nLRJmzupsX91LdgFCC4mrHiKOT0rD5z0zbgFAzQxZUIBB9JK99FQffyU3dlOjMfFDS1BUmO7IlzvOwb2cycsVTFsvoJHKCg8cz9LNK3xx+K0Lx1HgJ6uXeikQijyFSKig+gZDyDLZpqQ/hjbBgtBkw5AmS/F4s/NKwIqbvYihqwa8M3RdMVwSJmbfihVQEIaZvCfWZ2yLeSGLinFVddcgTQkjDGYiAUkQY7BII54URTDhL48Mia3JV8N1NuaV+SshiZpAKfUICa6GiwHYD7twmldxGFEXxIAp+XpA04Jxxg81dyoirmqEpn/TmZy3SMyReSQcvifnyBr18DLQ75CermKbxSClaO7emeVVB3kHl82OeHw4VPvCe3yTNqpo3IInsLG71VnywCgS+QzGCyWnJHjt2Awjw20XxeLQk7A1ZaUEa2K5DHQlYjrzJW6EKY8WRuiY3lvBP9emvYVwhtLmRJCzl5PEJlEZmxy X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 86e55aa0-00bc-45b5-c60a-08dac3fc8653 X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB9185.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 11 Nov 2022 15:50:58.1502 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: ZwxeVFg+XS+GOH42cBG5dNjjogCf0dm+8TqB5bs+JtA/VCn6Y50UIdImUe2339w8s39XuNI3U+HKI0nB7jGfaQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VE1PR04MB7342 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221111_075101_191969_19513462 X-CRM114-Status: GOOD ( 10.64 ) 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-ranges property for imx8qxp soc. This gpio-range is used to record which GPIOs correspond to which pins on which pin controllers. The GPIO to PIN mapping will be referenced by the pad wakeup function in GPIO-MXC driver. Signed-off-by: Shenwei Wang Reviewed-by: Linus Walleij Reviewed-by: Peng Fan --- .../boot/dts/freescale/imx8qxp-ss-lsio.dtsi | 25 +++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx8qxp-ss-lsio.dtsi b/arch/arm64/boot/dts/freescale/imx8qxp-ss-lsio.dtsi index 8e2152c6eb88..8f722b1dd078 100644 --- a/arch/arm64/boot/dts/freescale/imx8qxp-ss-lsio.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8qxp-ss-lsio.dtsi @@ -6,26 +6,51 @@ &lsio_gpio0 { compatible = "fsl,imx8qxp-gpio", "fsl,imx35-gpio"; + gpio-ranges = <&iomuxc 1 56 12>, + <&iomuxc 13 69 4>, + <&iomuxc 19 75 4>, + <&iomuxc 24 80 1>, + <&iomuxc 25 82 7>; }; &lsio_gpio1 { compatible = "fsl,imx8qxp-gpio", "fsl,imx35-gpio"; + gpio-ranges = <&iomuxc 0 89 9>, + <&iomuxc 9 99 16>, + <&iomuxc 25 116 7>; }; &lsio_gpio2 { compatible = "fsl,imx8qxp-gpio", "fsl,imx35-gpio"; + gpio-ranges = <&iomuxc 0 123 1>, + <&iomuxc 1 126 2>, + <&iomuxc 3 129 1>; }; &lsio_gpio3 { compatible = "fsl,imx8qxp-gpio", "fsl,imx35-gpio"; + gpio-ranges = <&iomuxc 0 146 4>, + <&iomuxc 4 151 13>, + <&iomuxc 17 165 8>; }; &lsio_gpio4 { compatible = "fsl,imx8qxp-gpio", "fsl,imx35-gpio"; + gpio-ranges = <&iomuxc 0 0 3>, + <&iomuxc 3 4 4>, + <&iomuxc 7 9 6>, + <&iomuxc 13 16 6>, + <&iomuxc 19 23 2>, + <&iomuxc 21 26 2>, + <&iomuxc 23 30 6>, + <&iomuxc 29 37 3>; }; &lsio_gpio5 { compatible = "fsl,imx8qxp-gpio", "fsl,imx35-gpio"; + gpio-ranges = <&iomuxc 0 40 3>, + <&iomuxc 3 44 6>, + <&iomuxc 9 51 3>; }; &lsio_gpio6 {