From patchwork Sun Jul 17 10:52:06 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bhushan Shah X-Patchwork-Id: 9233625 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id D5FC7607FF for ; Sun, 17 Jul 2016 10:54:48 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C528C205B0 for ; Sun, 17 Jul 2016 10:54:48 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id B95EB209CD; Sun, 17 Jul 2016 10:54:48 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=2.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 53853205B0 for ; Sun, 17 Jul 2016 10:54:48 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751071AbcGQKyr (ORCPT ); Sun, 17 Jul 2016 06:54:47 -0400 Received: from mail-pf0-f195.google.com ([209.85.192.195]:33903 "EHLO mail-pf0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751023AbcGQKyq (ORCPT ); Sun, 17 Jul 2016 06:54:46 -0400 Received: by mail-pf0-f195.google.com with SMTP id g202so9573706pfb.1; Sun, 17 Jul 2016 03:54:46 -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; bh=WmJIFXWK8CntwbG2QK6xhJXJca0wzKdbUzp5UkfPM9Q=; b=InttlsRRSexMzpLmjKuogkllNoffLvGlgctTAtaHSqN6ELr/hUoVq1wucx8BF5HOQn oXgV4OT99CZaAYOY8pr3JshA8Ei5c20voeRlPzYthPP88wcLEDxyzaw53rnlh6M7gUsS RUeJJw1s282EcOcRXxOQuAQF4+ZhLVaNh3phqjt1HFoWtD0Ix1HnCKBQmGUiggXQX6mf GHpTCDEOEvsM3ivuXXXCQD441RBbfjEyU3JUBNrob/iak1Gd9mL6ec9dJM02H+cg3AKH pALtpr22JlkpAUlyD3WQoI3aBACwKYIcTn5seaeFVw9nlRIgDAHWD5GCA2Sjn8R+5eq6 jBeg== X-Gm-Message-State: ALyK8tJ39D9PvQr1Vmw7JJR+ZjpuNVQvhsTKOWESCcths4aRLhpRMMRxqy7yM7kAglDtFA== X-Received: by 10.98.113.74 with SMTP id m71mr36975332pfc.6.1468752885832; Sun, 17 Jul 2016 03:54:45 -0700 (PDT) Received: from localhost.localdomain ([1.22.82.185]) by smtp.gmail.com with ESMTPSA id z189sm1108243pfb.34.2016.07.17.03.54.41 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 17 Jul 2016 03:54:45 -0700 (PDT) From: Bhushan Shah Cc: Bhushan Shah , Andy Gross , Bjorn Andersson , David Brown , Mark Rutland , Rob Herring , Russell King , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-arm-msm@vger.kernel.org Subject: [PATCH 1/3] ARM: dts: qcom: Add initial DTS for LG Nexus 5 Phone Date: Sun, 17 Jul 2016 16:22:06 +0530 Message-Id: <20160717105208.9596-2-bshah@kde.org> X-Mailer: git-send-email 2.9.0 In-Reply-To: <20160717105208.9596-1-bshah@kde.org> References: <20160717105208.9596-1-bshah@kde.org> To: unlisted-recipients:; (no To-header on input) Sender: linux-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP This DTS file have support LG Nexus 5 (codenamed hammerhead). Initial version have support for just serial console over headphone jack. Cc: Andy Gross Cc: Bjorn Andersson Cc: David Brown Cc: Mark Rutland Cc: Rob Herring Cc: Russell King Cc: devicetree@vger.kernel.org Cc: linux-arm-kernel@lists.infradead.org Cc: linux-arm-msm@vger.kernel.org Signed-off-by: Bhushan Shah --- arch/arm/boot/dts/Makefile | 1 + .../dts/qcom-msm8974-lge-nexus5-hammerhead.dts | 25 ++++++++++++++++++++++ 2 files changed, 26 insertions(+) create mode 100644 arch/arm/boot/dts/qcom-msm8974-lge-nexus5-hammerhead.dts diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile index 414b427..13947ec 100644 --- a/arch/arm/boot/dts/Makefile +++ b/arch/arm/boot/dts/Makefile @@ -584,6 +584,7 @@ dtb-$(CONFIG_ARCH_QCOM) += \ qcom-ipq8064-ap148.dtb \ qcom-msm8660-surf.dtb \ qcom-msm8960-cdp.dtb \ + qcom-msm8974-lge-nexus5-hammerhead.dtb \ qcom-msm8974-sony-xperia-honami.dtb dtb-$(CONFIG_ARCH_REALVIEW) += \ arm-realview-pb1176.dtb \ diff --git a/arch/arm/boot/dts/qcom-msm8974-lge-nexus5-hammerhead.dts b/arch/arm/boot/dts/qcom-msm8974-lge-nexus5-hammerhead.dts new file mode 100644 index 0000000..88d494f --- /dev/null +++ b/arch/arm/boot/dts/qcom-msm8974-lge-nexus5-hammerhead.dts @@ -0,0 +1,25 @@ +#include "qcom-msm8974.dtsi" +#include "qcom-pm8841.dtsi" +#include "qcom-pm8941.dtsi" + +/ { + model = "LGE MSM 8974 HAMMERHEAD"; + compatible = "qcom,msm8974"; + qcom,msm-id = <126 150 0x20002 0xB>; + + aliases { + serial0 = &blsp1_uart1; + }; + + chosen { + stdout-path = "serial0:115200n8"; + }; +}; + +&soc { + + serial@f991d000 { + status = "ok"; + }; + +};