From patchwork Wed May 25 07:10:36 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Herve Codina X-Patchwork-Id: 12860731 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 935F4C433EF for ; Wed, 25 May 2022 07:12:28 +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=qCO41lM+PMbEDItWpLR2XBbLINoaEmPgiRWcIGu8UNU=; b=Rsxd+WI50kHKQO h8MSKa8WKjzPKLhtpBKpNfhG5HXWcSq/Ggwafm5uemxtAaPh8NHjQG4UAhkvIWbnIyORVRuKHEW/i vX/oyXYye2nYXIB4MrUYrqHImAriqB2m7CU1QdSRqHDSpm5ARy1s0rBlsdcixCFocejevB+Va6nsP +qdZ8wLeLbKNxkQl6JNSgxylro9sPO/WSvtaTyZ9RGta7S4LNJhZXZ4qNQ4t5Mq6eVzl+/7kGjsLt dofF7FMjTpbh8aJU7bf56CUoicwJIzNKGnckenNGbfKO+TcVymhFJwCTftFZg8VcLCpRUAscIgrp5 YWYZJrSN5xz4DIjZxFOQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1ntlAx-00A9Li-Td; Wed, 25 May 2022 07:11:24 +0000 Received: from relay11.mail.gandi.net ([2001:4b98:dc4:8::231]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1ntlAc-00A9F4-0a for linux-arm-kernel@lists.infradead.org; Wed, 25 May 2022 07:11:03 +0000 Received: (Authenticated sender: herve.codina@bootlin.com) by mail.gandi.net (Postfix) with ESMTPA id A7C45100012; Wed, 25 May 2022 07:10:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1653462660; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=+Vo9108VQlTnpt+qV7O1ggI75pFbssp26cf+E/xUTKg=; b=FjUAn8+dQt/kDdFahEAzg/CHBhBfIL/FL7rOOula+OHBO7DDDk8309LvHN8Fh5weJ5ddR5 ey2lZnuEXRRUvZ/c67ZUu3PfY5kYNoyFpkJ7QE11867+xYBoip7bE9Fk7IBdsXNhKPlGL5 C6i5rlvg2sBiy3BUjbadAkbJf7s+JpHdQ6jCAVPG/P9vyVJHhdytawukN1UzHzrN1plRof SrjFzcMSXEMSCPwLSlOzB4R3WdqQtcv9nS9Ia0+roEqXHjNa2p7v/GKf93uj12TcenZJYl klfIyY5/6HDZhMYFvJvPjzC8diWBRUMG3O4xDod7eXUOu0Vn/4LwvLddH4vwEw== From: Herve Codina To: Greg Kroah-Hartman , Rob Herring , Krzysztof Kozlowski , Nicolas Ferre , Alexandre Belloni , Claudiu Beznea , Michael Turquette , Stephen Boyd , Horatiu Vultur Cc: linux-usb@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org, Thomas Petazzoni , Herve Codina Subject: [PATCH v3 3/3] ARM: dts: lan966x: Add UDPHS support Date: Wed, 25 May 2022 09:10:36 +0200 Message-Id: <20220525071036.223396-4-herve.codina@bootlin.com> X-Mailer: git-send-email 2.35.3 In-Reply-To: <20220525071036.223396-1-herve.codina@bootlin.com> References: <20220525071036.223396-1-herve.codina@bootlin.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220525_001102_247578_CACF8070 X-CRM114-Status: GOOD ( 10.94 ) 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 Add UDPHS (the USB High Speed Device Port controller) support. The both lan966x SOCs (LAN9662 and LAN9668) have the same UDPHS IP. This IP is also the same as the one present in the SAMA5D3 SOC. Signed-off-by: Herve Codina --- arch/arm/boot/dts/lan966x.dtsi | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/arch/arm/boot/dts/lan966x.dtsi b/arch/arm/boot/dts/lan966x.dtsi index 7d2869648050..e086df741f99 100644 --- a/arch/arm/boot/dts/lan966x.dtsi +++ b/arch/arm/boot/dts/lan966x.dtsi @@ -196,6 +196,17 @@ watchdog: watchdog@e0090000 { status = "disabled"; }; + udc: usb@e0808000 { + compatible = "microchip,lan9662-udc", + "atmel,sama5d3-udc"; + reg = <0x00200000 0x80000>, + <0xe0808000 0x400>; + interrupts = ; + clocks = <&clks GCK_GATE_UDPHS>, <&nic_clk>; + clock-names = "pclk", "hclk"; + status = "disabled"; + }; + can0: can@e081c000 { compatible = "bosch,m_can"; reg = <0xe081c000 0xfc>, <0x00100000 0x4000>;