From patchwork Thu Dec 2 07:51:02 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alain Volmat X-Patchwork-Id: 12694459 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 06425C433EF for ; Thu, 2 Dec 2021 07:55:56 +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=Xltgxjpsw0gQs+mrlnhGImblay6nSeu+2rPn2Zp3LTk=; b=RhU1YFdNRZ2BkO LGLnKi5Q8+vW1OsjMeX7Q5mIIbHk8oYEVV28pUujeyAwPd0tILbXGlHlTFp685ibgz4nH697TlG50 9dm/FiM44mYAVebKAF0KNpqpqXf4kjE/nZzoWIONggFmdGecySB/Uv1kFLwzUnC5xK7qcKfYi83Gk gPMd87gz7kA4KGuzyjgaG6HlAWjZiZNif0Z4R/SmwYWRJRMWlAi4eY8J+kjSDD2BOQqQd7/9dvic0 4iut2JR8i4Fk7mdEYH1BmBPHeEEF2kAMPMhzZguzm2GbCFOg0++RZ+Eq/PAq1AWyLXRRlvOB75G8e 5uQ7yHH56aIl286G6ZiA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1msguz-00BFt2-0v; Thu, 02 Dec 2021 07:54:13 +0000 Received: from st43p00im-zteg10071901.me.com ([17.58.63.169]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1msgsj-00BEgR-7N for linux-arm-kernel@lists.infradead.org; Thu, 02 Dec 2021 07:51:54 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=me.com; s=1a1hai; t=1638431512; bh=ZRgZYLtFYodHlBpE1OBDO5DIOZSgaVeA5xFn9tbB2Ns=; h=From:To:Subject:Date:Message-Id:MIME-Version; b=Wmr7M8k/VNRDAl+gCPp8JsH1pnksf9vhZIxPt0IghUlSkicIKFavR7nUzY8gCCcfZ aBiB/tLEldfRpeMpM5cKOXYmGx3DTDLu1+0JOB9YLr6/+hE0r6pKWzQz4WIDBaSSs+ meYHH/MFEuX4H/G1a9NyxHsv3TAhh5HY7ABuR4RpQclFnmjzfaSqDvEEVwtAvOaRQa kNwuHjb+eizxnJlN4wzBwkxSQRjMlvmv/U5Q8f9m4THHFr3z+K5lgN1+dI4Hd/CgoA 5l+tk4CwJcZTagV3Ss1zMgf+ce646ImE/bsKwByPXiBccJYh1h6TE8ulDJZ/0FQS1q xBQPURWGkH9gA== Received: from localhost (101.220.150.77.rev.sfr.net [77.150.220.101]) by st43p00im-zteg10071901.me.com (Postfix) with ESMTPSA id F33A1D80A6B; Thu, 2 Dec 2021 07:51:51 +0000 (UTC) From: Alain Volmat To: patrice.chotard@st.com, robh+dt@kernel.org, mark.rutland@arm.com, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: avolmat@me.com Subject: [PATCH 09/12] ARM: dts: sti: move usb picophy nodes out of soc in stih410.dtsi Date: Thu, 2 Dec 2021 08:51:02 +0100 Message-Id: <20211202075105.195664-10-avolmat@me.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20211202075105.195664-1-avolmat@me.com> References: <20211202075105.195664-1-avolmat@me.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20211201_235153_374556_2885BE5D X-CRM114-Status: UNSURE ( 9.97 ) X-CRM114-Notice: Please train this message. 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 Move the usb2_picophy1 and usb2_picophy2 nodes out of the soc section. Since they are controlled via syscfg, there is no reg property needed, which is required when having the node within the soc section. Signed-off-by: Alain Volmat Reviewed-by: Patrice Chotard --- arch/arm/boot/dts/stih410.dtsi | 42 ++++++++++++++++------------------ 1 file changed, 20 insertions(+), 22 deletions(-) diff --git a/arch/arm/boot/dts/stih410.dtsi b/arch/arm/boot/dts/stih410.dtsi index fe83d9a522bf..ce2f62cf129b 100644 --- a/arch/arm/boot/dts/stih410.dtsi +++ b/arch/arm/boot/dts/stih410.dtsi @@ -12,31 +12,29 @@ aliases { bdisp0 = &bdisp0; }; - soc { - usb2_picophy1: phy2@0 { - compatible = "st,stih407-usb2-phy"; - reg = <0 0>; - #phy-cells = <0>; - st,syscfg = <&syscfg_core 0xf8 0xf4>; - resets = <&softreset STIH407_PICOPHY_SOFTRESET>, - <&picophyreset STIH407_PICOPHY0_RESET>; - reset-names = "global", "port"; + usb2_picophy1: phy2 { + compatible = "st,stih407-usb2-phy"; + #phy-cells = <0>; + st,syscfg = <&syscfg_core 0xf8 0xf4>; + resets = <&softreset STIH407_PICOPHY_SOFTRESET>, + <&picophyreset STIH407_PICOPHY0_RESET>; + reset-names = "global", "port"; + + status = "disabled"; + }; - status = "disabled"; - }; + usb2_picophy2: phy3 { + compatible = "st,stih407-usb2-phy"; + #phy-cells = <0>; + st,syscfg = <&syscfg_core 0xfc 0xf4>; + resets = <&softreset STIH407_PICOPHY_SOFTRESET>, + <&picophyreset STIH407_PICOPHY1_RESET>; + reset-names = "global", "port"; - usb2_picophy2: phy3@0 { - compatible = "st,stih407-usb2-phy"; - reg = <0 0>; - #phy-cells = <0>; - st,syscfg = <&syscfg_core 0xfc 0xf4>; - resets = <&softreset STIH407_PICOPHY_SOFTRESET>, - <&picophyreset STIH407_PICOPHY1_RESET>; - reset-names = "global", "port"; - - status = "disabled"; - }; + status = "disabled"; + }; + soc { ohci0: usb@9a03c00 { compatible = "st,st-ohci-300x"; reg = <0x9a03c00 0x100>;