From patchwork Thu May 22 05:52:15 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marek Szyprowski X-Patchwork-Id: 30567 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ig0-f197.google.com (mail-ig0-f197.google.com [209.85.213.197]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 1C24F20671 for ; Thu, 22 May 2014 05:52:59 +0000 (UTC) Received: by mail-ig0-f197.google.com with SMTP id hn18sf8506245igb.4 for ; Wed, 21 May 2014 22:52:58 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:cc:subject :date:message-id:in-reply-to:references:sender:precedence:list-id :x-original-sender:x-original-authentication-results:mailing-list :list-post:list-help:list-archive:list-unsubscribe; bh=m7JBLBz7+9phhEb6ipQ+iqJCNJYg6D0SvOTjpRS6GYA=; b=DBCccqRIDCsE8cxjjqSpojAWHXuXDNSNWpkE5l4PCOCyNE9Mf0MPO/IMiT1ShEicXz vejogP9kRVNAUiOphyTCf8iCCewB/GBNkf9aqzVvgCVP2cw/qGAAbQJ0u+HjSddx4KeO GUQFWfL4lRGo/Yk6dt2bAavhjyfRIZAQgiany6aUFLN/hV5lsRcvZVU2AHgwvynvQ43Q IJ88tlkw5yHoHz9J3kT5bfL21SRsUHPKoShP6DMDROyMHWsufQmNJxVWVqaYaZO8LfkA YMQW9XrJhVmpmKHGV7iJZbc6pHpVF1MveYdzU7t2SYHv6B7S7FwhsgDnvnjbrw1VxSpC 7TgA== X-Gm-Message-State: ALoCoQmZzHzN51ranFPZXSe4oBN1QTEbXUt06iRIzhDVgGDLAPnQaaz9WnrQ1WK4BvaaBwHCuaKh X-Received: by 10.182.19.231 with SMTP id i7mr25138966obe.25.1400737978681; Wed, 21 May 2014 22:52:58 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.21.203 with SMTP id 69ls1005182qgl.35.gmail; Wed, 21 May 2014 22:52:58 -0700 (PDT) X-Received: by 10.58.209.233 with SMTP id mp9mr34878748vec.30.1400737978596; Wed, 21 May 2014 22:52:58 -0700 (PDT) Received: from mail-ve0-f172.google.com (mail-ve0-f172.google.com [209.85.128.172]) by mx.google.com with ESMTPS id wd10si2007297veb.55.2014.05.21.22.52.58 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 21 May 2014 22:52:58 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.128.172 as permitted sender) client-ip=209.85.128.172; Received: by mail-ve0-f172.google.com with SMTP id oz11so3789794veb.17 for ; Wed, 21 May 2014 22:52:58 -0700 (PDT) X-Received: by 10.221.42.135 with SMTP id ty7mr14050501vcb.14.1400737978500; Wed, 21 May 2014 22:52:58 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.220.221.72 with SMTP id ib8csp170421vcb; Wed, 21 May 2014 22:52:58 -0700 (PDT) X-Received: by 10.68.113.68 with SMTP id iw4mr63793873pbb.119.1400737977644; Wed, 21 May 2014 22:52:57 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id ym1si32086171pac.25.2014.05.21.22.52.57; Wed, 21 May 2014 22:52:57 -0700 (PDT) Received-SPF: none (google.com: linux-samsung-soc-owner@vger.kernel.org does not designate permitted sender hosts) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751184AbaEVFw4 (ORCPT + 9 others); Thu, 22 May 2014 01:52:56 -0400 Received: from mailout2.w1.samsung.com ([210.118.77.12]:30721 "EHLO mailout2.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751038AbaEVFwz (ORCPT ); Thu, 22 May 2014 01:52:55 -0400 Received: from eucpsbgm2.samsung.com (unknown [203.254.199.245]) by mailout2.w1.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0N5Y005E7OBEZN70@mailout2.w1.samsung.com> for linux-samsung-soc@vger.kernel.org; Thu, 22 May 2014 06:52:26 +0100 (BST) X-AuditID: cbfec7f5-b7f626d000004b39-2b-537d909ac382 Received: from eusync3.samsung.com ( [203.254.199.213]) by eucpsbgm2.samsung.com (EUCPMTA) with SMTP id 23.ED.19257.A909D735; Thu, 22 May 2014 06:52:26 +0100 (BST) Received: from amdc1339.digital.local ([106.116.147.30]) by eusync3.samsung.com (Oracle Communications Messaging Server 7u4-23.01 (7.0.4.23.0) 64bit (built Aug 10 2011)) with ESMTPA id <0N5Y003RVOB9RC40@eusync3.samsung.com>; Thu, 22 May 2014 06:52:26 +0100 (BST) From: Marek Szyprowski To: linux-samsung-soc@vger.kernel.org Cc: Marek Szyprowski , Kukjin Kim Subject: [PATCH v2 2/4] ARM: dts: exynos4210-universal_c210: enable USB functionality Date: Thu, 22 May 2014 07:52:15 +0200 Message-id: <1400737937-7368-3-git-send-email-m.szyprowski@samsung.com> X-Mailer: git-send-email 1.9.2 In-reply-to: <1400737937-7368-1-git-send-email-m.szyprowski@samsung.com> References: <1400737937-7368-1-git-send-email-m.szyprowski@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFrrAJMWRmVeSWpSXmKPExsVy+t/xq7qzJtQGG0z/ImPRu+Aqm8WM8/uY LNYeucvuwOzRt2UVo8fnTXIBTFFcNimpOZllqUX6dglcGX8uz2Yp6OKr+PC7k7mB8Q9XFyMn h4SAicS0LQ+YIWwxiQv31rN1MXJxCAksZZTYv/whO4TTxyRxZ8FbNpAqNgFDia63XWC2iICq xOe2BUBFHBzMAqESCzcog5jCAuESd3vcQSpYgCpuvb/GDmLzCrhLbPrQwAaxS07i/8sVTCDl nAIeEq/ehYGEhYBKli1ewDyBkXcBI8MqRtHU0uSC4qT0XCO94sTc4tK8dL3k/NxNjJBQ+LqD cekxq0OMAhyMSjy8HVm1wUKsiWXFlbmHGCU4mJVEeLfVAIV4UxIrq1KL8uOLSnNSiw8xMnFw SjUwTo3itGxl1Tm7aOEsTbdbj6dIWH64fbdz4QLP6mVedQlCWgtEFn3vEpp2mVF7fZu9ePBn p2XXPj5aYrw27GaUQ/7lGPHK6PuhrDOFrpj6lp1wXGN49KaSj0PjnD3ny2LNOV1M7sZtluZu ap39Wu7OAf2/Ne+/FvnNO6T7dm14gKqJ5ytWq3UXlFiKMxINtZiLihMBiN+I/uMBAAA= Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: m.szyprowski@samsung.com X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.128.172 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , This patch adds device tree nodes necessary to enable USB support on universalc210 board, this includes UDC controller (USB gadget) as well as EHCI and OHCI host ports. LDO3 and LDO8 regulators are switched to always on mode until EHCI and OHCI drivers will support them correctly. Signed-off-by: Marek Szyprowski Reviewed-by: Tomasz Figa --- arch/arm/boot/dts/exynos4210-universal_c210.dts | 26 +++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/arch/arm/boot/dts/exynos4210-universal_c210.dts b/arch/arm/boot/dts/exynos4210-universal_c210.dts index 9296dee10e26..5f90aeda74ad 100644 --- a/arch/arm/boot/dts/exynos4210-universal_c210.dts +++ b/arch/arm/boot/dts/exynos4210-universal_c210.dts @@ -68,6 +68,12 @@ enable-active-high; }; + hsotg@12480000 { + vusb_d-supply = <&ldo3_reg>; + vusb_a-supply = <&ldo8_reg>; + status = "okay"; + }; + sdhci_emmc: sdhci@12510000 { bus-width = <8>; non-removable; @@ -77,6 +83,24 @@ status = "okay"; }; + ehci@12580000 { + status = "okay"; + port@0 { + status = "okay"; + }; + }; + + ohci@12590000 { + status = "okay"; + port@0 { + status = "okay"; + }; + }; + + exynos-usbphy@125B0000 { + status = "okay"; + }; + serial@13800000 { status = "okay"; }; @@ -216,6 +240,7 @@ regulator-name = "VUSB+MIPI_1.1V"; regulator-min-microvolt = <1100000>; regulator-max-microvolt = <1100000>; + regulator-always-on; }; ldo4_reg: LDO4 { @@ -246,6 +271,7 @@ regulator-name = "VUSB+VDAC_3.3V"; regulator-min-microvolt = <3300000>; regulator-max-microvolt = <3300000>; + regulator-always-on; }; ldo9_reg: LDO9 {