From patchwork Thu Jul 30 22:24:19 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joachim Eastwood X-Patchwork-Id: 6907121 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 36F219F358 for ; Thu, 30 Jul 2015 22:27:50 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 49FEC205DE for ; Thu, 30 Jul 2015 22:27:49 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 71CAF205DB for ; Thu, 30 Jul 2015 22:27:48 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1ZKwGQ-00043J-Ng; Thu, 30 Jul 2015 22:25:22 +0000 Received: from mail-la0-x236.google.com ([2a00:1450:4010:c03::236]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1ZKwGF-0002pp-0e for linux-arm-kernel@lists.infradead.org; Thu, 30 Jul 2015 22:25:11 +0000 Received: by lagw2 with SMTP id w2so33494247lag.3 for ; Thu, 30 Jul 2015 15:24:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=33DruQ51Gim6iRZnvKdOkbMcpVkyl6h3y3GPervPqlQ=; b=KwKmpF7qhIeJbzP0CE2A1bPqqQ3zg0QuPLl9hS1qlErHUNXcgERtrGV0Fqgn+9B9w+ I4lVGprf0gYG2HgoGO0krEpKiMNHFGCy7/3Q3HAmD7ja30wbe3p4/YJeh5JwPq3l1hT/ ga7FWUpI2OZRAaWX7w3+ngeNZG7dQeViCj03dtWzSt/jWpxS79YsYs0sYe6Uf4SN950n PdY8sNzL9s0IejAoHBVkXXzciunjJJln7NSjMG2Xki0CllJLfRLLPS298xOkJ75AMku2 gk/GM08yUt+Q28vwvxdmBWrmuLLkOmato9JIMFZbBzKhk13g/BtFVlVvtN6c4Zrn4bmx 5cAA== X-Received: by 10.112.166.106 with SMTP id zf10mr46358029lbb.36.1438295088726; Thu, 30 Jul 2015 15:24:48 -0700 (PDT) Received: from localhost.localdomain ([89.11.213.141]) by smtp.gmail.com with ESMTPSA id lm12sm519923lac.11.2015.07.30.15.24.47 (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 30 Jul 2015 15:24:48 -0700 (PDT) From: Joachim Eastwood To: arm@kernel.org, olof@lixom.net Subject: [PATCH 1/9] ARM: dts: lpc18xx: add usb otg phy node Date: Fri, 31 Jul 2015 00:24:19 +0200 Message-Id: <1438295067-24407-2-git-send-email-manabian@gmail.com> X-Mailer: git-send-email 1.8.0 In-Reply-To: <1438295067-24407-1-git-send-email-manabian@gmail.com> References: <1438295067-24407-1-git-send-email-manabian@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20150730_152511_252905_D8AADA25 X-CRM114-Status: UNSURE ( 8.76 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -2.7 (--) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Joachim Eastwood , ezequiel@vanguardiasur.com.ar, linux-arm-kernel@lists.infradead.org, ariel@vanguardiasur.com.ar MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-5.5 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Add the USB OTG phy under the CREG syscon node and attach it to the USB0 EHCI controller. Signed-off-by: Joachim Eastwood --- arch/arm/boot/dts/lpc18xx.dtsi | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/arch/arm/boot/dts/lpc18xx.dtsi b/arch/arm/boot/dts/lpc18xx.dtsi index c17b82cc2d4c..afd9d3b40eb1 100644 --- a/arch/arm/boot/dts/lpc18xx.dtsi +++ b/arch/arm/boot/dts/lpc18xx.dtsi @@ -83,6 +83,8 @@ reg = <0x40006100 0x100>; interrupts = <8>; clocks = <&ccu1 CLK_CPU_USB0>; + phys = <&usb0_otg_phy>; + phy-names = "usb"; has-transaction-translator; status = "disabled"; }; @@ -109,6 +111,12 @@ compatible = "nxp,lpc1850-creg", "syscon", "simple-mfd"; reg = <0x40043000 0x1000>; clocks = <&ccu1 CLK_CPU_CREG>; + + usb0_otg_phy: phy@004 { + compatible = "nxp,lpc1850-usb-otg-phy"; + clocks = <&ccu1 CLK_USB0>; + #phy-cells = <0>; + }; }; cgu: clock-controller@40050000 {