From patchwork Tue Apr 6 09:04:46 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: 12184569 X-Patchwork-Delegate: lorenzo.pieralisi@arm.com 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=-18.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,MSGID_FROM_MTA_HEADER,SPF_HELO_NONE, SPF_PASS,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 A754AC433ED for ; Tue, 6 Apr 2021 08:58:47 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 78DC5613CD for ; Tue, 6 Apr 2021 08:58:47 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S244686AbhDFI6w (ORCPT ); Tue, 6 Apr 2021 04:58:52 -0400 Received: from mail-eopbgr80089.outbound.protection.outlook.com ([40.107.8.89]:55395 "EHLO EUR04-VI1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S244677AbhDFI6v (ORCPT ); Tue, 6 Apr 2021 04:58:51 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=hkXixfK9UDbWisMvjNciJWfM1Fw28/WjR7sIt7ZZOZYhCM8J0oDcuTKlB9BbmLSt+8QlYWoy1EQlcGlc5zFIOTVwsovyQdnQMkKH3gxX1RvIo1F6MkWVw1FCsHxhOT3jDPqHJO0oUXqCybpJLEA2H9Zpg9d3HinNz2ogCz5FoLcrmi6p/HYpaSmtAKpnY7A0dHDFOrYbid/L7KqE9UrMnAA9FZESzoFT6yeOp+pQ6/RrZELzSlhWUPEMF3zlIZt8cDM19KR4HFXNvYA/V23spLwz+jk9lmOIhzG8ywYFNxRMnHKQLaYVY5De69iYpAYqQG3IaSLXuCmaieiXzZzGlg== 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=YaIRUw4cwGD8GYsaqwP0mUD4Pb/VrPrxA3EQA6XX5Xw=; b=MxKhxQVD1diK9hc7TKMAzvLNPSPNyPOKzbZufjUqqJiQNeqeceQAqM0TDhwSmC+JCS59DGdlj/TCT/iRAQAVpMLuWZr5VTW/rw5Lpbj4vu8sZWBDzBdOlinh6RcbUyC0qsJBwb3lucRCobqIWh/iqLd6bBnmdEn3WPpeo59g7ijLP9IdzWSmnTgId1cUij4uCmb+uRCylKI//a/Nww0toE6hv5LjgoqA+YRykQa4wYMQLSSVy9otURQveQS7w8UbKKKXL1ih6LTmKFLMMKZGPxWmXrMTtsg3MuYfB88Uy1ZyIn0Kv8Dofv08Do4yLD+JzaQ+1Vt1L22OXRWRT/1FMw== 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=YaIRUw4cwGD8GYsaqwP0mUD4Pb/VrPrxA3EQA6XX5Xw=; b=lACJl5sim14PVO6WBXDL0CE4Z8EOljf/cqOZ00fDoG8GHK7/x9i9ATxNU1EC+4W5MLXbo59qnSGZ6c4iu6Yk6+O9oMwDCbB86+x64BG0oFx0aQYUOiAS3KT6lflkUkbF0z9cB35dkLNlVNrP9NIM45hrSfvrxcklZkeynrtlTtY= 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 HE1PR04MB3275.eurprd04.prod.outlook.com (2603:10a6:7:1a::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3999.32; Tue, 6 Apr 2021 08:58:41 +0000 Received: from HE1PR0402MB3371.eurprd04.prod.outlook.com ([fe80::5df8:1a69:47c3:44fc]) by HE1PR0402MB3371.eurprd04.prod.outlook.com ([fe80::5df8:1a69:47c3:44fc%3]) with mapi id 15.20.3999.032; Tue, 6 Apr 2021 08:58:41 +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 Cc: minghuan.Lian@nxp.com, mingkai.hu@nxp.com, roy.zang@nxp.com, Hou Zhiqiang Subject: [PATCHv4 3/6] arm64: dts: layerscape: Add big-endian property for PCIe nodes Date: Tue, 6 Apr 2021 17:04:46 +0800 Message-Id: <20210406090449.36352-4-Zhiqiang.Hou@nxp.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20210406090449.36352-1-Zhiqiang.Hou@nxp.com> References: <20210406090449.36352-1-Zhiqiang.Hou@nxp.com> X-Originating-IP: [119.31.174.73] X-ClientProxiedBy: HK2PR06CA0001.apcprd06.prod.outlook.com (2603:1096:202:2e::13) 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 HK2PR06CA0001.apcprd06.prod.outlook.com (2603:1096:202:2e::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3999.27 via Frontend Transport; Tue, 6 Apr 2021 08:58:35 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 56c066e1-3244-4eb1-9347-08d8f8da2c3d X-MS-TrafficTypeDiagnostic: HE1PR04MB3275: 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: yjoncmgbtkn09z+jpEsrXdP/ouWG0eijo1JzyPVCWAK6+bi2F7fZxTq6/wfniBVO9NcTkIFZ1j9ofM1H5s8DB4DnzJ7zkoMY/tBdTqjTm5Z6URWsG9cmrF1VkYni4T5uBtaT8gT95ZzbYZpWuw4Sur9sQV6YQKs484QmL2+pmlAk4J+NvQtIvJ4JMULQ+aN5jlFn1n7++0iSUNQSspbZzbPnqmlyqYCrsrWg33wU8VpXruAJvGxYhtovdcydeDDWGkNTdT6ZKqMRKG+DmxkExuKr06FRARESQPtMVndwi2E9389571CFu1u5iW2iLVQyfSdySNiXIDLGvIfaCnjvYNTHk+fjXLLQrK5mQukUA4CcAt6ICDVEOVH6Z/j7OxlWRi/41GqSmZo3Dhly4vWcHUfl82JENVJ5kAgMKGsq7ivELI4pZW0X1Qgc+XF8YitzGgKGsUgtMnG8dA/kUAe5XUuT6zkIpM4OlpOVbEKqyWiziwyqDP1zyi1DREwWE9ieyjEUrZpATfnXdorBXRSgQ+nC0xh76fQH2QA5dZCk3o6/QKUawwQyNUcgTxM7PPGSUd9MTFeCf1jMfLC8+QERlNobNz5/nH9SwIEbbUVZbx6NKMgTC/e/yYFhug2/ZkQ4655OVkgtmTnbF5JWadK94SwmJBcXdLd0/dDXs8TlsjUHINQgMozYO19rdfOtUxj+tmRrjbO9x0QVIF9Y32flgLYXvE2whuyQPJQlBJP1OJnqKZZUCL8EQqQYFF5Y8OyB 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)(366004)(136003)(39860400002)(396003)(346002)(376002)(6506007)(38100700001)(8936002)(316002)(921005)(2906002)(66476007)(478600001)(36756003)(6512007)(5660300002)(6486002)(1076003)(8676002)(52116002)(69590400012)(4326008)(26005)(6666004)(186003)(66556008)(83380400001)(66946007)(86362001)(2616005)(16526019)(956004)(38350700001);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData: 9iXMfOWCm4Az2OVeFEmxhGyRtEJjZoWp7bimoaaR/RJr/P3Bho1krZb5yr2fsUq8+5HIENLqCNnCQI+++74MBCB+NabgtgkPdW1vw63E/VPR+PSO9l1mBtZPH4i3yRO7iBdklUAHbhIjj4Ks2YDZEx5IyOQy+wIIzjRmcJ6I3EXMm4DcoIrCdNdBwlZuNnagvg50OkvH15IaNVNmSJ3mVdwEX2Dc87Z1juouo/EdsV3PTnS9NQEMGVZ9Mvet9JeUltb3NSo0vKc/0kZb3rAiTuD0piSh7zu9lM3rikt8hws15QMH5huwg7EMiX1o50IqX2oOpcq4QBniX83Fxx72qU9wJkN/H0Vmpl2DAXWHWzk/XVPKI1Vj3SMW38t3kZlWRMTQjNgfFYIrLE0afAaoMUvWK54XXIKjaeh13QtntptH5hRtjQAb5kP9X2PpTdySdpwIPJlkTJCK0HoXEo+Ol+sTeRj5gQWFDaUC9T4s1uw+P9euSa5jWXgv1n/3nWQO8J+AxVfpw0WP7p2JrTmJNu6DynodJNQXmWPa/mmUj8x4TojncpwqPCUFSU+zDQuRUL9p9DSJKfKp2Qk/erRBKUo0lSVut9xsPw6anoKyCez8ZpOC1sRdxZVdU5tjvn51ESlN+eY4HE7umgvNWHvaEPAuEtrgVUhc8rlKGFWQZKN1sh5ACad/LOscbHCJS/iLy5680yubM3vG+QdUDq3bceYRquBhgbBPTlCLdqnxGZDlgba6WdfOSKVFXLOZoOqrHUMwbUvUP/8aoi4XZmX0WQ4PMerq6ijS16Uzl4gGIjxs5z2FgNvOamxom3J6xOJQSsybdm9XPEgSw8sk2WqVl8GvLL6mPF73Wnant8b4LFik21T9oZVfxjRZgVgdlOUm8T8obg4iAzoFv8g6mAZJD2aS9XjyGwHwbzT2JtRDqJQ7mH8nj/jspZ2cOQga8CKAXEdloLMX9qNmaelAVmQIM9Z4jrUvCUfnCJkuDRmNVfvyeFpwfeX2SGwlwplQr46ecgMEJDHBCq8VvdT9Yk6F5vHHbh+GeRKb7Rq4BWjWvjc4hpQa2U2ATY7FxR9e9rJ4ZadLwfMHPChmYpCRyxC0MyA43XFGNKuJwcZXa1jF0DVvgTB4nAo9TUtlst1S6KnC0CFqJ0uKqQkhHEYkZpqbBFJbzr0Mtlz8G/fcS0wQNd8bAHaItXI3cl+dk5PZGtykzZaU0jblzkKIunsJyGoEZN/cas5dpKDwivLXt2/T0wS1Sz/8md9EPW/S9cWYPM8Q48BQd3Yts5Don+SALVqcstJElWdK2q89oXYIzIBM6NlC8w2PExqWkj2/ur4ea2s5 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 56c066e1-3244-4eb1-9347-08d8f8da2c3d X-MS-Exchange-CrossTenant-AuthSource: HE1PR0402MB3371.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 06 Apr 2021 08:58:40.9092 (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: QvXf61PDDDxhN06nnffjruR38C5RVTIqaa8PO/vHFjPnannlyeMzbilitriKC2vWh9nGHaak/Tqbtkl8NQbf4Q== X-MS-Exchange-Transport-CrossTenantHeadersStamped: HE1PR04MB3275 Precedence: bulk List-ID: X-Mailing-List: linux-pci@vger.kernel.org From: Hou Zhiqiang Add the big-endian property for LS1012A, LS1043A and LS1046A PCIe devicetree nodes. Signed-off-by: Hou Zhiqiang --- V4: - 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 9058cfa4980f..ac23e938fd1d 100644 --- a/arch/arm64/boot/dts/freescale/fsl-ls1012a.dtsi +++ b/arch/arm64/boot/dts/freescale/fsl-ls1012a.dtsi @@ -542,6 +542,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 28c51e521cb2..46826752a691 100644 --- a/arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi +++ b/arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi @@ -890,6 +890,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"; }; @@ -916,6 +917,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"; }; @@ -942,6 +944,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 39458305e333..f21ee7825d40 100644 --- a/arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi +++ b/arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi @@ -794,6 +794,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"; }; @@ -830,6 +831,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"; }; @@ -866,6 +868,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"; };