From patchwork Fri Dec 13 16:51:23 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Matt Porter X-Patchwork-Id: 22339 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ve0-f197.google.com (mail-ve0-f197.google.com [209.85.128.197]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id B7AA1202E2 for ; Fri, 13 Dec 2013 16:51:55 +0000 (UTC) Received: by mail-ve0-f197.google.com with SMTP id oz11sf4103681veb.4 for ; Fri, 13 Dec 2013 08:51:55 -0800 (PST) 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:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :list-post:list-help:list-archive:list-unsubscribe; bh=htBxEdkYvXZbgMuly7H20LmSfCMUVHLBRNv5KyA14zA=; b=JSPGjbDC4dwVZvKGYr0b+UMwQIh0o/zPBo/tqKpGaFuxZOiYSxds4SCYX6J7uU5b4I 2ydpJZ/utZaAgcvO7tkojUgOkRQcI3J52J4fF4bgSM9XZwbbUiXE5eWV+TSDYQewgxJp 3BwIvgZ8IoBmDnUbFgQIKbnjN+XvYR06bikZphNRD06SM7RJdDv3J/jDDHptmrOZGUTx tBGOsUAK1n/lRl2iaueTKILa+L9SEUNd0fZ7/zRdU22pQbnuGmeKuBkHcN5liNTn7Pkr LOXl7844z6Rf5ZoYR174uQ7OnDlrkdirzMNavYZ/hq0KbCS3sCL1lAAX8AVlh3YbAYZo 5ACA== X-Gm-Message-State: ALoCoQlZd1w7z3J1wrN97ekweg6+rPwzT/8Fimah6QI/lhCqqa0tJhc9MEG/jPqBUss8zYk5+3xG X-Received: by 10.58.196.145 with SMTP id im17mr1119081vec.38.1386953515582; Fri, 13 Dec 2013 08:51:55 -0800 (PST) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.3.165 with SMTP id d5ls1079175qed.77.gmail; Fri, 13 Dec 2013 08:51:55 -0800 (PST) X-Received: by 10.52.161.131 with SMTP id xs3mr69041vdb.95.1386953515431; Fri, 13 Dec 2013 08:51:55 -0800 (PST) Received: from mail-vc0-f182.google.com (mail-vc0-f182.google.com [209.85.220.182]) by mx.google.com with ESMTPS id gw1si937990vcb.62.2013.12.13.08.51.55 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 13 Dec 2013 08:51:55 -0800 (PST) Received-SPF: neutral (google.com: 209.85.220.182 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.220.182; Received: by mail-vc0-f182.google.com with SMTP id lc6so1464225vcb.41 for ; Fri, 13 Dec 2013 08:51:55 -0800 (PST) X-Received: by 10.220.200.65 with SMTP id ev1mr1642205vcb.13.1386953515368; Fri, 13 Dec 2013 08:51:55 -0800 (PST) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patches@linaro.org Received: by 10.220.174.196 with SMTP id u4csp51961vcz; Fri, 13 Dec 2013 08:51:54 -0800 (PST) X-Received: by 10.50.110.74 with SMTP id hy10mr9889610igb.0.1386953514618; Fri, 13 Dec 2013 08:51:54 -0800 (PST) Received: from mail-ie0-f180.google.com (mail-ie0-f180.google.com [209.85.223.180]) by mx.google.com with ESMTPS id mv8si3182055igb.39.2013.12.13.08.51.54 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 13 Dec 2013 08:51:54 -0800 (PST) Received-SPF: neutral (google.com: 209.85.223.180 is neither permitted nor denied by best guess record for domain of mporter@linaro.org) client-ip=209.85.223.180; Received: by mail-ie0-f180.google.com with SMTP id tp5so3192654ieb.11 for ; Fri, 13 Dec 2013 08:51:54 -0800 (PST) X-Received: by 10.43.106.198 with SMTP id dv6mr2579481icc.51.1386953514311; Fri, 13 Dec 2013 08:51:54 -0800 (PST) Received: from beef.ohporter.com (cpe-98-27-254-98.neo.res.rr.com. [98.27.254.98]) by mx.google.com with ESMTPSA id hv5sm5155766igb.9.2013.12.13.08.51.51 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 13 Dec 2013 08:51:53 -0800 (PST) From: Matt Porter To: Felipe Balbi , Greg Kroah-Hartman , Kishon Vijay Abraham I , Rob Herring , Pawel Moll , Mark Rutland , Kumar Gala , Ian Campbell , Christian Daudt , Paul Zimmerman Cc: Tomasz Figa , Kamil Debski , Kyungmin Park , Dinh Nguyen , Russell King , Linux USB List , Linux ARM Kernel List , Linux Kernel Mailing List , Devicetree List , Linaro Patches Subject: [PATCH v6 9/9] ARM: dts: add usb udc support to bcm281xx Date: Fri, 13 Dec 2013 11:51:23 -0500 Message-Id: <1386953483-21631-10-git-send-email-mporter@linaro.org> X-Mailer: git-send-email 1.8.4 In-Reply-To: <1386953483-21631-1-git-send-email-mporter@linaro.org> References: <1386953483-21631-1-git-send-email-mporter@linaro.org> X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: mporter@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.220.182 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Precedence: list Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org List-ID: X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , Adds USB OTG/PHY and clock support to BCM281xx and enables UDC support on the bcm11351-brt and bcm28155-ap boards. Signed-off-by: Matt Porter Reviewed-by: Markus Mayer Reviewed-by: Tim Kryger --- arch/arm/boot/dts/bcm11351-brt.dts | 6 ++++++ arch/arm/boot/dts/bcm11351.dtsi | 18 ++++++++++++++++++ arch/arm/boot/dts/bcm28155-ap.dts | 8 ++++++++ 3 files changed, 32 insertions(+) diff --git a/arch/arm/boot/dts/bcm11351-brt.dts b/arch/arm/boot/dts/bcm11351-brt.dts index 23cd16d..396b704 100644 --- a/arch/arm/boot/dts/bcm11351-brt.dts +++ b/arch/arm/boot/dts/bcm11351-brt.dts @@ -44,5 +44,11 @@ status = "okay"; }; + usbotg: usb@3f120000 { + status = "okay"; + }; + usbphy: usb-phy@3f130000 { + status = "okay"; + }; }; diff --git a/arch/arm/boot/dts/bcm11351.dtsi b/arch/arm/boot/dts/bcm11351.dtsi index 1246885..0fbb455 100644 --- a/arch/arm/boot/dts/bcm11351.dtsi +++ b/arch/arm/boot/dts/bcm11351.dtsi @@ -243,4 +243,22 @@ #clock-cells = <0>; }; }; + + usbotg: usb@3f120000 { + compatible = "snps,dwc2"; + reg = <0x3f120000 0x10000>; + interrupts = ; + clocks = <&usb_otg_ahb_clk>; + clock-names = "otg"; + phys = <&usbphy>; + phy-names = "usb2-phy"; + status = "disabled"; + }; + + usbphy: usb-phy@3f130000 { + compatible = "brcm,kona-usb2-phy"; + reg = <0x3f130000 0x28>; + #phy-cells = <0>; + status = "disabled"; + }; }; diff --git a/arch/arm/boot/dts/bcm28155-ap.dts b/arch/arm/boot/dts/bcm28155-ap.dts index 08e47c2..a3bc436 100644 --- a/arch/arm/boot/dts/bcm28155-ap.dts +++ b/arch/arm/boot/dts/bcm28155-ap.dts @@ -43,4 +43,12 @@ cd-gpios = <&gpio 14 0>; status = "okay"; }; + + usbotg: usb@3f120000 { + status = "okay"; + }; + + usbphy: usb-phy@3f130000 { + status = "okay"; + }; };