From patchwork Wed Apr 30 08:55:10 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vivek Gautam X-Patchwork-Id: 4091951 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 890F5BFF02 for ; Wed, 30 Apr 2014 08:58:19 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 9465820222 for ; Wed, 30 Apr 2014 08:58:18 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id CC0CC20172 for ; Wed, 30 Apr 2014 08:58:17 +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 1WfQJZ-00033t-1C; Wed, 30 Apr 2014 08:56:29 +0000 Received: from mail-pd0-x233.google.com ([2607:f8b0:400e:c02::233]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1WfQJF-0002oK-Ui for linux-arm-kernel@lists.infradead.org; Wed, 30 Apr 2014 08:56:10 +0000 Received: by mail-pd0-f179.google.com with SMTP id y10so1411021pdj.10 for ; Wed, 30 Apr 2014 01:55:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references; bh=mMZ2EWlTk/ThEFcIwMyQd5JKXCSQjYdv0awZ16YqA3s=; b=G9bCLtsQLkw6So8kGOJxI86h6zdFKoNF8ozNQbpJ/cznHqyRjI6RCeoi53nUVH/Vbt PI+tbMPK6rx91Q3/MwFmiLTSeAAXCbrr//zYfk9I0uoyS2Ll8IswB3nqbUKkBrHaNhG+ wA11UyJHO2Rj1Winn5T7yNltvForyfpilVSgyyx2xSJhfadU19sylV4g7Qzxu54zGCuW NxcgFGDAzQS9Hn1ch0V6jmBHHJNuA/0Oa3NtR9trFUJ/XXNAoxHKv/xEBiKi3vlone19 HkBrZjeinFCeCp0busFsZQyyo+Oyc7mdPKwsCrHFhb5uC+wLEMUZVAyUQemAtyyJa3Ud 9aEQ== X-Received: by 10.66.254.234 with SMTP id al10mr6122182pad.137.1398848146286; Wed, 30 Apr 2014 01:55:46 -0700 (PDT) Received: from vivek-linuxpc.sisodomain.com ([115.113.119.130]) by mx.google.com with ESMTPSA id i10sm131057200pat.36.2014.04.30.01.55.40 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 30 Apr 2014 01:55:45 -0700 (PDT) From: Vivek Gautam To: linux-usb@vger.kernel.org, linux-samsung-soc@vger.kernel.org Subject: [PATCH 4/4] ARM: dts: Add usb 2.0 support on exynos5420 Date: Wed, 30 Apr 2014 14:25:10 +0530 Message-Id: <1398848110-6152-5-git-send-email-gautam.vivek@samsung.com> X-Mailer: git-send-email 1.7.10.4 In-Reply-To: <1398848110-6152-1-git-send-email-gautam.vivek@samsung.com> References: <1398848110-6152-1-git-send-email-gautam.vivek@samsung.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140430_015610_024227_35F50A8B X-CRM114-Status: GOOD ( 10.29 ) X-Spam-Score: 0.2 (/) Cc: devicetree@vger.kernel.org, k.debski@samsung.com, kgene.kim@samsung.com, p.paneri@samsung.com, jg1.han@samsung.com, linux-kernel@vger.kernel.org, kishon@ti.com, stern@rowland.harvard.edu, Vivek Gautam , linux-arm-kernel@lists.infradead.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , 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=-2.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, 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 required device node for ehci and ohci controllers to enable USB 2.0 support. Signed-off-by: Vivek Gautam --- arch/arm/boot/dts/exynos5420.dtsi | 36 +++++++++++++++++++++++++++++++++++- 1 file changed, 35 insertions(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/exynos5420.dtsi b/arch/arm/boot/dts/exynos5420.dtsi index 16b860a..392d340 100644 --- a/arch/arm/boot/dts/exynos5420.dtsi +++ b/arch/arm/boot/dts/exynos5420.dtsi @@ -738,7 +738,41 @@ samsung,power-domain = <&g2d_pd>; }; - phy@12130000 { + usb@12110000 { + compatible = "samsung,exynos4210-ehci"; + reg = <0x12110000 0x100>; + interrupts = <0 71 0>; + + clocks = <&clock CLK_USBH20>; + clock-names = "usbhost"; + #address-cells = <1>; + #size-cells = <0>; + port@0 { + reg = <0>; + phys = <&usb2_phy_gen 1>; + phy-names = "host"; + status = "ok"; + }; + }; + + usb@12120000 { + compatible = "samsung,exynos4210-ohci"; + reg = <0x12120000 0x100>; + interrupts = <0 71 0>; + + clocks = <&clock CLK_USBH20>; + clock-names = "usbhost"; + #address-cells = <1>; + #size-cells = <0>; + port@0 { + reg = <0>; + phys = <&usb2_phy_gen 1>; + phy-names = "host"; + status = "ok"; + }; + }; + + usb2_phy_gen: phy@12130000 { compatible = "samsung,exynos5250-usb2-phy"; reg = <0x12130000 0x100>; clocks = <&clock CLK_USBH20>, <&clock CLK_SCLK_USBPHY300>;