Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp4220644ybc; Fri, 15 Nov 2019 00:38:31 -0800 (PST) X-Google-Smtp-Source: APXvYqx6lmf4FyWvU5rSe5kN9lVsUCEOrruTzqWTQjGFNyrTfBm1wlkC28BibvugtPAYjTSEUPO1 X-Received: by 2002:a17:906:7344:: with SMTP id h4mr12235879ejl.30.1573807111440; Fri, 15 Nov 2019 00:38:31 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1573807111; cv=none; d=google.com; s=arc-20160816; b=TWslBx2GLaLPno9zqcOoUxjlbgGFw/R2VZCs2XNO/oFideL9piT7DLvE6I9SWYG8t7 mRoxJt6dZszvytY/MKAPFKPIFBLZi4CwLsPMW/xnyxLnI8dnXDxg5QQ6lMYZqkXo9vdU PW6ZFX1rFxA4lnvcaFgUod8iYuiV9AvdyY2B/DptgcyPvhwFM4kq4U6/4arIYWX7MvAQ GbmndVwN8vzKUyEJndECC3mBVxWlEavB8PwvmQ048M7ygv7MJ5RTqSc/Ok3o1YKEHdt1 mnl3M3wMEv75uZYfaub+ujqKCWmF5/6PS0d6gFTPcEx/4NoNAmz714tfkqJuiUG/C5al yF4w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=GVX7t141rlSWxWWvXZB7gL0+QYwkVvnWyNa82pYnin4=; b=pMW2suzJmS3bBzALglnru35CtKx35u4H66P/z94W+HPF1dsmmw0Ds2+yJKZ4U1Ma6D YtbSJYld9WSTewDCwIZqJXJFW793dqTADWXYsrcBDXw+o+N7tGLgSuxb9voiaBJ2fSg6 q70aRWATlwiEp/fU3ABtlnUu3VU9e2PH6UBY4u9AxhNtzt1bHXwYnbjRmvkoLK/edSnn lEaEjscgMgk9uUE9FzXUY2jj58J44JC3AlF8G3inN5ffAIi/3Jw2bNqA0tuYDKr4WF2G 9OWZBoQuX/mngNrVf38g+gD6Pl3MSAMXpTJsb5kfxegjw+Vhj7dTh7VuiZ9xGDMEY35H ow8w== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id ov27si5028780ejb.197.2019.11.15.00.38.05; Fri, 15 Nov 2019 00:38:31 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726930AbfKOIeg (ORCPT + 99 others); Fri, 15 Nov 2019 03:34:36 -0500 Received: from metis.ext.pengutronix.de ([85.220.165.71]:36687 "EHLO metis.ext.pengutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725829AbfKOIeg (ORCPT ); Fri, 15 Nov 2019 03:34:36 -0500 Received: from dude.hi.pengutronix.de ([2001:67c:670:100:1d::7]) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1iVX3l-0003jD-NV; Fri, 15 Nov 2019 09:34:29 +0100 Received: from mgr by dude.hi.pengutronix.de with local (Exim 4.92) (envelope-from ) id 1iVX3l-0007c3-1j; Fri, 15 Nov 2019 09:34:29 +0100 From: Michael Grzeschik To: shawnguo@kernel.org, robh+dt@kernel.org, mark.rutland@arm.com, kernel@pengutronix.de, festevam@gmail.com Cc: devicetree@vger.kernel.org, linux-imx@nxp.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH v2] ARM: dts: imx25: fix usbhost1 node Date: Fri, 15 Nov 2019 09:34:15 +0100 Message-Id: <20191115083415.28976-1-m.grzeschik@pengutronix.de> X-Mailer: git-send-email 2.24.0 In-Reply-To: <20191111114655.9583-1-m.grzeschik@pengutronix.de> References: <20191111114655.9583-1-m.grzeschik@pengutronix.de> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-SA-Exim-Connect-IP: 2001:67c:670:100:1d::7 X-SA-Exim-Mail-From: mgr@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-kernel@vger.kernel.org Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The usb port represented by &usbhost1 uses an USB phy internal to the SoC. We add the phy_type to the base dtsi so the board dts only have to overwrite it if they use a different configuration. While at it we also pin the usbhost port to host mode and limit the speed of the phy to full-speed only, which it is only capable of. Signed-off-by: Michael Grzeschik --- v1 -> v2: added the maximum speed limitation of the internal phy arch/arm/boot/dts/imx25-eukrea-mbimxsd25-baseboard.dts | 2 -- arch/arm/boot/dts/imx25-pdk.dts | 2 -- arch/arm/boot/dts/imx25.dtsi | 3 +++ 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/arch/arm/boot/dts/imx25-eukrea-mbimxsd25-baseboard.dts b/arch/arm/boot/dts/imx25-eukrea-mbimxsd25-baseboard.dts index 0fde90df2b546..3f38c2e60a745 100644 --- a/arch/arm/boot/dts/imx25-eukrea-mbimxsd25-baseboard.dts +++ b/arch/arm/boot/dts/imx25-eukrea-mbimxsd25-baseboard.dts @@ -165,8 +165,6 @@ }; &usbhost1 { - phy_type = "serial"; - dr_mode = "host"; status = "okay"; }; diff --git a/arch/arm/boot/dts/imx25-pdk.dts b/arch/arm/boot/dts/imx25-pdk.dts index 05cccd12624cb..fb66884d8a2fa 100644 --- a/arch/arm/boot/dts/imx25-pdk.dts +++ b/arch/arm/boot/dts/imx25-pdk.dts @@ -304,8 +304,6 @@ }; &usbhost1 { - phy_type = "serial"; - dr_mode = "host"; status = "okay"; }; diff --git a/arch/arm/boot/dts/imx25.dtsi b/arch/arm/boot/dts/imx25.dtsi index 9a097ef014af5..40b95a290bd6b 100644 --- a/arch/arm/boot/dts/imx25.dtsi +++ b/arch/arm/boot/dts/imx25.dtsi @@ -570,6 +570,9 @@ clock-names = "ipg", "ahb", "per"; fsl,usbmisc = <&usbmisc 1>; fsl,usbphy = <&usbphy1>; + maximum-speed = "full-speed"; + phy_type = "serial"; + dr_mode = "host"; status = "disabled"; }; -- 2.24.0