From patchwork Mon Jul 22 20:57:01 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabio Estevam X-Patchwork-Id: 2831577 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 97D64C0319 for ; Mon, 22 Jul 2013 20:58:03 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id A16352027D for ; Mon, 22 Jul 2013 20:58:02 +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 7D9D42027C for ; Mon, 22 Jul 2013 20:58:01 +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 1V1NAr-0004VF-Gv; Mon, 22 Jul 2013 20:57:42 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1V1NAj-00067P-Qh; Mon, 22 Jul 2013 20:57:33 +0000 Received: from mail-gg0-x234.google.com ([2607:f8b0:4002:c02::234]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1V1NAg-00065A-Lg for linux-arm-kernel@lists.infradead.org; Mon, 22 Jul 2013 20:57:31 +0000 Received: by mail-gg0-f180.google.com with SMTP id i6so2202977ggm.39 for ; Mon, 22 Jul 2013 13:57:09 -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=4nT02IAv2aSRkHy9aIqVRpTCRMjhGW1KlWXbd7waVFk=; b=YzD90kiLPXATM5ZczUdMjzb4GAmKRxyUG19yLyZOE+/o/3FukdaTqs5fdXjw0GU1vH arXbevDAnLq13wMwRJQ18oSvMmZRmByOuO7jTFnXO/Hkv0vDmmqWDOEx8hLM/b9gPd1j 1MtHR4GYkGOrWEuQTNqEEvmyjxbMKmICJEvYog8nDADE6HrTjA6we34mMeiAVP/AAU7p clIvcg44NfcV91AJan14MxzaMWdnvAxhFQUg2zQmcjjnDmuINkVPCpg71WbgV8a68YqV /3IYy9L+LbIyQ+sce0L6H6J2wTTu+zVdRNb/lEoxvwgdxc5Wr3mfGp75XerVLoWAmpWk /Xbg== X-Received: by 10.236.138.17 with SMTP id z17mr13912134yhi.245.1374526629204; Mon, 22 Jul 2013 13:57:09 -0700 (PDT) Received: from localhost.localdomain ([177.194.44.29]) by mx.google.com with ESMTPSA id x52sm41320409yhh.18.2013.07.22.13.57.07 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 22 Jul 2013 13:57:08 -0700 (PDT) From: Fabio Estevam To: shawn.guo@linaro.org Subject: [PATCH v2] ARM: dts: mxs: Add spi alias Date: Mon, 22 Jul 2013 17:57:01 -0300 Message-Id: <1374526621-29874-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_165730_845103_6CA09FBC X-CRM114-Status: GOOD ( 10.90 ) 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 --- Changes since v1: - Fix the alphabetical order 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..47fc5ef 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; @@ -27,8 +29,8 @@ serial2 = &auart2; serial3 = &auart3; serial4 = &auart4; - ethernet0 = &mac0; - ethernet1 = &mac1; + spi0 = &ssp1; + spi1 = &ssp2; }; cpus {