From patchwork Thu Feb 1 12:03:32 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Roger Quadros X-Patchwork-Id: 195262 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:2719:b0:106:209c:c626 with SMTP id hl25csp99953dyb; Thu, 1 Feb 2024 04:06:38 -0800 (PST) X-Google-Smtp-Source: AGHT+IFLXng7RdLmMDmCcTEgomxRgoaAqq+WM/hz8fR+RtyWf50ojvc0GBZQT1HzV2HmjDbdULPJ X-Received: by 2002:a05:6358:e4a2:b0:172:ae2a:2256 with SMTP id by34-20020a056358e4a200b00172ae2a2256mr2057941rwb.27.1706789198511; Thu, 01 Feb 2024 04:06:38 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706789198; cv=pass; d=google.com; s=arc-20160816; b=1LWtYlACGIj3s2BbXjuuFJ8x+8eecyZdlFOofH5qT3VmczplTYnaXj0KKMW9Wncok2 y6PDIj6emLLZOb+T3/jHfpITkmm8XW6wa1iEPrbUraS1EnlYWsk7POZ7gP7aMwRH9CS1 WpGGN6RQXurPNa1fteew7TsyzuLvyRZi/XalvVbd9YONhmkVTRrZRWU8pDWRheUUCiIU CRhBuGE5c3CywNUphGeIPTBcvEcAvrUHT76UPXJFdyJ2IhZo5DOzMA8BetcFGjSgW9u5 sH7LGiPZVs8gpdZdjIyya5ttkD523xUyLfZvz1FUK58lHzTCOaAqxdky4iJsqjIwQAbF WyWg== 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=WFkY1FoUYlGh3to0fvaMeOmflwQAp+sxi6DvVepT2k0=; fh=WSqQwrzMAK214T2kNfKPb7+DQ+UsjL23lcbTs0J3O3w=; b=ZNGcdqPoCLJM6aU02u5NN8DRneU3GpK/gMnA7OKwqWke+Af+vLuP1yV3ROfVV8cHBG OPk6N187O9rIdd+7TvZ1l+qdRcYis7g6a90sqeVirdKW5NxmQRNQwO9uiARkivZQLJMK pS8CbL1vb0HDoEo/GBUwUfxRyC2r4bolPPpkgOBy2IpI9KVHA/ty/VtvzZhKBRtKh4AM RV0qZYPuTgj9by3p8/JijBlNTfedIASo6dZNnONWJMg5tL6CALTSIIrJY9BlW0fAl6AC TBcWgEmZCxq2S0dz+jVOU8E7U3iCqM8op87J5grZR9h/lzuMd5rlqbbg1DteYbg8sh5R bbYg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=P3IIuMi0; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-48071-ouuuleilei=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-48071-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org X-Forwarded-Encrypted: i=1; AJvYcCUuJymHuWfU5YWJ89QucOeAPeM/4bYXTumbIm05UZjJX/o/ZMQvhQkOzYJs9Hvh3gMARYO6Jwrkir0eqK6dRSA1yIz3OQ== Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id a25-20020a637059000000b005d2014b75b5si11707514pgn.618.2024.02.01.04.06.38 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 01 Feb 2024 04:06:38 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-48071-ouuuleilei=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=@kernel.org header.s=k20201202 header.b=P3IIuMi0; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-48071-ouuuleilei=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-48071-ouuuleilei=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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 4512E29070D for ; Thu, 1 Feb 2024 12:06:38 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 38C271649B2; Thu, 1 Feb 2024 12:04:02 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="P3IIuMi0" 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 8F59B163AB0; Thu, 1 Feb 2024 12:03:59 +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=1706789039; cv=none; b=XXwlTIAJc8sKEqPFY2OvEVv3JAs39N2TjxL5lXp+ErvWaNLdjFnx2gUxpGUmfVL/UMjm4CFtI+GojTTUIolmMp56gQrk9NYMNwmC9EeWNAKcLAE7qiwoZzPp/+PKucEryz54G6NTxxoEOCKO0rqpTMRvpUGR8MMUrGGpPg27lEI= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706789039; c=relaxed/simple; bh=RkISr3n1VWVb0JqS3ctW9rc03+xFECrO3YJ4+fwugsQ=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=EDTg83uQbdy0AgNpAdkQ3rJVuNx1pzdFyA9bRmOQQSvXrs7RtYdA+IpPKApJXL65FZ7GLXsMDSs8SF9nrIRcN++rjrEHe4qbv55akhNmEXclp3wOKDXepx0P2S+rXQ/Xny4r6ilDXqQBor8v3bLFiygNJP8kqw8MR8qBWavc2QE= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=P3IIuMi0; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id C80BAC43390; Thu, 1 Feb 2024 12:03:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1706789039; bh=RkISr3n1VWVb0JqS3ctW9rc03+xFECrO3YJ4+fwugsQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=P3IIuMi09TRxhrQmxE2CkcaAr7oxdQx1HfUTXCSB1b86f9acz51ShTficHcwuJAub 4+t4noPsgsdf0ocpR7b1LEyMKlC2fpZ7SOcSl8p/XQua2gOGmcQZzy8VvNOAJsUBZo yZDfVzRHH8Y8BhD6lh73/xdVi45RX6ROBeujJqJqe1h7yC96V92QJPQCtuCplFKxcb ofgX78sE759tphwMj8cHsiAeh2GNO3Nuqc+KYU/6/33yKH6i+aEP6umtDUv1ODTW2w mYR+QhYFJHJfLxm2nzFlQgrhna1wSaOysnVGZtQf7RkdbEJ4k9oRx/1KRG8GucRVlT WOblGoVKCvREg== From: Roger Quadros To: nm@ti.com, vigneshr@ti.com Cc: afd@ti.com, kristo@kernel.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, srk@ti.com, r-gunasekaran@ti.com, b-liu@ti.com, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Roger Quadros Subject: [PATCH v3 5/5] arm64: dts: ti: k3-am62*: Add PHY2 region to USB wrapper node Date: Thu, 1 Feb 2024 14:03:32 +0200 Message-Id: <20240201120332.4811-6-rogerq@kernel.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240201120332.4811-1-rogerq@kernel.org> References: <20240201120332.4811-1-rogerq@kernel.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1789698190505291422 X-GMAIL-MSGID: 1789698190505291422 Add PHY2 register space to USB wrapper node. This is required to deal with Errata i2409. Signed-off-by: Roger Quadros --- Notes: Changelog: v3 - new patch arch/arm64/boot/dts/ti/k3-am62-main.dtsi | 6 ++++-- arch/arm64/boot/dts/ti/k3-am62a-main.dtsi | 6 ++++-- arch/arm64/boot/dts/ti/k3-am62p-main.dtsi | 6 ++++-- 3 files changed, 12 insertions(+), 6 deletions(-) diff --git a/arch/arm64/boot/dts/ti/k3-am62-main.dtsi b/arch/arm64/boot/dts/ti/k3-am62-main.dtsi index 9432ed344d52..da50fbfcce56 100644 --- a/arch/arm64/boot/dts/ti/k3-am62-main.dtsi +++ b/arch/arm64/boot/dts/ti/k3-am62-main.dtsi @@ -622,7 +622,8 @@ sdhci2: mmc@fa20000 { usbss0: dwc3-usb@f900000 { compatible = "ti,am62-usb"; - reg = <0x00 0x0f900000 0x00 0x800>; + reg = <0x00 0x0f900000 0x00 0x800>, + <0x00 0x0f908000 0x00 0x400>; clocks = <&k3_clks 161 3>; clock-names = "ref"; ti,syscon-phy-pll-refclk = <&usb0_phy_ctrl 0x0>; @@ -645,7 +646,8 @@ usb0: usb@31000000 { usbss1: dwc3-usb@f910000 { compatible = "ti,am62-usb"; - reg = <0x00 0x0f910000 0x00 0x800>; + 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>; diff --git a/arch/arm64/boot/dts/ti/k3-am62a-main.dtsi b/arch/arm64/boot/dts/ti/k3-am62a-main.dtsi index 8311c7c44cd3..523bab94eace 100644 --- a/arch/arm64/boot/dts/ti/k3-am62a-main.dtsi +++ b/arch/arm64/boot/dts/ti/k3-am62a-main.dtsi @@ -563,7 +563,8 @@ sdhci1: mmc@fa00000 { usbss0: dwc3-usb@f900000 { compatible = "ti,am62-usb"; - reg = <0x00 0x0f900000 0x00 0x800>; + reg = <0x00 0x0f900000 0x00 0x800>, + <0x00 0x0f908000 0x00 0x400>; clocks = <&k3_clks 161 3>; clock-names = "ref"; ti,syscon-phy-pll-refclk = <&usb0_phy_ctrl 0x0>; @@ -586,7 +587,8 @@ usb0: usb@31000000 { usbss1: dwc3-usb@f910000 { compatible = "ti,am62-usb"; - reg = <0x00 0x0f910000 0x00 0x800>; + 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>; diff --git a/arch/arm64/boot/dts/ti/k3-am62p-main.dtsi b/arch/arm64/boot/dts/ti/k3-am62p-main.dtsi index 17d28390d587..ae0ab67460b4 100644 --- a/arch/arm64/boot/dts/ti/k3-am62p-main.dtsi +++ b/arch/arm64/boot/dts/ti/k3-am62p-main.dtsi @@ -562,7 +562,8 @@ sdhci2: mmc@fa20000 { usbss0: usb@f900000 { compatible = "ti,am62-usb"; - reg = <0x00 0x0f900000 0x00 0x800>; + reg = <0x00 0x0f900000 0x00 0x800>, + <0x00 0x0f908000 0x00 0x400>; clocks = <&k3_clks 161 3>; clock-names = "ref"; ti,syscon-phy-pll-refclk = <&usb0_phy_ctrl 0x0>; @@ -585,7 +586,8 @@ usb0: usb@31000000 { usbss1: usb@f910000 { compatible = "ti,am62-usb"; - reg = <0x00 0x0f910000 0x00 0x800>; + 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>;