From patchwork Thu Oct 27 13:08:57 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Shenwei Wang X-Patchwork-Id: 13022121 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 1D6BBFA3740 for ; Thu, 27 Oct 2022 13:14:35 +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=yDz08ntaTM4MDGk9Ebtt0y/Lzm9+Scn9qvWX51du6U4=; b=h3yX7vs6pnDlGm rYHeI2zO/GHHGCyk4dz3PLXFWGOPZ+Kn6S3tMt2cL6dLgX6zfc615XzXxrnaryCcn7N4kzQLvanFt nQ3HBCIs9Il/tZJQLXoufLsVqMmoBiTK+yX0y+aOfyp7dN2NJ+ptfoz5F978o64i4a16UNmt7mgdb RkZ1btY7NDB0za6Pvh69KvJtK505WwuIIX6+kNbwpiXKzvg2d4e1OVoXS3yHXMx/PW16kG0cvaxm+ EACgWW63+KTdYjlRxR3ARgscp6T0G2XR3MonLJMi4mx6BdZxpPl47BWMGURRkUt9W3sLzDFZ9NYPj gEQzcKLejuiyOXni3VVQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oo2h6-00DNhC-7y; Thu, 27 Oct 2022 13:13:12 +0000 Received: from mail-am7eur03on2080.outbound.protection.outlook.com ([40.107.105.80] helo=EUR03-AM7-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1oo2e4-00DMa8-EI for linux-arm-kernel@lists.infradead.org; Thu, 27 Oct 2022 13:10:05 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Xr2lqqXgWTIxM9HWMg8Vx+un9V9NagcJHOlyboQ5B1DxNIvLXDuNEvadC9baHJQC3BrVUUS1tek/ZzPuPDmzaNs8s7JxUqz0SG+XcGbWz5mkuLO79Hgu3Y+4nAyzoQzrbTtSkds/ofNBDSoCmaKPAJCVh7dSeCw0cv9VyopZQvJ6+3t2f3WpbyIqwbI1KsR+A/fEbeqBqwJTeh2lKcUroMXsYdOt8icxtit1F+9E8ecLODZ3kVwph3gOKC6PXmIWlLm8bPzV9hoGYph3sijEYMuYa7Tk0q9J5qB3PNkBVPsMJdJAo5AbSYtXmE4xdXx8ocRso5TQF5NqaJ34uLsG5Q== 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=pt6pEJ4tFgXysBoOilvGa8i9zK5mFNHm3eCr37GOGd0=; b=LZ5d/ZgcwelXCw+Ob+8/XE+G976AajpywzgI5KV3ORrP3Ww/1oEkG63ZfZ/Iqv9+ffO7VyEExtH824JBEFYpFjnDzRYHs/FKLTwonFgaSpXK3JxvnbdoFHtcw2So48o4waxkAhPrZZopHopJIFRcp2S1iBydaaMIH6SILdiBWBUPveuxE5e12vrIcWJ5PgDMttix2x7eXGrBgrR2WUFrhClb7ZIDSMSjnsC1X3schu4tRcElai7mJ+C0jbrdgDVvn06oVh4bfWbH500lPmqbU7oqTfc3/NBHPdFEBXXx9HeRUlq0uR3PJDtie45QZCYLLZYPv8vkzAP9iObEtr4Xhw== 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=pt6pEJ4tFgXysBoOilvGa8i9zK5mFNHm3eCr37GOGd0=; b=jxt6nXc7C5rJYnXVl4WHKF+V9JPbmS3j00HBCH7XmNtdgh8yg9BxNibeGhgN6hQBo+8qYU/iR7HoyMxdItRPJsB3jvMSr1ZCBLvR9KTBM/9dWONczicw4ZNM+IlPN116R+z08GUIrgXNbI3+kni2CX3xeua3jXnsaeJzzM1TtpY= 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 AM7PR04MB6807.eurprd04.prod.outlook.com (2603:10a6:20b:104::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5746.21; Thu, 27 Oct 2022 13:10:01 +0000 Received: from PAXPR04MB9185.eurprd04.prod.outlook.com ([fe80::b1ab:dd4f:9237:d9f8]) by PAXPR04MB9185.eurprd04.prod.outlook.com ([fe80::b1ab:dd4f:9237:d9f8%3]) with mapi id 15.20.5769.014; Thu, 27 Oct 2022 13:10:01 +0000 From: Shenwei Wang To: Rob Herring , Krzysztof Kozlowski , Shawn Guo , Sascha Hauer , Linus Walleij , Bartosz Golaszewski , Dong Aisheng , Jacky Bai Cc: Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , Shenwei Wang , Peng Fan , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, imx@lists.linux.dev Subject: [PATCH v4 3/5] arm64: dts: imx8qxp-ss-lsio: add gpio-ranges property Date: Thu, 27 Oct 2022 08:08:57 -0500 Message-Id: <20221027130859.1444412-4-shenwei.wang@nxp.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20221027130859.1444412-1-shenwei.wang@nxp.com> References: <20221027130859.1444412-1-shenwei.wang@nxp.com> X-ClientProxiedBy: SJ0PR03CA0378.namprd03.prod.outlook.com (2603:10b6:a03:3a1::23) To PAXPR04MB9185.eurprd04.prod.outlook.com (2603:10a6:102:231::11) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PAXPR04MB9185:EE_|AM7PR04MB6807:EE_ X-MS-Office365-Filtering-Correlation-Id: 0ed0ab93-3cf1-4c5a-2094-08dab81c8dbb X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: WSXbU8shxivf17/mSZYLYgZ34U6qAu1lUzqvT98YkUe/ZIkO8k9+AbGUoa6H3EN7BhW35aioRDj/d4xcjABS8BUekc3qq63aozahFIWsVULJCL7LJ//qfRYaXs0ZBE0G0YMco8SaBqTZHD3SLwRePchTzavLKSW5QT9rspY4K4pBAWVqo6qO18Lu2yfwupWC+fiDJDwFlqMaIB5lkT4l1p/tfdgiJZHPnKQTCITNxtIMsBCQNzwjJBpABugyT45pihsr6Q8Ymgf+SIzqEtJ1ahOnua16WMjCILsizj0Pu1SszpJV03k/x5h2GRDL50kPgSQDRoWLR5wj+munX+wTYdTa0hXhkTl01GXrDG0PxRulTaBFMFEoxlgqr19vzrUmAg4zMzQQ7pRB1lJBRfpNbDcw5wlTg9+gSXnCTEoYajdaGSOzu2V5P0jXTTqK3YHp6YLj+5x4xjFHnEOs8YTnPY0FBRqLzZAjbDS98oIkr2eQ7w+c+7CPaO1ILmYpaZZnfpKBppuCa/Tce1MKdWkASl4glCVHA/yw1rp17FUPBfw25mlVILtWZibTPNxI+PZl0GtVCHgpwSXYVQexztHgvwu93ASZALp/URo3mPS7yPQhwndLwBmPcEQQyHCm+Aopp17478YEMf9+bQQUuCQkDOVsjvQnyKmYkidKr1Z5Wj3du4wi+0qc1BMZtQ7z3U0QOq2HEox9JB8wI2Pf8ZFSD7Teo+bYAL1QK0b7Gkr5610RU5Yn4SOVK8jNKI6H4lbyIbYAVQ9b51cxcugqfOy1Fd468aqrQHy02XRFt2wEy9k= 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)(136003)(376002)(396003)(39860400002)(366004)(346002)(451199015)(55236004)(1076003)(6512007)(26005)(52116002)(6666004)(6506007)(478600001)(186003)(2616005)(44832011)(2906002)(6636002)(5660300002)(54906003)(8676002)(110136005)(6486002)(316002)(41300700001)(66556008)(7416002)(66946007)(66476007)(4326008)(8936002)(36756003)(86362001)(38350700002)(38100700002)(32563001);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: h7AaPwlNuwXuXiEB2QvURprNs7A1qCbC65tdiKtly3QDcV/dhMte53fQhJjZPUzMASWq1xRc6/bl1VrH6zNGpyfBlOglW3orRt4Euj+MJLgEk3uP+V3c4GJMJQzElR4/4TpDCX9ZQQ14qGq/Lu+B3dH9VtwaHAMVSLh5ksi/Xvni6KcJeAg2FLwu+/q+NHNW7vTV9KYnUS1hxMZ2H50OmFw/I485CizA9FO9LaJytNHTUvd5bxJ8i67tr0Z4fQv+NdKI/zIee1WmE8wgm8cyQmTj42aoYr2xT0w/0JQB6/KGgkEHvwgGZ4lrx+4toYFjzaUnQLc3OvYXKBUYCmC5Qmp5JwUO3kBGl5V5iJp35g3/br6owfudf4I3bONll3Q/gJNtja8Y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+UkBJf/wId9SfjFAMWQtJaFV9hxQYZQmVjdW9hd8vQj7CK+5puh0pkQ5os3Fsz/3rMkRnxIpeTMp+e3BPbI8nPmfKu3xy1yqvlMKOmStnPM+mThsdWNvzgqSb3PAksa9dY7N/98sEsD1Q5fYMBotmYRfVg== X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 0ed0ab93-3cf1-4c5a-2094-08dab81c8dbb X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB9185.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 27 Oct 2022 13:10:01.0291 (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: RXxQy/M58T826J3cClr66RjWD2r7kvC9JEjMX/8z4foy6QdBQE+I85KN9cqJ/qvArz4Uhp9GBoxgrHZef4Yh+g== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM7PR04MB6807 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221027_061004_525197_E86170EB X-CRM114-Status: UNSURE ( 9.13 ) 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-ranges property for imx8qxp soc. Signed-off-by: Shenwei Wang Reviewed-by: Peng Fan Reviewed-by: Linus Walleij --- .../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 {