From patchwork Sun Jun 25 12:42:33 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Peng Fan \(OSS\)" X-Patchwork-Id: 696311 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 56951EB64DC for ; Sun, 25 Jun 2023 12:38:43 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231523AbjFYMim (ORCPT ); Sun, 25 Jun 2023 08:38:42 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58414 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232210AbjFYMil (ORCPT ); Sun, 25 Jun 2023 08:38:41 -0400 Received: from EUR05-AM6-obe.outbound.protection.outlook.com (mail-am6eur05on2048.outbound.protection.outlook.com [40.107.22.48]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 129B41990; Sun, 25 Jun 2023 05:38:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=E4F+FuT+y6YQpChzfS/MX55rPLEXGIaVKUpg7Ov0h8z/YtHDyCwv4ZI96kZGahihnbbWHJy8pNjXtF5L5OFHiezqd5rhE3UviB/bTLaGm/7qG9KsIHqoG13W723gzmYjk+MqEc0i3Z4ac1eFVEU9BIOOvY8pUc7GcPP+IMUkYqiQkVlQaNcjewTXAvKCXRGCuE4k5p++rkrBJ2xuEneg7FuBVwTcTXewj67jT+qGUx2OIAoz3GwhFz5PyXQtAC3HaE9hHbsHE0/6fPB1pfGEgvcyZbYYQZ/U4EfsmCYRZUuu7lFNSkYLoOK9/4RiTDftlwgZvKPEAmCoQA+JumCCeg== 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=CC0IUbqrGmwoVFSKwLQLjZ8Jajuax5+buZ+hpyh1cT8=; b=Tw7WWpKWxPxyMVJNINA70wvI6KlNBJpoS49YfiqkSelL67ygqAOfGXZQ07WL9wu/p4PzG0LPB0BBGVNO/UfjhX/sRrXFgjymBECELyYNxezUhYrXKTHj2v/luHGipqs0p9rNOyfpwRikPIiIPK5dbiQr07M59GejCk258hegExzdjjpMxQEMWkrdME43LNnX/uAL7q0LUccQzXh+vZpgbeWSuQgMEqpmvyUGiAgn95J9Q4TmfHpiqKcOtgOOmTsp6s6g7Jjvx0bLm+JdvbmbaHUwnLWY6P5Y98r96p9PTmk/asaBbia2z/qdEzZ85kUxo7wyYPN+Q8kHWAeOrpDG0w== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=oss.nxp.com; dmarc=pass action=none header.from=oss.nxp.com; dkim=pass header.d=oss.nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=NXP1.onmicrosoft.com; s=selector2-NXP1-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=CC0IUbqrGmwoVFSKwLQLjZ8Jajuax5+buZ+hpyh1cT8=; b=Dc+0j+WkngRNsP6DnUKn1GmRyB2RSsf9cxFR9lfq2vk7XlyotGTgUJeB6aqR+qcUu13oZ/gr1MoHJDi6Xws6jZiz+pHROYHklCVPYYblbMGB0mjWRZ+VceXqoTACqCOPw9sd0Ri81liU2cX3TWs59miZMu3efOWmlrUY8uCUmjg= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=oss.nxp.com; Received: from DU0PR04MB9417.eurprd04.prod.outlook.com (2603:10a6:10:358::11) by AS4PR04MB9314.eurprd04.prod.outlook.com (2603:10a6:20b:4e5::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6521.26; Sun, 25 Jun 2023 12:38:07 +0000 Received: from DU0PR04MB9417.eurprd04.prod.outlook.com ([fe80::efff:43d6:6f46:eea]) by DU0PR04MB9417.eurprd04.prod.outlook.com ([fe80::efff:43d6:6f46:eea%7]) with mapi id 15.20.6521.026; Sun, 25 Jun 2023 12:38:07 +0000 From: "Peng Fan (OSS)" To: robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, shawnguo@kernel.org, s.hauer@pengutronix.de Cc: kernel@pengutronix.de, festevam@gmail.com, linux-imx@nxp.com, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Haibo Chen , Peng Fan Subject: [PATCH 05/10] arm64: dts: imx8ulp: add flexspi node Date: Sun, 25 Jun 2023 20:42:33 +0800 Message-Id: <20230625124238.4071717-6-peng.fan@oss.nxp.com> X-Mailer: git-send-email 2.37.1 In-Reply-To: <20230625124238.4071717-1-peng.fan@oss.nxp.com> References: <20230625124238.4071717-1-peng.fan@oss.nxp.com> X-ClientProxiedBy: SG2PR01CA0111.apcprd01.prod.exchangelabs.com (2603:1096:4:40::15) To DU0PR04MB9417.eurprd04.prod.outlook.com (2603:10a6:10:358::11) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DU0PR04MB9417:EE_|AS4PR04MB9314:EE_ X-MS-Office365-Filtering-Correlation-Id: 8b320d89-291c-4acb-de66-08db757906fa X-MS-Exchange-SharedMailbox-RoutingAgent-Processed: True X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 0Ze9XIeglKfej6yGQ2PqroT1CrLkcwwTMwRMBDL+4SBNrceenkemr5qSVYEe4sKoe73kxQaOsWneT9ddFfaCFpa6yGvKdcKzT010XFRwk4lk9SRvR8ZCW0vfCyzdwK/iey0owZXJJPB1vH35ZJmqy0JxRiNXuhjtLTnfJ44MuyEM4VHQ/Vk+7vsSjgpoBS8Sol4wvY0gtOVCLl0nEUbmvnQujfD8WvSd+BQiuFZLTf1I0fqhuOg3R5DYXyYSu4HDyU68Sk51wL4AvUxTarBcxkGzne0gY2ugGS0LP4l1TTyxoAxlnVkWA/c+fITseGnj8TlS+kpLmWIs1IzHOzuCgslYMaFXZBNmt2S0ikk0j+cWKYIMfLDNUlovBibOq+KENu4JZtuhbAl8Mzoz3+SGH4SI/QWY9YKY8fy9UdWQpWMq64H1fe6ir1H5cvlpQDyR8t/02B/yzEk/7yIibEU28DabRoE+RE0eN6zKPY9YLDyUAI38BqQhaTteiRGcbtJu7zdLekVxURNbjdSWp9q7YXrIXb8oet3JK6ppKUGn1NlaPWi5/DkPP/AqfE2OgppzLblUHf+V5Ei/JL4HqZnWp+smTWMqJjM3W20E6pEyI13sHZEmTvC8XiJtmN5TSO6xkUTDdM4K5qFoLKiOKxP0rA== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DU0PR04MB9417.eurprd04.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230028)(4636009)(396003)(346002)(136003)(376002)(366004)(39860400002)(451199021)(5660300002)(4326008)(66946007)(66556008)(66476007)(478600001)(316002)(8676002)(8936002)(2906002)(54906003)(86362001)(41300700001)(6486002)(52116002)(186003)(6512007)(6506007)(1076003)(26005)(38100700002)(38350700002)(6666004)(83380400001)(2616005)(32563001); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: MgWyQwQQzaoSBE7dXNELJruoZbatIPWHR/GmdT4gF5UHAdNOlYRs+3dIWOBg6Uubu8bv5BSTsMKul+UVJv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+aI0vSI8bMvWJYLkK+vCzPGaGS0D+w5TfeQ7p83JqquqD8Gywy+b65d/R63I/zn7FUTQlmzRGpJEjSDNg9O+UFUshgV/Asfb+HtTal9o2uvkozDpVO9LdLwle+XfE7B+AUX748kWZ8CulcV0TC86P+KgYMJ8cXYvkYDEtwONuVx1FH0X7gByCdFclXQqPGcUmLWbZjb1Y37tUYjLgrHiqq9oidn5hG+8+00czi+r04GBNGwuMAQ4pfdKtmz0RL1SzAVaqurhndx6ZiYB00W874Tmk4CNF/UOpRw2NqnuvodOIA8nRf+rQemqAfpt1UP5zpb2ahfyJCCO/9e/z58EMfPr4w1KG8VYMpZu/SVnx8MjoaXESe+fiFErCQmcXrKuk+dIy2fKQ1tVxqF8V/+ZxbiBBwTnGPzOCgYKLq6zlK/A3OVnJ4F5l X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 8b320d89-291c-4acb-de66-08db757906fa X-MS-Exchange-CrossTenant-AuthSource: DU0PR04MB9417.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 25 Jun 2023 12:38:07.3414 (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: dHAIXbPEcyvMRkmnnTymdz+6QnbbehohGCPZPRnmXRsUurAj7B1ldzvbAtdehc9awTV2dqbFxxVEI+fGG3vnRg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS4PR04MB9314 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org From: Haibo Chen Add flexspi node, flexspi has a special memory region mapped to 0x60000000~0x6fffffff. This region is for AHB usage. So add this region to SoC ranges. Signed-off-by: Haibo Chen Signed-off-by: Peng Fan --- arch/arm64/boot/dts/freescale/imx8ulp.dtsi | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/freescale/imx8ulp.dtsi b/arch/arm64/boot/dts/freescale/imx8ulp.dtsi index 16906c20bce9..4d317029490c 100644 --- a/arch/arm64/boot/dts/freescale/imx8ulp.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8ulp.dtsi @@ -194,7 +194,8 @@ soc: soc@0 { compatible = "simple-bus"; #address-cells = <1>; #size-cells = <1>; - ranges = <0x0 0x0 0x0 0x40000000>; + ranges = <0x0 0x0 0x0 0x40000000>, + <0x60000000 0x0 0x60000000 0x1000000>; s4muap: mailbox@27020000 { compatible = "fsl,imx8ulp-mu-s4"; @@ -349,6 +350,21 @@ pcc4: clock-controller@29800000 { #reset-cells = <1>; }; + flexspi2: spi@29810000 { + compatible = "nxp,imx8mm-fspi"; + reg = <0x29810000 0x10000>, <0x60000000 0x10000000>; + reg-names = "fspi_base", "fspi_mmap"; + #address-cells = <1>; + #size-cells = <0>; + interrupts = ; + clocks = <&pcc4 IMX8ULP_CLK_FLEXSPI2>, + <&pcc4 IMX8ULP_CLK_FLEXSPI2>; + clock-names = "fspi", "fspi_en"; + assigned-clocks = <&pcc4 IMX8ULP_CLK_FLEXSPI2>; + assigned-clock-parents = <&cgc1 IMX8ULP_CLK_SPLL3_PFD3_DIV2>; + status = "disabled"; + }; + lpi2c6: i2c@29840000 { compatible = "fsl,imx8ulp-lpi2c", "fsl,imx7ulp-lpi2c"; reg = <0x29840000 0x10000>;