From patchwork Fri Jan 8 09:36:07 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Z.Q. Hou" X-Patchwork-Id: 12006161 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=-17.0 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=unavailable 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 CB9EDC433E0 for ; Fri, 8 Jan 2021 09:30:22 +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 5E5012231F for ; Fri, 8 Jan 2021 09:30:21 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 5E5012231F 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=y1nBNj1dBS5kJvuC+cdzagQLBB1MrCP51OLbyG4Kaqc=; b=udVLH5JgMKWeS9T+OUxI6Uyb8 PxjMRGMVDTn+mfJC7bRCdopeZCAi3V3KSwsM9JygQTuvcQkaYpBL2SAyv4poKfcoIhQL8GCaDwSIH oOjxi1BwWqxfERmJDZAD4OcKwJ100VBkMSZ3V3XYOG6dbkpPTbuLv7SNI8UlPhhp69BXmR/oZ/Okw R2boW9MJJfbF63B+J0MFQ0fKzkUcj++VuCBR8zaBszF0PZMdqvbBltE9ImNZjrx8To8mIVcwwf2Ti m2hmGr7tmb+luCn99MaS/tqZj+DGkGTk9+ndjd41xu7MKYKPe7toed855wibGTrL3p7/O1jhi2v9H unkv9Hj+A==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kxo3o-0003qM-P4; Fri, 08 Jan 2021 09:27:56 +0000 Received: from mail-eopbgr20058.outbound.protection.outlook.com ([40.107.2.58] helo=EUR02-VE1-obe.outbound.protection.outlook.com) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kxo3i-0003nF-1T for linux-arm-kernel@lists.infradead.org; Fri, 08 Jan 2021 09:27:52 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=RDtBQGKxmFA/h6CA6/3aQ0Iu+oilx4bLbBWZyhY4IiJiQpXWK8B/Q2yF6kSdIyXwUDrPZM/N1Uoz6AIuyV4oJjvp579oSQOR8hIid2+ynQxjWzdo2wSdz+3AstU9WZXjdTmIVnnQiNpjuDnyVH+52VHW1BzzyBuu0S9LbdDvwa/orV9awTaGxP2+KoHiF0AHxPnqlG+QquLy1eWbXgWNMI5LC8bl0qCtBgrxWVaK7jIxmYEcA+CBd0gxCF6FB6qrasBZePNteJkmEHOqgjGXrlNVXuEkcJD9TWq0tHK8bQcmjoWjVIG5UraOR+7j6GCS6f7VUubO4uAMS7YZ8A8CSw== 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=h4BDYxD4IGOqm+xQnyGp5Z2TNKwh4xmeFteDxqgitIE=; b=TBkDYureUN+MRHu3uNWJo3XG3GqPiiJabFoXRNfdszEt5WhG949WpxQmHBEGbMmrYMjlvX1yf6Sh5uMDrr0HU5krXrNceQpwpPtqtHltAhExTREunDhcrhnjN1xg3YtHLGSVhh9n6RQRwKJPHR4QgYd5/i32rvQiAS09Ih6B5CZYtgMhCDt67KSMsNreBfYkPAWjp5GU6bijU18B6G4EAdSz1POVvyYi5Vfof8WiIq0olwqsuFlr0xL8Nm2oF8DIofKZYthjGxFTCfkOmBG0mBSUBsBDRjbVTN1qPWGQizGginyxBBTxd5n3q+etK881BEAY4KLp1GIpNSueUmryVQ== 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=h4BDYxD4IGOqm+xQnyGp5Z2TNKwh4xmeFteDxqgitIE=; b=ZsXswskqmQXtCzkeyRjqRIvatA+wZjzv4hgOc/b6m2MNes1xE4/YsYCTaW+grdJMlTGq0Xg5Z2OvZd4y8qDRHOj1SFUzF9zsl6W2f+UmNdtDN6nqQnrKZeVF8AVRBNliTemAFw5ePqKCcT/PV8h88lbVKVGqnPTwfnrq1qDbNQ8= Authentication-Results: vger.kernel.org; dkim=none (message not signed) header.d=none;vger.kernel.org; dmarc=none action=none header.from=nxp.com; Received: from HE1PR0402MB3371.eurprd04.prod.outlook.com (2603:10a6:7:85::27) by HE1PR0402MB3371.eurprd04.prod.outlook.com (2603:10a6:7:85::27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3721.22; Fri, 8 Jan 2021 09:27:46 +0000 Received: from HE1PR0402MB3371.eurprd04.prod.outlook.com ([fe80::3194:64d6:5a70:a91d]) by HE1PR0402MB3371.eurprd04.prod.outlook.com ([fe80::3194:64d6:5a70:a91d%4]) with mapi id 15.20.3721.024; Fri, 8 Jan 2021 09:27:46 +0000 From: Zhiqiang Hou To: linux-pci@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, lorenzo.pieralisi@arm.com, robh+dt@kernel.org, bhelgaas@google.com, shawnguo@kernel.org, leoyang.li@nxp.com, gustavo.pimentel@synopsys.com Subject: [PATCHv3 4/7] arm64: dts: layerscape: Add big-endian property for PCIe nodes Date: Fri, 8 Jan 2021 17:36:07 +0800 Message-Id: <20210108093610.28595-5-Zhiqiang.Hou@nxp.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20210108093610.28595-1-Zhiqiang.Hou@nxp.com> References: <20210108093610.28595-1-Zhiqiang.Hou@nxp.com> X-Originating-IP: [119.31.174.73] X-ClientProxiedBy: MAXPR0101CA0019.INDPRD01.PROD.OUTLOOK.COM (2603:1096:a00:c::29) To HE1PR0402MB3371.eurprd04.prod.outlook.com (2603:10a6:7:85::27) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from localhost.localdomain (119.31.174.73) by MAXPR0101CA0019.INDPRD01.PROD.OUTLOOK.COM (2603:1096:a00:c::29) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3742.6 via Frontend Transport; Fri, 8 Jan 2021 09:27:40 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: 6af74a16-04b0-42b3-2713-08d8b3b7a8a6 X-MS-TrafficTypeDiagnostic: HE1PR0402MB3371: X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:3044; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: ywOAzlhlKPnSHUWg7mffvYfW1jPGpS65vIqVaz/V1nM9ZTYhaZVN+TSah4u7XPk9gMV2DysXH14JerRhqDQ5twg62Vi9gCCmXNZL44ertkbh9qMfc2Kt3bsKG6QktsAJy9XpW9NkjykTiowqypQ66LIDrpW4fdrI1VBiOX00is0YMznmu5G010j/V9SJLbq72rQGnVJQ6qC09EJgFpgBd2Id8p7AA3XjBVMbQabjLVy6i3adNfp+rnP+GDHND1yV4E8NMFiOROhhEIqZVCl9Kk8dIYZGcjh32BJTDCPaQ//V/A5+RVCpoz0/xx4rdq6RwWGYXQzcBa95KFL0a4pn58jJlMCiZ6/jgZnD3/zit9zG0IDFLV+TzAxE8I7lxRNYLZHWVrK9A09IkoKIqy/Nro37cc5cTinemBs9aP7JW79gsdIm2pP4tGOz/GdLK/GgK4kL2BgdzYc8YP06a97nuw== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:HE1PR0402MB3371.eurprd04.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(136003)(396003)(366004)(346002)(39860400002)(376002)(186003)(6512007)(16526019)(26005)(6506007)(36756003)(6666004)(66556008)(69590400011)(8676002)(6486002)(478600001)(66946007)(52116002)(2616005)(956004)(66476007)(86362001)(4326008)(2906002)(1076003)(921005)(5660300002)(83380400001)(8936002)(316002); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData: QQdlpYLAlMrpuUHIOGVmNaMpee1Ll2jRb2POMndpSuDoZwmyBsSWjjEp6afqAyLgUIbxNStDad/alTTUQJ0H6M8mLanLJPive8o7k+MsYUChqUSgOUTgnEwJteHKnKHu6BpO+z82DeBjKohNOs6oFos5pbVW1rTRBS5K+iorfevookOlVVphEsRUCvybdmdk1mi5mYapnSNu1gR0oskSe9Lb7kkhlGdCX7XBSski+gGftJR2DVMQD5RkUtevd2pGJ4g7FkDH41m++JZUqApiTIPAUyw0UOJZAzVafxrm6pkInt27dr0k29eAqiq1KvbH15eT4s4eg5dARo/t6fv7k+tnKci/zz84M1XlA29gJm6iumukolCPJXXNgRSO0HZrHNHXFJoYCrS7Xf0/t2482K0Jsp7+9R1/V4wZwfnzIUuUrIofsGAKAC+vLqomCkLoTeuEkDMFc5UDYSKQHXG43i62xhvG8Ui2Cu17fUNp83dx9waFbCWIvTIOcXztALJO26+7kL8tTffMVi3GZdrgX8h9Y2HXty0J29pjgAzVa7+zBhLUVCGMiZ8C6WcU1q5t961YZ/F+UM6rCBPuuxDTi/WCYgPA66OguM6Xr3v1wVwge9autolBfW1Iy8YPgJyKCUPln3AvCJjvn9uYlW3ZGp76MjRBkKLVMKLiQlrtGZb7fa4YIcQquKmXWnXtpXVVxDwgMphuZiY7iO40bc40gmiQVsNVIh9DXK5rrLVQ6XFzm53ZG+9mpuQtt+gzGgdj+hgnQcSE34IDDESAJK2OBM/6gDFMIZiDf610QKSvBRrDRF8KtRdBCTpk34xBYO5A7lqCAsvu05ckYgbJZZpuKSHAMUhsjGdJZQw0+0SxruMA5gCzwCdPO900RqgjEhROqJLyIZAm+A8ibZoh6KCrybipa+hoYNQSYq9+Hh93BoZLdt4wnqUzDsHWT/FEjvveQ5vQLVntt9PKllL/pLqp1XMlc+qn2f5V33bUdxXLKgpI1SdIJRRPPlKbzh0i3jej X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-AuthSource: HE1PR0402MB3371.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 08 Jan 2021 09:27:46.0854 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-Network-Message-Id: 6af74a16-04b0-42b3-2713-08d8b3b7a8a6 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: MgqDm9ExumUKo2V3W0d6HTVKRxfxbWXLUzEvjuTFP9XuoO/Qq8n3SOHb3Vm7EY5gagwpr7JLnFCwg211rER2zw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: HE1PR0402MB3371 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210108_042750_158369_656CCF36 X-CRM114-Status: GOOD ( 12.12 ) 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: minghuan.Lian@nxp.com, Hou Zhiqiang , mingkai.hu@nxp.com, roy.zang@nxp.com Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org From: Hou Zhiqiang Add the big-endian property for LS1012A, LS1043A and LS1046A PCIe devicetree nodes. Signed-off-by: Hou Zhiqiang --- V3: - Rebased against the latest code base arch/arm64/boot/dts/freescale/fsl-ls1012a.dtsi | 1 + arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi | 3 +++ arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi | 3 +++ 3 files changed, 7 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1012a.dtsi b/arch/arm64/boot/dts/freescale/fsl-ls1012a.dtsi index 626b709d1fb9..3c1ecb9d843f 100644 --- a/arch/arm64/boot/dts/freescale/fsl-ls1012a.dtsi +++ b/arch/arm64/boot/dts/freescale/fsl-ls1012a.dtsi @@ -515,6 +515,7 @@ <0000 0 0 2 &gic 0 111 IRQ_TYPE_LEVEL_HIGH>, <0000 0 0 3 &gic 0 112 IRQ_TYPE_LEVEL_HIGH>, <0000 0 0 4 &gic 0 113 IRQ_TYPE_LEVEL_HIGH>; + big-endian; status = "disabled"; }; diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi b/arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi index bbae4b353d3f..aca45bf348b4 100644 --- a/arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi +++ b/arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi @@ -841,6 +841,7 @@ <0000 0 0 2 &gic 0 111 0x4>, <0000 0 0 3 &gic 0 112 0x4>, <0000 0 0 4 &gic 0 113 0x4>; + big-endian; status = "disabled"; }; @@ -867,6 +868,7 @@ <0000 0 0 2 &gic 0 121 0x4>, <0000 0 0 3 &gic 0 122 0x4>, <0000 0 0 4 &gic 0 123 0x4>; + big-endian; status = "disabled"; }; @@ -893,6 +895,7 @@ <0000 0 0 2 &gic 0 155 0x4>, <0000 0 0 3 &gic 0 156 0x4>, <0000 0 0 4 &gic 0 157 0x4>; + big-endian; status = "disabled"; }; diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi b/arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi index 025e1f587662..facf396ce08a 100644 --- a/arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi +++ b/arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi @@ -745,6 +745,7 @@ <0000 0 0 2 &gic GIC_SPI 110 IRQ_TYPE_LEVEL_HIGH>, <0000 0 0 3 &gic GIC_SPI 110 IRQ_TYPE_LEVEL_HIGH>, <0000 0 0 4 &gic GIC_SPI 110 IRQ_TYPE_LEVEL_HIGH>; + big-endian; status = "disabled"; }; @@ -781,6 +782,7 @@ <0000 0 0 2 &gic GIC_SPI 120 IRQ_TYPE_LEVEL_HIGH>, <0000 0 0 3 &gic GIC_SPI 120 IRQ_TYPE_LEVEL_HIGH>, <0000 0 0 4 &gic GIC_SPI 120 IRQ_TYPE_LEVEL_HIGH>; + big-endian; status = "disabled"; }; @@ -817,6 +819,7 @@ <0000 0 0 2 &gic GIC_SPI 154 IRQ_TYPE_LEVEL_HIGH>, <0000 0 0 3 &gic GIC_SPI 154 IRQ_TYPE_LEVEL_HIGH>, <0000 0 0 4 &gic GIC_SPI 154 IRQ_TYPE_LEVEL_HIGH>; + big-endian; status = "disabled"; };