From patchwork Wed Jul 3 12:35:38 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Benjamin Hahn X-Patchwork-Id: 13722185 Received: from mickerik.phytec.de (mickerik.phytec.de [91.26.50.163]) (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 E541017335C for ; Wed, 3 Jul 2024 12:35:56 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=91.26.50.163 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1720010161; cv=none; b=e/4RWENQGWub7XHOUvYN0t0itzjNdoIuSg1yFnlFXIMXWxajyhxarEACbmr1bMqD+EuXp8tqqLWuJ450BT67MJjaDizmB9bMRHLBePZyeEj5at163yyayfie7YULagCucUOS/O+RkrtDmLayCOrHJAN5fND7XLYDE+j89H0FiPI= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1720010161; c=relaxed/simple; bh=SgVEUNRWJOk07fURUytX7s42U4rwXhqHvehG/BsupB4=; h=From:Date:Subject:MIME-Version:Content-Type:Message-ID:To:CC; b=iD/auQB9c6sb5q1o0gO7jnTPndEGTRISxIeKa5tHb/GT4JvD27YCc/Ey5H4zYEXnQl6CN2MABP453G+F8LRj5nYhb1rgPlW1wxGe6GeI2TnegPK3KvbtqD/xonNYt4nGYZeETMoidtbbz1l5H69NXWVDKO7oDALF1tJD0uaBuNA= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=phytec.de; spf=pass smtp.mailfrom=phytec.de; dkim=pass (1024-bit key) header.d=phytec.de header.i=@phytec.de header.b=lPEiOMpa; arc=none smtp.client-ip=91.26.50.163 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=phytec.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=phytec.de Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=phytec.de header.i=@phytec.de header.b="lPEiOMpa" DKIM-Signature: v=1; a=rsa-sha256; d=phytec.de; s=a4; c=relaxed/simple; q=dns/txt; i=@phytec.de; t=1720010148; x=1722602148; 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=SgVEUNRWJOk07fURUytX7s42U4rwXhqHvehG/BsupB4=; b=lPEiOMpa3Rqsx0uC/vJbKcVzmgoPtzgmNvr8L0WGQTwrWVQZyU86xEJlIPHj6IqH 4ClRHCex6pYZeHn/wOLplZMKd1me6+1Aq8tM7hV1LIfK7D89XskT/O6Eq43mgKre nQ5pFensofdR9TkI9XHOhOw4oY3hnOah8wAS3gpGdhg=; X-AuditID: ac14000a-03251700000021bc-39-668545a493bb 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 9D.F0.08636.4A545866; Wed, 3 Jul 2024 14:35:48 +0200 (CEST) Received: from llp-hahn.phytec.de (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; Wed, 3 Jul 2024 14:35:48 +0200 From: Benjamin Hahn Date: Wed, 3 Jul 2024 14:35:38 +0200 Subject: [PATCH] arm64: dts: freescale: imx8mp-phycore: Add no-eth overlay Precedence: bulk X-Mailing-List: imx@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-ID: <20240703-bspimx8m-3180-v1-1-e43e035a9b2a@phytec.de> X-B4-Tracking: v=1; b=H4sIAJlFhWYC/6tWKk4tykwtVrJSqFYqSi3LLM7MzwNyDHUUlJIzE vPSU3UzU4B8JSMDIxMDM0Nz3aTigszcCotcXWNDCwNdE/Ok1BRDC5NEC1MTJaCegqLUtMwKsHn RsbW1AAuaVj1fAAAA 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=1720010148; l=1888; i=B.Hahn@phytec.de; s=20240126; h=from:subject:message-id; bh=SgVEUNRWJOk07fURUytX7s42U4rwXhqHvehG/BsupB4=; b=GGNUbTtygcGXN+Gk85yx3NjyvbyhF7/u2ej26fEsUZsbxqe9IAdu4K47r54cOuZsWdVhxJ3hN gtWAB4auXQVAQt9Ki5h7zpkWZDM+xD6S5nunMs9/Zys9c8r0SzF9zHf X-Developer-Key: i=B.Hahn@phytec.de; a=ed25519; pk=r04clMulHz6S6js6elPBA+U+zVdDAqJyEyoNd8I3pSw= X-ClientProxiedBy: Berlix.phytec.de (172.25.0.12) To Berlix.phytec.de (172.25.0.12) X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFprIIsWRmVeSWpSXmKPExsWyRpKBR3eJa2uawZ5T8hZr9p5jsph/5Byr xcOr/hYz77WyWayaupPFou/FQ2aLTY+vsVpc3jWHzaJ17xF2i7/bN7FYvNgibtH9Tt2Bx2Pn rLvsHptWdbJ53Lm2h81j85J6jxebZzJ69He3sHr0/zXw+LxJLoAjissmJTUnsyy1SN8ugStj 5eQbTAWP+Coe9f5kamD8yNPFyMEhIWAisftYRBcjF4eQwBImievb9rFBOA8YJRasv8vYxcjJ wSagJrHrzWtWEJtFQEXiX9NtNhBbWMBLYv7LhWA1vAKCEidnPmEBGcosoCmxfpc+SJhZQF5i +9s5zBAlDhJ9V3pYQOZLCKxhlHi0agUziCMCsrn94AkmEIdZ4CCjxIdPv9ggzhOW2LRTC6Jj N5PEh49dLBDxRImdr+VApgoJyErcPL8F7CAJoG3Tzr1mhrBDJbZ+2c40gVF4FpL7ZiHcNwvJ fQsYmVcxCuVmJmenFmVm6xVkVJakJuulpG5iBEWbCAPXDsa+OR6HGJk4GA8xSnAwK4nwSr1v ThPiTUmsrEotyo8vKs1JLT7EKM3BoiTOu7ojOFVIID2xJDU7NbUgtQgmy8TBKdXAmGPfNPV3 /pqupzv/7nxfUDr7U8XFk8c61GoqWBdJTKw4cbHmqleddDVf+1nDy0/za7V5avaJFH167fE3 /9Mdrt7GFfJfTieW3zyikNLHN+tCnMK1BVKFjGX7owPeJhZ7SnBtFJ/1JnPu90/xD6cvruYu nam5hJ3XfW1zqqHF1x2rn+8uMH+0QYmlOCPRUIu5qDgRAK2grm2kAgAA Add a devicetree overlay to disable ethernet for boards where it is not populated. Signed-off-by: Benjamin Hahn --- arch/arm64/boot/dts/freescale/Makefile | 2 ++ .../boot/dts/freescale/imx8mp-phycore-no-eth.dtso | 20 ++++++++++++++++++++ 2 files changed, 22 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..2a9fe1d6db9d --- /dev/null +++ b/arch/arm64/boot/dts/freescale/imx8mp-phycore-no-eth.dtso @@ -0,0 +1,20 @@ +// SPDX-License-Identifier: GPL-2.0 +/* + * Copyright (C) 2024 PHYTEC Messtechnik GmbH + * Author: Cem Tenruh + */ + +/dts-v1/; +/plugin/; + +&{/} { + compatible = "phytec,imx8mp-phycore-som"; +}; + +ðphy1 { + status = "disabled"; +}; + +&fec { + status = "disabled"; +};