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: 4091861 Return-Path: X-Original-To: patchwork-linux-samsung-soc@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 62A569F169 for ; Wed, 30 Apr 2014 08:56:50 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id AFB6920170 for ; Wed, 30 Apr 2014 08:56:45 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id E137C20154 for ; Wed, 30 Apr 2014 08:56:44 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933038AbaD3I4M (ORCPT ); Wed, 30 Apr 2014 04:56:12 -0400 Received: from mail-pa0-f50.google.com ([209.85.220.50]:58255 "EHLO mail-pa0-f50.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758412AbaD3Izs (ORCPT ); Wed, 30 Apr 2014 04:55:48 -0400 Received: by mail-pa0-f50.google.com with SMTP id rd3so1606520pab.37 for ; Wed, 30 Apr 2014 01:55:47 -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 Cc: linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, kgene.kim@samsung.com, stern@rowland.harvard.edu, kishon@ti.com, k.debski@samsung.com, jg1.han@samsung.com, p.paneri@samsung.com, Vivek Gautam 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> Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org X-Spam-Status: No, score=-7.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,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>;