From patchwork Fri Nov 1 19:45:58 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Matt Porter X-Patchwork-Id: 21314 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-vb0-f71.google.com (mail-vb0-f71.google.com [209.85.212.71]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 4BF6E23908 for ; Fri, 1 Nov 2013 19:46:32 +0000 (UTC) Received: by mail-vb0-f71.google.com with SMTP id i3sf7071225vbh.2 for ; Fri, 01 Nov 2013 12:46:31 -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:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :list-post:list-help:list-archive:list-unsubscribe; bh=ZoQrU8BqeDyyB6UDLtAbndWvPi943gJyDeh+WfOQxb8=; b=hpsoeEgNR3/6MrtYupHC8F1C714AZvyIQpqTWcOdh7ibJHs34rS4drNv29Nt5tIJ0R DDJNZ+B8RxqjR6gK3i4ipMeLKiZocmWNrbuE+U4hq3aoMFjEp6JP8czrHBZQEoBQ9Fcy /sPCpghfG8sVIz0uZcDU500ma5V5OOtelUrGiNhhqxlnJL7trEyhR6haSu7I9bIMyXFi fqSBXyjLYZSd4LH5YhqScdzqSib1Fp93f09eR8MjcQjgwifq9WoqVYcF90EmiYAqVGaH fBjON8UPmYjEh+cVKikmLEM/zl8FojpZjejvo4W6ddzl0rCTxLZLe1fy9ggySRiO1NK+ MYEQ== X-Gm-Message-State: ALoCoQk8szBe2LB6Aazh9IRWAzxqIAcYX7ih52+CWD0oa6E/5TwQugyZN0ryqaYtT9JbNkUChpB9 X-Received: by 10.52.122.104 with SMTP id lr8mr836875vdb.7.1383335191394; Fri, 01 Nov 2013 12:46:31 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.130.233 with SMTP id oh9ls1452046qeb.62.gmail; Fri, 01 Nov 2013 12:46:31 -0700 (PDT) X-Received: by 10.58.228.231 with SMTP id sl7mr432467vec.49.1383335191299; Fri, 01 Nov 2013 12:46:31 -0700 (PDT) Received: from mail-vb0-f43.google.com (mail-vb0-f43.google.com [209.85.212.43]) by mx.google.com with ESMTPS id gu4si2364780vdc.111.2013.11.01.12.46.31 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 01 Nov 2013 12:46:31 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.212.43 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.212.43; Received: by mail-vb0-f43.google.com with SMTP id g10so3106655vbg.2 for ; Fri, 01 Nov 2013 12:46:31 -0700 (PDT) X-Received: by 10.221.29.200 with SMTP id rz8mr452230vcb.33.1383335191217; Fri, 01 Nov 2013 12:46:31 -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 u4csp66778vcz; Fri, 1 Nov 2013 12:46:30 -0700 (PDT) X-Received: by 10.42.250.148 with SMTP id mo20mr2949577icb.34.1383335190456; Fri, 01 Nov 2013 12:46:30 -0700 (PDT) Received: from mail-ie0-f178.google.com (mail-ie0-f178.google.com [209.85.223.178]) by mx.google.com with ESMTPS id fv1si1812452igb.58.2013.11.01.12.46.30 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 01 Nov 2013 12:46:30 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.223.178 is neither permitted nor denied by best guess record for domain of matt.porter@linaro.org) client-ip=209.85.223.178; Received: by mail-ie0-f178.google.com with SMTP id x13so8151416ief.23 for ; Fri, 01 Nov 2013 12:46:30 -0700 (PDT) X-Received: by 10.42.156.73 with SMTP id y9mr109800icw.77.1383335190104; Fri, 01 Nov 2013 12:46:30 -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 f5sm5616338igc.4.2013.11.01.12.46.28 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 01 Nov 2013 12:46:29 -0700 (PDT) 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: Linux USB List , Linux ARM Kernel List , Linux Kernel Mailing List , Devicetree List , Linaro Patches Subject: [PATCH v2 9/9] ARM: dts: add usb udc support to bcm281xx Date: Fri, 1 Nov 2013 15:45:58 -0400 Message-Id: <1383335158-19730-10-git-send-email-matt.porter@linaro.org> X-Mailer: git-send-email 1.8.4 In-Reply-To: <1383335158-19730-1-git-send-email-matt.porter@linaro.org> References: <1383335158-19730-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.212.43 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 9d36eb4..047c635 100644 --- a/arch/arm/boot/dts/bcm11351-brt.dts +++ b/arch/arm/boot/dts/bcm11351-brt.dts @@ -43,5 +43,11 @@ status = "okay"; }; + usbotg@3f120000 { + status = "okay"; + }; + usbphy@3f130000 { + status = "okay"; + }; }; diff --git a/arch/arm/boot/dts/bcm11351.dtsi b/arch/arm/boot/dts/bcm11351.dtsi index 0755f43..247f9fd 100644 --- a/arch/arm/boot/dts/bcm11351.dtsi +++ b/arch/arm/boot/dts/bcm11351.dtsi @@ -284,4 +284,22 @@ #clock-cells = <0>; }; }; + + usbotg: usbotg@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: usbphy@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 bc4e62c..8347d1b 100644 --- a/arch/arm/boot/dts/bcm28155-ap.dts +++ b/arch/arm/boot/dts/bcm28155-ap.dts @@ -62,4 +62,12 @@ max-frequency = <48000000>; status = "okay"; }; + + usbotg@3f120000 { + status = "okay"; + }; + + usbphy@3f130000 { + status = "okay"; + }; };