From patchwork Mon Oct 7 10:12:32 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Matt Porter X-Patchwork-Id: 20850 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-qc0-f198.google.com (mail-qc0-f198.google.com [209.85.216.198]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id C4A4624697 for ; Mon, 7 Oct 2013 10:12:49 +0000 (UTC) Received: by mail-qc0-f198.google.com with SMTP id l13sf13481452qcy.5 for ; Mon, 07 Oct 2013 03:12:49 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=mime-version:x-gm-message-state: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=VE8Bk/182lGZp4UobvAY/SkyVjLtdSLwfw/q351cruU=; b=OH0xR/CSXaY+sHWFzLFuBIaY1WmmIsQeQbBfu9/gJnXXgb4RGLJLfqEPDMrkzgH9si owfe3GpivqSsGdppsNXJE8j2PDjzE2Wb8lyoRlZKPD6OcFhb/L9e/tiHRxP8N/M/+ORb yEm7z6q7DYbOp/honTIlqoRUzxNgYbyEWaNjZ5XuQ2reUW3B2p2lk9/fdICOhSxJELbI sz3bXoPZcedrGD4CgCyWVwOhfxokZ+8Amw8PHS6rtS6CszZ1cKCOeTrGaImmb/Zngqis bYk4bVZSM+7DPjFvYYl8B0o07/sCdF5gHHOAyOhFOu/WnkRfzif6FlY5E4ZjkHidS0Vk SqAQ== X-Received: by 10.236.180.2 with SMTP id i2mr24774891yhm.4.1381140769650; Mon, 07 Oct 2013 03:12:49 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.99.106 with SMTP id ep10ls2293917qeb.59.gmail; Mon, 07 Oct 2013 03:12:49 -0700 (PDT) X-Received: by 10.220.43.19 with SMTP id u19mr25757419vce.3.1381140769542; Mon, 07 Oct 2013 03:12:49 -0700 (PDT) Received: from mail-ve0-f169.google.com (mail-ve0-f169.google.com [209.85.128.169]) by mx.google.com with ESMTPS id om4si7602858vcb.143.1969.12.31.16.00.00 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 07 Oct 2013 03:12:49 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.128.169 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.128.169; Received: by mail-ve0-f169.google.com with SMTP id db12so3757205veb.28 for ; Mon, 07 Oct 2013 03:12:49 -0700 (PDT) X-Gm-Message-State: ALoCoQmkiwCXGmco+YHNNueQ4t8mcu8QeCJGzV2QbFF8ODBIdBUJ7n6nfkShMZg3Lp7/KqhD2+3e X-Received: by 10.52.26.69 with SMTP id j5mr2956225vdg.21.1381140769441; Mon, 07 Oct 2013 03:12:49 -0700 (PDT) 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 u4csp113284vcz; Mon, 7 Oct 2013 03:12:48 -0700 (PDT) X-Received: by 10.50.26.36 with SMTP id i4mr16405242igg.33.1381140768677; Mon, 07 Oct 2013 03:12:48 -0700 (PDT) Received: from mail-ie0-f176.google.com (mail-ie0-f176.google.com [209.85.223.176]) by mx.google.com with ESMTPS id mn5si26704925icc.125.1969.12.31.16.00.00 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 07 Oct 2013 03:12:48 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.223.176 is neither permitted nor denied by best guess record for domain of matt.porter@linaro.org) client-ip=209.85.223.176; Received: by mail-ie0-f176.google.com with SMTP id as1so14936821iec.21 for ; Mon, 07 Oct 2013 03:12:48 -0700 (PDT) X-Received: by 10.50.154.66 with SMTP id vm2mr16157372igb.57.1381140768230; Mon, 07 Oct 2013 03:12:48 -0700 (PDT) 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 y10sm22710942igl.4.1969.12.31.16.00.00 (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 07 Oct 2013 03:12:47 -0700 (PDT) From: Matt Porter To: Felipe Balbi , Greg Kroah-Hartman , Rob Herring , Pawel Moll , Mark Rutland , Stephen Warren , Ian Campbell , Christian Daudt Cc: Paul Zimmerman , Linux USB List , Linux ARM Kernel List , Linux Kernel Mailing List , Devicetree List , Linaro Patches Subject: [PATCH 5/5] ARM: dts: add usb udc support to bcm281xx Date: Mon, 7 Oct 2013 06:12:32 -0400 Message-Id: <1381140752-312-6-git-send-email-matt.porter@linaro.org> X-Mailer: git-send-email 1.8.4 In-Reply-To: <1381140752-312-1-git-send-email-matt.porter@linaro.org> References: <1381140752-312-1-git-send-email-matt.porter@linaro.org> X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: matt.porter@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.128.169 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/Control/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 | 10 ++++++++++ arch/arm/boot/dts/bcm11351.dtsi | 21 +++++++++++++++++++++ arch/arm/boot/dts/bcm28155-ap.dts | 12 ++++++++++++ 3 files changed, 43 insertions(+) diff --git a/arch/arm/boot/dts/bcm11351-brt.dts b/arch/arm/boot/dts/bcm11351-brt.dts index 9d36eb4..5a269c7 100644 --- a/arch/arm/boot/dts/bcm11351-brt.dts +++ b/arch/arm/boot/dts/bcm11351-brt.dts @@ -43,5 +43,15 @@ status = "okay"; }; + usbotg@3f120000 { + status = "okay"; + }; + usbctl@3f130000 { + status = "okay"; + }; + + usbphy { + status = "okay"; + }; }; diff --git a/arch/arm/boot/dts/bcm11351.dtsi b/arch/arm/boot/dts/bcm11351.dtsi index 22aef21..1c647f2 100644 --- a/arch/arm/boot/dts/bcm11351.dtsi +++ b/arch/arm/boot/dts/bcm11351.dtsi @@ -227,4 +227,25 @@ #clock-cells = <0>; }; }; + + usbotg: usbotg@3f120000 { + compatible = "snps,dwc2"; + reg = <0x3f120000 0x10000>; + interrupts = ; + clocks = <&usb_otg_ahb_clk>; + clock-names = "otg"; + snps,phy-utmi-width = <8>; + status = "disabled"; + }; + + usbctl: usbctl@3f130000 { + compatible = "brcm,kona-ctrl-usb"; + reg = <0x3f130000 0x28>; + status = "disabled"; + }; + + usbphy: usbphy { + compatible = "brcm,kona-usb2"; + status = "disabled"; + }; }; diff --git a/arch/arm/boot/dts/bcm28155-ap.dts b/arch/arm/boot/dts/bcm28155-ap.dts index 96ae67a..7b1b741 100644 --- a/arch/arm/boot/dts/bcm28155-ap.dts +++ b/arch/arm/boot/dts/bcm28155-ap.dts @@ -42,4 +42,16 @@ max-frequency = <48000000>; status = "okay"; }; + + usbotg@3f120000 { + status = "okay"; + }; + + usbctl@3f130000 { + status = "okay"; + }; + + usbphy { + status = "okay"; + }; };