From patchwork Tue Dec 29 12:00:42 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peng Fan X-Patchwork-Id: 11992367 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-16.8 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,MSGID_FROM_MTA_HEADER,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id D78A8C433E0 for ; Tue, 29 Dec 2020 12:11:32 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 822602078D for ; Tue, 29 Dec 2020 12:11:32 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 822602078D Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=nxp.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=rKmHVGY6230PYlP+QgS70lr/DxfA7m3KOa9n1ImELUM=; b=RNsXaifppNQ1Zqht7xO02rPLO nAeq50iTDpFVRE3EPK7eFMmySGCYb8EIPQeeYTXE2EFp77BqaVFh1jP3JihT6kdmgfYOTfkdugi69 YSZa/jATYclsmVEDKMMnN12AIn9XBtmJJ+qB22yPB4LXi/Eusu+Xi5BzxuKBVnTHH32lN9FlPbn0n 2xBFW5FWGkMLYpDf7nhDVUqEjURrOtO7UCF1uzzgFI4IsuO2LshLz2Y1E1ikrYaVmk6VyurYA/Qfp W1a7qatyf8jHsRmVo5ijjssd4wXTLl3fSb/iYoUJvRVXsGfofvj5yFv4/OgbPhFH0uyby/dWvANcx pldL6Pg2A==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kuDpJ-0007kb-7L; Tue, 29 Dec 2020 12:10:09 +0000 Received: from mail-vi1eur05on2054.outbound.protection.outlook.com ([40.107.21.54] helo=EUR05-VI1-obe.outbound.protection.outlook.com) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kuDpB-0007ij-Gd for linux-arm-kernel@lists.infradead.org; Tue, 29 Dec 2020 12:10:04 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=EiCSj5jFaZTC8opcuypJfXdHthp8ybC8UjhSSr7ZLkuQsbLvSCGjfz8eW3fZe0nFiai9W/bsvpGDkO48NJwNM2WhgmwK1gdB61HCXQMTwuf5vuQZmlXj3gj+BIBtK26HdXtCg/1Wvfbb+Y8E67OoREXF0uaLB3YVE8LAub5I0Hwmpwh0tPDU3WZ38zenxT+YlArKxX+wEpLhLvCY4tftFO4ulQ9N/n9epbi7Sx+PWFpn9YJZhS2/TNjvNAwBpxfWNCcMcFH9sDpZQcDsUCvoiVZZ6yrTbtlywKh7YVLppuJ0lJXQYwRigdmAIX7EUtppEHcPVE+VUD5oERHkYKDsVw== 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-SenderADCheck; bh=xyrFjO997mP1e+WID6ocGgB9QyDwBvRRGXChJ/vcE7k=; b=Dlbm6PXFNuh9ltTXVDNzBWowfe+MUv8dqyrw/1ocY5CdiKK3N19LivB1rJe4sX/ONzX0li59l8wGOlVL2M5o5wYtgdokysOiGPqLtJKgFzmF61s1n147BWgw17spxFabncax3sp7+iqypr64lYsNFnk5Jq2sUwYktJ5hZMhJyEcwk9nQFytiFAW60MnSgsMzx5bATTsHd/DvwNW2SGfR55bXD3pX3glTlcrcnK2/KZs3IVaS/RuCG+Cwc2PQ2XJrC9L/dKTr+yUmKha619FtN9Bc+YwYZx999K7g+RGy5PrA/vWFxWe+v96miXjmWrxPXu5qAil19uvoHvshS8PszA== 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=xyrFjO997mP1e+WID6ocGgB9QyDwBvRRGXChJ/vcE7k=; b=d6//lwsahS/+0ZX2PhiVfNRQSBRAbRbaibq0CT6cyUdzWzEyyscTUgfamxu3SOXHMPeM4e4ACnxU9zV+OCqkPMRy1Ajzfr1Q9GzjNaWsB04wJLr1558OtCNu9ik2C1V58BaExMqI4+A1BfFpxS1bAka07TC5+SYJUpcikYEyOfI= Authentication-Results: kernel.org; dkim=none (message not signed) header.d=none;kernel.org; dmarc=none action=none header.from=nxp.com; Received: from DB6PR0402MB2760.eurprd04.prod.outlook.com (2603:10a6:4:a1::14) by DBBPR04MB7948.eurprd04.prod.outlook.com (2603:10a6:10:1e6::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3700.31; Tue, 29 Dec 2020 12:09:58 +0000 Received: from DB6PR0402MB2760.eurprd04.prod.outlook.com ([fe80::c964:9:850a:fc5]) by DB6PR0402MB2760.eurprd04.prod.outlook.com ([fe80::c964:9:850a:fc5%10]) with mapi id 15.20.3700.031; Tue, 29 Dec 2020 12:09:58 +0000 From: peng.fan@nxp.com To: shawnguo@kernel.org, s.hauer@pengutronix.de, festevam@gmail.com, robh+dt@kernel.org Subject: [PATCH 1/4] arm64: dts: imx8mn: add spba bus node of aips3 Date: Tue, 29 Dec 2020 20:00:42 +0800 Message-Id: <1609243245-9671-2-git-send-email-peng.fan@nxp.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1609243245-9671-1-git-send-email-peng.fan@nxp.com> References: <1609243245-9671-1-git-send-email-peng.fan@nxp.com> X-Originating-IP: [119.31.174.66] X-ClientProxiedBy: SG2PR03CA0161.apcprd03.prod.outlook.com (2603:1096:4:c9::16) To DB6PR0402MB2760.eurprd04.prod.outlook.com (2603:10a6:4:a1::14) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from localhost.localdomain (119.31.174.66) by SG2PR03CA0161.apcprd03.prod.outlook.com (2603:1096:4:c9::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.20.3721.12 via Frontend Transport; Tue, 29 Dec 2020 12:09:55 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: 86e664e3-12e8-4128-660b-08d8abf2a96c X-MS-TrafficTypeDiagnostic: DBBPR04MB7948: X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:449; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: sZJvM3hV4TmdFCOBqIaOAu8jA0ncZSV6ZRFUK49HRcN7CXhAde9n9lcsgSRM6oev28rekSsv7zvl380UEEeoSpxxQ3xI2a6PPhFcZhaj7FTBjG7e4y9OdhvUn/PmME8MgoEMFOjVxOcpAxy46MPZzvvaXSX5sTnJBhs4fqg3iu+nkzZ1nFyB6jWVvuwLCPZxhuDNy+ljmAR3bq3H1muQSHrnq0d2DMlXUHS1yas39QJfm3hMHmJkng1MmWylamr7hXtTT0WK/zZOu9kjXuxUG3deLQM0OWAmQ3J5DbJYrtpGpTa5rW8rvzLpBJiEboGkrkobqh1vOYGrlStG63kS3KhSAPWC6AtICIAAJUpi9XdNH/fQ4s4gS8iMVY+PE8Mk1Jb8/Uwv0yOadfqKXxRs0texyslkocX0i6q7jvJ3MKG5dnTL6QuBI4H0xbHW6h1RhsauM65FevxqApCYtc32NitrrWCdtOR0f7+CXjiyJy8= X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DB6PR0402MB2760.eurprd04.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(366004)(86362001)(6666004)(498600001)(6506007)(52116002)(956004)(2616005)(2906002)(69590400010)(6486002)(36756003)(66556008)(8936002)(4326008)(9686003)(6512007)(186003)(16526019)(5660300002)(66476007)(83380400001)(66946007)(26005)(8676002)(32563001); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData: 8pQ0JdUmUPRXPqgyOqy3dHwNCRlU75tlw8xRH6EEFRr5qL+HEDq1yyn3eYdZc8K1XZJo4OvJKVlCZznZjhoSEm7x+I5N/fL/ZMKa8/SZkupBSjd1MxjAuyweUs//XMAoE4P2C7yCs0GMdidjNwRhzHzyT1vsG00tAczMxdNEOtCXa9E4hT8DCd4AP0kYOnHEvOO4dB1vkV9NhzqenRZ96OGfDfqcChcOUSFZmlLZLFF3Xn3390bMYvT8ZncxT8CK8FrREbv8HZ8tRtvO2EJZ/2WsiUFL9adMSvhPyDd0sJQMcUF8ElcFaJ6GNFe2erPJKf5UbCZ91/skn2Mo/HJpNVTNqE6MsNLlaobjTrebtxiL3FWzX93XtRUk8wlPUb2PrrpDfAJDq4CRLyWOkgKmxFRxL0nTF7+ZsZHH456ARkD+uRl1icQ3ZlKGwVgbCbWi6hdtqTG9Uahx3AgtaWSVcQsUJdN/CrrL1gMWmMiiUqr2Uww7fdCnm8IwxiqbaSw3AkQ3ZP2XQ0noTH3AwoSBtXepBm5bF5quqk3UeKZaO+T6MTRT0xbwgu4/Crm27gybbKJFmvLNF3q2VvN7FKIhxz14pwmVIST5Jd3H4TnKrsHUMVDZynMLd5iD7n+k0HvyWJif8S6bjwrQQfy1YQ9COFZgl6UqZYHjNrUUunNP3U0j85CHJd7EpZX5GGzfduFUAB6DwO7fxySa1WvPnFueAsWJ69xSPp+XW7jztfhf6vBmWclq7Cemuca5xjHq4K8CKPfZDwfLM6johCtlynL0q8d5Y3eC4oj/e5ojGhCkc6kT+JiaSs+LJ7z6tAKtqSch86IyZ3SRe8QIblV4epLZwjJ34mBnttl8xKdazI0nccUMbrepeOYrJLBeOP5P07TZ9HtctqHPv0QGK5P24tRq6m9r9VB74qK2Arr/v0BCyNx3s45minSgUSUiuah/S2IYAN05Dmy0h5JCkS/3euIVAQR6OAUOWAz8c0ZgPMArhe/QXaN1RxbPUH5aClAATCXa X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-AuthSource: DB6PR0402MB2760.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 29 Dec 2020 12:09:58.4764 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-Network-Message-Id: 86e664e3-12e8-4128-660b-08d8abf2a96c X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: yldSSDs3P42dvynV5NR8YL+QT/3sZYPuA7E1EIivkfvDhGmE1AZEoxk9pPs3BxNm340UaUJgTsWPR8kQxugTBg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DBBPR04MB7948 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201229_071001_671927_06E3E57E X-CRM114-Status: GOOD ( 12.51 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, Peng Fan , linux-kernel@vger.kernel.org, krzk@kernel.org, linux-imx@nxp.com, kernel@pengutronix.de, linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org From: Peng Fan There is a spba bus inside aips3 space, add it. Signed-off-by: Peng Fan --- arch/arm64/boot/dts/freescale/imx8mn.dtsi | 148 ++++++++++++---------- 1 file changed, 78 insertions(+), 70 deletions(-) diff --git a/arch/arm64/boot/dts/freescale/imx8mn.dtsi b/arch/arm64/boot/dts/freescale/imx8mn.dtsi index ee1790230490..73602832ccaa 100644 --- a/arch/arm64/boot/dts/freescale/imx8mn.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8mn.dtsi @@ -253,7 +253,7 @@ aips1: bus@30000000 { #size-cells = <1>; ranges; - spba: bus@30000000 { + spba1: bus@30000000 { compatible = "fsl,spba-bus", "simple-bus"; #address-cells = <1>; #size-cells = <1>; @@ -667,81 +667,89 @@ aips3: bus@30800000 { #size-cells = <1>; ranges; - ecspi1: spi@30820000 { - compatible = "fsl,imx8mn-ecspi", "fsl,imx51-ecspi"; + spba2: bus@30800000 { + compatible = "fsl,spba-bus", "simple-bus"; #address-cells = <1>; - #size-cells = <0>; - reg = <0x30820000 0x10000>; - interrupts = ; - clocks = <&clk IMX8MN_CLK_ECSPI1_ROOT>, - <&clk IMX8MN_CLK_ECSPI1_ROOT>; - clock-names = "ipg", "per"; - dmas = <&sdma1 0 7 1>, <&sdma1 1 7 2>; - dma-names = "rx", "tx"; - status = "disabled"; - }; + #size-cells = <1>; + reg = <0x30800000 0x100000>; + ranges; - ecspi2: spi@30830000 { - compatible = "fsl,imx8mn-ecspi", "fsl,imx51-ecspi"; - #address-cells = <1>; - #size-cells = <0>; - reg = <0x30830000 0x10000>; - interrupts = ; - clocks = <&clk IMX8MN_CLK_ECSPI2_ROOT>, - <&clk IMX8MN_CLK_ECSPI2_ROOT>; - clock-names = "ipg", "per"; - dmas = <&sdma1 2 7 1>, <&sdma1 3 7 2>; - dma-names = "rx", "tx"; - status = "disabled"; - }; + ecspi1: spi@30820000 { + compatible = "fsl,imx8mn-ecspi", "fsl,imx51-ecspi"; + #address-cells = <1>; + #size-cells = <0>; + reg = <0x30820000 0x10000>; + interrupts = ; + clocks = <&clk IMX8MN_CLK_ECSPI1_ROOT>, + <&clk IMX8MN_CLK_ECSPI1_ROOT>; + clock-names = "ipg", "per"; + dmas = <&sdma1 0 7 1>, <&sdma1 1 7 2>; + dma-names = "rx", "tx"; + status = "disabled"; + }; - ecspi3: spi@30840000 { - compatible = "fsl,imx8mn-ecspi", "fsl,imx51-ecspi"; - #address-cells = <1>; - #size-cells = <0>; - reg = <0x30840000 0x10000>; - interrupts = ; - clocks = <&clk IMX8MN_CLK_ECSPI3_ROOT>, - <&clk IMX8MN_CLK_ECSPI3_ROOT>; - clock-names = "ipg", "per"; - dmas = <&sdma1 4 7 1>, <&sdma1 5 7 2>; - dma-names = "rx", "tx"; - status = "disabled"; - }; + ecspi2: spi@30830000 { + compatible = "fsl,imx8mn-ecspi", "fsl,imx51-ecspi"; + #address-cells = <1>; + #size-cells = <0>; + reg = <0x30830000 0x10000>; + interrupts = ; + clocks = <&clk IMX8MN_CLK_ECSPI2_ROOT>, + <&clk IMX8MN_CLK_ECSPI2_ROOT>; + clock-names = "ipg", "per"; + dmas = <&sdma1 2 7 1>, <&sdma1 3 7 2>; + dma-names = "rx", "tx"; + status = "disabled"; + }; - uart1: serial@30860000 { - compatible = "fsl,imx8mn-uart", "fsl,imx6q-uart"; - reg = <0x30860000 0x10000>; - interrupts = ; - clocks = <&clk IMX8MN_CLK_UART1_ROOT>, - <&clk IMX8MN_CLK_UART1_ROOT>; - clock-names = "ipg", "per"; - dmas = <&sdma1 22 4 0>, <&sdma1 23 4 0>; - dma-names = "rx", "tx"; - status = "disabled"; - }; + ecspi3: spi@30840000 { + compatible = "fsl,imx8mn-ecspi", "fsl,imx51-ecspi"; + #address-cells = <1>; + #size-cells = <0>; + reg = <0x30840000 0x10000>; + interrupts = ; + clocks = <&clk IMX8MN_CLK_ECSPI3_ROOT>, + <&clk IMX8MN_CLK_ECSPI3_ROOT>; + clock-names = "ipg", "per"; + dmas = <&sdma1 4 7 1>, <&sdma1 5 7 2>; + dma-names = "rx", "tx"; + status = "disabled"; + }; - uart3: serial@30880000 { - compatible = "fsl,imx8mn-uart", "fsl,imx6q-uart"; - reg = <0x30880000 0x10000>; - interrupts = ; - clocks = <&clk IMX8MN_CLK_UART3_ROOT>, - <&clk IMX8MN_CLK_UART3_ROOT>; - clock-names = "ipg", "per"; - dmas = <&sdma1 26 4 0>, <&sdma1 27 4 0>; - dma-names = "rx", "tx"; - status = "disabled"; - }; + uart1: serial@30860000 { + compatible = "fsl,imx8mn-uart", "fsl,imx6q-uart"; + reg = <0x30860000 0x10000>; + interrupts = ; + clocks = <&clk IMX8MN_CLK_UART1_ROOT>, + <&clk IMX8MN_CLK_UART1_ROOT>; + clock-names = "ipg", "per"; + dmas = <&sdma1 22 4 0>, <&sdma1 23 4 0>; + dma-names = "rx", "tx"; + status = "disabled"; + }; - uart2: serial@30890000 { - compatible = "fsl,imx8mn-uart", "fsl,imx6q-uart"; - reg = <0x30890000 0x10000>; - interrupts = ; - clocks = <&clk IMX8MN_CLK_UART2_ROOT>, - <&clk IMX8MN_CLK_UART2_ROOT>; - clock-names = "ipg", "per"; - status = "disabled"; - }; + uart3: serial@30880000 { + compatible = "fsl,imx8mn-uart", "fsl,imx6q-uart"; + reg = <0x30880000 0x10000>; + interrupts = ; + clocks = <&clk IMX8MN_CLK_UART3_ROOT>, + <&clk IMX8MN_CLK_UART3_ROOT>; + clock-names = "ipg", "per"; + dmas = <&sdma1 26 4 0>, <&sdma1 27 4 0>; + dma-names = "rx", "tx"; + status = "disabled"; + }; + + uart2: serial@30890000 { + compatible = "fsl,imx8mn-uart", "fsl,imx6q-uart"; + reg = <0x30890000 0x10000>; + interrupts = ; + clocks = <&clk IMX8MN_CLK_UART2_ROOT>, + <&clk IMX8MN_CLK_UART2_ROOT>; + clock-names = "ipg", "per"; + status = "disabled"; + }; + } crypto: crypto@30900000 { compatible = "fsl,sec-v4.0";