From patchwork Mon Jul 22 20:47:29 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabio Estevam X-Patchwork-Id: 2831570 Return-Path: X-Original-To: patchwork-linux-arm@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 7614FC0319 for ; Mon, 22 Jul 2013 20:48:26 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 82A1C20262 for ; Mon, 22 Jul 2013 20:48:25 +0000 (UTC) Received: from casper.infradead.org (casper.infradead.org [85.118.1.10]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 321FC20237 for ; Mon, 22 Jul 2013 20:48:24 +0000 (UTC) Received: from merlin.infradead.org ([2001:4978:20e::2]) by casper.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1V1N1j-0000jh-2H; Mon, 22 Jul 2013 20:48:15 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1V1N1g-0005pn-Lc; Mon, 22 Jul 2013 20:48:12 +0000 Received: from mail-ye0-x22a.google.com ([2607:f8b0:4002:c04::22a]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1V1N1e-0005p6-4f for linux-arm-kernel@lists.infradead.org; Mon, 22 Jul 2013 20:48:10 +0000 Received: by mail-ye0-f170.google.com with SMTP id q3so2251153yen.1 for ; Mon, 22 Jul 2013 13:47:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:x-mailer; bh=9b4iUloyygbOvIb42t54GaGTOUgkvQr23Zqcovmdxmo=; b=r1KOJRo5AMewNHBrMl7EQqj8dcPmhWTu9Gtn4tHEPfSFZy9LJIlef6cGmCL8O1Mtol Y076TLoWgWko3pmjH9Bw7fY9hi3JOvlWIns9ClVTvdlGwpU6BbTg57GZRjSoTO5nDmgi BiZjtUfbzZcxzKJWeNTK0nO+NZBS5rQpqRMA6K4VqUIdKVxu60XvgeQKqJqrMjQ/5p2c 3I0mAilA9V3vBlGZESPOAIO0e3RvPFm+ZkXXs4ZFlYMez6+HQQuoviq8WL6pJ+zyZxcQ lczA9aMtziX1qQpoIa6EGbHV3dNSsbVwlwBXT0IsxI5MmEaAT0D4HWb9AWmQGELcWyo0 XRYg== X-Received: by 10.236.111.7 with SMTP id v7mr13919587yhg.236.1374526068431; Mon, 22 Jul 2013 13:47:48 -0700 (PDT) Received: from localhost.localdomain ([177.194.44.29]) by mx.google.com with ESMTPSA id s29sm41287763yhf.6.2013.07.22.13.47.46 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 22 Jul 2013 13:47:47 -0700 (PDT) From: Fabio Estevam To: shawn.guo@linaro.org Subject: [PATCH] ARM: dts: mxs: Add spi alias Date: Mon, 22 Jul 2013 17:47:29 -0300 Message-Id: <1374526049-29649-1-git-send-email-festevam@gmail.com> X-Mailer: git-send-email 1.8.1.2 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20130722_164810_220857_72E4991C X-CRM114-Status: GOOD ( 10.61 ) X-Spam-Score: -2.0 (--) Cc: Fabio Estevam , linux-arm-kernel@lists.infradead.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-5.5 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=unavailable 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 From: Fabio Estevam After providing spi alias, we can get the following message during probe: m25p80 spi1.0: sst25vf016b (2048 Kbytes) ,which looks better than the original one: m25p80 spi32766.0: sst25vf016b (2048 Kbytes) While at it, keep the alias entries in alphabetical order. Signed-off-by: Fabio Estevam --- arch/arm/boot/dts/imx23.dtsi | 2 ++ arch/arm/boot/dts/imx28.dtsi | 6 ++++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/imx23.dtsi b/arch/arm/boot/dts/imx23.dtsi index 1e528db..28b5ce2 100644 --- a/arch/arm/boot/dts/imx23.dtsi +++ b/arch/arm/boot/dts/imx23.dtsi @@ -20,6 +20,8 @@ gpio2 = &gpio2; serial0 = &auart0; serial1 = &auart1; + spi0 = &ssp0; + spi1 = &ssp1; }; cpus { diff --git a/arch/arm/boot/dts/imx28.dtsi b/arch/arm/boot/dts/imx28.dtsi index db67eb6..89d98a1 100644 --- a/arch/arm/boot/dts/imx28.dtsi +++ b/arch/arm/boot/dts/imx28.dtsi @@ -15,6 +15,8 @@ interrupt-parent = <&icoll>; aliases { + ethernet0 = &mac0; + ethernet1 = &mac1; gpio0 = &gpio0; gpio1 = &gpio1; gpio2 = &gpio2; @@ -22,13 +24,13 @@ gpio4 = &gpio4; saif0 = &saif0; saif1 = &saif1; + spi0 = &ssp1; + spi1 = &ssp2; serial0 = &auart0; serial1 = &auart1; serial2 = &auart2; serial3 = &auart3; serial4 = &auart4; - ethernet0 = &mac0; - ethernet1 = &mac1; }; cpus {