From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 1EF0EE77188 for ; Mon, 30 Dec 2024 08:17:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=1ROoiExU6XPVqMGkYBZCkW9t29udBv3vMHwaK5YOt+w=; b=ZbrOulONedlWle9J09g1zTZXMd NFrigfuzPar9En5RWurLNAbQzn9PhEqd8V3p1doHBYaDgDwtlTL/46xD73sXfNrzCXheloY8S8fRc pboMuEPWXbxUhVva97D/BIq19jBherimFdxkJ/5t/kQ/0PigRUEafxcq28zJGOA2XMnt5pzHd67i6 pNTAAMz5ihi2kLB2t9h19B/bLU3tTPYKWaLmbZXEs7fPqpwqFH5N2Mdrt/QUgjTA9vsH3Y3jxnvap Jl7St6d6oFm8ivhHfx1Yeo7AyFOXCMc+tAomITioIV3WJsJK2oTpYDY7B28YIy/cCFBiPnhk0c1IT HHmsxtrQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1tSAxt-00000004naU-3iA4; Mon, 30 Dec 2024 08:17:29 +0000 Received: from mail-m16.yeah.net ([220.197.32.17]) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1tSAwg-00000004nS0-3Plz for linux-arm-kernel@lists.infradead.org; Mon, 30 Dec 2024 08:16:16 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yeah.net; s=s110527; h=Date:From:Subject:Message-ID:MIME-Version: Content-Type; bh=1ROoiExU6XPVqMGkYBZCkW9t29udBv3vMHwaK5YOt+w=; b=bide5F9h5ut2iYQ8frLULQJGb2nxdL7VOJjWY1326JLLtQYeTEFyfOi5YRWc58 WJUh07h5bco8pxskl8pj4RBe3g+L6PGzKQ9sVb2KAp7eyYSNMzQFQwb/s/zsqDL7 4CMMtPODEUSVZVc/vvQljLoUqJyhf6zBPgA5a5QZWkJMw= Received: from dragon (unknown []) by gzsmtp1 (Coremail) with SMTP id Mc8vCgDHQYm+VnJnSG0GBg--.61180S3; Mon, 30 Dec 2024 16:16:00 +0800 (CST) Date: Mon, 30 Dec 2024 16:15:58 +0800 From: Shawn Guo To: Wei Fang Cc: robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, shawnguo@kernel.org, s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com, frank.li@nxp.com, devicetree@vger.kernel.org, imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 1/2] arm64: dts: imx95: add NETC related nodes Message-ID: References: <20241219061340.1633173-1-wei.fang@nxp.com> <20241219061340.1633173-2-wei.fang@nxp.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20241219061340.1633173-2-wei.fang@nxp.com> X-CM-TRANSID: Mc8vCgDHQYm+VnJnSG0GBg--.61180S3 X-Coremail-Antispam: 1Uf129KBjvJXoWxuFyUCw15Kr4kZr1rtry5Jwb_yoWrGr43p3 srG3y5Cr4vqF12kr43XFs8GF1DJ3y0kFykur129Fy8CF9aqr9rtr40kF4fXF18Xr4UXw1a qFn7Jr17KF4IkaUanT9S1TB71UUUUU7qnTZGkaVYY2UrUUUUjbIjqfuFe4nvWSU5nxnvy2 9KBjDUYxBIdaVFxhVjvjDU0xZFpf9x07j289NUUUUU= X-Originating-IP: [114.216.146.204] X-CM-SenderInfo: pvkd40hjxrjqh1hdxhhqhw/1tbiCxjFZWdyEhDb4wACse X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241230_001615_207485_2C270582 X-CRM114-Status: GOOD ( 14.28 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Thu, Dec 19, 2024 at 02:13:39PM +0800, Wei Fang wrote: > Add NETC related nodes for i.MX95. > > Signed-off-by: Wei Fang > --- > arch/arm64/boot/dts/freescale/imx95.dtsi | 94 ++++++++++++++++++++++++ > 1 file changed, 94 insertions(+) > > diff --git a/arch/arm64/boot/dts/freescale/imx95.dtsi b/arch/arm64/boot/dts/freescale/imx95.dtsi > index e9c7a8265d71..8b0eb1d835e8 100644 > --- a/arch/arm64/boot/dts/freescale/imx95.dtsi > +++ b/arch/arm64/boot/dts/freescale/imx95.dtsi > @@ -1697,10 +1697,104 @@ sai2: sai@4c880000 { > status = "disabled"; > }; > > + netc_blk_ctrl: system-controller@4cde0000 { > + compatible = "nxp,imx95-netc-blk-ctrl"; > + reg = <0x0 0x4cde0000 0x0 0x10000>, > + <0x0 0x4cdf0000 0x0 0x10000>, > + <0x0 0x4c81000c 0x0 0x18>; > + reg-names = "ierb", "prb", "netcmix"; > + #address-cells = <2>; > + #size-cells = <2>; > + ranges; > + power-domains = <&scmi_devpd IMX95_PD_NETC>; > + assigned-clocks = <&scmi_clk IMX95_CLK_ENET>, > + <&scmi_clk IMX95_CLK_ENETREF>; > + assigned-clock-parents = <&scmi_clk IMX95_CLK_SYSPLL1_PFD2>, > + <&scmi_clk IMX95_CLK_SYSPLL1_PFD0>; > + assigned-clock-rates = <666666666>, <250000000>; > + clocks = <&scmi_clk IMX95_CLK_ENET>; > + clock-names = "ipg"; > + status = "disabled"; > + > + netc_bus0: pcie@4ca00000 { > + compatible = "pci-host-ecam-generic"; > + reg = <0x0 0x4ca00000 0x0 0x100000>; > + #address-cells = <3>; > + #size-cells = <2>; > + device_type = "pci"; > + bus-range = <0x0 0x0>; > + msi-map = <0x0 &its 0x60 0x1>, //ENETC0 PF > + <0x10 &its 0x61 0x1>, //ENETC0 VF0 > + <0x20 &its 0x62 0x1>, //ENETC0 VF1 > + <0x40 &its 0x63 0x1>, //ENETC1 PF > + <0x80 &its 0x64 0x1>, //ENETC2 PF > + <0x90 &its 0x65 0x1>, //ENETC2 VF0 > + <0xa0 &its 0x66 0x1>, //ENETC2 VF1 > + <0xc0 &its 0x67 0x1>; //NETC Timer > + /* ENETC0~2 and Timer BAR0 - non-prefetchable memory */ > + ranges = <0x82000000 0x0 0x4cc00000 0x0 0x4cc00000 0x0 0xe0000 > + /* Timer BAR2 - prefetchable memory */ > + 0xc2000000 0x0 0x4cd00000 0x0 0x4cd00000 0x0 0x10000 > + /* ENETC0~2: VF0-1 BAR0 - non-prefetchable memory */ > + 0x82000000 0x0 0x4cd20000 0x0 0x4cd20000 0x0 0x60000 > + /* ENETC0~2: VF0-1 BAR2 - prefetchable memory */ > + 0xc2000000 0x0 0x4cd80000 0x0 0x4cd80000 0x0 0x60000>; > + > + enetc_port0: ethernet@0,0 { > + compatible = "pci1131,e101"; > + reg = <0x000000 0 0 0 0>; > + clocks = <&scmi_clk IMX95_CLK_ENETREF>; > + clock-names = "ref"; > + status = "disabled"; > + }; > + > + enetc_port1: ethernet@8,0 { > + compatible = "pci1131,e101"; > + reg = <0x004000 0 0 0 0>; > + clocks = <&scmi_clk IMX95_CLK_ENETREF>; > + clock-names = "ref"; > + status = "disabled"; > + }; > + > + enetc_port2: ethernet@10,0 { > + compatible = "pci1131,e101"; > + reg = <0x008000 0 0 0 0>; > + status = "disabled"; > + }; > + > + netc_timer: ethernet@18,0 { > + reg = <0x00c000 0 0 0 0>; > + status = "disabled"; > + }; > + }; > + > + netc_bus1: pcie@4cb00000 { > + compatible = "pci-host-ecam-generic"; > + reg = <0x0 0x4cb00000 0x0 0x100000>; > + #address-cells = <3>; > + #size-cells = <2>; > + device_type = "pci"; > + bus-range = <0x1 0x1>; > + /* EMDIO BAR0 - non-prefetchable memory */ > + ranges = <0x82000000 0x0 0x4cce0000 0x0 0x4cce0000 0x0 0x20000 > + /* EMDIO BAR2 - prefetchable memory */ > + 0xc2000000 0x0 0x4cd10000 0x0 0x4cd10000 0x0 0x10000>; > + > + netc_emdio: mdio@0,0 { > + compatible = "pci1131,ee00"; > + reg = <0x010000 0 0 0 0>; > + #address-cells = <1>; > + #size-cells = <0>; > + status = "disabled"; > + }; > + }; > + }; > + > ddr-pmu@4e090dc0 { > compatible = "fsl,imx95-ddr-pmu", "fsl,imx93-ddr-pmu"; > reg = <0x0 0x4e090dc0 0x0 0x200>; > interrupts = ; > }; > + Unrelated change. Dropped it and applied both patches. Shawn > }; > }; > -- > 2.34.1 >