From patchwork Thu Dec 2 07:51:03 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alain Volmat X-Patchwork-Id: 12694460 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 9FAD3C433FE for ; Thu, 2 Dec 2021 07:56:22 +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=0M4jrmszMfqtP18UTzOUJX+6z88W1A2oNNxAI66HhWU=; b=Wdn7ZAAqEPzZV/ KIWZzfLlPCpfuU6QMOd2xsMUTOylKdGA4rtNrl8ErMv13b03pthjzc9wB+02XYaLopWLmsAhnzrly 6sQZvwxOWKYVPW2eobI59tMfy395QjsTwmqijJwBRTwhtvZQlBcm7EDGt6GhKVOOwoe2KLAi/tZKf DGEkqvZ2rFQnYuFG7+mrgM5K98xEkspefVhtngg7yO67Asr/X60aytCvN2Wui4pDL09PjxQ7OBcKC QEb37kdLu67KraMA/HEzD9i86lKdOciilCvbZlgSveow3Qr87+9d+C8by4yBBWXlp3mh74J+MoMHf N6MDrL5TyusPKHi9XkUA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1msgvQ-00BG6Z-Fk; Thu, 02 Dec 2021 07:54:41 +0000 Received: from st43p00im-zteg10062001.me.com ([17.58.63.166]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1msgso-00BEiN-Is for linux-arm-kernel@lists.infradead.org; Thu, 02 Dec 2021 07:51:59 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=me.com; s=1a1hai; t=1638431516; bh=VPvPVP2edwflLmj1mzLh01mfMS7GUrPYSb2mNvVkt/Y=; h=From:To:Subject:Date:Message-Id:MIME-Version; b=KnpYl8dMaLsLHa+DJNgrN/U7VOqzAERFhB/kL5QU9vUZNJqMvXRYC87ibYAwQDtEX xEgG0+pi3AoNv8WzRkNYoSfhpl1NwWC0A5IYvVOH2Z2E+yy25KWm1Zdt07Kk+0IN5H DRQODwgbjoSJYWr4WzSMMOEw/YJP/7bjZgvNBq2KjWBHX9eNl/L0LGWODYVmcPO4rn yHpekxDOgrxZ6aMhsm7wPLVK+48bfH0IPziEuga22RTi5TI0iUmvEUg5ueFTfzuhnB 7JbNV2pWuNVb8msEKe3OPlHU0IUS5JWljEAFiUpI6iPxA2qbBTFsqpPEwoe2oGRyEp ashTWp5LaEJdQ== Received: from localhost (101.220.150.77.rev.sfr.net [77.150.220.101]) by st43p00im-zteg10062001.me.com (Postfix) with ESMTPSA id 41C7D6C00AB; Thu, 2 Dec 2021 07:51:55 +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 10/12] ARM: dts: sti: move usb picophy nodes out of soc in stih418.dtsi Date: Thu, 2 Dec 2021 08:51:03 +0100 Message-Id: <20211202075105.195664-11-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-Proofpoint-Virus-Version: =?utf-8?q?vendor=3Dfsecure_engine=3D1=2E1=2E170-?= =?utf-8?q?22c6f66c430a71ce266a39bfe25bc2903e8d5c8f=3A6=2E0=2E425=2C18=2E0?= =?utf-8?q?=2E790=2C17=2E0=2E607=2E475=2E0000000_definitions=3D2021-12-01=5F?= =?utf-8?q?01=3A2021-12-01=5F01=2C2021-11-30=5F09=2C2020-04-07=5F01_signatur?= =?utf-8?q?es=3D0?= X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 phishscore=0 adultscore=0 bulkscore=0 malwarescore=0 suspectscore=0 clxscore=1015 spamscore=0 mlxlogscore=935 mlxscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2009150000 definitions=main-2112020045 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20211201_235158_730622_BECEB90A X-CRM114-Status: GOOD ( 10.44 ) 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/stih418.dtsi | 38 ++++++++++++++++------------------ 1 file changed, 18 insertions(+), 20 deletions(-) diff --git a/arch/arm/boot/dts/stih418.dtsi b/arch/arm/boot/dts/stih418.dtsi index 97eda4392fbe..b35b9b7a7ccc 100644 --- a/arch/arm/boot/dts/stih418.dtsi +++ b/arch/arm/boot/dts/stih418.dtsi @@ -26,31 +26,29 @@ cpu@3 { }; }; + 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"; + }; + + 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"; + }; + soc { rng11: rng@8a8a000 { status = "disabled"; }; - 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_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"; - }; - ohci0: usb@9a03c00 { compatible = "st,st-ohci-300x"; reg = <0x9a03c00 0x100>;