From patchwork Fri May 9 13:23:04 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vivek Gautam X-Patchwork-Id: 4143331 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 BCA209F387 for ; Fri, 9 May 2014 13:24:10 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id DDDF0201D5 for ; Fri, 9 May 2014 13:24:09 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 10BF2201C8 for ; Fri, 9 May 2014 13:24:09 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756752AbaEINXu (ORCPT ); Fri, 9 May 2014 09:23:50 -0400 Received: from mail-pd0-f172.google.com ([209.85.192.172]:42897 "EHLO mail-pd0-f172.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756704AbaEINXe (ORCPT ); Fri, 9 May 2014 09:23:34 -0400 Received: by mail-pd0-f172.google.com with SMTP id g10so3683717pdj.17 for ; Fri, 09 May 2014 06:23:34 -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=VVdn9vL6JWE3Mh98yMf9QZyP30Y3duKdOEe9oYtaDKY=; b=ogW4Ne/zmULbHGzBEvneLvVzCk9hdOOqPxBUxHQiiC9CG3y0tny/429XPuqLHsDpyo 2koAX9CDfcVXkZ+7y7K9tu6N2yD6MunLaLwtN2VjPU7+0kHscVJdzGSzra9xdbHoViMI Z+7ftTGWLWOWuUoepsAtwCBa7MfMxlxDYwio5ObaaEOE3JtIR7AklX0XvjKSBsgmeG18 FxcHHyDgxbWVB3v4AKb6UMGhTFwaW8Sp+u11hynkrQJShPqyuo945wUDGWVpXwXZ4p2h wo2NghUWMrcWli7UTe7HVE91llXkriV7h6iCbu21vP3nhJ/dBMXp8poYfLLBhICi2nzS NFLQ== X-Received: by 10.66.248.228 with SMTP id yp4mr20653359pac.94.1399641814321; Fri, 09 May 2014 06:23:34 -0700 (PDT) Received: from vivek-linuxpc.sisodomain.com ([14.140.216.146]) by mx.google.com with ESMTPSA id ff4sm8062650pad.24.2014.05.09.06.23.29 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 09 May 2014 06:23:33 -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, robh+dt@kernel.org, stern@rowland.harvard.edu, kishon@ti.com, k.debski@samsung.com, jg1.han@samsung.com, Vivek Gautam Subject: [PATCH v2 4/4] ARM: dts: Add usb 2.0 support on exynos5420 Date: Fri, 9 May 2014 18:53:04 +0530 Message-Id: <1399641784-10833-5-git-send-email-gautam.vivek@samsung.com> X-Mailer: git-send-email 1.7.10.4 In-Reply-To: <1399641784-10833-1-git-send-email-gautam.vivek@samsung.com> References: <1399641784-10833-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 --- Changes from v1: - Removed 'phy-names' property from the 'port'. - Added node references for the nodes. arch/arm/boot/dts/exynos5420.dtsi | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/arch/arm/boot/dts/exynos5420.dtsi b/arch/arm/boot/dts/exynos5420.dtsi index ddd09a3..77ccefd 100644 --- a/arch/arm/boot/dts/exynos5420.dtsi +++ b/arch/arm/boot/dts/exynos5420.dtsi @@ -745,6 +745,36 @@ samsung,power-domain = <&g2d_pd>; }; + usbhost2: 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 1>; + }; + }; + + usbhost1: 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 1>; + }; + }; + usb2_phy: phy@12130000 { compatible = "samsung,exynos5250-usb2-phy"; reg = <0x12130000 0x100>;