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 phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 1D889CCD1AB for ; Wed, 22 Oct 2025 10:26:38 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 28CD983623; Wed, 22 Oct 2025 12:26:21 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=quarantine dis=none) header.from=ti.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=ti.com header.i=@ti.com header.b="SIG/eubr"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 0AC6083623; Wed, 22 Oct 2025 12:26:20 +0200 (CEST) Received: from fllvem-ot03.ext.ti.com (fllvem-ot03.ext.ti.com [198.47.19.245]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 83BA98357F for ; Wed, 22 Oct 2025 12:26:17 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=quarantine dis=none) header.from=ti.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=anshuld@ti.com Received: from lelvem-sh02.itg.ti.com ([10.180.78.226]) by fllvem-ot03.ext.ti.com (8.15.2/8.15.2) with ESMTP id 59MAQFwN1381913; Wed, 22 Oct 2025 05:26:15 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1761128775; bh=6OKKb+jYxkwrIsUYHJxsmbMld+5kS/1VU99cIoFjd9E=; h=From:Date:Subject:References:In-Reply-To:To:CC; b=SIG/eubrkMa/6ezFHnToXDeZ+etCPlhT8diBzqGggRqdR+NG7fWqUq95HXKfvOYmQ pGVGKGvGVPYvBUWAfS8c5qNHOTjAOVfMqBjq1negn4hKDD/KJgHdz+qeh2x5Uqu7uI 1GxiVwc218S3nUA4eh23tuaHJUQBJJC8lB75/Bd4= Received: from DLEE203.ent.ti.com (dlee203.ent.ti.com [157.170.170.78]) by lelvem-sh02.itg.ti.com (8.18.1/8.18.1) with ESMTPS id 59MAQFQM2281613 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 22 Oct 2025 05:26:15 -0500 Received: from DLEE201.ent.ti.com (157.170.170.76) by DLEE203.ent.ti.com (157.170.170.78) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.2562.20; Wed, 22 Oct 2025 05:26:15 -0500 Received: from lelvem-mr05.itg.ti.com (10.180.75.9) by DLEE201.ent.ti.com (157.170.170.76) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.2562.20 via Frontend Transport; Wed, 22 Oct 2025 05:26:15 -0500 Received: from localhost (dhcp-172-24-233-105.dhcp.ti.com [172.24.233.105]) by lelvem-mr05.itg.ti.com (8.18.1/8.18.1) with ESMTP id 59MAQEOU1048515; Wed, 22 Oct 2025 05:26:14 -0500 From: Anshul Dalal Date: Wed, 22 Oct 2025 15:55:38 +0530 Subject: [PATCH 2/8] arm64: dts: ti: k3-am62*: remove SoC dtsi from common dtsi MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-ID: <20251022-62sip_support-v1-2-eed08d15e76d@ti.com> References: <20251022-62sip_support-v1-0-eed08d15e76d@ti.com> In-Reply-To: <20251022-62sip_support-v1-0-eed08d15e76d@ti.com> To: CC: Tom Rini , Beleswar Padhi , Nishanth Menon , Andrew Davis , Bryan Brattlof , Vignesh R , Anshul Dalal X-Mailer: b4 0.14.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1761128770; l=3622; i=anshuld@ti.com; s=20251022; h=from:subject:message-id; bh=1QG+PqhdQgv2V2I3hxHlXPIhYi/7hRwfA+700Uj0iHw=; b=inHbeMoWHwM0sGRSPi1sodHrCJqRz0OFFsUqByPbpPdV34G3PKW8TblGBDu1rpFFZKZKQ+FYL 6wSzmF1/GH1CcYvfzk6tkTNKPYEvxy1Vw71AmuTq9OXF6JBPS0MCYqm X-Developer-Key: i=anshuld@ti.com; a=ed25519; pk=Kv8FlQElcrR6efyEHmjtE83y8e0HKvqPyvVY+PJ4UFw= X-C2ProcessedOrg: 333ef613-75bf-4e12-a4b1-8e3623f5dcea X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.8 at phobos.denx.de X-Virus-Status: Clean The k3-am62x-sk-common dtsi represents the common hardware used across am62x EVMs which can be configured with various DDR sizes or none (with DDR integrated in the package) based on the specific am62x SoC used. Therefore this patch moves the memory node and the SoC specific k3-am625 dtsi out of sk-common and into the board dts files. No functional change is intended from this patch. The device-tree inheritance is changed as follows: Before: k3-am62 ^ k3-am625 ^ k3-am62x-sk-common ^ am62x EVMs (k3-am625-sk, k3-am62-lp-sk) After: k3-am62 ^ k3-am625 k3-am62x-sk-common ^ ^ am62x EVMs (k3-am625-sk, k3-am62-lp-sk) Signed-off-by: Anshul Dalal Reviewed-by: Bryan Brattlof Link: https://patch.msgid.link/20250814134531.2743874-2-anshuld@ti.com Signed-off-by: Nishanth Menon [ upstream commit: e0b9feca7329c495a76891d7766a781dea73787d ] (cherry picked from commit 0b0edbbdf43bac6b28dd59c88647bd5e0b73ffea) --- dts/upstream/src/arm64/ti/k3-am62-lp-sk.dts | 8 ++++++++ dts/upstream/src/arm64/ti/k3-am625-sk.dts | 5 +++-- dts/upstream/src/arm64/ti/k3-am62x-sk-common.dtsi | 8 -------- 3 files changed, 11 insertions(+), 10 deletions(-) diff --git a/dts/upstream/src/arm64/ti/k3-am62-lp-sk.dts b/dts/upstream/src/arm64/ti/k3-am62-lp-sk.dts index 4609f366006e4cdf0c162f72634ce90623f60a90..ecfba05fe5c273c671cd0968f3eceaf54d22ac7d 100644 --- a/dts/upstream/src/arm64/ti/k3-am62-lp-sk.dts +++ b/dts/upstream/src/arm64/ti/k3-am62-lp-sk.dts @@ -7,12 +7,20 @@ /dts-v1/; +#include "k3-am625.dtsi" #include "k3-am62x-sk-common.dtsi" / { compatible = "ti,am62-lp-sk", "ti,am625"; model = "Texas Instruments AM62x LP SK"; + memory@80000000 { + /* 2G RAM */ + reg = <0x00000000 0x80000000 0x00000000 0x80000000>; + device_type = "memory"; + bootph-pre-ram; + }; + vmain_pd: regulator-0 { /* TPS65988 PD CONTROLLER OUTPUT */ compatible = "regulator-fixed"; diff --git a/dts/upstream/src/arm64/ti/k3-am625-sk.dts b/dts/upstream/src/arm64/ti/k3-am625-sk.dts index d240165bda9c57b01772feb57f14f209bbcc5668..1c6812a8ae9b5d8f274f5a3fa88738eafbc747a7 100644 --- a/dts/upstream/src/arm64/ti/k3-am625-sk.dts +++ b/dts/upstream/src/arm64/ti/k3-am625-sk.dts @@ -7,6 +7,7 @@ /dts-v1/; +#include "k3-am625.dtsi" #include "k3-am62x-sk-common.dtsi" / { @@ -23,10 +24,10 @@ }; memory@80000000 { - device_type = "memory"; /* 2G RAM */ reg = <0x00000000 0x80000000 0x00000000 0x80000000>; - + device_type = "memory"; + bootph-pre-ram; }; vmain_pd: regulator-0 { diff --git a/dts/upstream/src/arm64/ti/k3-am62x-sk-common.dtsi b/dts/upstream/src/arm64/ti/k3-am62x-sk-common.dtsi index 43ee16f171fdfdb07e7a4bd1719bd8b62d81654b..ce8be23b068ea97901b50fbf1b3241ebd54c9f34 100644 --- a/dts/upstream/src/arm64/ti/k3-am62x-sk-common.dtsi +++ b/dts/upstream/src/arm64/ti/k3-am62x-sk-common.dtsi @@ -8,7 +8,6 @@ #include #include #include -#include "k3-am625.dtsi" / { aliases { @@ -29,13 +28,6 @@ stdout-path = "serial2:115200n8"; }; - memory@80000000 { - bootph-pre-ram; - device_type = "memory"; - /* 2G RAM */ - reg = <0x00000000 0x80000000 0x00000000 0x80000000>; - }; - reserved_memory: reserved-memory { #address-cells = <2>; #size-cells = <2>; -- 2.51.0