From patchwork Thu Dec 16 16:05:41 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Stein X-Patchwork-Id: 12696506 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 C81E2C433EF for ; Thu, 16 Dec 2021 16:12:05 +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=L8SUSmJ09p1ALcySI3GbqS9effEiUhUQmxXLj16D7/E=; b=IAu6lSkopUQO5z 9bgPt5XFePZEQfi0ma6ePGwhxx7mj8F6UG4083yfsZeDGR8CMtu2hT8Z66x5tsEx5WUOfAy/kJgp4 duBpyEZCMhJBIh7EFQ51MjNcke7840v2ypjeeox58cMPoX+72dwGAdx84/YXRwXhHp4FDvQXWluVL MmzgsgdQDeuX50IjuSC+y9XmEm+x5HLvq0QjwwNFSsGe71996ZJvoxD2cHKQioll94cbsI2Vo3fc2 yxy8jLt+l4ieuuAzXgYgm0qBOkpshDiDYbLimi6ULiueCBvmAW+L0LBJtKJlT/sQ0C63gNbFV1B79 6XiEbhqdxDj3T+x+tb/Q==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mxtKo-006VOJ-DN; Thu, 16 Dec 2021 16:10:22 +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 1mxtGW-006TSg-UP; Thu, 16 Dec 2021 16:05:59 +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=1639670757; x=1671206757; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=cONz2nOUtRuhs7JANm+jEmUdj18wu7MXLwm+z6MjMLs=; b=gH+azwNn5raHvuXMhmmsW7N1CcH30JM452NxFYjNKcaPw2TLlZ4lfbSE mxoGW5l7AoMPEE88sWZsEpsl+HdvU7juXw35SwO+6nhU4dLla+RKBaroC MrpwTN8Idty23/B26BAndexhxuCZfphabDlgrzdiB+gEeEE1VGn7S55ag 0xYgXcSjy5pK59gYCWnfr2Ndllvd7ZyFJiG4kXPLVHumWWAPB6NiCXopO azgUDMgTMQ9FDCtEXaFCGDiXtSSR9cHPJKiov5pSyrwrA3UHVcuxjJrDK WmFwGeMbDXsieL4SjW3CeS49Gavp+s3OL1lF7JjeonaTkMFsHDo4hp45B A==; X-IronPort-AV: E=Sophos;i="5.88,211,1635199200"; d="scan'208";a="21103123" Received: from unknown (HELO tq-pgp-pr1.tq-net.de) ([192.168.6.15]) by mx1-pgp.tq-group.com with ESMTP; 16 Dec 2021 17:05:50 +0100 Received: from mx1.tq-group.com ([192.168.6.7]) by tq-pgp-pr1.tq-net.de (PGP Universal service); Thu, 16 Dec 2021 17:05:50 +0100 X-PGP-Universal: processed; by tq-pgp-pr1.tq-net.de on Thu, 16 Dec 2021 17:05:50 +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=1639670750; x=1671206750; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=cONz2nOUtRuhs7JANm+jEmUdj18wu7MXLwm+z6MjMLs=; b=kEkoPAaiwWtLDz7ayQKA6MTMY4Pjy2JaQu6WAj1GMCvTwZamvQqEFn8q zO7DmdYVdzWsbb7kAOfeGnUECmDDfDuaGEpxWxia+qEyGtYLoD1d5NVnb n0blui9/RnXB/C6ZgoXN/4Qim8J5bj4WCpl3iluvBEgGOfRZajfzdvOck 53Yb85qqe4uyG1XgyoWpustYxjQZ9qEreDo4IuD1nvopddSCJ26lx7t54 PW5mfFax3IyyR3eXzswersF+WO7kehwXuGrELG2okFbVrdUe8F8SCSXDm HHqTVk6PE3RtauordAQdMjIcqV9zaB62jEBmU4m/1Vn/oQIF+uAjX9v0F w==; X-IronPort-AV: E=Sophos;i="5.88,211,1635199200"; d="scan'208";a="21103122" Received: from vtuxmail01.tq-net.de ([10.115.0.20]) by mx1.tq-group.com with ESMTP; 16 Dec 2021 17:05:50 +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 3F909280075; Thu, 16 Dec 2021 17:05:50 +0100 (CET) From: Alexander Stein To: Kishon Vijay Abraham I , Vinod Koul , Rob Herring , Shawn Guo , Sascha Hauer , Fabio Estevam Cc: Alexander Stein , NXP Linux Team , linux-phy@lists.infradead.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH v2 3/3] arm64: dts: imx8mp: Add memory for USB3 glue layer to usb3_phy nodes Date: Thu, 16 Dec 2021 17:05:41 +0100 Message-Id: <20211216160541.544974-4-alexander.stein@ew.tq-group.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20211216160541.544974-1-alexander.stein@ew.tq-group.com> References: <20211216160541.544974-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-20211216_080557_401649_A9254436 X-CRM114-Status: GOOD ( 12.18 ) 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 6b840c05dd77..4958142da1e4 100644 --- a/arch/arm64/boot/dts/freescale/imx8mp.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8mp.dtsi @@ -910,7 +910,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>; @@ -952,7 +953,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>;