From patchwork Thu Nov 25 10:41:04 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Stein X-Patchwork-Id: 12693625 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id B70C7C433F5 for ; Thu, 25 Nov 2021 10:43:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=LAPSL54et4uOGb95JPjpLGMAu5pS7Ob3iA6L1Pk3DCI=; b=cXPgieeZPUZIw8 TY5syqYiztyiBhqyyJwxpkwJqdpai6GvPQgz69+BI+6Cz4dZhUojySk51hUc4OB9vrq5JoAyrlFCb QtAHnyEM4MO9y42p9uKlDKDvLnx2xsFhROaFl1jk/WlWuDU0dZ9tn5rohW9pZ/NF9cPaM/GHmt6AO TCqHLjPtIiLzMpyCXxmiwASp3w8fgas0KLXJ35SrfC5WFIxzg22bBij0wHDeUBhdkmb/yUS7TPN6W PxVyUgSBQfoUXpPuBvYUOKYzMYuc8KaaSLruO8JvvfmoZwDYMFX3Ihc5LEjSpTGoRLyVc7tVfsE3C 6AZ8R4xxEzjsrUmkBs7A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mqCCO-0076P3-Cu; Thu, 25 Nov 2021 10:41:52 +0000 Received: from mx1.tq-group.com ([93.104.207.81]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mqCC2-0076M9-SH for linux-arm-kernel@lists.infradead.org; Thu, 25 Nov 2021 10:41:32 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tq-group.com; i=@tq-group.com; q=dns/txt; s=key1; t=1637836890; x=1669372890; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=YoItCbwo7ZkvCEKwkSDRzrwc6XeH0u4uDSjqXGZH0Zo=; b=hCcNf1P9ulnilv8+9N0DZ4FT5oDU9pgQvNy4Ic0HWGsQUlkxHTo3gzD1 7M5dhkN72cbG2EP/GzJGDFk6QCIFbqo4GB/aVJTZ0ezUXTrHNULShsrha mGCEGgGwktW8ahdGzGSoqeidzK928JefjEPfbUjcKER88pO+XbnPs3QRc 9UW3gqe0SgzNdQhb9IyMKzgU1sCSq0GZNFFFZRw03Ac28wcLdWt5MwR+h qN1sSAhpEYxebFd9DI32uPZL4mRA6qem3SsnwFHEbdREYaRL6W0HQ/NeY caaJMXj9okOY9t8qkDJQyM9W8NLD8eDtQD9HxsvqEFll/n17bBqf8kcPo A==; X-IronPort-AV: E=Sophos;i="5.87,263,1631570400"; d="scan'208";a="20673124" Received: from unknown (HELO tq-pgp-pr1.tq-net.de) ([192.168.6.15]) by mx1-pgp.tq-group.com with ESMTP; 25 Nov 2021 11:41:14 +0100 Received: from mx1.tq-group.com ([192.168.6.7]) by tq-pgp-pr1.tq-net.de (PGP Universal service); Thu, 25 Nov 2021 11:41:14 +0100 X-PGP-Universal: processed; by tq-pgp-pr1.tq-net.de on Thu, 25 Nov 2021 11:41:14 +0100 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tq-group.com; i=@tq-group.com; q=dns/txt; s=key1; t=1637836874; x=1669372874; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=YoItCbwo7ZkvCEKwkSDRzrwc6XeH0u4uDSjqXGZH0Zo=; b=NFdx/AY7WPslS7XTwVklGs8B6SdiawZfty3JCgosWNiHkDJhk0nXO3LI JiG6Vcb3K5TIQ6PBWCspdQLhsxpbEDsOt5R9bHHCrJUUqT51sIf3kkPiV 8PCSjxz6j9uzyDzpELRlNVRp6WZ6PGix/NGtu6M21Qe1a1HlWcInvF5k5 hiSZ4ErS8VfSKn56piUtmkl4LdEfPWBM8wNdPpnQWlfGOGkegfQ282yBR dk0W0+IuyuwnuFhqmUIvJ/RkWfdC4b6kU+1F43lNgZ0Yx5yK9JsAPm+Pv HiKwYMGmysg6CmMxW7jOnxVqLsj5wI0AGjO+H9sXM85LMO34Lai+ARnJj g==; X-IronPort-AV: E=Sophos;i="5.87,263,1631570400"; d="scan'208";a="20673123" Received: from vtuxmail01.tq-net.de ([10.115.0.20]) by mx1.tq-group.com with ESMTP; 25 Nov 2021 11:41:14 +0100 Received: from steina-w.tq-net.de (unknown [10.123.49.12]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by vtuxmail01.tq-net.de (Postfix) with ESMTPSA id F1500280078; Thu, 25 Nov 2021 11:41:13 +0100 (CET) From: Alexander Stein To: Shawn Guo , Sascha Hauer Cc: Alexander Stein , linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org Subject: [RFC PATCH 2/2] arm64: dts: imx8mp: Add memory for USB3 glue layer to usb3_phy nodes Date: Thu, 25 Nov 2021 11:41:04 +0100 Message-Id: <20211125104104.1416523-3-alexander.stein@ew.tq-group.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20211125104104.1416523-1-alexander.stein@ew.tq-group.com> References: <20211125104104.1416523-1-alexander.stein@ew.tq-group.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20211125_024131_266771_26896243 X-CRM114-Status: GOOD ( 13.37 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org The USB3 glue layer has 2 areas in the register set, see RM Rev.1 section 11.2.5.2.1 GLUE_usb3 memory map: * USB3 control/status * PHY control/status Provide the memory area to the usb3_phy nodes for accessing the features in the USB3 control area. Signed-off-by: Alexander Stein --- arch/arm64/boot/dts/freescale/imx8mp.dtsi | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/arch/arm64/boot/dts/freescale/imx8mp.dtsi b/arch/arm64/boot/dts/freescale/imx8mp.dtsi index 977783784342..143119789bcf 100644 --- a/arch/arm64/boot/dts/freescale/imx8mp.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8mp.dtsi @@ -905,7 +905,8 @@ ddr-pmu@3d800000 { usb3_phy0: usb-phy@381f0040 { compatible = "fsl,imx8mp-usb-phy"; - reg = <0x381f0040 0x40>; + reg = <0x381f0040 0x40>, + <0x381f0000 0x20>; clocks = <&clk IMX8MP_CLK_USB_PHY_ROOT>; clock-names = "phy"; assigned-clocks = <&clk IMX8MP_CLK_USB_PHY_REF>; @@ -947,7 +948,8 @@ usb_dwc3_0: usb@38100000 { usb3_phy1: usb-phy@382f0040 { compatible = "fsl,imx8mp-usb-phy"; - reg = <0x382f0040 0x40>; + reg = <0x382f0040 0x40>, + <0x382f0000 0x20>; clocks = <&clk IMX8MP_CLK_USB_PHY_ROOT>; clock-names = "phy"; assigned-clocks = <&clk IMX8MP_CLK_USB_PHY_REF>;