From patchwork Fri Apr 19 09:57:37 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Roger Quadros X-Patchwork-Id: 2464261 Return-Path: X-Original-To: patchwork-linux-omap@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork1.kernel.org (Postfix) with ESMTP id 151853FD1A for ; Fri, 19 Apr 2013 09:58:35 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758212Ab3DSJ54 (ORCPT ); Fri, 19 Apr 2013 05:57:56 -0400 Received: from devils.ext.ti.com ([198.47.26.153]:35892 "EHLO devils.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758207Ab3DSJ5y (ORCPT ); Fri, 19 Apr 2013 05:57:54 -0400 Received: from dflxv15.itg.ti.com ([128.247.5.124]) by devils.ext.ti.com (8.13.7/8.13.7) with ESMTP id r3J9vou9005100; Fri, 19 Apr 2013 04:57:50 -0500 Received: from DFLE72.ent.ti.com (dfle72.ent.ti.com [128.247.5.109]) by dflxv15.itg.ti.com (8.14.3/8.13.8) with ESMTP id r3J9voxg018269; Fri, 19 Apr 2013 04:57:50 -0500 Received: from dlelxv22.itg.ti.com (172.17.1.197) by DFLE72.ent.ti.com (128.247.5.109) with Microsoft SMTP Server id 14.2.342.3; Fri, 19 Apr 2013 04:57:50 -0500 Received: from localhost.localdomain (h114-215.vpn.ti.com [172.24.114.215]) by dlelxv22.itg.ti.com (8.13.8/8.13.8) with ESMTP id r3J9vd6v026476; Fri, 19 Apr 2013 04:57:48 -0500 From: Roger Quadros To: , CC: , , , , , Roger Quadros Subject: [PATCH v3 4/4] ARM: dts: omap3-beagle-xm: Add USB host supprot for Rev. Ax/Bx Date: Fri, 19 Apr 2013 12:57:37 +0300 Message-ID: <1366365457-28972-5-git-send-email-rogerq@ti.com> X-Mailer: git-send-email 1.7.4.1 In-Reply-To: <1366365457-28972-1-git-send-email-rogerq@ti.com> References: <1366365457-28972-1-git-send-email-rogerq@ti.com> MIME-Version: 1.0 Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org Rev. Ax/Bx boards have reversed polarity for USBHOST_PWR_ENable signal when compared to Rev. C boards. We create a new dts file for Ax/Bx boards. Also update model and compatible flags for Rev. C board. CC: BenoƮt Cousson Signed-off-by: Roger Quadros --- arch/arm/boot/dts/omap3-beagle-xm-ab.dts | 19 +++++++++++++++++++ arch/arm/boot/dts/omap3-beagle-xm.dts | 4 ++-- 2 files changed, 21 insertions(+), 2 deletions(-) create mode 100644 arch/arm/boot/dts/omap3-beagle-xm-ab.dts diff --git a/arch/arm/boot/dts/omap3-beagle-xm-ab.dts b/arch/arm/boot/dts/omap3-beagle-xm-ab.dts new file mode 100644 index 0000000..041b40e --- /dev/null +++ b/arch/arm/boot/dts/omap3-beagle-xm-ab.dts @@ -0,0 +1,19 @@ +/* + * Copyright (C) 2013 Texas Instruments Incorporated - http://www.ti.com/ + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 2 as + * published by the Free Software Foundation. + */ + +/include/ "omap3-beagle-xm.dts" + +/ { + model = "TI OMAP3 BeagleBoard xM Rev: Ax/Bx"; + compatible = "ti,omap3-beagle-xm-ab", "ti,omap3-beagle", "ti,omap3"; +}; + +/* On Rev A/B USBHOST_PWR_EN is active high */ +&hsusb2_power { + enable-active-high; +}; diff --git a/arch/arm/boot/dts/omap3-beagle-xm.dts b/arch/arm/boot/dts/omap3-beagle-xm.dts index 19a8ccb..49af2eb 100644 --- a/arch/arm/boot/dts/omap3-beagle-xm.dts +++ b/arch/arm/boot/dts/omap3-beagle-xm.dts @@ -10,8 +10,8 @@ /include/ "omap36xx.dtsi" / { - model = "TI OMAP3 BeagleBoard xM"; - compatible = "ti,omap3-beagle-xm, ti,omap3-beagle", "ti,omap3"; + model = "TI OMAP3 BeagleBoard xM Rev: C"; + compatible = "ti,omap3-beagle-xm-c", "ti,omap3-beagle", "ti,omap3"; cpus { cpu@0 {