From patchwork Mon Apr 28 20:54:35 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Guido_Mart=C3=ADnez?= X-Patchwork-Id: 4082551 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 020549F169 for ; Mon, 28 Apr 2014 20:56:56 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 29717201C7 for ; Mon, 28 Apr 2014 20:56:55 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id CD42F20179 for ; Mon, 28 Apr 2014 20:56:53 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756061AbaD1U4x (ORCPT ); Mon, 28 Apr 2014 16:56:53 -0400 Received: from mail-yh0-f49.google.com ([209.85.213.49]:57514 "EHLO mail-yh0-f49.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755826AbaD1U4w (ORCPT ); Mon, 28 Apr 2014 16:56:52 -0400 Received: by mail-yh0-f49.google.com with SMTP id t59so3110004yho.22 for ; Mon, 28 Apr 2014 13:56:52 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-type:content-transfer-encoding; bh=sXGveN0ebzjN/x2WSUU0FGD5RWl+sY8MMvIG1cR+1XA=; b=TnbqHh1bCD1YuAtxZyJ1VO5EiBv0NrK4+N+34ZMzJEFIJlKZeahCNecXYbJIRo5xJL TNMWFuHw0MfsZo48XpgW5WobfPKF5qmgJSdhsCra1XVW8SMiFFz9VSLEztIIQf/Iksuy yAfkczmg/erl8NwIQD0V0qFrCUAn43PUv87oWMFPvv2KYEmW0aohiP+qxYPa1vxyLwPT Mt4V66XzSIiNjes/94W2zBJ2yKe27DmdZMDm+jYb6oDP5RmYJrs8IMZxKSSDuv3lps7Y EgEX0tJtuNdOm4+IwHqzkZgwhXRzH4k5fhGTyw/u7UTGaMPaPC6R23KLpMfQYdwesZd3 DQ7A== X-Gm-Message-State: ALoCoQlotgBwmEdIBk56Wx4Lyhfc1MAodM59IUun7eIIid7vvbKx88c3v1lFgL5dCwalOWuhGHY4 X-Received: by 10.236.113.69 with SMTP id z45mr41294629yhg.0.1398718612047; Mon, 28 Apr 2014 13:56:52 -0700 (PDT) Received: from localhost (host130.181-14-219.telecom.net.ar. [181.14.219.130]) by mx.google.com with ESMTPSA id v60sm32602147yhc.40.2014.04.28.13.56.49 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Mon, 28 Apr 2014 13:56:51 -0700 (PDT) From: =?UTF-8?q?Guido=20Mart=C3=ADnez?= To: bcousson@baylibre.com Cc: tony@atomide.com, linux-omap@vger.kernel.org, george.cherian@ti.com, =?UTF-8?q?Ezequiel=20Garc=C3=ADa?= , =?UTF-8?q?Guido=20Mart=C3=ADnez?= , Enric Balletbo i Serra Subject: [PATCH v2 4/4] ARM: dts: am335x-igep0033: use phandles for USB and DMA refs Date: Mon, 28 Apr 2014 17:54:35 -0300 Message-Id: <1398718475-1883-4-git-send-email-guido@vanguardiasur.com.ar> X-Mailer: git-send-email 1.9.2 In-Reply-To: <1398718475-1883-1-git-send-email-guido@vanguardiasur.com.ar> References: <1398693512-5355-1-git-send-email-guido@vanguardiasur.com.ar> <1398718475-1883-1-git-send-email-guido@vanguardiasur.com.ar> MIME-Version: 1.0 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.5 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham 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 Use phandles instead of unit adresses to reference usb and dma nodes. This makes the DT more robust and readable. Signed-off-by: Guido Martínez Cc: Enric Balletbo i Serra Acked-by: Felipe Balbi --- arch/arm/boot/dts/am335x-igep0033.dtsi | 38 +++++++++++++++++----------------- 1 file changed, 19 insertions(+), 19 deletions(-) diff --git a/arch/arm/boot/dts/am335x-igep0033.dtsi b/arch/arm/boot/dts/am335x-igep0033.dtsi index 9f22c18..9c53b50 100644 --- a/arch/arm/boot/dts/am335x-igep0033.dtsi +++ b/arch/arm/boot/dts/am335x-igep0033.dtsi @@ -200,31 +200,31 @@ &usb { status = "okay"; +}; - control@44e10620 { - status = "okay"; - }; +&usb_ctrl_mod { + status = "okay"; +}; - usb-phy@47401300 { - status = "okay"; - }; +&usb0_phy { + status = "okay"; +}; - usb-phy@47401b00 { - status = "okay"; - }; +&usb1_phy { + status = "okay"; +}; - usb@47401000 { - status = "okay"; - }; +&usb0 { + status = "okay"; +}; - usb@47401800 { - status = "okay"; - dr_mode = "host"; - }; +&usb1 { + status = "okay"; + dr_mode = "host"; +}; - dma-controller@47402000 { - status = "okay"; - }; +&cppi41dma { + status = "okay"; }; #include "tps65910.dtsi"