From patchwork Mon Apr 28 20:54:32 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: 4082521 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 DE7CB9F169 for ; Mon, 28 Apr 2014 20:56:39 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 154D3201C7 for ; Mon, 28 Apr 2014 20:56:39 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id B448620179 for ; Mon, 28 Apr 2014 20:56:37 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755335AbaD1U4g (ORCPT ); Mon, 28 Apr 2014 16:56:36 -0400 Received: from mail-yk0-f171.google.com ([209.85.160.171]:56535 "EHLO mail-yk0-f171.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752338AbaD1U4g (ORCPT ); Mon, 28 Apr 2014 16:56:36 -0400 Received: by mail-yk0-f171.google.com with SMTP id 10so1054076ykt.30 for ; Mon, 28 Apr 2014 13:56:35 -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=V/IdIhWVtnm1wEEa2QnoHs7Dcw7h9bJ1PeAMBmV/X0A=; b=ba7ll2x6QlMo7x8aO5rQLQCYfptgpr2zHAbyDuIZ6abWxQpHwkHJRei3NUqPFGZTk2 TU5enga5dpF0FY81w3D3YsBIe3rSgdRInmSJIPyAHYVwJ4+xvEbJkZIdARUhR+pfACk6 UPv/DhrICrRwooXE9dK9GbiHJ6xTTImwe5h7B4MCu49bAAxc2Wxwd+ZqJ6+NL+cR/lrB VBQKXgToQ28waIjcEIj4PNown+DZyE0c4n7Wkk3S3B4V26LITX2eP0AkRfwHFqgg6FtQ 2vd9nJbfNFfvSNvAlU4kmILEwEwfYMdPNIZPd4jeFWu4rP1qZv4cuQdGnHn0DXaVesoa b5Qg== X-Gm-Message-State: ALoCoQnfSJBpkoGrjgjuxFDRKjY/UG9AjEst2efouwSLNc2K7Psps4ssPF8hUS8Zc7QLaRN65KQr X-Received: by 10.236.131.42 with SMTP id l30mr5845123yhi.130.1398718595179; Mon, 28 Apr 2014 13:56:35 -0700 (PDT) Received: from localhost (host130.181-14-219.telecom.net.ar. [181.14.219.130]) by mx.google.com with ESMTPSA id c66sm32613244yhk.23.2014.04.28.13.56.31 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Mon, 28 Apr 2014 13:56:34 -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?= Subject: [PATCH v2 1/4] ARM: dts: am335x-bone-common: use phandles for USB and DMA refs Date: Mon, 28 Apr 2014 17:54:32 -0300 Message-Id: <1398718475-1883-1-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-bone-common.dtsi | 38 +++++++++++++++---------------- 1 file changed, 19 insertions(+), 19 deletions(-) diff --git a/arch/arm/boot/dts/am335x-bone-common.dtsi b/arch/arm/boot/dts/am335x-bone-common.dtsi index 2e7d932..ded1283 100644 --- a/arch/arm/boot/dts/am335x-bone-common.dtsi +++ b/arch/arm/boot/dts/am335x-bone-common.dtsi @@ -182,31 +182,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"; }; &i2c0 {