From patchwork Tue May 20 12:46:59 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marek Szyprowski X-Patchwork-Id: 30423 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ve0-f199.google.com (mail-ve0-f199.google.com [209.85.128.199]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id DD04120671 for ; Tue, 20 May 2014 12:47:13 +0000 (UTC) Received: by mail-ve0-f199.google.com with SMTP id oz11sf1278492veb.6 for ; Tue, 20 May 2014 05:47:13 -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=a9TpN1EIEYB3sPWefFaNhGuaJtwxJ3KbEi4zKPBb8E0=; b=P2IpKB97vQfMVNIotlouUbi37M2XwdJ8EXlKtDR0vbr3LO4tfKiG9sm6xhMojw/vHX OcCwY3GMJyxMCv9NHRKbW2gyzEr71IJMvPAJryVEdtZTkVXLH3pwRyVsDS9n8tdTaZsI I/4tIsaARqoNVpgWs3l5R4+AWQZFqi35KDwiRUPBt1tXrNizzYanVdrFgl6ZxS2067qz B8/rBWlCkxp/lG06hq0X3/Hl3pTNexc1dYpfA4HXeCyqPO1mnu5ILjMMWqOHyDvvMoib uuVhqQn6Hm9a9eFNAAsUpXnionsdgSJcAmrxAKISEWCEqdcISzZsZ6iAMSknO4p80yfB EWwg== X-Gm-Message-State: ALoCoQm1VM9zlcM+VnPrto4sZvN/9yftk41EHDwmhjfFIgHKN0eqxqnfvBCNIQOxb7Rzhh4rRJlp X-Received: by 10.58.77.104 with SMTP id r8mr6400722vew.40.1400590033727; Tue, 20 May 2014 05:47:13 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.94.118 with SMTP id f109ls262245qge.8.gmail; Tue, 20 May 2014 05:47:13 -0700 (PDT) X-Received: by 10.58.146.5 with SMTP id sy5mr719544veb.43.1400590033499; Tue, 20 May 2014 05:47:13 -0700 (PDT) Received: from mail-ve0-f176.google.com (mail-ve0-f176.google.com [209.85.128.176]) by mx.google.com with ESMTPS id my10si3377660vec.33.2014.05.20.05.47.13 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 20 May 2014 05:47:13 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.128.176 as permitted sender) client-ip=209.85.128.176; Received: by mail-ve0-f176.google.com with SMTP id jz11so503754veb.21 for ; Tue, 20 May 2014 05:47:13 -0700 (PDT) X-Received: by 10.58.34.72 with SMTP id x8mr197503vei.61.1400590033413; Tue, 20 May 2014 05:47:13 -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 ib8csp27628vcb; Tue, 20 May 2014 05:47:13 -0700 (PDT) X-Received: by 10.66.140.104 with SMTP id rf8mr50314969pab.107.1400590032369; Tue, 20 May 2014 05:47:12 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id td3si24486286pab.128.2014.05.20.05.47.11; Tue, 20 May 2014 05:47:11 -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 S1751790AbaETMrL (ORCPT + 9 others); Tue, 20 May 2014 08:47:11 -0400 Received: from mailout4.w1.samsung.com ([210.118.77.14]:21475 "EHLO mailout4.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752017AbaETMrJ (ORCPT ); Tue, 20 May 2014 08:47:09 -0400 Received: from eucpsbgm2.samsung.com (unknown [203.254.199.245]) by mailout4.w1.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0N5V008ACI6ETO00@mailout4.w1.samsung.com> for linux-samsung-soc@vger.kernel.org; Tue, 20 May 2014 13:47:02 +0100 (BST) X-AuditID: cbfec7f5-b7f626d000004b39-aa-537b4ecad537 Received: from eusync4.samsung.com ( [203.254.199.214]) by eucpsbgm2.samsung.com (EUCPMTA) with SMTP id 39.85.19257.ACE4B735; Tue, 20 May 2014 13:47:06 +0100 (BST) Received: from amdc1339.digital.local ([106.116.147.30]) by eusync4.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTPA id <0N5V00DU0I6F4X10@eusync4.samsung.com>; Tue, 20 May 2014 13:47:06 +0100 (BST) From: Marek Szyprowski To: linux-samsung-soc@vger.kernel.org Cc: Marek Szyprowski , Kukjin Kim Subject: [PATCH 2/4] ARM: dts: exynos4210-universal_c210: enable USB functionality Date: Tue, 20 May 2014 14:46:59 +0200 Message-id: <1400590021-15422-3-git-send-email-m.szyprowski@samsung.com> X-Mailer: git-send-email 1.9.2 In-reply-to: <1400590021-15422-1-git-send-email-m.szyprowski@samsung.com> References: <1400590021-15422-1-git-send-email-m.szyprowski@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFrrAJMWRmVeSWpSXmKPExsVy+t/xa7qn/KqDDX5dUbToXXCVzWLG+X1M FmuP3GV3YPbo27KK0ePzJrkApigum5TUnMyy1CJ9uwSujEvLjrEUNPFWfO09y9TAOJOri5GT Q0LAROLC9OWMELaYxIV769lAbCGBpYwSk7ZIdjFyAdl9TBKrPj4BK2ITMJToetsFViQioCrx uW0BexcjBwezQKjEwg3KIGFhgRCJ9/eOM4GEWYBKWn45gYR5BTwkrs7bxg6xSk7i/8sVTCA2 p4CnxP9fH6HWekhsWbiPbQIj7wJGhlWMoqmlyQXFSem5RnrFibnFpXnpesn5uZsYIaHwdQfj 0mNWhxgFOBiVeHglUquChVgTy4orcw8xSnAwK4nwKvtWBwvxpiRWVqUW5ccXleakFh9iZOLg lGpgTFNRvsBTZCXPcI9Xq0RoKl+Iwb8vCsKz6uymLG96cuHUzStHTX3SpHPD2H5ZWbO4zNo6 MXJdrOnH9b5haqsKfq9d7HnHwv1k/tTqvf9Ofjny4NHysNd70iZ/eqK8YM6mM+G/uZO3LzGW OmiyO3ymx1uRCOe5MVbLpl6R3Msyf17v0dtp6+PsKpRYijMSDbWYi4oTAZUi093jAQAA 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.176 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 --- arch/arm/boot/dts/exynos4210-universal_c210.dts | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/arch/arm/boot/dts/exynos4210-universal_c210.dts b/arch/arm/boot/dts/exynos4210-universal_c210.dts index 9296dee10e26..0a32b396306c 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,18 @@ status = "okay"; }; + ehci@12580000 { + status = "okay"; + }; + + ohci@12590000 { + status = "okay"; + }; + + exynos-usbphy@125B0000 { + status = "okay"; + }; + serial@13800000 { status = "okay"; }; @@ -216,6 +234,7 @@ regulator-name = "VUSB+MIPI_1.1V"; regulator-min-microvolt = <1100000>; regulator-max-microvolt = <1100000>; + regulator-always-on; }; ldo4_reg: LDO4 { @@ -246,6 +265,7 @@ regulator-name = "VUSB+VDAC_3.3V"; regulator-min-microvolt = <3300000>; regulator-max-microvolt = <3300000>; + regulator-always-on; }; ldo9_reg: LDO9 {