From patchwork Tue Oct 25 18:32:41 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Shenwei Wang X-Patchwork-Id: 13019697 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 84A08C38A2D for ; Tue, 25 Oct 2022 18:34: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=cYp6TzWpAFDFgIFIHf0o/5HsgIwG2ajix2RVNdS3tZU=; b=U29T1zWE6mbmQS 82EFFOy006jVnV+YTfEJBOxw8YQDOKj0hFCTiAccacJKMYgGStvw+a8p/2Fb5dYq9SbwjfRKRXTuL 3WKd7qPQOjCkLkflRNq/GDYF+JjEG5YuMR9IXXDLy2hxQoVlTwdwYi8GhyqGkn0VqmBcA3MjjCK+t mg0PQ9dDO+hVWXoSLBOsG0ja5s/2DtXBO9HD17+SqiNOkBbmt1ZMLwj70lwRx85O3JDDnA9lN1agQ zlRqp+3HlMTK1peYUCHG3lr3AsqwDV9ZhaT4UsAf6EzYJcLB4rUrnYxEQLzH4dl574E2WSHBOFVpq //7L7KAX/PCTgE51sRVA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1onOjx-006eRK-PW; Tue, 25 Oct 2022 18:33:30 +0000 Received: from mail-vi1eur05on2066.outbound.protection.outlook.com ([40.107.21.66] helo=EUR05-VI1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1onOjn-006eNp-1A for linux-arm-kernel@lists.infradead.org; Tue, 25 Oct 2022 18:33:20 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Qo/5rT525OVkwRxe8A4N2P4iZqzA+ld3InqqrucUKoSO4uJTPtXJ5zzBPd8d10jL2u1B4pipXyM0vPrwV5tBFZI+LMxyPcGa5DW/NWj5MznqXs7uKvv1JYyCdNj9T0uKbVrVLjCLyVVcb/0WGvPiN87uZHj392ztlmZhIbPF5Vl2MC3+awKYSpK9r445PvvGf/bhAV4mVy/fa2qAJNALdwpSmKEE6MPSCbFwyvFp4bcUCgu9hrl3inmUDySWr/BjqOF2kybel/HNXNpjoMgQrDeYvarUc7Tb0iVQxmMOwKaPmf9ilWuq0rmSAGYtO9pMDE3RpbbcFU4aO9vt7at8ZA== 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=S6R7XbY/QK+4Jb5hG3+4tm7r/yRhLZZvVmeuGrlAlH0=; b=beLqv+aPR758kIq8oCozSxqhCJkfjzD/SOkMWjK98OIV+IK+zWRml2qCO3ve8lR9hcWOPfnoR5+nkVH5LiU3euspkNje4UOfs9UD0nHyR64Y6y582Z/enskqW0BjT42s3JOGm/HxRmWX08x8FdctGfjXVG+Fup3ul7dH+5HcJLpyqYF++3PBUHUMUZghjC0BnsMA7rXXi+Q8/bvpmpge+0SAxG2Hlp+FFBKm9nHo+isThR3aU8SkbkzVdZ86TwC9S8VaX80fpp7E7i9wgwSRhCNIW5XpbbsjvNDiBVLu75iJFWCIgoLpZ/EmP2oTsLK/Uz4+xEGAyUorUcnIR6EuHw== 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=S6R7XbY/QK+4Jb5hG3+4tm7r/yRhLZZvVmeuGrlAlH0=; b=lcUm87l9lhvFFa0ZlGMVhHTwF2GAV/xxH33mr4O8L0Q+PA4ULBZt5hzaC8rgwIGZ9ahI/XgzVkOeCaBCK9IJps4QI80gDuTSX8NPw45p76MyGBqwBRB1BK5G+Zm+zUFsjC/k55r+gwigb1ZfEbCq7VzJ1G6X5ZaW7ojw2PIJqw8= 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 AS1PR04MB9581.eurprd04.prod.outlook.com (2603:10a6:20b:470::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5723.33; Tue, 25 Oct 2022 18:33:15 +0000 Received: from PAXPR04MB9185.eurprd04.prod.outlook.com ([fe80::4150:173b:56ec:dc6c]) by PAXPR04MB9185.eurprd04.prod.outlook.com ([fe80::4150:173b:56ec:dc6c%9]) with mapi id 15.20.5746.028; Tue, 25 Oct 2022 18:33:15 +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 v3 2/5] arm64: dts: imx8qm-ss-lsio: add gpio-ranges property Date: Tue, 25 Oct 2022 13:32:41 -0500 Message-Id: <20221025183244.615318-3-shenwei.wang@nxp.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20221025183244.615318-1-shenwei.wang@nxp.com> References: <20221025183244.615318-1-shenwei.wang@nxp.com> X-ClientProxiedBy: SJ0PR13CA0017.namprd13.prod.outlook.com (2603:10b6:a03:2c0::22) To PAXPR04MB9185.eurprd04.prod.outlook.com (2603:10a6:102:231::11) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PAXPR04MB9185:EE_|AS1PR04MB9581:EE_ X-MS-Office365-Filtering-Correlation-Id: 6ad5af40-f3fb-4990-ba6f-08dab6b76177 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: sUL3jh7taGIinrO4jvCgEKeEOn9UpoccegtxNryf0a8p1rr/NX16fSNaDI7dj9HD3gJFZaeGbdKyqXqcPOOgUmSGAHNmVcU/T75gwfd17zLJi1PwiKKe0D0I77X+aD76id+oIi37h13kkBYHSjxAbkC5qGDjk6RBAMCKEkyYruDJs1CdlM4OK5oISa6Vervo4C6uPdV5NNauSFK803/lJsOt8cnQT3pOK2GmeEy7e3CFnZ/pvhX61SXJs4xYbDV8dySa4iG3V7HyeDbscYatrKz6BhvATF4Y13cxtDZpjBAlR0V91rt1AYSPLEmTijkiKo+WQHKJ0HafEN4ngCC26tmlW7GmhDFuU2U+Jhk+oiFUI8PbMuwsQorf8zYTv2HOAlYDJmUjuDdNxBww7Y99akS8fWGIT1yExvR26ajX5RpW1Qlg4r7hDPfWuTz/k8Y+WWh3qR2eigGdteFfnM2cZp10kSPihg7c+gIE5gDu3wbyHxcJIpukkH1NrwD1AVTgpmb0dkbaLpXgVgGSUH43NriglrkNszobvUVm5aSKwf+ZxgoC2ngdAIWqqna0/XbIeWzlHwWgP4EtmDuVtsKvmCe0cJqrM1UC7ggobSToSsH1rV46EHrw7J/jSDh+FtQDejUtWv9axweztnxjy7qZDvrYl5aCP2TUDLZaqT5EH/lET+ky5qLikw0w+YwiqTQIHI0O6No7U9OFyhNXtZnh06KlhpkPLavlf0qG6hBVB3zafN//eD3TkIOeovfYZBMFcgCQtul52LfJWIj4KyPmFUpzPS5rsLspUlztgFNUTzE= 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)(39860400002)(136003)(396003)(366004)(376002)(346002)(451199015)(478600001)(38350700002)(38100700002)(7416002)(55236004)(6486002)(8676002)(86362001)(2906002)(52116002)(36756003)(44832011)(6636002)(66946007)(66476007)(110136005)(6506007)(8936002)(66556008)(4326008)(54906003)(26005)(41300700001)(5660300002)(6512007)(316002)(1076003)(186003)(2616005)(6666004)(32563001);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: ABrmuJ1kK/+N130x82Hrpdf/qGXXN2/5qeS+rHwfr6zo/vKS02je7/lWdHXvPGBD3BBhhg1hvqzRBPdDUiq8iKhQWMc2v+8VuVlITRNy8m6ZNylbdk2qfL9yPd0yYELUk/uHT0qaBBacOxUmA6+7wyEOSAAoq7T1D70EXczDkymlwg5MhJgkaZg37WBzPi1tb2ojHFliL3mn8sHD6G2YOfDYCaG70dUWGv7JsE+iuE7+wGqwExNMdCiqG5WxCwCHUNDgqGS9oL+gPRb9MI11Hb6wr3m8uiHYhsZeXIEtfpQzJVs929DbR32uAzbCCMLDJTCJdaQsHzdYWP4r6/s1qite974VavAE6aCV8ElurK5njiZkjpyD972K1Is3F85BFTnA3WktHUpZxiNKFEXP66z6PWvVSVNoOd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i4XoHH2qnz2VCovb+vtlPdW/xFverBbLovBCktmVLKG7gxVwnkq4r700XRsM5FBg8rn7W3bUoaQybqyBr5/YktK4l6I4d1vX4GqvvLr75Rx X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 6ad5af40-f3fb-4990-ba6f-08dab6b76177 X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB9185.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 25 Oct 2022 18:33:15.8571 (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: xfofM7IjgSHRVC3CjAgpJD7LoSqS4bcjmwQdDQ9nMfavgeZBP5d7irPKp6/F5nodRd0ioacKJrUq3fxWpCaGdQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS1PR04MB9581 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221025_113319_109178_8A2BD163 X-CRM114-Status: GOOD ( 10.55 ) 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. Signed-off-by: Shenwei Wang 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 {