Received: by 2002:ab2:7903:0:b0:1fb:b500:807b with SMTP id a3csp1453931lqj; Tue, 4 Jun 2024 01:54:11 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVD2lEjrnfZu2K6un4AycadQ9Ksn9YyCh9s/JWB9BK+c92ujfNRzY68GQ/OQgcIQUSX5qfbqbUNKhliq9eyaL5paFrbzNpnqyk7yzloJA== X-Google-Smtp-Source: AGHT+IFY/H1+tesWyNek5ocjuZVoYFxhkCq+nhonhsitFeWd4GiBxczpo2LWe+tyN9qTpWxxq/5e X-Received: by 2002:a25:ae44:0:b0:dee:7fc3:ad6a with SMTP id 3f1490d57ef6-dfa73dd2741mr10761457276.56.1717491251535; Tue, 04 Jun 2024 01:54:11 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717491251; cv=pass; d=google.com; s=arc-20160816; b=ZSqpTXlgpWaPG3qYo7n6Dwl7hqzR8fTx9cmZmAm1rSTjwFq54IgmLQfkwwEyM0x17L ouVFxZQ64KO7VMswMYuLj4Lyw1+BEV0hWLJGAzev9a0zApFXfWTdLA2u907l8xtjIM+O Oqu7Iw9nygDZuVnHbdvje9uf6BJrjepiogd2IRDizd6V0TNsteieWj85qdUATAPd91GI BWC6n9/euEGSdXXXVZUYS/Kp+X/NvNh3KEM2Ow5BIJKL1eL+Ra7TC181PhwvA2fac46X JJknTXeWthOcekRJOgymWzS1t9LyRwQ0LkbJW+LQDIzquGiVP533Kc1aSJDjdOUqLX8S Bf3w== 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:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=IFPvDohlPGXXqXCQGX0a2YhLsDb1v7coMiYchfsU0dc=; fh=v0teqksL3xO+SLXxmXdn9hV0IgnSHmLX2R1lVYr4iek=; b=i/vZEUE1RopAyKQ+gmBogjIvxMvpsiYZOHRE43sAaoSeWQbKZD+Ed6JMUstfoe3S2t Ahul/r+ffgh2KJHyOQByk3voXQFLx2yIqwSq9z7pSaBrHeJcxEIeqzc4hWMHznxcadEi 7sgicHpA5jeNJ219GjSCutRS8VTb/zRGGvUQMiDiaNYOmkDM1Bg5iRDoqvPwYOlv7zkH 4V5PUrILRbJBKrXhXkHWEyxMaFQozaKtrbJpBk+oHP1VU69r8dUUnihySnoNL27wbzPc NRmHslBcLs8mZnEd05OrHA1vHxEQzKNjK1J9/C9rrLPa+DslmAZ/9h7KnvQ3MbQluBao tsKw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=s6gLD1HA; arc=pass (i=1 spf=pass spfdomain=ti.com dkim=pass dkdomain=ti.com dmarc=pass fromdomain=ti.com); spf=pass (google.com: domain of linux-kernel+bounces-200285-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-200285-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id d75a77b69052e-43ff259f73csi23859361cf.682.2024.06.04.01.54.11 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 04 Jun 2024 01:54:11 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-200285-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=s6gLD1HA; arc=pass (i=1 spf=pass spfdomain=ti.com dkim=pass dkdomain=ti.com dmarc=pass fromdomain=ti.com); spf=pass (google.com: domain of linux-kernel+bounces-200285-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-200285-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com 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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 31EA71C210C5 for ; Tue, 4 Jun 2024 08:54:11 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 4657E143C6C; Tue, 4 Jun 2024 08:53:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=ti.com header.i=@ti.com header.b="s6gLD1HA" Received: from fllv0016.ext.ti.com (fllv0016.ext.ti.com [198.47.19.142]) (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 CFBAD143C44; Tue, 4 Jun 2024 08:53:24 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.47.19.142 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717491206; cv=none; b=bSrVkX/aHk7WjbCyTnqJjIa/6DayKowRz3icDLqoMDE3rUqLskOBZVginsbxLR9GOUAwmuP4puaCQ6sFgjop2369IkwkU6GePwhRFJCmHUwo6y9JfHgLF+cENpbc3VVVBHiG0p35RzI2ugvTIzlG/HdKs2rui4Xeiz5arg2C3as= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717491206; c=relaxed/simple; bh=giGgyG+uBowzn1pZxxGxG2AQgr8MJfdVaHBdhehyj7Q=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=IszFDQmLEdCUCEHLJqkslAbOaZDBBM+fv1bj5nUja4m9wCIa0FDscAg9OZ0AVPRIM3xWOPuOB2qemMIiCA5VjNc4sQLSlXN9+q4MVjUGlLJfjOnPjfiJtMUbsyYIMJPEfYRFNqtWSnp2gEBphQZnXxqLFLrBrxL0p7qpfdl3A+s= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=ti.com; spf=pass smtp.mailfrom=ti.com; dkim=pass (1024-bit key) header.d=ti.com header.i=@ti.com header.b=s6gLD1HA; arc=none smtp.client-ip=198.47.19.142 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=ti.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=ti.com Received: from lelv0265.itg.ti.com ([10.180.67.224]) by fllv0016.ext.ti.com (8.15.2/8.15.2) with ESMTP id 4548r6R3056294; Tue, 4 Jun 2024 03:53:06 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1717491186; bh=IFPvDohlPGXXqXCQGX0a2YhLsDb1v7coMiYchfsU0dc=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=s6gLD1HAmWFV/Bnrx81H3yDPBRZqos6VhW7cIHhv0K4EYnR+ARGbaxRdP3Ae2kJDC psMD5FkK61OIqAokRs+5XRGtMfVzsVhirlaqwEEKDA08Butt9Sr4ua1+aki7D+uiDq vKr69HPyOkNNTH6zb1GXdhzLxYsDMzyReCfhLsfM= Received: from DLEE103.ent.ti.com (dlee103.ent.ti.com [157.170.170.33]) by lelv0265.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 4548r6jV016003 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Tue, 4 Jun 2024 03:53:06 -0500 Received: from DLEE106.ent.ti.com (157.170.170.36) by DLEE103.ent.ti.com (157.170.170.33) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Tue, 4 Jun 2024 03:53:06 -0500 Received: from lelvsmtp6.itg.ti.com (10.180.75.249) by DLEE106.ent.ti.com (157.170.170.36) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23 via Frontend Transport; Tue, 4 Jun 2024 03:53:06 -0500 Received: from uda0492258.dhcp.ti.com (uda0492258.dhcp.ti.com [172.24.227.9]) by lelvsmtp6.itg.ti.com (8.15.2/8.15.2) with ESMTP id 4548qqQj066926; Tue, 4 Jun 2024 03:53:02 -0500 From: Siddharth Vadapalli To: , , , , , , , CC: , , , , , , Subject: [PATCH v5 2/7] arm64: dts: ti: k3-am62p-j722s: Move AM62P specific USB1 to am62p-main.dtsi Date: Tue, 4 Jun 2024 14:22:47 +0530 Message-ID: <20240604085252.3686037-3-s-vadapalli@ti.com> X-Mailer: git-send-email 2.40.1 In-Reply-To: <20240604085252.3686037-1-s-vadapalli@ti.com> References: <20240604085252.3686037-1-s-vadapalli@ti.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 The USB1 instance of USB controller on AM62P is different from the USB1 instance of USB controller on J722S. Thus, move the USB1 instance from the shared "k3-am62p-j722s-common-main.dtsi" file to the AM62p specific "k3-am62p-main.dtsi" file. Signed-off-by: Siddharth Vadapalli --- v4: https://lore.kernel.org/r/20240601121554.2860403-3-s-vadapalli@ti.com/ Changes since v4: - s/main/MAIN in k3-am62p-main.dtsi .../dts/ti/k3-am62p-j722s-common-main.dtsi | 26 -------------- arch/arm64/boot/dts/ti/k3-am62p-main.dtsi | 34 +++++++++++++++++++ arch/arm64/boot/dts/ti/k3-am62p5.dtsi | 1 + 3 files changed, 35 insertions(+), 26 deletions(-) create mode 100644 arch/arm64/boot/dts/ti/k3-am62p-main.dtsi diff --git a/arch/arm64/boot/dts/ti/k3-am62p-j722s-common-main.dtsi b/arch/arm64/boot/dts/ti/k3-am62p-j722s-common-main.dtsi index bf6384ba824a..80d2e559a473 100644 --- a/arch/arm64/boot/dts/ti/k3-am62p-j722s-common-main.dtsi +++ b/arch/arm64/boot/dts/ti/k3-am62p-j722s-common-main.dtsi @@ -662,32 +662,6 @@ usb0: usb@31000000 { }; }; - usbss1: usb@f910000 { - compatible = "ti,am62-usb"; - reg = <0x00 0x0f910000 0x00 0x800>, - <0x00 0x0f918000 0x00 0x400>; - clocks = <&k3_clks 162 3>; - clock-names = "ref"; - ti,syscon-phy-pll-refclk = <&usb1_phy_ctrl 0x0>; - #address-cells = <2>; - #size-cells = <2>; - power-domains = <&k3_pds 179 TI_SCI_PD_EXCLUSIVE>; - ranges; - status = "disabled"; - - usb1: usb@31100000 { - compatible = "snps,dwc3"; - reg = <0x00 0x31100000 0x00 0x50000>; - interrupts = , /* irq.0 */ - ; /* irq.0 */ - interrupt-names = "host", "peripheral"; - maximum-speed = "high-speed"; - dr_mode = "otg"; - snps,usb2-gadget-lpm-disable; - snps,usb2-lpm-disable; - }; - }; - fss: bus@fc00000 { compatible = "simple-bus"; reg = <0x00 0x0fc00000 0x00 0x70000>; diff --git a/arch/arm64/boot/dts/ti/k3-am62p-main.dtsi b/arch/arm64/boot/dts/ti/k3-am62p-main.dtsi new file mode 100644 index 000000000000..9caab7db5440 --- /dev/null +++ b/arch/arm64/boot/dts/ti/k3-am62p-main.dtsi @@ -0,0 +1,34 @@ +// SPDX-License-Identifier: GPL-2.0-only OR MIT +/* + * Device Tree file for the AM62P MAIN domain peripherals + * + * Copyright (C) 2023-2024 Texas Instruments Incorporated - https://www.ti.com/ + */ + +&cbass_main { + usbss1: usb@f910000 { + compatible = "ti,am62-usb"; + reg = <0x00 0x0f910000 0x00 0x800>, + <0x00 0x0f918000 0x00 0x400>; + clocks = <&k3_clks 162 3>; + clock-names = "ref"; + ti,syscon-phy-pll-refclk = <&usb1_phy_ctrl 0x0>; + #address-cells = <2>; + #size-cells = <2>; + power-domains = <&k3_pds 179 TI_SCI_PD_EXCLUSIVE>; + ranges; + status = "disabled"; + + usb1: usb@31100000 { + compatible = "snps,dwc3"; + reg = <0x00 0x31100000 0x00 0x50000>; + interrupts = , /* irq.0 */ + ; /* irq.0 */ + interrupt-names = "host", "peripheral"; + maximum-speed = "high-speed"; + dr_mode = "otg"; + snps,usb2-gadget-lpm-disable; + snps,usb2-lpm-disable; + }; + }; +}; diff --git a/arch/arm64/boot/dts/ti/k3-am62p5.dtsi b/arch/arm64/boot/dts/ti/k3-am62p5.dtsi index b7bb04a7968f..9f5bd76bf050 100644 --- a/arch/arm64/boot/dts/ti/k3-am62p5.dtsi +++ b/arch/arm64/boot/dts/ti/k3-am62p5.dtsi @@ -9,6 +9,7 @@ /dts-v1/; #include "k3-am62p-j722s-common.dtsi" +#include "k3-am62p-main.dtsi" / { cpus { -- 2.40.1