From patchwork Fri Jan 19 20:38:54 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Frank Li X-Patchwork-Id: 764867 Received: from EUR04-HE1-obe.outbound.protection.outlook.com (mail-he1eur04on2052.outbound.protection.outlook.com [40.107.7.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 9D07156454; Fri, 19 Jan 2024 20:39:40 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.7.52 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705696782; cv=fail; b=pT2+1BtuRiXwsWqrIVs9y4xqDmeVsbt6xLCkafKEMDnyW80kp+GTeOaWdMV2MtEHlkXhCxeMu2KCgC2H1lT4Ex5jmIXonVgntYmOW1+tziG+4xdk+dOWJn41/V3DG9kz2+7S0UBLdOYmoCTwbcsOF4u+v9Z86kX4x2b3234Q3Tg= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705696782; c=relaxed/simple; bh=i8yIb2pckXd0pA/BLwTMxgqLvLEigjQ1snB5ZR98ppg=; h=From:To:Cc:Subject:Date:Message-Id:Content-Type:MIME-Version; b=cS06SSi2dRLFTfImf4t8noscjyyjWz9eKnJ2VhDloEpGxA/YYPI9cx78Odj7sQifOZzfsPawoX8YX/ow0eNNKIA6TxuDkqr75DPJcaFEWcXAHhUkGwvtFYXMfFu7CU0Cwa51cv6wumGd+n5MROTPNgrDQrPDys93M1B/ZleXYEY= ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=nxp.com; spf=pass smtp.mailfrom=nxp.com; dkim=pass (1024-bit key) header.d=nxp.com header.i=@nxp.com header.b=ijdbeDA4; arc=fail smtp.client-ip=40.107.7.52 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=nxp.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=nxp.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=nxp.com header.i=@nxp.com header.b="ijdbeDA4" ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=k5UqKrgoSOk3CytrVVJz4JF2zgEfgxJPUlTQbnBIHtzpZC5R6m3lIAdWRJfqBUd+KBnu3ISI7LmkP/tLBqsH2Mw/hqxwE7XS9NUjKkVYxFvzmFPy+PWoykkT2IkT+3ZLtcxoKGx6V7eIKQOjsZz0PmCRwZLteLbhZbV7621D266ljxW2mAq/UoGHUrqfP1//iOUcgNNofjZkost8tHi5Y/W+iqYwxYF0xmRPLaSvuOvZ7sJCZNCXjSdp2qx97iXgQcasEuoZZIbrRI+bhK9oHJyhtWrAvWQ0m18SemrCyWCoMRoC6x2ydg6olFAoS+OVU5n7fjVYEzW2Ih0A1O2tKg== 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=j8R5CzkSlQLdefDpVhN8H22X2D9SrSyWakrAIjmeD60=; b=W0ZlY8BB/kpkwefNZwllsLzN0gZ1X59MjDyeNr15n8yta+13xhCNVncZg4VI1huYKDlfg5YYUAinpoR4Ppu+hH/P6KLXGZdgZGs7OI0m8pZHw9wUwRWuU8Uka0b76+pfRphGF3L35M19IhJc1C11F0E70RtlJ/kQ+qdjRCo48OlwmPGQ1OCS4dmCxqzXhaC0hN90we2X7Wgh8i5eW2NFthzigKYwreMhHrWbk8xNYxssf3D37e/yx0gY4Hc8+8JCxpaJG9q3VPrumypLPfoTU+yRgF0AI/S+S1x3lFCgy8qTXWUcP9epe6C2Tlz9bAhxnpHwYVONFJ5MfOdNCO30Eg== 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=j8R5CzkSlQLdefDpVhN8H22X2D9SrSyWakrAIjmeD60=; b=ijdbeDA44KVhxTqEstKmpASiEBrh4TulPuQC5oBGUunBMXEUKGRDYB/kn33do1RQYb1RRy9eanmEIbvY5BA59ME9dVzwnkQZRV0cBS4xCnhZZgQJy699d7gaAcDGKJyBPEZpyWjXCG6cqNs8ecbN1Hib/FMp2P71MlSE3ZEvOPs= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from PAXPR04MB9642.eurprd04.prod.outlook.com (2603:10a6:102:240::14) by VI1PR04MB6990.eurprd04.prod.outlook.com (2603:10a6:803:138::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7202.24; Fri, 19 Jan 2024 20:39:35 +0000 Received: from PAXPR04MB9642.eurprd04.prod.outlook.com ([fe80::b8af:bfe5:dffd:59a9]) by PAXPR04MB9642.eurprd04.prod.outlook.com ([fe80::b8af:bfe5:dffd:59a9%4]) with mapi id 15.20.7202.027; Fri, 19 Jan 2024 20:39:35 +0000 From: Frank Li To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Michael Ellerman , Nicholas Piggin , Christophe Leroy , "Aneesh Kumar K.V" , "Naveen N. Rao" , Ran Wang , Zhao Chenhui , Li Yang , Vladimir Oltean , Jakub Kicinski , devicetree@vger.kernel.org (open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS), linuxppc-dev@lists.ozlabs.org (open list:LINUX FOR POWERPC (32-BIT AND 64-BIT)), linux-kernel@vger.kernel.org (open list) Cc: imx@lists.linux.dev Subject: [PATCH 1/4] powerpc: dts: add power management nodes to FSL chips Date: Fri, 19 Jan 2024 15:38:54 -0500 Message-Id: <20240119203911.3143928-1-Frank.Li@nxp.com> X-Mailer: git-send-email 2.34.1 X-ClientProxiedBy: SJ0PR13CA0234.namprd13.prod.outlook.com (2603:10b6:a03:2c1::29) To PAXPR04MB9642.eurprd04.prod.outlook.com (2603:10a6:102:240::14) Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PAXPR04MB9642:EE_|VI1PR04MB6990:EE_ X-MS-Office365-Filtering-Correlation-Id: 0cc88c99-7159-47ad-7e74-08dc192ebf19 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: got6kiY1cAKXgHEzHI72uLp7T5y+UCjfbe3vk85DTDdwuSYwzs3XLAOOmIZG4QhAnCIQXrMht4/eSMabO2girHCg8iJ0YCr7SMZ8hWMOf/B8afSf0nboA2o4ukC0mKQj+1KNFdm/D0fUnBpqrDhhyaNLNAdYcVhDWjzgIeb2Tc/YqU1X6bkvDQMQpPniaBdz8vbTpxivuq5uqSS2scTx+CIk2G6QwHJPMBlp8+j/Sj4SJX+aQNIvYyv8kh389v0u51DeM93KWHR9q6/ZAGMD+4tsY7ktOl5SGmPZpcGQda71+zVKYgULBHtwKzGGyqHMK5X4M973E31bFIwMC92BhTDQvAqo5KG9cDIYHOrx76HcYa2Jt/u8t09qzbDs0t+62GzBxJF+CZHb9KTEs0FCmaUz0UKXYb27oi566S8Q/+jpJd2zhWBjv8uG7mj8u8nApJQmZaMlKre6kgKp7axoF67doa/wAzRKE0rv0tGZAavgP+we2sDgE9mIQvpM6fauzVNLSJdIaYaD9ZOdv9GpyNKm6TDOV5ygyCzM3SZ3RmcV0Qs2lFcHXBiosJkui1uUhRhlB+85V5n4FRPWZaqwlbOzIohaQl0OfEOJIqt8vxpV3vi9WBy7VjJr/B8Qhxo/sKkAHc0Av3yFL5Z328pDNA== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:PAXPR04MB9642.eurprd04.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230031)(396003)(376002)(366004)(346002)(39860400002)(136003)(230922051799003)(451199024)(1800799012)(64100799003)(186009)(6666004)(2616005)(6512007)(6506007)(26005)(1076003)(52116002)(5660300002)(41300700001)(7416002)(83380400001)(2906002)(4326008)(6486002)(478600001)(316002)(66556008)(66476007)(110136005)(66946007)(921011)(8676002)(8936002)(86362001)(36756003)(38100700002)(38350700005); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: oxsv7Y6Tlb/mFEmaUKr/uVUBvasf8uOwKvL7i3zj7ZPqxpSKL5xYZXUB04NmXgpZBt+PH5D6CaWZrsfBJUlMBeZNFY2HJZu4198CjnToFuY9qlD0//Qsi2jmmx1f+Hai11DA95t+pozqfhbUdp+ckHOQwt95zNUDZEQ4NoXQLABrYEhqDPWyNrpNyfmajP+NNPTe7g7kvJJrSEJLGlHEpRklsZVI6R9+NUaQbMQQMrFHJ7DZ8Nf2Q2eMixsIYu5J43g/O3vTSZOWT0xBJVDlGDFhIBh3Vpr7SCJk01ySnLlRY81RVsbGn3bg1xynsupdyrZASa7hysVJ8evzCrmZqw52L4YkDNH33j2O98qoCcper8Ug+eQcYpuAkdtys1MQwaTndHGGzEhnyODLT2do5dtH+iYCJJE4fVaXa94uhMw4VR4mJk4r9ljE2XKABIA6UJ11deA1OY8ZVYpSQskJcO9tu3jtRGoEpKkAItgLd7TvhPF/G/yl3hhkCfMSxPw9uC+JnXCqIrPdMWsCzQUoXrfNwtQk7NDFupojBjzJ1mEZ4QO13xRUk8Z1fpbvtVEIMEYY+ij3GtO/Htag0LpPx1cI+mzufb9kqkZLpGet28Pyt5Cne7lKgYpEi9ywhmn1wLNnaWApBXu5EKJtrEiJjnp041wf6YgsKevqjGkyCrylNPvUm4gWCFsYhCIjP0xfoJwC6MUpyFshh64p3XNZi2yVaJ6lNalaJnwiutD18IJMBxwkP6wZUiSAKdoBRkLSxmEgm78G05JdtjuflUCjQrVMbW6WEXNwBrYWdnKrzlbYIteu26LNx5Y3p7go31uYnv5vGAyQeO96sAga31tdDRbAy4bs03PO5Z2+t1RFEebehLuJ9cSN39CQE8PbpL/2ge5Ds7j0CadMQZSi6/TGOdcUbAfoJ+tPP/5PPISHJFOGV803OXJd+oANF6SsVCa8L+t9aSZQEQwsRZaiF2zAa4YWxwAERf3/AZti5iUzOiw77NCfrXaakpaxIz7q6SE3anoNl6iRjkFG3Fh7rlartV2d3OVhCWc41KlK/5BDQLvwAqkXxkKOGYfr6DusEzulDkLUJ2QiYQHTQvj1eF85qNmhjSUqW6xfNXhj8VhdUsUBsu9RCv1tsq2rNvm3gmkTkwBM+tctZ8Haq9V8UszV+ADJzCEUjYMfgbAN76gnv06fe3EDdB+6p24AArU7ZbORXfTcNuE/Wjv2Ut1+TKKQ9Alm4tQT0j4hmIk2s1xd+NvBRiDJbL//CAKYC979xdGSvgDHdK8QwT/nvl5XUEZvioz8UbP+AhQw+YVJFwRnDuyy93J5HRIyCp3OM+LGLErhN97oZD97dZOtYSeAOlfRGdWSBNTPZYPae0laMWtB0Wpd4/OPwtvrJpH0jhVTQ/7ALfwM6OZF74wK2wROE0t0wOxz03Qd7AJjV/2n0kCbU9SMf/+YwWFerp0OnTgfmClgI7X8WL3vsAY370UDDSSMDUeTMB9SGUWdZNIpHlgtNvtEoYbmHTd4Rx4Ctqm5BCADWlQIkqf3vw5KCA+hme8BbAaF2EzREQHDX2mMM9ZZQ4stg//YcdWcVJ4cSbwR++ca X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 0cc88c99-7159-47ad-7e74-08dc192ebf19 X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB9642.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 19 Jan 2024 20:39:34.9006 (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: qI99F5A8G776ZbuvcBHAMMI8U0ST5dsAHR7zWuwBVw9qru+VQBZXk5X30QPNwPlGAgZVzZxcZuqKKFZxgqMcpQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR04MB6990 From: Ran Wang Enable Power Management feature on device tree, including MPC8536, MPC8544, MPC8548, MPC8572, P1010, P1020, P1021, P1022, P2020, P2041, P3041, T104X, T1024. Signed-off-by: Zhao Chenhui Signed-off-by: Ran Wang Signed-off-by: Frank Li --- arch/powerpc/boot/dts/fsl/mpc8536si-post.dtsi | 14 ++++++++++++-- arch/powerpc/boot/dts/fsl/mpc8544si-post.dtsi | 2 ++ arch/powerpc/boot/dts/fsl/mpc8548si-post.dtsi | 2 ++ arch/powerpc/boot/dts/fsl/mpc8572si-post.dtsi | 2 ++ arch/powerpc/boot/dts/fsl/p1010si-post.dtsi | 14 ++++++++++++++ arch/powerpc/boot/dts/fsl/p1020si-post.dtsi | 5 +++++ arch/powerpc/boot/dts/fsl/p1021si-post.dtsi | 5 +++++ arch/powerpc/boot/dts/fsl/p1022si-post.dtsi | 7 +++++-- arch/powerpc/boot/dts/fsl/p2020si-post.dtsi | 17 +++++++++++++---- arch/powerpc/boot/dts/fsl/pq3-power.dtsi | 19 +++++++++++++++++++ arch/powerpc/boot/dts/fsl/t1024rdb.dts | 2 +- arch/powerpc/boot/dts/fsl/t1040rdb.dts | 2 +- arch/powerpc/boot/dts/fsl/t1042rdb.dts | 2 +- arch/powerpc/boot/dts/fsl/t1042rdb_pi.dts | 2 +- 14 files changed, 83 insertions(+), 12 deletions(-) create mode 100644 arch/powerpc/boot/dts/fsl/pq3-power.dtsi diff --git a/arch/powerpc/boot/dts/fsl/mpc8536si-post.dtsi b/arch/powerpc/boot/dts/fsl/mpc8536si-post.dtsi index 41935709ebe87..fba40a1bccc04 100644 --- a/arch/powerpc/boot/dts/fsl/mpc8536si-post.dtsi +++ b/arch/powerpc/boot/dts/fsl/mpc8536si-post.dtsi @@ -199,6 +199,10 @@ L2: l2-cache-controller@20000 { /include/ "pq3-dma-0.dtsi" /include/ "pq3-etsec1-0.dtsi" + enet0: ethernet@24000 { + fsl,wake-on-filer; + fsl,pmc-handle = <&etsec1_clk>; + }; /include/ "pq3-etsec1-timer-0.dtsi" usb@22000 { @@ -222,9 +226,10 @@ ptp_clock@24e00 { }; /include/ "pq3-etsec1-2.dtsi" - - ethernet@26000 { + enet2: ethernet@26000 { cell-index = <1>; + fsl,wake-on-filer; + fsl,pmc-handle = <&etsec3_clk>; }; usb@2b000 { @@ -249,4 +254,9 @@ global-utilities@e0000 { reg = <0xe0000 0x1000>; fsl,has-rstcr; }; + +/include/ "pq3-power.dtsi" + power@e0070 { + compatible = "fsl,mpc8536-pmc", "fsl,mpc8548-pmc"; + }; }; diff --git a/arch/powerpc/boot/dts/fsl/mpc8544si-post.dtsi b/arch/powerpc/boot/dts/fsl/mpc8544si-post.dtsi index b68eb119faef3..ea7416af7ee3e 100644 --- a/arch/powerpc/boot/dts/fsl/mpc8544si-post.dtsi +++ b/arch/powerpc/boot/dts/fsl/mpc8544si-post.dtsi @@ -188,4 +188,6 @@ global-utilities@e0000 { reg = <0xe0000 0x1000>; fsl,has-rstcr; }; + +/include/ "pq3-power.dtsi" }; diff --git a/arch/powerpc/boot/dts/fsl/mpc8548si-post.dtsi b/arch/powerpc/boot/dts/fsl/mpc8548si-post.dtsi index 579d76cb8e329..dddb7374508d6 100644 --- a/arch/powerpc/boot/dts/fsl/mpc8548si-post.dtsi +++ b/arch/powerpc/boot/dts/fsl/mpc8548si-post.dtsi @@ -156,4 +156,6 @@ global-utilities@e0000 { reg = <0xe0000 0x1000>; fsl,has-rstcr; }; + +/include/ "pq3-power.dtsi" }; diff --git a/arch/powerpc/boot/dts/fsl/mpc8572si-post.dtsi b/arch/powerpc/boot/dts/fsl/mpc8572si-post.dtsi index 49294cf36b4e6..40a6cff770327 100644 --- a/arch/powerpc/boot/dts/fsl/mpc8572si-post.dtsi +++ b/arch/powerpc/boot/dts/fsl/mpc8572si-post.dtsi @@ -193,4 +193,6 @@ global-utilities@e0000 { reg = <0xe0000 0x1000>; fsl,has-rstcr; }; + +/include/ "pq3-power.dtsi" }; diff --git a/arch/powerpc/boot/dts/fsl/p1010si-post.dtsi b/arch/powerpc/boot/dts/fsl/p1010si-post.dtsi index ccda0a91abf00..b540e58ff79e7 100644 --- a/arch/powerpc/boot/dts/fsl/p1010si-post.dtsi +++ b/arch/powerpc/boot/dts/fsl/p1010si-post.dtsi @@ -183,9 +183,23 @@ sdhc@2e000 { /include/ "pq3-etsec2-1.dtsi" /include/ "pq3-etsec2-2.dtsi" + enet0: ethernet@b0000 { + fsl,pmc-handle = <&etsec1_clk>; + }; + + enet1: ethernet@b1000 { + fsl,pmc-handle = <&etsec2_clk>; + }; + + enet2: ethernet@b2000 { + fsl,pmc-handle = <&etsec3_clk>; + }; + global-utilities@e0000 { compatible = "fsl,p1010-guts"; reg = <0xe0000 0x1000>; fsl,has-rstcr; }; + +/include/ "pq3-power.dtsi" }; diff --git a/arch/powerpc/boot/dts/fsl/p1020si-post.dtsi b/arch/powerpc/boot/dts/fsl/p1020si-post.dtsi index 642dc3a83d0e3..cc4c7461003bb 100644 --- a/arch/powerpc/boot/dts/fsl/p1020si-post.dtsi +++ b/arch/powerpc/boot/dts/fsl/p1020si-post.dtsi @@ -163,14 +163,17 @@ sdhc@2e000 { /include/ "pq3-etsec2-0.dtsi" enet0: enet0_grp2: ethernet@b0000 { + fsl,pmc-handle = <&etsec1_clk>; }; /include/ "pq3-etsec2-1.dtsi" enet1: enet1_grp2: ethernet@b1000 { + fsl,pmc-handle = <&etsec2_clk>; }; /include/ "pq3-etsec2-2.dtsi" enet2: enet2_grp2: ethernet@b2000 { + fsl,pmc-handle = <&etsec3_clk>; }; global-utilities@e0000 { @@ -178,6 +181,8 @@ global-utilities@e0000 { reg = <0xe0000 0x1000>; fsl,has-rstcr; }; + +/include/ "pq3-power.dtsi" }; /include/ "pq3-etsec2-grp2-0.dtsi" diff --git a/arch/powerpc/boot/dts/fsl/p1021si-post.dtsi b/arch/powerpc/boot/dts/fsl/p1021si-post.dtsi index 407cb5fd0f5ba..378195db9fca5 100644 --- a/arch/powerpc/boot/dts/fsl/p1021si-post.dtsi +++ b/arch/powerpc/boot/dts/fsl/p1021si-post.dtsi @@ -159,14 +159,17 @@ sdhc@2e000 { /include/ "pq3-etsec2-0.dtsi" enet0: enet0_grp2: ethernet@b0000 { + fsl,pmc-handle = <&etsec1_clk>; }; /include/ "pq3-etsec2-1.dtsi" enet1: enet1_grp2: ethernet@b1000 { + fsl,pmc-handle = <&etsec2_clk>; }; /include/ "pq3-etsec2-2.dtsi" enet2: enet2_grp2: ethernet@b2000 { + fsl,pmc-handle = <&etsec3_clk>; }; global-utilities@e0000 { @@ -174,6 +177,8 @@ global-utilities@e0000 { reg = <0xe0000 0x1000>; fsl,has-rstcr; }; + +/include/ "pq3-power.dtsi" }; &qe { diff --git a/arch/powerpc/boot/dts/fsl/p1022si-post.dtsi b/arch/powerpc/boot/dts/fsl/p1022si-post.dtsi index 093e4e3ed3689..6ac21e81344ad 100644 --- a/arch/powerpc/boot/dts/fsl/p1022si-post.dtsi +++ b/arch/powerpc/boot/dts/fsl/p1022si-post.dtsi @@ -225,11 +225,13 @@ sdhc@2e000 { /include/ "pq3-etsec2-0.dtsi" enet0: enet0_grp2: ethernet@b0000 { fsl,wake-on-filer; + fsl,pmc-handle = <&etsec1_clk>; }; /include/ "pq3-etsec2-1.dtsi" enet1: enet1_grp2: ethernet@b1000 { fsl,wake-on-filer; + fsl,pmc-handle = <&etsec2_clk>; }; global-utilities@e0000 { @@ -238,9 +240,10 @@ global-utilities@e0000 { fsl,has-rstcr; }; +/include/ "pq3-power.dtsi" power@e0070 { - compatible = "fsl,mpc8536-pmc", "fsl,mpc8548-pmc"; - reg = <0xe0070 0x20>; + compatible = "fsl,p1022-pmc", "fsl,mpc8536-pmc", + "fsl,mpc8548-pmc"; }; }; diff --git a/arch/powerpc/boot/dts/fsl/p2020si-post.dtsi b/arch/powerpc/boot/dts/fsl/p2020si-post.dtsi index 81b9ab2119be6..d410082d21c0f 100644 --- a/arch/powerpc/boot/dts/fsl/p2020si-post.dtsi +++ b/arch/powerpc/boot/dts/fsl/p2020si-post.dtsi @@ -178,6 +178,10 @@ usb@22000 { compatible = "fsl-usb2-dr-v1.6", "fsl-usb2-dr"; }; /include/ "pq3-etsec1-0.dtsi" + enet0: ethernet@24000 { + fsl,pmc-handle = <&etsec1_clk>; + + }; /include/ "pq3-etsec1-timer-0.dtsi" ptp_clock@24e00 { @@ -186,7 +190,15 @@ ptp_clock@24e00 { /include/ "pq3-etsec1-1.dtsi" + enet1: ethernet@25000 { + fsl,pmc-handle = <&etsec2_clk>; + }; + /include/ "pq3-etsec1-2.dtsi" + enet2: ethernet@26000 { + fsl,pmc-handle = <&etsec3_clk>; + }; + /include/ "pq3-esdhc-0.dtsi" sdhc@2e000 { compatible = "fsl,p2020-esdhc", "fsl,esdhc"; @@ -202,8 +214,5 @@ global-utilities@e0000 { fsl,has-rstcr; }; - pmc: power@e0070 { - compatible = "fsl,mpc8548-pmc"; - reg = <0xe0070 0x20>; - }; +/include/ "pq3-power.dtsi" }; diff --git a/arch/powerpc/boot/dts/fsl/pq3-power.dtsi b/arch/powerpc/boot/dts/fsl/pq3-power.dtsi new file mode 100644 index 0000000000000..6af12401004db --- /dev/null +++ b/arch/powerpc/boot/dts/fsl/pq3-power.dtsi @@ -0,0 +1,19 @@ +// SPDX-License-Identifier: (GPL-2.0+) +/* + * Copyright 2024 NXP + */ + +power@e0070 { + compatible = "fsl,mpc8548-pmc"; + reg = <0xe0070 0x20>; + + etsec1_clk: soc-clk@24 { + fsl,pmcdr-mask = <0x00000080>; + }; + etsec2_clk: soc-clk@25 { + fsl,pmcdr-mask = <0x00000040>; + }; + etsec3_clk: soc-clk@26 { + fsl,pmcdr-mask = <0x00000020>; + }; +}; diff --git a/arch/powerpc/boot/dts/fsl/t1024rdb.dts b/arch/powerpc/boot/dts/fsl/t1024rdb.dts index 270aaf631f2ab..7d003e07a9fb2 100644 --- a/arch/powerpc/boot/dts/fsl/t1024rdb.dts +++ b/arch/powerpc/boot/dts/fsl/t1024rdb.dts @@ -91,7 +91,7 @@ nand@1,0 { board-control@2,0 { #address-cells = <1>; #size-cells = <1>; - compatible = "fsl,t1024-cpld"; + compatible = "fsl,t1024-cpld", "fsl,deepsleep-cpld"; reg = <3 0 0x300>; ranges = <0 3 0 0x300>; bank-width = <1>; diff --git a/arch/powerpc/boot/dts/fsl/t1040rdb.dts b/arch/powerpc/boot/dts/fsl/t1040rdb.dts index dd3aab81e9dea..4347924e9aa7e 100644 --- a/arch/powerpc/boot/dts/fsl/t1040rdb.dts +++ b/arch/powerpc/boot/dts/fsl/t1040rdb.dts @@ -104,7 +104,7 @@ phy_qsgmii_7: ethernet-phy@b { ifc: localbus@ffe124000 { cpld@3,0 { - compatible = "fsl,t1040rdb-cpld"; + compatible = "fsl,t104xrdb-cpld", "fsl,deepsleep-cpld"; }; }; }; diff --git a/arch/powerpc/boot/dts/fsl/t1042rdb.dts b/arch/powerpc/boot/dts/fsl/t1042rdb.dts index 3ebb712224cbe..099764322b33c 100644 --- a/arch/powerpc/boot/dts/fsl/t1042rdb.dts +++ b/arch/powerpc/boot/dts/fsl/t1042rdb.dts @@ -68,7 +68,7 @@ phy_sgmii_2: ethernet-phy@3 { ifc: localbus@ffe124000 { cpld@3,0 { - compatible = "fsl,t1042rdb-cpld"; + compatible = "fsl,t104xrdb-cpld", "fsl,deepsleep-cpld"; }; }; }; diff --git a/arch/powerpc/boot/dts/fsl/t1042rdb_pi.dts b/arch/powerpc/boot/dts/fsl/t1042rdb_pi.dts index 8ec3ff45e6fc7..b10cab1a347bf 100644 --- a/arch/powerpc/boot/dts/fsl/t1042rdb_pi.dts +++ b/arch/powerpc/boot/dts/fsl/t1042rdb_pi.dts @@ -41,7 +41,7 @@ / { ifc: localbus@ffe124000 { cpld@3,0 { - compatible = "fsl,t1042rdb_pi-cpld"; + compatible = "fsl,t104xrdb-cpld", "fsl,deepsleep-cpld"; }; }; From patchwork Fri Jan 19 20:38:55 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Frank Li X-Patchwork-Id: 764046 Received: from EUR04-HE1-obe.outbound.protection.outlook.com (mail-he1eur04on2052.outbound.protection.outlook.com [40.107.7.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 2F88B56B7E; Fri, 19 Jan 2024 20:39:43 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.7.52 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705696785; cv=fail; b=q43+Km41bmWsQE0YErRe5BWW0/5DI+xilKlCRCSnKA2iJ+LyL7WJgNGsDMrizvgraRR57Pm7WdOPoWl4IwWqKwjFo7HzleeDW3qQhrhZrBh3u4vZmtZz2RDxFBZ0PTYNVRb/8JfPJPTCs7BLpPjEJ2Xos99vvfW37Sz9KfndFdc= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705696785; c=relaxed/simple; bh=XAQ+6QcZfeh7Ed1mFuQo2q0eNJg9+1iv0NzNvx5MBP4=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: Content-Type:MIME-Version; b=Z/UJ28/FOrvJt9ofw2pdVbUQ4uIoECRHDI59etPNe4RGCqCDdh+dah/ylcEJobSL5BKg222wf79NiU0S8kHCCFFViH7AwAyUmgspwLQTywlIRYO+xNI+urcjGvDd+NcblNRJU1nZtbPEh/VKeIfH5+gLcpM4v3KErx7twdw3Xfc= ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=nxp.com; spf=pass smtp.mailfrom=nxp.com; dkim=pass (1024-bit key) header.d=nxp.com header.i=@nxp.com header.b=RRsm59p/; arc=fail smtp.client-ip=40.107.7.52 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=nxp.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=nxp.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=nxp.com header.i=@nxp.com header.b="RRsm59p/" ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=c3yUBuAz4QHPRIn5Elo2SVmoEb63Vwt2H2c9/JEb4FkYI1zMPDRXQnCxYMWPqoXhx3WR2zlxGc3TjOFvz7d4XPSGMZnQGkzZVoYtdmUcE0DZEJTXHNQqJjuW4BLH82Ikv2ss6d0o4YT5huP8cFYG7InwXOfO8L6n5iUpQ5tdhYI3/B0uoPqKUyBhrbiyykL3n0cy9809JVZlsBte4T9QoDkgvrIBawtf4YfeSY1Z29otr4qY+rVO7wOntENEa2VpMFLe2No98dI6gyqJWr7ZSCpgrvbeNxmOcmDj+emDeqP6oV3RYi5AaLoKeCaftQW0+nMETJPIupOAI5RotSv0eQ== 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=p45joBmEglStok5dM7gIywyLRTyDLUWlJBjDSG0Wu8c=; b=SiUgMt5V/SV3VQrFkNAnhTiXWpYRlyY+dy/zeuG1ZRPKGyXJoA0sxLflTavYWH1xPIDKL4yo3SSwsOUsjSULMVum80+RbpPLBCRoxE8z4vIxDGtQMM8hhTTpHgJSwfNr0oPDxqZjf6LP1+B4S8uQLad+tqU2+tYtH9lSXYVnLFj4aCPi41rPvIvtOj3VthX5S5bv2IzStL95vNQb1SBWC21YAzNynMTjvZT3siT92VHNVtlQgHcyd30pBr6JIzNl9RkXTLFJNwqkYv+cEf+BckB2blOKWM5KkbhNxj4DrFKgIIfFI4oIGbeJz9fMMzIfz1WaIVRN8coGRpoZR+GItw== 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=p45joBmEglStok5dM7gIywyLRTyDLUWlJBjDSG0Wu8c=; b=RRsm59p/TAXRvzTOyH2C4RsyXPWY8Z7d8aWY3FyXtRDhAkc+coOzAjs7dTONa5g+kfG/IPdlAWPKplGElUwy4m72WXCArPdpmeu/tAgBXyqAI0T/l615W5PT17bFqdhVw2Opjx1i3dyZIJWmPJd5O6dbYGZUK57hcJgwViDdqV4= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from PAXPR04MB9642.eurprd04.prod.outlook.com (2603:10a6:102:240::14) by VI1PR04MB6990.eurprd04.prod.outlook.com (2603:10a6:803:138::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7202.24; Fri, 19 Jan 2024 20:39:40 +0000 Received: from PAXPR04MB9642.eurprd04.prod.outlook.com ([fe80::b8af:bfe5:dffd:59a9]) by PAXPR04MB9642.eurprd04.prod.outlook.com ([fe80::b8af:bfe5:dffd:59a9%4]) with mapi id 15.20.7202.027; Fri, 19 Jan 2024 20:39:40 +0000 From: Frank Li To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Michael Ellerman , Nicholas Piggin , Christophe Leroy , "Aneesh Kumar K.V" , "Naveen N. Rao" , Li Yang , Xiaowei Bao , devicetree@vger.kernel.org (open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS), linuxppc-dev@lists.ozlabs.org (open list:LINUX FOR POWERPC (32-BIT AND 64-BIT)), linux-kernel@vger.kernel.org (open list) Cc: imx@lists.linux.dev Subject: [PATCH 2/4] powerpc: dts: p1010rdb: fix INTx interrupt issue on P1010RDB-PB Date: Fri, 19 Jan 2024 15:38:55 -0500 Message-Id: <20240119203911.3143928-2-Frank.Li@nxp.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240119203911.3143928-1-Frank.Li@nxp.com> References: <20240119203911.3143928-1-Frank.Li@nxp.com> X-ClientProxiedBy: SJ0PR13CA0234.namprd13.prod.outlook.com (2603:10b6:a03:2c1::29) To PAXPR04MB9642.eurprd04.prod.outlook.com (2603:10a6:102:240::14) Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PAXPR04MB9642:EE_|VI1PR04MB6990:EE_ X-MS-Office365-Filtering-Correlation-Id: 08417b41-377b-4829-7b3e-08dc192ec2c2 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 7aEeZw/UgzgpqLtURQxgNQ3ZVik29stJ8tzr4E7pcO+dmhX7VniLmYpsTUXsrSIMeCjF/dp6pM9TiBgCZIzjeXlV4wPCgdsQM5PqzJSDTs5GOCirJcxi94fYPnVDiBAxNtZNK1u6L1tCdGcN5tL8qXfY8aFj8ROFAcUJc4MDNImnl98VWM5eg2dpOt/cx7V3FL83IzX7vAqQdMkNWOhDeyFsvjCjY12cIVYuXmnU8h/pOl7vTPujVvmBiJehfTt98rVT7TZBUve2CLLj2PGTDADVdSvoY6endAhoTk6J6TjkHTbxDKvwDMUrLku7YIRhLauKHJBT4F2xqwYVAAZY/dNxYi3fAiSvCxF09kd1+4ULcuEEXWZVNxQLR+iO5gC/Z7Dug4ZKrYgudIhV4kO5zcwLkIKc/37sRQivxszz7BTUWhzvsXyAa/HdWsSDBZZBw30cHWDruXFt2VY05IRe14T/eeaLmHD32TfPLwJQUd99+JXKYJCe9bMwCzXOI6wv7rZLNwbaW20u6NoWg+lpTCZIUFCQqhmBK+PHvBMK6XsXiLBbSIH6SSEkE9cEjbtRy1w4910m+OEYZjH0D6Utql5zRCQ0WyCe4OpcBO2FeZKoEDUwHF41OoOO/PfRSd0N+wUWW5rOlzl5W553yT/wxQ== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:PAXPR04MB9642.eurprd04.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230031)(396003)(376002)(366004)(346002)(39860400002)(136003)(230922051799003)(451199024)(1800799012)(64100799003)(186009)(6666004)(2616005)(6512007)(6506007)(26005)(1076003)(52116002)(5660300002)(41300700001)(7416002)(83380400001)(2906002)(4326008)(6486002)(478600001)(316002)(66556008)(66476007)(110136005)(66946007)(921011)(8676002)(8936002)(86362001)(36756003)(38100700002)(38350700005); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: B8QOt3cv6ROuakdYKqpMG/xCWn5gFm2/aWFn/9+gpFfOn9MwY+sYsP0midxh0VvRNp/sYKlMhoAHBk6GUvcF4qfr7VXsxateWIolHFvSeyMePyhqlXkVU5CsV1kExtvlM1eGQP+MidEbBDYL6hKxDRmNhoDJFeqPLF2Ve7ed4wkTVpMxD+dzbdI+kHJI6UKZo2qL9yuVm40XxUvsz4b/QqTrZO2tPvtmfg0EkWE5aoAOHeMTirNwBj+n/hF0+j7+GrS2XXsvugY3iKngCOE3bSC0i/175RWhq4jJGhXLwIsVCWeImmN6XAU2ISRw/4OZPzDnKa3uQuCgouN+6ZdW75Nw2mgPqK9dofo8prAsj9ajxooIHqe9ZJImG4K/fis2uYuasDJLQG0us/l+s9vJE08np8/WTKbHsRJgfZJsryT/5hmI5FgoHhZ/C/LV0ONwxDoZxM/apqiKpwlxUlxA18wqCFRAVZSyAtlioDzo2UkoxuQQyDPqELMEbJlNpOA7jHGS4aGuizsnuYs0dVHf3WD0d33/9GqtojXVY09StAeRTpi823Oy50k6RRob2VilqeGzZeFrEf7OVviTXXQP+HUMlJ8EThMzwaN4khpeHnzLLEjbxhOdFXjwoMuvegTTQErlMcM0ZI7cffqZyNp9Q7BlHyW435qb7v07PS1AtM6echr0/+Vu8AstTKpsVId66xwHKwzwmVWmFXGnP1LFoEtPkw0gZbq/lTyCYyenDmo49iH/YbrY+bekutJhsyPU1ni9zUzsgvSJBYzmRvo/ktfWuev/bqh42V53qbWur27ACATFj3ke9thePTGOHBHZhY35AQEnn99fo5AudtWdnyWxapcw91GxuIca1rX5yS6/IjZLyCrCpLrYGtFPDk+GIkB0XsfSlPJDMXU0Gxy3oAli2S2rHm23HWcwpdkpWcuALPC9Rd8RkH8IVv/ZpknWFdo5omDT/jsVpX36HZO5214Ou/oFYmQL7QCZk50AVd7vzreET6YnrS2ekYVot3lFAd+FnB5jEaggC/NJjDgcICtDkQYxAVIalXwUbP6VxXoXvB/zIDLvXhBEwg5rx0opQu2hTHwo4TZqlHMmpN2nFX4OctDfJc7F3eC/QVPtgpelFxkebxg/XEd3+TMrcNzKGRuq0Ns2k6FCyij7KSBCxoAlID/EZJwfVE1mOdYsJ9K4Kq6g/974Dfl8+Td/G0rSf1RzHdkhsgYhaka9xn/kFP3t05jNvnLDpPfw1LbMfQ2HGy9W1Ly29e6ld924HttPpCm7drteqENcnH3D7OS+i74PdWN42BuHIr2mvRKHyqLrdxb4moNSJMA5fJVIj68dvQfSlWHXux1VnOyuMXvEh2vg19tN4CrB227HYYbWjxvJcfjMSN2l9ZWSADj2GpiW2jW3AKbp15nWlj7xVdMXHWR0tKMz0B8o9QxyUaMqz71J87YnintjrfRVD/TSM7mfVaGkEpVQYGe5Jdxv2cCxOrYVgpV8c4dh+hPEidsyKHccrCQnf5Xc9M8cIjUAM+jLiFV7eWMd2cYHytIvwXj2qGykuSkoV0h8yP/AgBNXGFrCTLc/Xv6+HE5dYnCV1sfq X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 08417b41-377b-4829-7b3e-08dc192ec2c2 X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB9642.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 19 Jan 2024 20:39:40.8215 (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: SGSCG7AHPSLNA4b1j4pNkjiVelDaXMysmTaxU+dbJ5darxFlzxYWzjv+lxdLF0d/F8Dm+rYW6RxolzPmmFUsjQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR04MB6990 From: Xiaowei Bao Due to the INTA is shared with the active-low PHY2 interrupt on P1010RDB-PA board, so configure P1010RDB-PA's INTA with polarity as active-low, the P1010RDB-PB board is used separately, so configure P1010RDB-PB's INTA with polarity as active-high. The INTX in P1010RDB-PB do not work because of the pcie@0 node fixup will be overwrited by p1010si-post.dtsi file, so we move the pcie@0 node fixup to p1010rdb-pb.dts and p1010rdb-pb_36b.dts. Signed-off-by: Xiaowei Bao Signed-off-by: Li Yang Signed-off-by: Frank Li --- arch/powerpc/boot/dts/fsl/p1010rdb-pb.dts | 16 ++++++++++++++++ arch/powerpc/boot/dts/fsl/p1010rdb-pb_36b.dts | 16 ++++++++++++++++ arch/powerpc/boot/dts/fsl/p1010rdb.dtsi | 16 ---------------- 3 files changed, 32 insertions(+), 16 deletions(-) diff --git a/arch/powerpc/boot/dts/fsl/p1010rdb-pb.dts b/arch/powerpc/boot/dts/fsl/p1010rdb-pb.dts index 3a94acbb3c033..ce3346d77858f 100644 --- a/arch/powerpc/boot/dts/fsl/p1010rdb-pb.dts +++ b/arch/powerpc/boot/dts/fsl/p1010rdb-pb.dts @@ -29,3 +29,19 @@ &phy2 { }; /include/ "p1010si-post.dtsi" + +&pci0 { + pcie@0 { + interrupt-map = < + /* IDSEL 0x0 */ + /* + *irq[4:5] are active-high + *irq[6:7] are active-low + */ + 0000 0x0 0x0 0x1 &mpic 0x4 0x2 0x0 0x0 + 0000 0x0 0x0 0x2 &mpic 0x5 0x2 0x0 0x0 + 0000 0x0 0x0 0x3 &mpic 0x6 0x1 0x0 0x0 + 0000 0x0 0x0 0x4 &mpic 0x7 0x1 0x0 0x0 + >; + }; +}; diff --git a/arch/powerpc/boot/dts/fsl/p1010rdb-pb_36b.dts b/arch/powerpc/boot/dts/fsl/p1010rdb-pb_36b.dts index 4cf255fedc96e..83590354f9a09 100644 --- a/arch/powerpc/boot/dts/fsl/p1010rdb-pb_36b.dts +++ b/arch/powerpc/boot/dts/fsl/p1010rdb-pb_36b.dts @@ -56,3 +56,19 @@ &phy2 { }; /include/ "p1010si-post.dtsi" + +&pci0 { + pcie@0 { + interrupt-map = < + /* IDSEL 0x0 */ + /* + *irq[4:5] are active-high + *irq[6:7] are active-low + */ + 0000 0x0 0x0 0x1 &mpic 0x4 0x2 0x0 0x0 + 0000 0x0 0x0 0x2 &mpic 0x5 0x2 0x0 0x0 + 0000 0x0 0x0 0x3 &mpic 0x6 0x1 0x0 0x0 + 0000 0x0 0x0 0x4 &mpic 0x7 0x1 0x0 0x0 + >; + }; +}; diff --git a/arch/powerpc/boot/dts/fsl/p1010rdb.dtsi b/arch/powerpc/boot/dts/fsl/p1010rdb.dtsi index 2ca9cee2ddeb2..ef49a7d6c69dd 100644 --- a/arch/powerpc/boot/dts/fsl/p1010rdb.dtsi +++ b/arch/powerpc/boot/dts/fsl/p1010rdb.dtsi @@ -215,19 +215,3 @@ enet2: ethernet@b2000 { phy-connection-type = "sgmii"; }; }; - -&pci0 { - pcie@0 { - interrupt-map = < - /* IDSEL 0x0 */ - /* - *irq[4:5] are active-high - *irq[6:7] are active-low - */ - 0000 0x0 0x0 0x1 &mpic 0x4 0x2 0x0 0x0 - 0000 0x0 0x0 0x2 &mpic 0x5 0x2 0x0 0x0 - 0000 0x0 0x0 0x3 &mpic 0x6 0x1 0x0 0x0 - 0000 0x0 0x0 0x4 &mpic 0x7 0x1 0x0 0x0 - >; - }; -}; From patchwork Fri Jan 19 20:38:56 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Frank Li X-Patchwork-Id: 764866 Received: from EUR04-HE1-obe.outbound.protection.outlook.com (mail-he1eur04on2087.outbound.protection.outlook.com [40.107.7.87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id AD68D5676D; Fri, 19 Jan 2024 20:39:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.7.87 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705696796; cv=fail; b=ktMyZZ8vv5/4sIZQi9nLKrgDAq87t3gVHOYr1WOlA2Z/u4etaDhHQ85DJqsN1gTxO6DGTu6RskM+CCv3elFMoh/6+X8afRCGhmdpO5EO8n/nD8NKsIsyaAJ2QWrZ24vvNxfUa8/Hd2M7Ra7bMLJg3cjFWcZgms8NQWXIW/AZg3g= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705696796; c=relaxed/simple; bh=dH+qrAn1ve3hxezDQMPW+8/gs3fJnmPkPU3sGs6HPH0=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: Content-Type:MIME-Version; b=RvHH4nKfSh9IkZHwTaGrVd1xWQ34JJuI9UCxYo+X51cJj3/vdMxPol02rnhoG6hOB326pToqj2t83r8QfGj/B7OWhSH8uSedYfi79C8hveRryw2XEcdBh6M35nyReXGaEoa6a5aNYsVH4NmbEPOyf0vhuOJEFu/OSQLQxRwA8a0= ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=nxp.com; spf=pass smtp.mailfrom=nxp.com; dkim=pass (1024-bit key) header.d=nxp.com header.i=@nxp.com header.b=HYT4lP38; arc=fail smtp.client-ip=40.107.7.87 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=nxp.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=nxp.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=nxp.com header.i=@nxp.com header.b="HYT4lP38" ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=EUZVfaa25InGwLHMFn5eAiYNPNMuEM2NPHJu8MzXydMsWJ8fPl+s06V6DzF1o3G/J0RRlZr9TOg9+jmaoooCEcig8dOgakNH1yRQ+faLjN4fOYdQjNxqUg+foIwSfB1udG/6BtwJkvjTJS66zF5E+SjwtL/bD7Pc9fNgS4rviSbOh/KMN7eMYypvAz1ZbagOndeSQ2CK462QCLkFYUIR4FVtNfJQNWRyUW5r896z8zp910BJrTVZCRzdmoZR0GK6iZRg+1LHownE07oCeThpEiQREivTh4MIBo5uppIjIHDPscjqCJ2Rt6cZYLaRg5G7T5OygVVkFTOugrGkFbPenA== 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=7ZsaPThvML6AL8ircfax/VheS2Kdk84k0nTMRlTK42s=; b=LBZlVah7UG2NwVERW5VEHBD3Y/IDkZRUPJX7pQpWIHyYHO5PtiIap7nCYF1WII2YiwK+1/+XWCKvpTPHjHWssLMmBM9/Ns2WXmzMi87NP5DPTUN2BKYgNKzhGuGmbGomb5+9uTi2rHqK+V27ezF9J1+VPCz3I0O+bqqomMmqQJjFy/RMr31Rw5PT8+lYfSVaqSLQwNCIvXYzerOYIV50gT0/mBqryRXxKFCO/0HL5yg87ysa5OLmweJNozVVlIx32X30szpfX/yl0hRlARrYhix47m4rnDQFZpYVsqcL+scNJpcPsN4qSCxvW878+yT6Vunoh64Le/kcSFgrWqaCtA== 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=7ZsaPThvML6AL8ircfax/VheS2Kdk84k0nTMRlTK42s=; b=HYT4lP38xIdT9+dQBrDiHC7H+RcwH6IrJ0AKi6fwbkQMRrjX/ulxKEeNSh7hHv8LzwiQzD6ViFPZ1df73jmYrN9n/tOr/WSjGXLBAZTZWqi2N3yVbmphNUaKRemXpvPFn1tpZJJfNnYTnsRorFeaJytqB6h1Fu5aarUYuqF/sZw= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from PAXPR04MB9642.eurprd04.prod.outlook.com (2603:10a6:102:240::14) by VI1PR04MB6990.eurprd04.prod.outlook.com (2603:10a6:803:138::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7202.24; Fri, 19 Jan 2024 20:39:51 +0000 Received: from PAXPR04MB9642.eurprd04.prod.outlook.com ([fe80::b8af:bfe5:dffd:59a9]) by PAXPR04MB9642.eurprd04.prod.outlook.com ([fe80::b8af:bfe5:dffd:59a9%4]) with mapi id 15.20.7202.027; Fri, 19 Jan 2024 20:39:51 +0000 From: Frank Li To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Michael Ellerman , Nicholas Piggin , Christophe Leroy , "Aneesh Kumar K.V" , "Naveen N. Rao" , Li Yang , Ran Wang , Zhao Chenhui , David Heidelberg , Jakub Kicinski , Vladimir Oltean , devicetree@vger.kernel.org (open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS), linuxppc-dev@lists.ozlabs.org (open list:LINUX FOR POWERPC (32-BIT AND 64-BIT)), linux-kernel@vger.kernel.org (open list) Cc: imx@lists.linux.dev Subject: [PATCH 3/4] powerpc: dts: mpc85xx: remove "simple-bus" compatible from ifc node Date: Fri, 19 Jan 2024 15:38:56 -0500 Message-Id: <20240119203911.3143928-3-Frank.Li@nxp.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240119203911.3143928-1-Frank.Li@nxp.com> References: <20240119203911.3143928-1-Frank.Li@nxp.com> X-ClientProxiedBy: SJ0PR13CA0234.namprd13.prod.outlook.com (2603:10b6:a03:2c1::29) To PAXPR04MB9642.eurprd04.prod.outlook.com (2603:10a6:102:240::14) Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PAXPR04MB9642:EE_|VI1PR04MB6990:EE_ X-MS-Office365-Filtering-Correlation-Id: 354bc7b4-0642-4209-21ec-08dc192ec939 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: C/eh/Ii1++nRviuYSddSL5U/7bcZbU4ZCNYoplx9lpWJfAvvP8+Av4WQhcBuXszkXVKJNp894VQz2IwqRVQUKlYDMktWQx/ioaLHO2ELF1bNgoWadKWWMbE+B71zBNoWuv/wUcop3FcJ5joQXU2WDm6qMA3j0hNGAcFr5+pLFMYQtBp2wkiHJpEy/kxSfPruANN9XAxlxKCcG/OPWDyrzlkyGWT/ObnyaT6vySY5DPDK5JALlfe0LI998GJuzeYfh9B78qiuaw/xelTethh2BrELpbeOc3F5vHtJz737NCrJk5SCP5bNHJQTFijrwo8IGLkay9tFZSLflceCQLwVr3dcTnQ/G2r/gr8sHTGZGjSuowQNOvMNKvUn54VOiS9Vnz5ihH9vrzqRESPKGZSMsYpOYG0RKUq9XaU/aE9BF/CaD4CdyIfkT1RO77MqBGEI3+gt3XgXySEPCryoSN7ftEe2F0ly6WNhnBrcdi0kaOSrn9IU9SievrCuQVhunwsKItW30YmxDZw4DbJOhTC51AC1OGeAzG/VwOgH2Bo70hPQaNGeCPj2zS1BNzLVNqKOqZ4kKA2TVpULT/7SwjDsXmAgsHmgcBPa3p5IOJjClhzMw8UVviSHD/bONH1J5ZNN7Gca4G1BGbcab1sEgtl9MA== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:PAXPR04MB9642.eurprd04.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230031)(396003)(376002)(366004)(346002)(39860400002)(136003)(230922051799003)(451199024)(1800799012)(64100799003)(186009)(2616005)(6512007)(6506007)(26005)(1076003)(52116002)(5660300002)(41300700001)(7416002)(83380400001)(2906002)(4326008)(6486002)(478600001)(316002)(66556008)(66476007)(110136005)(66946007)(921011)(8676002)(8936002)(86362001)(36756003)(38100700002)(38350700005); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: t1APx5pw1KUOUhcTPuVWLlxPLWT2pDp8XbAfk1JCTTpbFPk3aw8vDfgGEMWAAqMZX4ME0vlWQ1wPHwoZQdXN9goPbmWeSq8qTgQvsCGjBqW8IX0n/nVPCZQ800dDcaJs8U4tZgaMJULCah7xbuQnmHjcK1RhSa50i02OIPzZJisNx4NmKTlDO1nNu/TdWalM9esPz8GvYn3g1iYLRSlodKeFTtbvvFbUfbOcttB7MHjANF7Gtx631wlx6oISk9hp1LdmBwlCAJWbR0KO9mMzqs2fRWpE80DLWK3V5OSi46uqHaCTBbs32yeOsfKRYdfKsrXzwry8C4aa77psFUs+mNRyfTaSy395HftFo4u6uWnJIunRun2zkfIN3fAcryqpGCVQhBs3AxZgCD/FBoIe38vPPe6AoffCZ1D7OKV0Z9IK9OBlNrMSkJmU3Q50dg4tXeSZXvJSfGUdwlVS1QWZ47u4P5mnOAZyEXWkMIdUW/ws2naaL515dUvfv3HbAyMsHQgURTpxfPhokCe5FBxWXJp69xuBcij/YVLOXPXA0TLYpmqgQgH5JwXQZpJWg6gfRw0paVsaUK+42uN18RDasrYXCrZJDbnXlFY5TkYWk0tCREXv2/Pob7FMD0SSHNv3nqE2+LZ/3BV38W7YUd4f7T7DXN1M1EgQtfXKV4keUWElf9QeYrJYDDtRN6HXtPuG2sULOWaD1TL+srJ4gyJhFT+LjyCqIyYdSnxGCQnAyOXMjuufBgv0Q6qf1MD7Vu0sU0LOnJgDwcQWu7Sbu+gRcV2mo20Sw5RxXqXwT8w7gYHl7ANiF2djMa9D7Up+CHpOV8BefQcFMv1kBzlbIXfpWFi/vLBU8sETE8uGQcQPTVRMpF/fv7BzLH1TjUh6mjYzOKuX2Nk1VWe3ZatmwtEblM6ZjCs9Er44flsTD9mwOWkda/AYd2N7G12zA673S5zFZZDGb7QuTLO8WhCPmMIqJ9vW3hqWyEbfdixEStrz8FFnEiq8b8qAJMqlJ2vvy9GVarJlya0cA5dpFGVM3xM2sQvIcGBa/FZJGJ7gYnaQklt9QB3Ngk+RkufVaHFrVMLarExA3XuwaqxpzxBrpdOAGZWM9bs0ZVudT48FJ6IuxDh9RbwfoCaeMAZsndxu1j8bu4xz3Rb9lP5YEx9imkT3ta9g89bSVqqCgeMjDtcY1BLLPweiLxbSLVezFd5mSCRpy15PykMlGwB41bCIG9QKg3dIaQd9uUdEt0rD2Y+lA47h551ns0vJV6xkdZukxLicUGH01gSEVwLBcMu8yL/dY2RHi4S2+RIAnb7Qh0WnMYWVh2IV92EO+XcqtSfTbrot0mfTjwlRdOIfi17dLkj6YpKGE0yv2V05JJmi5KJXcKR6hwxt50z0G7MoBaYiSofodYEYtE5qgN2PeohxYhLWsCVsGBYldRKLynjtgVPOUtvp0OrUvnR+Milp9VXXDsbyLMJ/Tzo8474VBLpFEJr/luRtfX3chZgIwbGWJXv+pL+04aQhRxfBHbvbMJCwQADxkP/rrQ87rTUCWztZsIJsVW5S3UyJOaO6IuJoAy8sMJHMFHhguhUXDdGHWtJQDr5x X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 354bc7b4-0642-4209-21ec-08dc192ec939 X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB9642.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 19 Jan 2024 20:39:51.7111 (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: 8NnCzesehh4uk2TbOodAvvfgCJ0vRWZXG+oa8iR9zlc+FwEiD2V9mFHpGxBbpAX/NMeyZ3ApxzzOdmmpcUzVmw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR04MB6990 From: Li Yang Update dts to match dts binding document. Signed-off-by: Li Yang Signed-off-by: Frank Li --- arch/powerpc/boot/dts/fsl/b4si-post.dtsi | 2 +- arch/powerpc/boot/dts/fsl/bsc9131si-post.dtsi | 2 +- arch/powerpc/boot/dts/fsl/bsc9132si-post.dtsi | 2 +- arch/powerpc/boot/dts/fsl/c293si-post.dtsi | 2 +- arch/powerpc/boot/dts/fsl/p1010si-post.dtsi | 2 +- arch/powerpc/boot/dts/fsl/t1023si-post.dtsi | 2 +- arch/powerpc/boot/dts/fsl/t1040si-post.dtsi | 2 +- arch/powerpc/boot/dts/fsl/t2081si-post.dtsi | 2 +- arch/powerpc/boot/dts/fsl/t4240si-post.dtsi | 2 +- 9 files changed, 9 insertions(+), 9 deletions(-) diff --git a/arch/powerpc/boot/dts/fsl/b4si-post.dtsi b/arch/powerpc/boot/dts/fsl/b4si-post.dtsi index 4f044b41a776b..fb3200b006ade 100644 --- a/arch/powerpc/boot/dts/fsl/b4si-post.dtsi +++ b/arch/powerpc/boot/dts/fsl/b4si-post.dtsi @@ -50,7 +50,7 @@ &qman_pfdr { &ifc { #address-cells = <2>; #size-cells = <1>; - compatible = "fsl,ifc", "simple-bus"; + compatible = "fsl,ifc"; interrupts = <25 2 0 0>; }; diff --git a/arch/powerpc/boot/dts/fsl/bsc9131si-post.dtsi b/arch/powerpc/boot/dts/fsl/bsc9131si-post.dtsi index 2a677fd323ebe..5c53cee8755f9 100644 --- a/arch/powerpc/boot/dts/fsl/bsc9131si-post.dtsi +++ b/arch/powerpc/boot/dts/fsl/bsc9131si-post.dtsi @@ -35,7 +35,7 @@ &ifc { #address-cells = <2>; #size-cells = <1>; - compatible = "fsl,ifc", "simple-bus"; + compatible = "fsl,ifc"; interrupts = <16 2 0 0 20 2 0 0>; }; diff --git a/arch/powerpc/boot/dts/fsl/bsc9132si-post.dtsi b/arch/powerpc/boot/dts/fsl/bsc9132si-post.dtsi index b8e0edd1ac69a..4da451e000d90 100644 --- a/arch/powerpc/boot/dts/fsl/bsc9132si-post.dtsi +++ b/arch/powerpc/boot/dts/fsl/bsc9132si-post.dtsi @@ -35,7 +35,7 @@ &ifc { #address-cells = <2>; #size-cells = <1>; - compatible = "fsl,ifc", "simple-bus"; + compatible = "fsl,ifc"; /* FIXME: Test whether interrupts are split */ interrupts = <16 2 0 0 20 2 0 0>; }; diff --git a/arch/powerpc/boot/dts/fsl/c293si-post.dtsi b/arch/powerpc/boot/dts/fsl/c293si-post.dtsi index f208fb8f64b37..2d443d5192749 100644 --- a/arch/powerpc/boot/dts/fsl/c293si-post.dtsi +++ b/arch/powerpc/boot/dts/fsl/c293si-post.dtsi @@ -35,7 +35,7 @@ &ifc { #address-cells = <2>; #size-cells = <1>; - compatible = "fsl,ifc", "simple-bus"; + compatible = "fsl,ifc"; interrupts = <19 2 0 0>; }; diff --git a/arch/powerpc/boot/dts/fsl/p1010si-post.dtsi b/arch/powerpc/boot/dts/fsl/p1010si-post.dtsi index b540e58ff79e7..2d2550729dcc2 100644 --- a/arch/powerpc/boot/dts/fsl/p1010si-post.dtsi +++ b/arch/powerpc/boot/dts/fsl/p1010si-post.dtsi @@ -35,7 +35,7 @@ &ifc { #address-cells = <2>; #size-cells = <1>; - compatible = "fsl,ifc", "simple-bus"; + compatible = "fsl,ifc"; interrupts = <16 2 0 0 19 2 0 0>; }; diff --git a/arch/powerpc/boot/dts/fsl/t1023si-post.dtsi b/arch/powerpc/boot/dts/fsl/t1023si-post.dtsi index aa5152ca81201..8ef0c020206b9 100644 --- a/arch/powerpc/boot/dts/fsl/t1023si-post.dtsi +++ b/arch/powerpc/boot/dts/fsl/t1023si-post.dtsi @@ -52,7 +52,7 @@ &qman_pfdr { &ifc { #address-cells = <2>; #size-cells = <1>; - compatible = "fsl,ifc", "simple-bus"; + compatible = "fsl,ifc"; interrupts = <25 2 0 0>; }; diff --git a/arch/powerpc/boot/dts/fsl/t1040si-post.dtsi b/arch/powerpc/boot/dts/fsl/t1040si-post.dtsi index 7767886232040..c9542b73bd7f1 100644 --- a/arch/powerpc/boot/dts/fsl/t1040si-post.dtsi +++ b/arch/powerpc/boot/dts/fsl/t1040si-post.dtsi @@ -52,7 +52,7 @@ &qman_pfdr { &ifc { #address-cells = <2>; #size-cells = <1>; - compatible = "fsl,ifc", "simple-bus"; + compatible = "fsl,ifc"; interrupts = <25 2 0 0>; }; diff --git a/arch/powerpc/boot/dts/fsl/t2081si-post.dtsi b/arch/powerpc/boot/dts/fsl/t2081si-post.dtsi index 27714dc2f04a5..6bb95878d39d3 100644 --- a/arch/powerpc/boot/dts/fsl/t2081si-post.dtsi +++ b/arch/powerpc/boot/dts/fsl/t2081si-post.dtsi @@ -50,7 +50,7 @@ &qman_pfdr { &ifc { #address-cells = <2>; #size-cells = <1>; - compatible = "fsl,ifc", "simple-bus"; + compatible = "fsl,ifc"; interrupts = <25 2 0 0>; }; diff --git a/arch/powerpc/boot/dts/fsl/t4240si-post.dtsi b/arch/powerpc/boot/dts/fsl/t4240si-post.dtsi index fcac73486d487..65f3e17c0d413 100644 --- a/arch/powerpc/boot/dts/fsl/t4240si-post.dtsi +++ b/arch/powerpc/boot/dts/fsl/t4240si-post.dtsi @@ -50,7 +50,7 @@ &qman_pfdr { &ifc { #address-cells = <2>; #size-cells = <1>; - compatible = "fsl,ifc", "simple-bus"; + compatible = "fsl,ifc"; interrupts = <25 2 0 0>; }; From patchwork Fri Jan 19 20:38:57 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Frank Li X-Patchwork-Id: 764045 Received: from EUR05-VI1-obe.outbound.protection.outlook.com (mail-vi1eur05on2088.outbound.protection.outlook.com [40.107.21.88]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 86B2F57861; Fri, 19 Jan 2024 20:40:02 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.21.88 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705696804; cv=fail; b=Ux88l1bgCY3e8Mrruv27Q7HLyEjN6KPY1K8NT2/tViIX1wV4rCFmXe8I2+Omm1STgTlhLL1SqnRcgNJew8ixwysZXfU5Dy7u8cWR9/C2PkyPqpTcYu5km3NoHqLgSLD7NFDoIShX8HAyXwOqGWI/U48H8krNqEzVn3zxqKZzxwU= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705696804; c=relaxed/simple; bh=SWbMh025UuteN2HJwUHS7wqnSi1401Em2qrkoObUAOc=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: Content-Type:MIME-Version; b=WEIbJbTuzwnXcIgXgsc3uxbwltBWa2d1vFkMOzC1LLPxezwUggYmUGEJJwLHl3UoB78HMBPHsCAcu4RntkB/VFFttoTlUFeHNLKhNnLuZgjg16SQeIu33HfTu5cBMBrzyBG0NjZm7y0ysOCZY+MD49qywvRU2AnuF27eucOdn3w= ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=nxp.com; spf=pass smtp.mailfrom=nxp.com; dkim=pass (1024-bit key) header.d=nxp.com header.i=@nxp.com header.b=ecNteuu8; arc=fail smtp.client-ip=40.107.21.88 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=nxp.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=nxp.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=nxp.com header.i=@nxp.com header.b="ecNteuu8" ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=hRjsyzcO+Lxju+7c5YEQvjhir3wvLO4I+Az5AW/tuUn8EJ7IgXSBw+EKDJcCOZl8mElRYfbsml9vy8yCuFQi6mj+LsySEg0cB5TVCrnnorhcCAFihM3HwdZ0Cq4IkZtItcfyoFKv0t0kYOpD3kX9AbdnsJeT8w+Hr8XhNcQp52mi3LfnmcKi7DJUypLD2/u28oX1Cyjcj+qPkLIALnCrqL1afSm4CD3G/ZPJnROFHPsAbawUSKdbBzdLzmSa5LtBeAGia3UzfBTBFnj5ya5wGSTGfxRr1rkwqU8u89xF3ISFH4g18qvospW/xDAzGEZP/YH65bXuvs75zOKWJ7mdaA== 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=LOs+aBSYLoaLS9CuweZUCxkljVwBp4EF+JkRWWQ93vg=; b=LbEhfgU6XYs3BCuvG4jrezTECXj8OLnXDnpdeebjILpYG+S3oEAqO/Zf1eHIpNv3haXvHSxcp2MsbPpU1+NWk4giQgwYU239tiGeUYTe+qWCyoc8io1IgVdSb1ZmJx+ZezWaMsG+IWcvy0jI+lBYLks7RqA8lNnONK0o5FRAuPUlbm71yL3Hu12Wi1HEFKv3nluyEgLPHCWcDTZFGhccohIFLLCDowHZVZM6CghINWSUMrwu16phT/Ye7ihMZoaa3S0g8ThDP6mouLgtaXZw48BL0T5QDlMtr7U1mJcCzPVkglaRFqKqZi2B8r/JXxbrGg8mUq250jJwFRIRH7XGaw== 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=LOs+aBSYLoaLS9CuweZUCxkljVwBp4EF+JkRWWQ93vg=; b=ecNteuu8x/AOkFRDUZa0WkUCsInCU/6UKFH4FsnepMGSX1IQ0fgcdKBcKdkNeNE2doZutvXuiQjOXLF4WtmjG0zmjRJFjcVLvgeH+RgYCWCBPxDMTJxRgWatLAk/pF1kZXaN8Sq8XdLLMOetmEP+FrmofJGw0Mn6cVJ/JvFOzK4= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from PAXPR04MB9642.eurprd04.prod.outlook.com (2603:10a6:102:240::14) by DBBPR04MB7769.eurprd04.prod.outlook.com (2603:10a6:10:1e0::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7202.24; Fri, 19 Jan 2024 20:39:59 +0000 Received: from PAXPR04MB9642.eurprd04.prod.outlook.com ([fe80::b8af:bfe5:dffd:59a9]) by PAXPR04MB9642.eurprd04.prod.outlook.com ([fe80::b8af:bfe5:dffd:59a9%4]) with mapi id 15.20.7202.027; Fri, 19 Jan 2024 20:39:59 +0000 From: Frank Li To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Michael Ellerman , Nicholas Piggin , Christophe Leroy , "Aneesh Kumar K.V" , "Naveen N. Rao" , Li Yang , devicetree@vger.kernel.org (open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS), linuxppc-dev@lists.ozlabs.org (open list:LINUX FOR POWERPC (32-BIT AND 64-BIT)), linux-kernel@vger.kernel.org (open list) Cc: imx@lists.linux.dev Subject: [PATCH 4/4] powerpc: dts: fsl: rename ifc node name to be memory-controller Date: Fri, 19 Jan 2024 15:38:57 -0500 Message-Id: <20240119203911.3143928-4-Frank.Li@nxp.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240119203911.3143928-1-Frank.Li@nxp.com> References: <20240119203911.3143928-1-Frank.Li@nxp.com> X-ClientProxiedBy: SJ0PR13CA0234.namprd13.prod.outlook.com (2603:10b6:a03:2c1::29) To PAXPR04MB9642.eurprd04.prod.outlook.com (2603:10a6:102:240::14) Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PAXPR04MB9642:EE_|DBBPR04MB7769:EE_ X-MS-Office365-Filtering-Correlation-Id: de2f034f-7193-4d4d-6aac-08dc192ecd6c X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: VUcmw6Inq3E6FAC2BjSxLGzcks6gXp0xS2xx5d6g8WRKBjWqTKZdl8PL5hPU+DwZ4Y+IUdnzzf9AdSrfqcuO8/X6d7UV0qV5fbf5OiJHj0g+wglLDD70KL3wHehZSO8QSK2+ho1u3p2qlSGEFxQElbeDRlC1PsCEus1bf4KkYiiy6HlblBxOZShBAcj51wTWGzsX+e09mmE0UqXi7DQ+OTjHqJyY1uTI4qrnt5pTj9Iaw9C+pSWkhcd18z1RYpXqlqfD4Sr99kYbGBWzxHAkFL0Th7Yxh9GnkmmX7eIj9AZeHeIf69NMvHB+CG4pgD+toB2k78ElWMVnbNpEhvskmqJ9FfVk7AJwDM8XPWZPOdUKgltZ2fxZ2GwuMe0yZUVaaL8s93c0B1JjZvuqQVnOqJiyWlfP5MYSGa2ilZExt23Tcr5/b3or88B01ZgXK9/iwBuTEC5C5iF+J4+yN5eaoCUMmbBaCv8/eGKE7OTc1qCJj/AWIj0LYJ63Gs63yKfEhAEBs7iOTJ15J7kG6W9gVKI96gmFTDYiOOg95IvkSFRcB2MyfoxX3ZATDQdARy8TpReDSFWBmcuMk5USeEBqTQC9YH5qfI9V3h0VyzBaJTLc+TjFexjQ7NOEpw5PSExVtPeS28frkbF/MDA5xD4GkA== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:PAXPR04MB9642.eurprd04.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230031)(136003)(346002)(366004)(396003)(39860400002)(376002)(230922051799003)(186009)(1800799012)(451199024)(64100799003)(66556008)(38100700002)(5660300002)(2616005)(86362001)(66946007)(2906002)(66476007)(7416002)(110136005)(478600001)(36756003)(83380400001)(41300700001)(4326008)(8936002)(316002)(8676002)(38350700005)(6486002)(52116002)(921011)(6506007)(6512007)(26005)(1076003); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: Ifm9kKrUw9LkJzkYmqc931nYjRPLEdWfAWtmkVhJIE6qpJWJPmdUfS1zupQKyN32u0egelNn32XDBmjBMy4rnoAuSylKby8jIoa2AERNV6TxQBuU2fcEmFRit2cWwR9GAnBMdcAJcaiWUfr4YKcccHMqKYjRSNOliS/uGWeFZHUk3R8t5m7JGMvimRxc2WuPQjVT2CpVEgNZcjoeOKVxpydlZM4Nx6fob0z7YgAz0nElqS8nG2wlKVOdYU67FsKJacr5J38VBXNmaugLWQusezWmhQN3IWHsrI9zsIQhBIhFvkL03Kz7rcuOBaRyGB0peTifVUrAyjK7YoR1d8YP02F+tgnBFE51Xmh77shcWjv/eyfEZv523F3tJA1zvYNDH9m2U+Wb+ZeIjIWYuGbXxFu52iCEJ4f14RsSCQJCWeY/aDRhzKHNFy3oFA82BaleH7PwLQ++jwnQ+X9HltQJd3yIatgHO1JophIU0dODKF3bMeoctXip/hSlGaluxkdOSF6MxF8CYjNDM5XscfGTG+cUGG9rIzecTZhhAOGeRhqCSrGb626d+1ZFfRHUqHYutN0B+7wrcelGxqNdxNSuKmv5iP4IjHYzstZajy4lLblC6nMdX5hwFIRh9yqFtfRZjfZubDn1J4EDCn2QW14I0o4p7Er9JujeabM6Lngnmrjjns7RRBACtCAeIzd41TNt2P8gCvvocSIXp8+MaOtK6M2ZCIx/ZH3Yb4ZWdinft+/Ab4EJegOKKuLq+wYfMhXe2B7YN7jIvncEX9dfv+MjbMPwzmmmHQVFj78YxNdVa/PU+5mifM35Xxum9HZp334qCzx//uLcWEi8DOZI2Y+yR6672ngM32X5MuPm1oTBM4LZO0OR3O7RW1p/U1YIvIu5F22TbkXnwuk1L0r16qEJ6wECJoL5iRihfcptvZmXV1vEkfVplKR4uCoosnWMJuZyo1BfU0HbFQow709+eRRdjCFickuR9CTt4s0AdzXp8LrYndUyQEhkzcgovSDfKv/5ZOcPIfi4fRQdTxotM9RFxfSVk/EzKR9CdXwf6bytgvn2p+ceO8qsWuo/uyncoNvl/DcGcymu6OZHLkozQZwYJXj19zv+oTuw2rsegXSooiEB36qhUSM/d5CEo9ALwK2f5j2CBfHmwYd/a4HgKbbP6KJSGJpczoNPe7ppqB60BQdUloi0mPLFDztZ6AFse4CQ/f3/7UraVuZcohdP+2EnRpb6dwwRz4QDKo8fCcsPn14JJS/nLkWlZCF9Q2RVAVEHBfE2fSeDVJswxvqX5l7ZI9Pg2eSErNRdqnVnCJ26iQAPsM4gDNdrhIgTbh7wvO7ReUMYsHeOHKpIhtANdQQU+eOOwYYKMBVDy+81aPd2QQ+DqVk8AvCctizjWWmkXKoZY1CTYaUwA9bXzmrf5dCOSJjWzGF4y7446SAQcJl1BZQNYBnRTJvBRWtEN68RfehGGh1CRH4Zs0neVrlWz+Ujc+1M/Iz40iSVFjRK3bD55FF6rqq+b3gvUkJvETXESZlgR01uF7kcC0Rvtj6irUoPxGyyFfFukh0lc7TqSLWAdAuOULLaXrKbULCcdl5nZBhh X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: de2f034f-7193-4d4d-6aac-08dc192ecd6c X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB9642.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 19 Jan 2024 20:39:59.0552 (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: 0QantGdMgUZ9ShADwa+M9XPKXoCEFB/mRdJSf0j+xxz1qKTbFAabyjetCa3EqE7UnPIOKbGfmdCM7hDQ3RhJCA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DBBPR04MB7769 From: Li Yang Update the node name to be align with binding document. Signed-off-by: Li Yang Signed-off-by: Frank Li --- arch/powerpc/boot/dts/fsl/bsc9131rdb.dts | 2 +- arch/powerpc/boot/dts/fsl/bsc9132qds.dts | 2 +- arch/powerpc/boot/dts/fsl/c293pcie.dts | 2 +- arch/powerpc/boot/dts/fsl/p1010rdb_32b.dtsi | 2 +- arch/powerpc/boot/dts/fsl/p1010rdb_36b.dtsi | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/arch/powerpc/boot/dts/fsl/bsc9131rdb.dts b/arch/powerpc/boot/dts/fsl/bsc9131rdb.dts index 8da984251abc8..0ba86a6dce1b6 100644 --- a/arch/powerpc/boot/dts/fsl/bsc9131rdb.dts +++ b/arch/powerpc/boot/dts/fsl/bsc9131rdb.dts @@ -15,7 +15,7 @@ memory { device_type = "memory"; }; - board_ifc: ifc: ifc@ff71e000 { + board_ifc: ifc: memory-controller@ff71e000 { /* NAND Flash on board */ ranges = <0x0 0x0 0x0 0xff800000 0x00004000>; reg = <0x0 0xff71e000 0x0 0x2000>; diff --git a/arch/powerpc/boot/dts/fsl/bsc9132qds.dts b/arch/powerpc/boot/dts/fsl/bsc9132qds.dts index 7cb2158dfe583..ce642e879a1b8 100644 --- a/arch/powerpc/boot/dts/fsl/bsc9132qds.dts +++ b/arch/powerpc/boot/dts/fsl/bsc9132qds.dts @@ -15,7 +15,7 @@ memory { device_type = "memory"; }; - ifc: ifc@ff71e000 { + ifc: memory-controller@ff71e000 { /* NOR, NAND Flash on board */ ranges = <0x0 0x0 0x0 0x88000000 0x08000000 0x1 0x0 0x0 0xff800000 0x00010000>; diff --git a/arch/powerpc/boot/dts/fsl/c293pcie.dts b/arch/powerpc/boot/dts/fsl/c293pcie.dts index 5e905e0857cf9..e2fdac2ed4205 100644 --- a/arch/powerpc/boot/dts/fsl/c293pcie.dts +++ b/arch/powerpc/boot/dts/fsl/c293pcie.dts @@ -42,7 +42,7 @@ memory { device_type = "memory"; }; - ifc: ifc@fffe1e000 { + ifc: memory-controller@fffe1e000 { reg = <0xf 0xffe1e000 0 0x2000>; ranges = <0x0 0x0 0xf 0xec000000 0x04000000 0x1 0x0 0xf 0xff800000 0x00010000 diff --git a/arch/powerpc/boot/dts/fsl/p1010rdb_32b.dtsi b/arch/powerpc/boot/dts/fsl/p1010rdb_32b.dtsi index fdc19aab2f706..583a6cd050793 100644 --- a/arch/powerpc/boot/dts/fsl/p1010rdb_32b.dtsi +++ b/arch/powerpc/boot/dts/fsl/p1010rdb_32b.dtsi @@ -36,7 +36,7 @@ memory { device_type = "memory"; }; -board_ifc: ifc: ifc@ffe1e000 { +board_ifc: ifc: memory-controller@ffe1e000 { /* NOR, NAND Flashes and CPLD on board */ ranges = <0x0 0x0 0x0 0xee000000 0x02000000 0x1 0x0 0x0 0xff800000 0x00010000 diff --git a/arch/powerpc/boot/dts/fsl/p1010rdb_36b.dtsi b/arch/powerpc/boot/dts/fsl/p1010rdb_36b.dtsi index de2fceed4f799..4d41efe0038f2 100644 --- a/arch/powerpc/boot/dts/fsl/p1010rdb_36b.dtsi +++ b/arch/powerpc/boot/dts/fsl/p1010rdb_36b.dtsi @@ -36,7 +36,7 @@ memory { device_type = "memory"; }; -board_ifc: ifc: ifc@fffe1e000 { +board_ifc: ifc: memory-controller@fffe1e000 { /* NOR, NAND Flashes and CPLD on board */ ranges = <0x0 0x0 0xf 0xee000000 0x02000000 0x1 0x0 0xf 0xff800000 0x00010000