Received: by 2002:a05:6500:2018:b0:1fb:9675:f89d with SMTP id t24csp995989lqh; Sat, 1 Jun 2024 05:16:58 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUq/APJ4/BiMVbiF5SA9XcBeovlPE+3XhkKQQAKwxNOw2krBDKH9bHoB9NQqmxxbkw4Kv3NDXSiC3PX3obSy0YuXUu+DBLStxm0rTGB5Q== X-Google-Smtp-Source: AGHT+IEiRdt5WkGEraJgokBkABb4PNpwRMEwuRDBHf1Z64bo/v3Et2p4xDmg8HkFH/ZJ34rMggcT X-Received: by 2002:a17:906:80c:b0:a68:b089:e27 with SMTP id a640c23a62f3a-a68b0891296mr99543366b.44.1717244218192; Sat, 01 Jun 2024 05:16:58 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717244218; cv=pass; d=google.com; s=arc-20160816; b=NHqa7cBZj29leu7z3bqQO9k633fUKZc5lARoIl2bgB+fV8SkD9/bQJkzlTDocwZl2L K0+xhG5ln9Z0mstbTywNJHBGJ6P3uW0tFway0qNyx+8lv/ilmiRQmVK+h22IOzx6WkO0 3iNVn2NOeE1DbiRRr0fbJ4FsiSiyLni9rxPz78fFblYsLASmRfDzTXsqCzm5G6u5pe8l o6az+1KmUXWGCn4e8U/AFQVPHggHA0aJ+YL+84iHsc6oICI9LoDLw27ZSC/MZEUwjwIJ hmF7lgtSsbAk2PIvBf44yCcmfsw0yd4uSUwUrft2hrH7y17iPRNbdhwRtvi0rTAzcUIs xqqA== 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=HZeEi6H0mtTGz+4mjB5oPiuaJnMdbWaAbSXhIDC3kEo=; fh=v0teqksL3xO+SLXxmXdn9hV0IgnSHmLX2R1lVYr4iek=; b=jGfuTKX0Pg2Bvyf7JQ7znHLmMQ1jEVb+aafxZB9bJfr5LhuB6VYevLKTeo7v5nKwzm zD/3svzWO9wszljQT62yEbyKljGKC15Sr1XjLLLhriWTLAbHvniSB47i+hxF1kKdDwW8 O1BWfpiy9WVofO/YwJsE+fZdHm7U8C9Nb/CiO9uj//Oe5F7DHbdbSKVGcWufqF3AqUaY XkN/m42bfiUvmhuwHd4emZPpl7eR1EVi/tm3PzCa6ZtPs/HdYRn+GhDQJhOCVdWG+lph eQMpV3G1es6rBqVD+lwWu/nbpd8S1Vrfs7k7fjgzGv65RFCQCVhv27Sx4/3vuhcJrqjd 4IPw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b="c+Upr+/W"; 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-197830-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-197830-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id a640c23a62f3a-a67ea38e930si208656366b.386.2024.06.01.05.16.58 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 01 Jun 2024 05:16:58 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-197830-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b="c+Upr+/W"; 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-197830-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-197830-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 am.mirrors.kernel.org (Postfix) with ESMTPS id E68E81F22074 for ; Sat, 1 Jun 2024 12:16:57 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 2D12B152176; Sat, 1 Jun 2024 12:16:24 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=ti.com header.i=@ti.com header.b="c+Upr+/W" Received: from lelv0143.ext.ti.com (lelv0143.ext.ti.com [198.47.23.248]) (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 59E831509BD; Sat, 1 Jun 2024 12:16:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.47.23.248 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717244183; cv=none; b=jVnN7SRCy3+uOuLdGd2cAOTALseqwXeaBGZyPzslUSU5tCmxNtBZ+YrygYpGEG95V5FMyAXqQqFPtDtVjvOjzB/3PBLVsC365I8H+M1g+QhZTVJ70Am1MC5nSfKXQV19p16JPwY+JKeSJZwMRXEVm31h/VzRhTdngHTb9i+ndVY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717244183; c=relaxed/simple; bh=RhIREgC52qPhkBYgDaSoafNDjsYk2tGmUy7a0pq8GhU=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=umWHcj4nKK2OqzbtdsRyWo+clV493qlNgXEY4c8++oWm9iNtWKPnyhmFKN9AUvc1YlN7YNA8h03hKZr6RY8NsYNuYkxbIDtTBQV+vq114YPH7AaYLic1Iu6ZKoGLGDmcAXfcJTDKscj1EU8tJK6eEn9JoI4PzrIgtnRxr2P44jU= 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=c+Upr+/W; arc=none smtp.client-ip=198.47.23.248 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 lelv0143.ext.ti.com (8.15.2/8.15.2) with ESMTP id 451CG85L124540; Sat, 1 Jun 2024 07:16:08 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1717244168; bh=HZeEi6H0mtTGz+4mjB5oPiuaJnMdbWaAbSXhIDC3kEo=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=c+Upr+/WTvZO47pX6brakePqM+zTwJyq1Wb2LHPKvs4bbgHBIcV+/fSIXvQYcnKKz SpFduTFg2SZ8ycXxFxgwzNxZDIihIQLrwZid6tNKUgPa0XrW7S3YxMp79XFjydqjrm ntd3BnkWTBQErC8IAh2hd3rT2eoCSOaPmoaMFWMI= Received: from DFLE105.ent.ti.com (dfle105.ent.ti.com [10.64.6.26]) by lelv0265.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 451CG8EK019742 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Sat, 1 Jun 2024 07:16:08 -0500 Received: from DFLE112.ent.ti.com (10.64.6.33) by DFLE105.ent.ti.com (10.64.6.26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Sat, 1 Jun 2024 07:16:08 -0500 Received: from lelvsmtp6.itg.ti.com (10.180.75.249) by DFLE112.ent.ti.com (10.64.6.33) 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; Sat, 1 Jun 2024 07:16:08 -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 451CFtkG009323; Sat, 1 Jun 2024 07:16:04 -0500 From: Siddharth Vadapalli To: , , , , , , , CC: , , , , , , Subject: [PATCH v4 2/7] arm64: dts: ti: k3-am62p-j722s: Move AM62P specific USB1 to am62p-main.dtsi Date: Sat, 1 Jun 2024 17:45:49 +0530 Message-ID: <20240601121554.2860403-3-s-vadapalli@ti.com> X-Mailer: git-send-email 2.40.1 In-Reply-To: <20240601121554.2860403-1-s-vadapalli@ti.com> References: <20240601121554.2860403-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 --- No changelog since this patch is introduced in this version of the series. .../dts/ti/k3-am62p-j722s-common-main.dtsi | 26 --------------- arch/arm64/boot/dts/ti/k3-am62p-main.dtsi | 33 +++++++++++++++++++ arch/arm64/boot/dts/ti/k3-am62p5.dtsi | 1 + 3 files changed, 34 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 ea214f649ebd..2305bf7cb28f 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 @@ -661,32 +661,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..5187d55681cd --- /dev/null +++ b/arch/arm64/boot/dts/ti/k3-am62p-main.dtsi @@ -0,0 +1,33 @@ +// 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