From patchwork Fri Jul 5 13:32:55 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sebastian Andrzej Siewior X-Patchwork-Id: 2824193 Return-Path: X-Original-To: patchwork-linux-omap@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id AFE559F3C3 for ; Fri, 5 Jul 2013 13:33:22 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id D7B4820109 for ; Fri, 5 Jul 2013 13:33:21 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 9F21F20103 for ; Fri, 5 Jul 2013 13:33:20 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757412Ab3GENdS (ORCPT ); Fri, 5 Jul 2013 09:33:18 -0400 Received: from www.linutronix.de ([62.245.132.108]:45308 "EHLO Galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751619Ab3GENdF (ORCPT ); Fri, 5 Jul 2013 09:33:05 -0400 Received: from localhost ([127.0.0.1] helo=localhost.localdomain) by Galois.linutronix.de with esmtp (Exim 4.72) (envelope-from ) id 1Uv68G-0004Z8-NY; Fri, 05 Jul 2013 15:33:04 +0200 From: Sebastian Andrzej Siewior To: Felipe Balbi , george.cherian@ti.com Cc: linux-usb@vger.kernel.org, linux-omap@vger.kernel.org, b-cousson@ti.com, Sebastian Andrzej Siewior Subject: [PATCH 2/5] arm: dts: am33xx: add USB phy nodes Date: Fri, 5 Jul 2013 15:32:55 +0200 Message-Id: <1373031178-8871-3-git-send-email-bigeasy@linutronix.de> X-Mailer: git-send-email 1.8.3.2 In-Reply-To: <1373031178-8871-1-git-send-email-bigeasy@linutronix.de> References: <1373031178-8871-1-git-send-email-bigeasy@linutronix.de> X-Linutronix-Spam-Score: -1.0 X-Linutronix-Spam-Level: - X-Linutronix-Spam-Status: No , -1.0 points, 5.0 required, ALL_TRUSTED=-1, SHORTCIRCUIT=-0.0001, URIBL_BLOCKED=0.001 Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP The memory address contains three pieces that is the reset module which is currently the only one used and two other pices which seem interresting based on what the register. The phy id (0 or 1) can be obtained via of_alias_get_id(). However once we need this, we should used something for common register access. Signed-off-by: Sebastian Andrzej Siewior --- arch/arm/boot/dts/am33xx.dtsi | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/arch/arm/boot/dts/am33xx.dtsi b/arch/arm/boot/dts/am33xx.dtsi index 0d4df90..a24f1cb 100644 --- a/arch/arm/boot/dts/am33xx.dtsi +++ b/arch/arm/boot/dts/am33xx.dtsi @@ -333,6 +333,22 @@ status = "disabled"; }; + musb0_phy: phy0@47401000 { + compatible = "ti,am335x-usb-phy"; + reg = <0x44e10620 0x2c /* reset module */ + 0x47401000 0x200 + 0x47401300 0x100>; + status = "disabled"; + }; + + musb1_phy: phy1@47401800 { + compatible = "ti,am335x-usb-phy"; + reg = <0x44e10628 0x24 /* reset module */ + 0x47401800 0x200 + 0x47401b00 0x100>; + status = "disabled"; + }; + usb@47400000 { compatible = "ti,musb-am33xx"; reg = <0x47400000 0x1000 /* usbss */