From patchwork Mon Apr 28 13:58:29 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: 4077911 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 114C59F169 for ; Mon, 28 Apr 2014 14:00:34 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id E8C6C20219 for ; Mon, 28 Apr 2014 14:00:32 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 26A98202C8 for ; Mon, 28 Apr 2014 14:00:27 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751635AbaD1OAZ (ORCPT ); Mon, 28 Apr 2014 10:00:25 -0400 Received: from mail-yk0-f177.google.com ([209.85.160.177]:55215 "EHLO mail-yk0-f177.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751016AbaD1OAX (ORCPT ); Mon, 28 Apr 2014 10:00:23 -0400 Received: by mail-yk0-f177.google.com with SMTP id 9so1731571ykp.36 for ; Mon, 28 Apr 2014 07:00:23 -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:mime-version :content-type:content-transfer-encoding; bh=zcjNv3nH5WfKIbVJS+2b64MXP0cQ6T2gKmZOvCpV8LI=; b=ZdECKaWzi7xFD44qBJNnmM5jFUW2n0GvCD1LvAT52bzEzFeAucuu5k7StQ2Qkva+C6 YYceV6PTzvr5CdbMOVz6oBJ/T5qETzPAUUzpeiopw6ZemMDSX5kRVk3w/96CJ6VebItI gZvvelewL18oZ737eKNnNgZ7F8lQSeAlIglHJJOIrYe4IdLAUjgfbIEYOXDb1awMQuyM thtVET0vN5QVyIQlwU0DBsCKBSqQzhNhruMeA1qudW3gXq+/yvq3C9ocCfibjZdLmT/D B4zfKEaKem8ni65jMtuD3wheiijjGJUxYJB96EEnM7e8mTylodNSa3Wqe2MgPzfYaLHI g6cA== X-Gm-Message-State: ALoCoQmA9UrMY42Nvo3wNRLOa4xjw2VHIzDbOLAJ9K3E0GMOLkjihYRZjzv4Qd7y3YVsuSw2zCgT X-Received: by 10.236.203.7 with SMTP id e7mr2776166yho.124.1398693622995; Mon, 28 Apr 2014 07:00:22 -0700 (PDT) Received: from localhost (host130.181-14-219.telecom.net.ar. [181.14.219.130]) by mx.google.com with ESMTPSA id h23sm30637055yhf.34.2014.04.28.07.00.17 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Mon, 28 Apr 2014 07:00:21 -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 1/4] ARM: dts: am335x-bone-common: use phandles for USB and DMA refs Date: Mon, 28 Apr 2014 10:58:29 -0300 Message-Id: <1398693512-5355-1-git-send-email-guido@vanguardiasur.com.ar> X-Mailer: git-send-email 1.9.2 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-bone-common.dtsi | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/arch/arm/boot/dts/am335x-bone-common.dtsi b/arch/arm/boot/dts/am335x-bone-common.dtsi index 2e7d932..b95bc9a 100644 --- a/arch/arm/boot/dts/am335x-bone-common.dtsi +++ b/arch/arm/boot/dts/am335x-bone-common.dtsi @@ -183,28 +183,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"; }; };