From nobody Fri Dec 19 21:29:31 2025 Received: from mx.denx.de (mx.denx.de [89.58.32.78]) (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 A19671E00B4; Mon, 31 Mar 2025 10:31:53 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=89.58.32.78 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1743417115; cv=none; b=BmES7yHuCVe+bM/vKvRvZ2GlankIA9GA3Wh6MSmJK2/JhTgvr5H+d5LOUl1+MXDPGBsB4hWaeTlNaLWK9S0EvUogF3Rn7Ewk3AOBiQZp6I/MPCah4SOHv9Iuh9XkvE9GQqfQx6xjN2eMr5/ZEdLhE2AxL93kfVdbnGdIicLNiFM= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1743417115; c=relaxed/simple; bh=XzktveYIQyILOursaynb7gIpEL6ihJvMabNJJ9qx4+U=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=jBSOVIn2tRAY+2dFojGCjhFHIRYgea28DyTikTV0H21MTEqgc09ja1FnXsQh+1RiVs/4F8TdEEnCx/zAOv9iMLEXM20I0WVqWvE7IPTomDqt7c6xFVrqK/Eas3wmHQSqiOEqclf+CiiM3LDNtjde2ZoXJfA+qBzU5NwRBfTbB3Q= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=denx.de; spf=pass smtp.mailfrom=denx.de; dkim=pass (2048-bit key) header.d=denx.de header.i=@denx.de header.b=QM4gKkGm; arc=none smtp.client-ip=89.58.32.78 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=denx.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=denx.de Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=denx.de header.i=@denx.de header.b="QM4gKkGm" Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id 006DF10252BEC; Mon, 31 Mar 2025 12:31:49 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=denx.de; s=mx-20241105; t=1743417111; h=from:subject:date:message-id:to:cc:mime-version: content-transfer-encoding:in-reply-to:references; bh=GGShjO7hQBTExt7fUgvPLyYsosFKagGzgAx5eN0hYW0=; b=QM4gKkGmU6yXvGHLNPrt5YEh9frQsi1OIipC19nIMlu/7DaST98znafx2pXwYt67Q7qXze vqRz3GLwua1n1bI2c/wzPK34K9HYO46Eb+Brvi4KBHfC9B7/i0Ne0bbx3UsOQmOx8d2dO0 Pr7moHo+G/2cuRkg9QdVdLZj4KYHYh8w9NGWd3S5lXcBuwM/rPAHW1qi529AOYe6VC9wZ4 BY3PCREQUT4XRX6+1bsyb3dBVyj5Y9qh5KBV+jIxz766+Pix24Q+YVp67jEXBL5c8NdE+l 2aICupGZ2KjkyhBObiZRe/OwSLXMUQjqU5GjNv/uPjFSriB1SsVBr4TuqVO+7w== From: Lukasz Majewski To: Andrew Lunn , davem@davemloft.net, Eric Dumazet , Jakub Kicinski , Paolo Abeni , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Shawn Guo Cc: Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , Richard Cochran , netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org, Lukasz Majewski Subject: [PATCH v3 2/4] ARM: dts: nxp: mxs: Adjust the imx28.dtsi L2 switch description Date: Mon, 31 Mar 2025 12:31:14 +0200 Message-Id: <20250331103116.2223899-3-lukma@denx.de> X-Mailer: git-send-email 2.39.5 In-Reply-To: <20250331103116.2223899-1-lukma@denx.de> References: <20250331103116.2223899-1-lukma@denx.de> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Last-TLS-Session-Version: TLSv1.3 Content-Type: text/plain; charset="utf-8" The current range of 'reg' property is too small to allow full control of the L2 switch on imx287. As this IP block also uses ENET-MAC blocks for its operation, the address range for it must be included as well. Moreover, some SoC common properties (like compatible, clocks, interrupts numbers) have been moved to this node. Signed-off-by: Lukasz Majewski Reviewed-by: Andrew Lunn --- Changes for v2: - adding extra properties (like compatible, clocks, interupts) Changes for v3: - None --- arch/arm/boot/dts/nxp/mxs/imx28.dtsi | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/nxp/mxs/imx28.dtsi b/arch/arm/boot/dts/nxp/m= xs/imx28.dtsi index bbea8b77386f..4117a5003b36 100644 --- a/arch/arm/boot/dts/nxp/mxs/imx28.dtsi +++ b/arch/arm/boot/dts/nxp/mxs/imx28.dtsi @@ -1321,8 +1321,12 @@ mac1: ethernet@800f4000 { status =3D "disabled"; }; =20 - eth_switch: switch@800f8000 { - reg =3D <0x800f8000 0x8000>; + eth_switch: switch@800f0000 { + compatible =3D "nxp,imx287-mtip-switch"; + reg =3D <0x800f0000 0x20000>; + interrupts =3D <100>, <101>, <102>; + clocks =3D <&clks 57>, <&clks 57>, <&clks 64>, <&clks 35>; + clock-names =3D "ipg", "ahb", "enet_out", "ptp"; status =3D "disabled"; }; }; --=20 2.39.5