From patchwork Mon Apr 28 20:54:33 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: 4082531 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 A09699F169 for ; Mon, 28 Apr 2014 20:56:46 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id C9DFE201C7 for ; Mon, 28 Apr 2014 20:56:45 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 0074420179 for ; Mon, 28 Apr 2014 20:56:44 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755886AbaD1U4m (ORCPT ); Mon, 28 Apr 2014 16:56:42 -0400 Received: from mail-yh0-f47.google.com ([209.85.213.47]:51521 "EHLO mail-yh0-f47.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755736AbaD1U4l (ORCPT ); Mon, 28 Apr 2014 16:56:41 -0400 Received: by mail-yh0-f47.google.com with SMTP id 29so6657343yhl.34 for ; Mon, 28 Apr 2014 13:56:40 -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=3y6lWxy/hJIIHvZtM/8/7W3saunS4QPRMI9xM6jgPOI=; b=l/00sKyNLExR01WjnTNbLZGgl00WZqkEwSVLp6wNOl5b2mTBltotf/tf2RzA7o/O0n fwUOTUgbQfBA9VpZRQBiRateudli/Xkiv8XXAcoH0Um5P0uGt52bXqO1an4m/1xahjdW dq9OICixH+Ppo4hC5+r8i2s4Cw0i2BXysjJC4oRSg5Xr8WAiid4kTYBfAnjA4K1E4Bd/ +so8u4N3n9un/D+BI51Howq+K32ZiK0gT0IP0OEb7+o+UxX+S+c+X3KafczuAc4pj5Ft BUo25Vs/Tzz2a0aRWMf+BkSwC832CnuSdZPbGWATQF87MSWfocDWpy2SrjykbCAsYv9i 4seg== X-Gm-Message-State: ALoCoQlYRdGxOvHbmoHPuXIatP37oGLFwZ5rbkydJ0tDxOTk5k94nhMCgmaJGWuI0mutAhF+8sBx X-Received: by 10.236.66.3 with SMTP id g3mr42123578yhd.41.1398718600672; Mon, 28 Apr 2014 13:56:40 -0700 (PDT) Received: from localhost (host130.181-14-219.telecom.net.ar. [181.14.219.130]) by mx.google.com with ESMTPSA id c24sm32632576yhc.2.2014.04.28.13.56.37 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Mon, 28 Apr 2014 13:56:39 -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 2/4] ARM: dts: am335x-evm: use phandles for USB and DMA refs Date: Mon, 28 Apr 2014 17:54:33 -0300 Message-Id: <1398718475-1883-2-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 Acked-by: Felipe Balbi --- arch/arm/boot/dts/am335x-evm.dts | 38 +++++++++++++++++++------------------- 1 file changed, 19 insertions(+), 19 deletions(-) diff --git a/arch/arm/boot/dts/am335x-evm.dts b/arch/arm/boot/dts/am335x-evm.dts index 6028217..33f7c57 100644 --- a/arch/arm/boot/dts/am335x-evm.dts +++ b/arch/arm/boot/dts/am335x-evm.dts @@ -330,31 +330,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"; }; &i2c1 {