From patchwork Fri Jul 5 12:14:32 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Benjamin Hahn X-Patchwork-Id: 13725046 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 42C0EC30658 for ; Fri, 5 Jul 2024 12:15:23 +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:CC:To:Message-ID: Content-Transfer-Encoding:Content-Type:MIME-Version:Subject:Date:From: Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender :Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner; bh=DZXIdYYXLNmMZ6vSq4xBPcVjyYg/oWtzydl6wyvBwqg=; b=FXS2GxDtk3PGdHDLxPnn55ooQ2 LShECxZlDBAjgaPbSYEsJiPoISOQ1kMv4Fy/2SrwlZWPCe/MnI72QSsDqlhESAUJtQciqnrDr8lEm 3wHxbatq0GyzUka4ay4CYogvtGARItoBVV/Xim8IWNeZwOU9rMdw16sx3RfcdqshjSYAyl4IGIBCO TUa7w05Vd3CfxeY2O2RriMYyB/AuyPJREQjy1oDQD4ohp5fCv13KQOXh55utJK97hr4k79LLO5U9E xAPr2SGFN0L9IX5vxwa4w8HBPNgyTUn4VOF1TTNfqU1rJ4WskLOvGgTfjdSeh+iQm1BMdr31Bjjpv P92XhlNA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sPhqK-0000000Ft6W-0Onz; Fri, 05 Jul 2024 12:15:12 +0000 Received: from mickerik.phytec.de ([91.26.50.163]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sPhq5-0000000Ft2j-1ZNk for linux-arm-kernel@lists.infradead.org; Fri, 05 Jul 2024 12:14:59 +0000 DKIM-Signature: v=1; a=rsa-sha256; d=phytec.de; s=a4; c=relaxed/simple; q=dns/txt; i=@phytec.de; t=1720181692; x=1722773692; h=From:Sender:Reply-To:Subject:Date:Message-ID:To:CC:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=JWyKeJnwPE5FLDgWLdisaVJBPLO4uUaBwzWlAvyiqek=; b=qsqXzEVskgSqieyH/cjmlHzuLZRnTYa6CeSck79YgMEbqfYUsEu7mX3oSQkGnf/R Crz2taKKOO2hHkCfZ3AgUwlSQM2C4AKrEUasLGSAf/k6IXQ9bsTawKvojoD/O4KE Gsdj9TuJt+94l8Othfq91UBNBOioO8tzibj0z+cr4ho=; X-AuditID: ac14000a-03e52700000021bc-b7-6687e3bc24f3 Received: from berlix.phytec.de (Unknown_Domain [172.25.0.12]) (using TLS with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mickerik.phytec.de (PHYTEC Mail Gateway) with SMTP id 4A.FC.08636.CB3E7866; Fri, 5 Jul 2024 14:14:52 +0200 (CEST) Received: from llp-hahn.hahn.test (172.25.0.11) by Berlix.phytec.de (172.25.0.12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.6; Fri, 5 Jul 2024 14:14:51 +0200 From: Benjamin Hahn Date: Fri, 5 Jul 2024 14:14:32 +0200 Subject: [PATCH v2] arm64: dts: freescale: imx8mp-phycore: Add no-eth overlay MIME-Version: 1.0 Message-ID: <20240705-bspimx8m-3180-v2-1-dc1a7e1689be@phytec.de> X-B4-Tracking: v=1; b=H4sIAKfjh2YC/13MSw6CMBSF4a2QO7amL2xl5D4Mg5Ze5Q54pCUEQ rp3K84c/ic53wEJI2GCpjog4kqJprGEvFTQ9W58I6NQGiSXmt+EYT7NNGx2YEpYzrTxGITVztY aymeO+KLt9J5t6Z7SMsX95FfxXX+S4epPWgUTDLVCrmp399I95n5fsLsGhDbn/AG+2X9NqgAAA A== To: Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , Rob Herring , Krzysztof Kozlowski , Conor Dooley CC: , , , , , Benjamin Hahn X-Mailer: b4 0.12.4 X-Developer-Signature: v=1; a=ed25519-sha256; t=1720181691; l=1985; i=B.Hahn@phytec.de; s=20240126; h=from:subject:message-id; bh=JWyKeJnwPE5FLDgWLdisaVJBPLO4uUaBwzWlAvyiqek=; b=NyxBIwgwKgl3BLxAdAsLzMomFBWGcn5TS5uIpa491WXciW13Lf3bRuvP1elG7NZISwfbmyyTL HpeKLXTKwvMAbCNljbXR8w2bkrApItMMjmVpJKcFGQ9M5RpTq8XFFMq X-Developer-Key: i=B.Hahn@phytec.de; a=ed25519; pk=r04clMulHz6S6js6elPBA+U+zVdDAqJyEyoNd8I3pSw= X-Originating-IP: [172.25.0.11] X-ClientProxiedBy: Berlix.phytec.de (172.25.0.12) To Berlix.phytec.de (172.25.0.12) X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFprIIsWRmVeSWpSXmKPExsWyRpKBR3fP4/Y0gydHhC3W7D3HZDH/yDlW i4dX/S1m3mtls1g1dSeLRd+Lh8wWmx5fY7W4vGsOm0Xr3iPsFn+3b2KxeLFF3KL7nboDj8fO WXfZPTat6mTzuHNtD5vH5iX1Hi82z2T06O9uYfXo/2vg8XmTXABHFJdNSmpOZllqkb5dAlfG 4yVNLAWH+Ss2PuhlbGA8ydvFyMkhIWAi0btxAlMXIxeHkMASJoklbctYIJwHjBLtz56xgVSx CahJ7HrzmhXEZhFQkViydSJQBweHsIC/xNlLFiBhXgFBiZMzn7CAhJkFNCXW79IHCTMLyEts fzuHGaLEQWLytj/MIOMlBF4zSkyZvB7MEQFZ3H7wBNgVzAIHGSU+fPrFBjJJQkBYYtNOLYiO 3UwSd78+YYaIJ0rsfC0HMlVIQFbi5vktbBDfyEtMO/eaGcIOldj6ZTvTBEbhWUjum4Vw3ywk 9y1gZF7FKJSbmZydWpSZrVeQUVmSmqyXkrqJERRtIgxcOxj75ngcYmTiYDzEKMHBrCTCK/W+ OU2INyWxsiq1KD++qDQntfgQozQHi5I47+qO4FQhgfTEktTs1NSC1CKYLBMHp1QDY0O11MNq vqMcknwbb7ulnSqS8LnM33lMIL4+IsNN6mLrnrbkvS6ntm3YLD7Ddl+JUFLZBKkwttNHHBzy wpR2sP861+IX3bSJ8+4Nc/FW+QZnJcnDQRJf+a95f9LWUPXpWqLCGPXi59xZIs5nZmoaP7S7 wajBGXz7tN2EH7zGauor9Hbe29OqxFKckWioxVxUnAgALEYeHaQCAAA= X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240705_051457_594901_5EE21508 X-CRM114-Status: GOOD ( 13.47 ) 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 Add a devicetree overlay to disable ethernet for boards where it is not populated. Signed-off-by: Benjamin Hahn Reviewed-by: Fabio Estevam --- Changes in v2: - Remove the compatible from the overlay - Link to v1: https://lore.kernel.org/r/20240703-bspimx8m-3180-v1-1-e43e035a9b2a@phytec.de --- arch/arm64/boot/dts/freescale/Makefile | 2 ++ arch/arm64/boot/dts/freescale/imx8mp-phycore-no-eth.dtso | 16 ++++++++++++++++ 2 files changed, 18 insertions(+) --- base-commit: e8f897f4afef0031fe618a8e94127a0934896aba change-id: 20240617-bspimx8m-3180-47bed184a854 Best regards, diff --git a/arch/arm64/boot/dts/freescale/Makefile b/arch/arm64/boot/dts/freescale/Makefile index 2cb0212b63c6..16e06e6f055c 100644 --- a/arch/arm64/boot/dts/freescale/Makefile +++ b/arch/arm64/boot/dts/freescale/Makefile @@ -164,6 +164,8 @@ dtb-$(CONFIG_ARCH_MXC) += imx8mp-evk.dtb dtb-$(CONFIG_ARCH_MXC) += imx8mp-icore-mx8mp-edimm2.2.dtb dtb-$(CONFIG_ARCH_MXC) += imx8mp-msc-sm2s-ep1.dtb dtb-$(CONFIG_ARCH_MXC) += imx8mp-phyboard-pollux-rdk.dtb +imx8mp-phyboard-pollux-rdk-no-eth-dtbs += imx8mp-phyboard-pollux-rdk.dtb imx8mp-phycore-no-eth.dtbo +dtb-$(CONFIG_ARCH_MXC) += imx8mp-phyboard-pollux-rdk-no-eth.dtb dtb-$(CONFIG_ARCH_MXC) += imx8mp-skov-revb-hdmi.dtb dtb-$(CONFIG_ARCH_MXC) += imx8mp-skov-revb-lt6.dtb dtb-$(CONFIG_ARCH_MXC) += imx8mp-skov-revb-mi1010ait-1cp1.dtb diff --git a/arch/arm64/boot/dts/freescale/imx8mp-phycore-no-eth.dtso b/arch/arm64/boot/dts/freescale/imx8mp-phycore-no-eth.dtso new file mode 100644 index 000000000000..5f0278bf61ee --- /dev/null +++ b/arch/arm64/boot/dts/freescale/imx8mp-phycore-no-eth.dtso @@ -0,0 +1,16 @@ +// SPDX-License-Identifier: GPL-2.0 +/* + * Copyright (C) 2024 PHYTEC Messtechnik GmbH + * Author: Cem Tenruh + */ + +/dts-v1/; +/plugin/; + +ðphy1 { + status = "disabled"; +}; + +&fec { + status = "disabled"; +};