From patchwork Fri Apr 10 12:35:01 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Srinivas Kandagatla X-Patchwork-Id: 47035 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ie0-f197.google.com (mail-ie0-f197.google.com [209.85.223.197]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id C539621416 for ; Fri, 10 Apr 2015 12:35:19 +0000 (UTC) Received: by ieczq1 with SMTP id zq1sf32780583iec.2 for ; Fri, 10 Apr 2015 05:35:19 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:cc:subject :date:message-id:in-reply-to:references:sender:precedence:list-id :x-original-sender:x-original-authentication-results:mailing-list :list-post:list-help:list-archive:list-unsubscribe; bh=beUmZoZFP/UNvcGqovYlfHqaLEzdkAM+EPfKP+1tIdw=; b=mtuPRIlIru4+1PwcCCgg0g1lJz5Ql5mjYVMHFxhclzCRRu2kk5pP/kgc1guZ0PBFun DAR8pNXGgv3OtZ9MWGILvckMKyXqhFnBLnt933p6H6D8oyCBAW/8YvMlAakfuJJsdi/l k1k95Ndagt069zEgHOsveCEVKw3LWdTKNTvm10c5F6ellgeRnRdlzlGS9AOne9fJ6ET6 E4rGiz1BzegCmz3wmyBB9uqtbdAfN6AwPGLVzTZ2P50aj7pToEMPZcu8FkAyWDOLkDmV eLRx56xoQxebLStzPLH9+6ofhtFcFvO1ivk2pFvigiu458YihE4evwEteN7WbzvKDUPG EqRw== X-Gm-Message-State: ALoCoQmYxwDuXJH9FLbP2Mt0gx8nSZ1Uz0NVojPvZ7XYrqHZeu5Ey3TTisSLwOWrRhFAz6rmeIlc X-Received: by 10.43.90.6 with SMTP id bg6mr3202689icc.11.1428669319467; Fri, 10 Apr 2015 05:35:19 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.99.49 with SMTP id p46ls1661597qge.51.gmail; Fri, 10 Apr 2015 05:35:19 -0700 (PDT) X-Received: by 10.55.20.207 with SMTP id 76mr2277400qku.46.1428669319362; Fri, 10 Apr 2015 05:35:19 -0700 (PDT) Received: from mail-qk0-f171.google.com (mail-qk0-f171.google.com. [209.85.220.171]) by mx.google.com with ESMTPS id 40si1637965qkp.55.2015.04.10.05.35.19 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 10 Apr 2015 05:35:19 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.171 as permitted sender) client-ip=209.85.220.171; Received: by qkx62 with SMTP id 62so28326593qkx.0 for ; Fri, 10 Apr 2015 05:35:19 -0700 (PDT) X-Received: by 10.55.55.85 with SMTP id e82mr2321099qka.2.1428669319191; Fri, 10 Apr 2015 05:35:19 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.96.155.231 with SMTP id vz7csp984670qdb; Fri, 10 Apr 2015 05:35:18 -0700 (PDT) X-Received: by 10.68.197.201 with SMTP id iw9mr2357411pbc.84.1428669318204; Fri, 10 Apr 2015 05:35:18 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id ma5si2773786pdb.122.2015.04.10.05.35.14; Fri, 10 Apr 2015 05:35:18 -0700 (PDT) Received-SPF: none (google.com: devicetree-owner@vger.kernel.org does not designate permitted sender hosts) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932187AbbDJMfN (ORCPT + 5 others); Fri, 10 Apr 2015 08:35:13 -0400 Received: from mail-wi0-f173.google.com ([209.85.212.173]:35834 "EHLO mail-wi0-f173.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933018AbbDJMfI (ORCPT ); Fri, 10 Apr 2015 08:35:08 -0400 Received: by widdi4 with SMTP id di4so126338626wid.0 for ; Fri, 10 Apr 2015 05:35:07 -0700 (PDT) X-Received: by 10.180.74.198 with SMTP id w6mr14941050wiv.69.1428669307792; Fri, 10 Apr 2015 05:35:07 -0700 (PDT) Received: from srini-ThinkPad-X1-Carbon-2nd.dlink.com (host-78-145-247-151.as13285.net. [78.145.247.151]) by mx.google.com with ESMTPSA id cf12sm2789503wjb.10.2015.04.10.05.35.03 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 10 Apr 2015 05:35:06 -0700 (PDT) From: Srinivas Kandagatla To: galak@codeaurora.org, linux-arm-msm@vger.kernel.org Cc: bjorn.andersson@sonymobile.com, Rob Herring , Pawel Moll , Mark Rutland , Ian Campbell , Russell King , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Pramod Gurav , Srinivas Kandagatla Subject: [PATCH v2 10/12] ARM: dts: apq8064-ifc6410: Add DT alias for serial port Date: Fri, 10 Apr 2015 13:35:01 +0100 Message-Id: <1428669301-11207-1-git-send-email-srinivas.kandagatla@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1428669187-10775-1-git-send-email-srinivas.kandagatla@linaro.org> References: <1428669187-10775-1-git-send-email-srinivas.kandagatla@linaro.org> Sender: devicetree-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: devicetree@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: srinivas.kandagatla@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.171 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , From: Pramod Gurav Define an alias for serial port present on ifc6410 which is used as console. Signed-off-by: Srinivas Kandagatla [Srinivas Kandagatla: renamed the serial0 label appropriately] Signed-off-by: Pramod Gurav --- arch/arm/boot/dts/qcom-apq8064-ifc6410.dts | 4 ++++ arch/arm/boot/dts/qcom-apq8064.dtsi | 3 +-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/qcom-apq8064-ifc6410.dts b/arch/arm/boot/dts/qcom-apq8064-ifc6410.dts index c9c9c5e..f319721 100644 --- a/arch/arm/boot/dts/qcom-apq8064-ifc6410.dts +++ b/arch/arm/boot/dts/qcom-apq8064-ifc6410.dts @@ -5,6 +5,10 @@ model = "Qualcomm APQ8064/IFC6410"; compatible = "qcom,apq8064-ifc6410", "qcom,apq8064"; + aliases { + serial0 = &gsbi7_serial; + }; + soc { pinctrl@800000 { i2c1_pins: i2c1 { diff --git a/arch/arm/boot/dts/qcom-apq8064.dtsi b/arch/arm/boot/dts/qcom-apq8064.dtsi index c88470c..d7f70d7 100644 --- a/arch/arm/boot/dts/qcom-apq8064.dtsi +++ b/arch/arm/boot/dts/qcom-apq8064.dtsi @@ -251,10 +251,9 @@ #address-cells = <1>; #size-cells = <1>; ranges; - syscon-tcsr = <&tcsr>; - serial@16640000 { + gsbi7_serial: serial@16640000 { compatible = "qcom,msm-uartdm-v1.3", "qcom,msm-uartdm"; reg = <0x16640000 0x1000>, <0x16600000 0x1000>;