From patchwork Mon Apr 28 13:58:30 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: 4078051 Return-Path: X-Original-To: patchwork-linux-omap@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 8133BBFF02 for ; Mon, 28 Apr 2014 14:03:11 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id B9528201EF for ; Mon, 28 Apr 2014 14:03:09 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id D3F4F20125 for ; Mon, 28 Apr 2014 14:03:08 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754760AbaD1OAp (ORCPT ); Mon, 28 Apr 2014 10:00:45 -0400 Received: from mail-yh0-f54.google.com ([209.85.213.54]:33851 "EHLO mail-yh0-f54.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753118AbaD1OAi (ORCPT ); Mon, 28 Apr 2014 10:00:38 -0400 Received: by mail-yh0-f54.google.com with SMTP id b6so3260709yha.41 for ; Mon, 28 Apr 2014 07:00:38 -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=5wAVovVNTAPWEK/DNfO6mlTiXtklgColLwW6xQl07CI=; b=HKabZGwKSc7cBQd1BQHoLjFErLFsiMO85Xx/295My+VJD9D0TSCiuh2oUSaDhBRXwN 9j2Iqc2hGfhR7yytchNkVC3bHD30zRso7uix3Qa47ZNQ2KdhfiKRzdtdoT6jJS041ZRt ydJ4IJj4UoCoewY41+hjB+fq6Prw0nZ8/smmSzb6JEU+m9p7nUC5/+lBBRIyBKZKEPPG TZbvnjTlCWbDQ8f2FLpiqdp2BO7mPWhHr0zzrrP1OoMNdXFLO93uqhN1xK4IGuXgyhAL 6/9RD3HVnjwztgJdSYWRfW1qPQ39evMGxwVzBeBFKhGO2J58offAT4V9JB/11bGqAO4K NUCA== X-Gm-Message-State: ALoCoQmNpjVvHGU6MrehORU4l3w0HUV9sEkhKmqeup40OincEMS5jawPKIUbSxOGDnaHv3x8b8bq X-Received: by 10.236.216.73 with SMTP id f69mr37987389yhp.37.1398693631614; Mon, 28 Apr 2014 07:00:31 -0700 (PDT) Received: from localhost (host130.181-14-219.telecom.net.ar. [181.14.219.130]) by mx.google.com with ESMTPSA id i1sm14419151yhq.12.2014.04.28.07.00.27 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Mon, 28 Apr 2014 07:00:30 -0700 (PDT) From: =?UTF-8?q?Guido=20Mart=C3=ADnez?= To: LKML , bcousson@baylibre.com, tony@atomide.com Cc: robh+dt@kernel.org, pawel.moll@arm.com, mark.rutland@arm.com, ijc+devicetree@hellion.org.uk, galak@codeaurora.org, linux@arm.linux.org.uk, linux-omap@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, =?UTF-8?q?Ezequiel=20Garc=C3=ADa?= , =?UTF-8?q?Guido=20Mart=C3=ADnez?= Subject: [PATCH 2/4] ARM: dts: am335x-evm: use phandles for USB and DMA refs Date: Mon, 28 Apr 2014 10:58:30 -0300 Message-Id: <1398693512-5355-2-git-send-email-guido@vanguardiasur.com.ar> X-Mailer: git-send-email 1.9.2 In-Reply-To: <1398693512-5355-1-git-send-email-guido@vanguardiasur.com.ar> References: <1398693512-5355-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 Acked-by: Felipe Balbi --- arch/arm/boot/dts/am335x-evm.dts | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/arch/arm/boot/dts/am335x-evm.dts b/arch/arm/boot/dts/am335x-evm.dts index 6028217..e802627 100644 --- a/arch/arm/boot/dts/am335x-evm.dts +++ b/arch/arm/boot/dts/am335x-evm.dts @@ -331,28 +331,28 @@ &usb { status = "okay"; - control@44e10620 { + &usb_ctrl_mod { status = "okay"; }; - usb-phy@47401300 { + &usb0_phy { status = "okay"; }; - usb-phy@47401b00 { + &usb1_phy { status = "okay"; }; - usb@47401000 { + &usb0 { status = "okay"; }; - usb@47401800 { + &usb1 { status = "okay"; dr_mode = "host"; }; - dma-controller@47402000 { + &cppi41dma { status = "okay"; }; };