Received: by 2002:ab2:1149:0:b0:1f3:1f8c:d0c6 with SMTP id z9csp2565729lqz; Wed, 3 Apr 2024 01:39:59 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWdHbz/3C5iTozgltM6aUC6F2eWbehWsVhjrpHr4enIDltVVqyONcOUgMNS7eWcNjqqwIexikMwe/tg59u9lXXwlEF7ip8Ud5yNZdaRfQ== X-Google-Smtp-Source: AGHT+IEtPDS0znLq9EEGtlJoWjFD5TIq8BcwZPaFYfrgYpNPukhQHzDlHDlNxqejPVYERJ2jVTu+ X-Received: by 2002:a05:6402:34d4:b0:56b:9b11:9594 with SMTP id w20-20020a05640234d400b0056b9b119594mr14714597edc.2.1712133599170; Wed, 03 Apr 2024 01:39:59 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712133599; cv=pass; d=google.com; s=arc-20160816; b=Pg5uGK79cVZ9dXVSry6OoZZX175UDrzIR8E5rE4ESxPXduw8TZ6f/hi1wpxjQSs/O0 3B7w7jmukPRmSR/AMPS5JT9d4aGS24gMJvGZrIVuELtRIo9PmhLRqMsR9dsYAo1ZVQvt suuAF7QLknoTP0gJ7G/BEbmFgkWQx/j3QjGzcZE5BTf8E1en0YUMp+yYK+DMNKy7lP9N A79kE0p9/tE3HBmOVx2B0MMtZeoU0taruIKhbsIVTU4XVWSuc8nReagDIgjhS5y/25sA WfC/N6JcqzKzNR2AzqVevgy+ciR1Ur/O0QUWW/YYi2YmcwOcF0PejpueZMa9IsGdxdvo ko3A== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from:dkim-signature; bh=LY6g+3prVoBaaEL+/dMD2oZak19Gg4PQJoUg10Pv3WE=; fh=MUOlDRlkxpDQxlxSXT3X/dqbsttC47vRSgEhag0R0DQ=; b=r+vx/9Gql092iaN9f2K08l4buYhE32lswh55INUNIGa5irxZN25XDbsiefqA4eyX5M LCD4wp+fGACiR9s2NQaFUDjwG3Lc6i04JpjeeT6if+zyXV4DITsDQytljwDT0OCzjjex MHnGcbE3s6frT5TN+rF+aGc13lThQxohn2g7V+GiobPp1NVzwvk8vZTf5eOEa8F0neBl a6GJcIkBdmxXXX9oBK1GqD1ge4OSTBEs5+VvM9iT5qbKYdVNoTwI8RX9OvbVkkuv5mvq EsyO1Mx9zWa6Q9RD2Pq/G/gDFWEAdm3fYrNXfPed7QKOqtWbOmnYOECRdFHQcvk1up3W 1mDg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=gj1GCpjE; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-129348-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-129348-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id g24-20020a50d5d8000000b0056c2eca240csi6699421edj.437.2024.04.03.01.39.59 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 03 Apr 2024 01:39:59 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-129348-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=gj1GCpjE; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-129348-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-129348-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 2492E1F272BB for ; Wed, 3 Apr 2024 08:38:29 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id B2DC56BFD5; Wed, 3 Apr 2024 08:38:22 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="gj1GCpjE" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 D989926286; Wed, 3 Apr 2024 08:38:21 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712133501; cv=none; b=Hv6zSGvYPk23NNvNC9bbS3+tg7gOqisYm9m2Fe7YiaARJNNcoSEXI1zCkgwmOTseqO/nRfA3sjN9Ei2EqcQ4hP/MjOJn4S69VSUwXiUjeKChiSXAmWgIfLCU1Vs3Ll4NdYVGz/p80UpztAVqaiV8QZj5x6WTMV1R41kKxK8QWxU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712133501; c=relaxed/simple; bh=Ra75WPCtHvHR+qYIxgcoyt3//sMNrTmSWmOF780LOxs=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=hIgRvxcaSbMdah3ucAxZl1k8kzTK4U5t4sShbvfAXtCp/EauDTZTGyWZn5GZAigYIlchXIVXVWB5f6wfqxJ2gjL38W+R1tCTHAY8RDy0VM6HO5vcmHggCKfoEiYhzYzRF2t09lJZzq7TPfrORHKScMsHbrVa0IJ4RIBlBrYZfUk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=gj1GCpjE; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8D9A4C43390; Wed, 3 Apr 2024 08:38:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1712133501; bh=Ra75WPCtHvHR+qYIxgcoyt3//sMNrTmSWmOF780LOxs=; h=From:To:Cc:Subject:Date:From; b=gj1GCpjEhNNbfqlAWm+yPDHbxxj9q0tcDP2Gv4VRpaqtI7mpqI8UyWYq+F66R8CDe IUbC0QZEB9TCeZds27kp4+zCKpDMPbN6XX2436BEQDjz5uqGzr5ChVKu8zrQW32o2R nUHvWkkchKop31sPNNKFRa9Bix61cb5JE/fzrFjei4t8rRzUZy7zXpvK2TlnAAPmc4 k5RVYwHWKQhBFADyah1f4Hu3xhp0Lcaz/712SH/rsQt4xiqSdB3csTZhXsCX2v8t5w yFS1b7GLx/GTrJgLeYh1cDM+GeCVeVI/y4bEpWJgxwTiHL2tBhM+BaGuxA2iczOsn/ T98J6Bdr0a7OA== From: Michael Walle To: Shawn Guo , Li Yang , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Michael Walle Subject: [PATCH] arm64: dts: ls1028a: sl28: split variant 3/ads2 carrier Date: Wed, 3 Apr 2024 10:38:12 +0200 Message-Id: <20240403083812.3898480-1-mwalle@kernel.org> X-Mailer: git-send-email 2.39.2 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit The devicetree files can be (re-)used in u-boot now, they are imported on a regular basis (see OF_UPSTREAM option) there. Up until now, it didn't matter for linux and there was just a combined devicetree "-var3-ads2" (with ads2 being the carrier board). But if the devicetree files are now reused in u-boot, we need to have an individual "-var3" variant, because the bootloader is just using the bare "varN" devicetree files. Split the "var3" off of the "-var3-ads2" devicetree. Signed-off-by: Michael Walle --- arch/arm64/boot/dts/freescale/Makefile | 1 + .../fsl-ls1028a-kontron-sl28-var3-ads2.dts | 2 +- .../fsl-ls1028a-kontron-sl28-var3.dts | 18 ++++++++++++++++++ 3 files changed, 20 insertions(+), 1 deletion(-) create mode 100644 arch/arm64/boot/dts/freescale/fsl-ls1028a-kontron-sl28-var3.dts diff --git a/arch/arm64/boot/dts/freescale/Makefile b/arch/arm64/boot/dts/freescale/Makefile index 045250d0a040..9319791f298c 100644 --- a/arch/arm64/boot/dts/freescale/Makefile +++ b/arch/arm64/boot/dts/freescale/Makefile @@ -9,6 +9,7 @@ dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-ls1028a-kontron-kbox-a-230-ls.dtb dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-ls1028a-kontron-sl28.dtb dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-ls1028a-kontron-sl28-var1.dtb dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-ls1028a-kontron-sl28-var2.dtb +dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-ls1028a-kontron-sl28-var3.dtb dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-ls1028a-kontron-sl28-var3-ads2.dtb dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-ls1028a-kontron-sl28-var4.dtb dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-ls1028a-qds.dtb diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1028a-kontron-sl28-var3-ads2.dts b/arch/arm64/boot/dts/freescale/fsl-ls1028a-kontron-sl28-var3-ads2.dts index ed4e69e87e30..195bdbafdf7c 100644 --- a/arch/arm64/boot/dts/freescale/fsl-ls1028a-kontron-sl28-var3-ads2.dts +++ b/arch/arm64/boot/dts/freescale/fsl-ls1028a-kontron-sl28-var3-ads2.dts @@ -10,7 +10,7 @@ /dts-v1/; #include -#include "fsl-ls1028a-kontron-sl28.dts" +#include "fsl-ls1028a-kontron-sl28-var3.dts" / { model = "Kontron SMARC-sAL28 (Single PHY) on SMARC Eval 2.0 carrier"; diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1028a-kontron-sl28-var3.dts b/arch/arm64/boot/dts/freescale/fsl-ls1028a-kontron-sl28-var3.dts new file mode 100644 index 000000000000..08851ca407a8 --- /dev/null +++ b/arch/arm64/boot/dts/freescale/fsl-ls1028a-kontron-sl28-var3.dts @@ -0,0 +1,18 @@ +// SPDX-License-Identifier: GPL-2.0+ +/* + * Device Tree file for the Kontron SMARC-sAL28 board. + * + * This is for the network variant 3 which has one ethernet ports. + * + * Copyright (C) 2024 Michael Walle + * + */ + +/dts-v1/; + +#include "fsl-ls1028a-kontron-sl28.dts" + +/ { + model = "Kontron SMARC-sAL28 (Single PHY)"; + compatible = "kontron,sl28-var3", "kontron,sl28", "fsl,ls1028a"; +}; -- 2.39.2