Received: by 2002:ab2:1689:0:b0:1f7:5705:b850 with SMTP id d9csp1312536lqa; Mon, 29 Apr 2024 05:15:18 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVnaOQiQovi2SSVfVa0EYIxTsXWGjIHW6gFwmi7/UnMNRDi3UWCxVrWsMurYTg2w1bFEnIGpnbjs5GFB0GU4fAAnLbMzFyAkM8GkFtNeg== X-Google-Smtp-Source: AGHT+IGeIlXlIUHho/dpg6HMelgaNUfs1jhnClnBzxsoG4A+181YSMf4jUpdZBktKhVcBQbpYgTM X-Received: by 2002:a17:903:245:b0:1ec:198:bfbc with SMTP id j5-20020a170903024500b001ec0198bfbcmr1035291plh.34.1714392918233; Mon, 29 Apr 2024 05:15:18 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714392918; cv=pass; d=google.com; s=arc-20160816; b=jkAeZfG4Aud8EKL9yVHf87gBkMNn7nDZjw4SYIbtBBHwhT4+3/F2XT1QjDt6+j0Li1 1N9dm5JGCBUtKXgqiKWt/KOdbhgdJXBW2IfE9kk/529MzsJqEf0n8J9XNsgVG11XKR/e wzpgbpAnDlf+/ir1yLnIZhCqDBn5dBW4mMQfdsvWqEfhxWKOZFcUrPB3ppIA2Neii0y+ 92qyhMbpKPgosiYnfOlx3ZWMv5Z+43PEVSD03b/TRi4XBAtrJGcDZ31LGKCzspWcaSx/ K1S+1Sha44oZk/eTL13EL01d71F0nJG6ifZgwJ075LpjcLp0AsmZflhjOPStX1ZYvpxq axZQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:list-unsubscribe:list-subscribe:list-id:precedence :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=nHkEaR6Gl78Rj5Ss1HEU230OJcZBGWCBmIUjCtcYEHE=; fh=LGr9+eqTsuZMhUSzIhf1cllm9Y9oQk0zwEcy0FTawnY=; b=GVC2cJMFNMl5W5KFr34M2Qwi28XvFk5oRIV/KXtSTfVE7jQ3laqMSounAvwdoxNrVn lFD091fQjsW038LWub7r93IXS+3FOW9Hu7czp2DCKlewFe60isgQSvcSHOvH+oh3uu4Z fV46XBLS3TMrzcSdQJuy8wi+qsyVmh3Xs8An9yYz8njMLU7QT4H2S1QPjXPsSAmc95xK Yevw71xaPSB5+ZsmyQxPsA5R+QgMPmv9saWVFdcs95+WBauqtsbVnXmUqcL4W7IPTgkE jVNlFtyA0Idg/aN4YI/eY/ZvfFovcVj5T8FppzFDQdvqmv4Cob35ieQNl3JL5EG1YpDM 6Odg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=czXJS7ol; 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-162207-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-162207-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id b9-20020a170902650900b001e4063f59a4si19284620plk.581.2024.04.29.05.15.17 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 29 Apr 2024 05:15:18 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-162207-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=czXJS7ol; 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-162207-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-162207-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 6CFCC28781F for ; Mon, 29 Apr 2024 12:13:30 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 7B84F7D3E0; Mon, 29 Apr 2024 12:09:55 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=ti.com header.i=@ti.com header.b="czXJS7ol" Received: from lelv0142.ext.ti.com (lelv0142.ext.ti.com [198.47.23.249]) (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 07F3854773; Mon, 29 Apr 2024 12:09:52 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.47.23.249 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714392594; cv=none; b=pTliCsJKL4qHrxIZt0hKXJHW4Sgvd+JYyWrcPugPGbEFE4TMTD/yPw2jPKO4veHWp3T/q5O/O4V7NjKjaYpjqE5Z6MNPK05kYcvGEEKIv46hyTb98qH5ViGngYrOAQHEs/qIj+2aOo9E0OySEvfnEwVnj7B/tscfmn4g2/zagxA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714392594; c=relaxed/simple; bh=10mLRSVfsONZcpEHzVY4tccU6YQar3l+2k/qFUJDPZI=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=hzkLdP79RhgZSaSBOlsLYgFw0uQq63oJsffFTWYXDzJ37ptijT55JmKX6Ud1GxTOhhxK7WDn/5OGCG0n92aDSNdrr53onajU3PYphH2DMaE75gCBkcs7ZALtj7BXvnAHWvVjcY1B30+nAlnTmZSLKqkljGZQvTgybgrZz5wA2cg= 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=czXJS7ol; arc=none smtp.client-ip=198.47.23.249 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 lelv0266.itg.ti.com ([10.180.67.225]) by lelv0142.ext.ti.com (8.15.2/8.15.2) with ESMTP id 43TC9i6U090075; Mon, 29 Apr 2024 07:09:44 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1714392584; bh=nHkEaR6Gl78Rj5Ss1HEU230OJcZBGWCBmIUjCtcYEHE=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=czXJS7olciWQXevm1POU3buuYi2Uz2/vgVvh59dFSUPuAvEDLwWkV2x/wfp8ADAje m+tprFke+GlBoPKJ5rNm3AIEQKHEQ7dH6+PxA0l6W1FOMXVCFoUPdSFA+jCh+Ggp8z UhXAWahJKsK9T0xOzT2UwUqLosnzk6VeXTHr/7GU= Received: from DFLE114.ent.ti.com (dfle114.ent.ti.com [10.64.6.35]) by lelv0266.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 43TC9iOh099131 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Mon, 29 Apr 2024 07:09:44 -0500 Received: from DFLE101.ent.ti.com (10.64.6.22) by DFLE114.ent.ti.com (10.64.6.35) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Mon, 29 Apr 2024 07:09:44 -0500 Received: from lelvsmtp6.itg.ti.com (10.180.75.249) by DFLE101.ent.ti.com (10.64.6.22) 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; Mon, 29 Apr 2024 07:09:44 -0500 Received: from uda0500640.dal.design.ti.com (uda0500640.dhcp.ti.com [172.24.227.88]) by lelvsmtp6.itg.ti.com (8.15.2/8.15.2) with ESMTP id 43TC9XrG012367; Mon, 29 Apr 2024 07:09:41 -0500 From: Ravi Gunasekaran To: , CC: , , , , , , , , , Subject: [PATCH 2/3] arm64: dts: ti: k3-j722s: Redefine USB1 node description Date: Mon, 29 Apr 2024 17:39:31 +0530 Message-ID: <20240429120932.11456-3-r-gunasekaran@ti.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20240429120932.11456-1-r-gunasekaran@ti.com> References: <20240429120932.11456-1-r-gunasekaran@ti.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 USB1 controller on J722S and AM62P are from different vendors. Redefine the USB1 node description for J722S by deleting the node inherited from AM62P dtsi. Signed-off-by: Ravi Gunasekaran --- arch/arm64/boot/dts/ti/k3-j722s.dtsi | 39 ++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) diff --git a/arch/arm64/boot/dts/ti/k3-j722s.dtsi b/arch/arm64/boot/dts/ti/k3-j722s.dtsi index beba5a3ea6cc..90725eeb3178 100644 --- a/arch/arm64/boot/dts/ti/k3-j722s.dtsi +++ b/arch/arm64/boot/dts/ti/k3-j722s.dtsi @@ -13,6 +13,13 @@ #include "k3-am62p5.dtsi" +/* + * USB1 controller on AM62P and J722S are of different IP. + * Delete AM62P's USBSS1 node definition and redefine it for J722S. + */ + +/delete-node/ &usbss1; + / { model = "Texas Instruments K3 J722S SoC"; compatible = "ti,j722s"; @@ -120,6 +127,38 @@ status = "disabled"; /* Needs lane config */ }; }; + + usbss1: cdns-usb@f920000 { + compatible = "ti,j721e-usb"; + reg = <0x00 0x0f920000 0x00 0x100>; + ranges; + power-domains = <&k3_pds 278 TI_SCI_PD_EXCLUSIVE>; + clocks = <&k3_clks 278 3>, <&k3_clks 278 1>; + clock-names = "ref", "lpm"; + assigned-clocks = <&k3_clks 278 3>; /* USB2_REFCLK */ + assigned-clock-parents = <&k3_clks 278 4>; /* HF0SC0 */ + #address-cells = <2>; + #size-cells = <2>; + status = "disabled"; + + usb1: usb@31200000{ + compatible = "cdns,usb3"; + reg = <0x00 0x31200000 0x00 0x10000>, + <0x00 0x31210000 0x00 0x10000>, + <0x00 0x31220000 0x00 0x10000>; + reg-names = "otg", + "xhci", + "dev"; + interrupts = , /* irq.0 */ + , /* irq.6 */ + ; /* otgirq */ + interrupt-names = "host", + "peripheral", + "otg"; + maximum-speed = "super-speed"; + dr_mode = "otg"; + }; + }; }; /* Main domain overrides */ -- 2.17.1