From patchwork Fri Sep 26 15:56:30 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mike Rapoport X-Patchwork-Id: 4986351 Return-Path: X-Original-To: patchwork-linux-arm@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 AE5189FAAF for ; Fri, 26 Sep 2014 16:00:33 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id C7E6420166 for ; Fri, 26 Sep 2014 16:00:32 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id EFB42201FE for ; Fri, 26 Sep 2014 16:00:31 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1XXXth-0005VB-O3; Fri, 26 Sep 2014 15:57:29 +0000 Received: from mail-wi0-x233.google.com ([2a00:1450:400c:c05::233]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1XXXtd-0005Rl-Rz for linux-arm-kernel@lists.infradead.org; Fri, 26 Sep 2014 15:57:26 +0000 Received: by mail-wi0-f179.google.com with SMTP id d1so11913621wiv.6 for ; Fri, 26 Sep 2014 08:57:03 -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; bh=WxXQGbP9rBTk8va4M7ByrBgJg14xklEe9Bxx/iiUWqo=; b=Ybs4GV2qfB0lD2QtavXwWugLk07onB8m4nZVHnuzUCsh6EcKPrtnl6o/Wf4BofKESr zbCUk+zYZlB36W9O1UDErLmAK2DAq9uaBruwVM9JKNgpc1evNTL5wOx8AYrU2Ja0o0YG fCfoTmHz2MSJMlqGDfoLMb+zluXLTgcCkpD4GDYuY+M0ho25ZSftFEn58IuGZa9cmfgb 3oCkiibsil2FYlXh1/YDq4qcJXkH8lesECWMcGeDlqw8aQPSSpdEmYyHvn7LknqsRacw HwwhFRZeYg5jAfFlkFbL7uIHL/9dgfCSsGygWvqesxWuPmZ89vXBit8ArxlPHAcDa7iK 4wTQ== X-Received: by 10.180.95.163 with SMTP id dl3mr28781340wib.79.1411747023848; Fri, 26 Sep 2014 08:57:03 -0700 (PDT) Received: from poluect (bzq-79-181-147-19.red.bezeqint.net. [79.181.147.19]) by mx.google.com with ESMTPSA id l4sm6642956wje.5.2014.09.26.08.57.01 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Fri, 26 Sep 2014 08:57:03 -0700 (PDT) Received: by poluect (sSMTP sendmail emulation); Fri, 26 Sep 2014 18:56:33 +0300 From: Mike Rapoport To: Kumar Gala Subject: [PATCH v2] ARM: DT: apq8064: add CM-QS600 board Date: Fri, 26 Sep 2014 18:56:30 +0300 Message-Id: <1411746990-12518-1-git-send-email-mike.rapoport@gmail.com> X-Mailer: git-send-email 1.9.1 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140926_085726_092292_C10AF332 X-CRM114-Status: GOOD ( 11.76 ) X-Spam-Score: -0.8 (/) Cc: linux-arm-msm@vger.kernel.org, Srinivas Kandagatla , Bjorn Andersson , linux-arm-kernel@lists.infradead.org, Mike Rapoport X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.18-1 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=-2.5 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_NONE, 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 Signed-off-by: Mike Rapoport --- v2 changes: duplicate the settings for the cm-qs600 board in its .dts file as Kumar suggested arch/arm/boot/dts/Makefile | 1 + arch/arm/boot/dts/qcom-apq8064-cm-qs600.dts | 59 +++++++++++++++++++++++++++++ 2 files changed, 60 insertions(+) create mode 100644 arch/arm/boot/dts/qcom-apq8064-cm-qs600.dts diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile index aaa1a68..71d2ade 100644 --- a/arch/arm/boot/dts/Makefile +++ b/arch/arm/boot/dts/Makefile @@ -340,6 +340,7 @@ dtb-$(CONFIG_ARCH_ORION5X) += orion5x-lacie-d2-network.dtb \ dtb-$(CONFIG_ARCH_PRIMA2) += prima2-evb.dtb dtb-$(CONFIG_ARCH_QCOM) += \ qcom-apq8064-ifc6410.dtb \ + qcom-apq8064-cm-qs600.dtb \ qcom-apq8074-dragonboard.dtb \ qcom-apq8084-ifc6540.dtb \ qcom-apq8084-mtp.dtb \ diff --git a/arch/arm/boot/dts/qcom-apq8064-cm-qs600.dts b/arch/arm/boot/dts/qcom-apq8064-cm-qs600.dts new file mode 100644 index 0000000..db7cf03 --- /dev/null +++ b/arch/arm/boot/dts/qcom-apq8064-cm-qs600.dts @@ -0,0 +1,59 @@ +#include "qcom-apq8064-v2.0.dtsi" + +/ { + model = "CompuLab CM-QS600"; + compatible = "qcom,apq8064-cm-qs600", "qcom,apq8064"; + + soc { + pinctrl@800000 { + i2c1_pins: i2c1 { + mux { + pins = "gpio20", "gpio21"; + function = "gsbi1"; + }; + }; + }; + + gsbi@12440000 { + status = "okay"; + qcom,mode = ; + + i2c@12460000 { + status = "okay"; + clock-frequency = <200000>; + pinctrl-0 = <&i2c1_pins>; + pinctrl-names = "default"; + + eeprom: eeprom@52 { + compatible = "atmel,24c128"; + reg = <0x52>; + pagesize = <32>; + }; + }; + }; + + gsbi@16600000 { + status = "ok"; + qcom,mode = ; + serial@16640000 { + status = "ok"; + }; + }; + + amba { + /* eMMC */ + sdcc1: sdcc@12400000 { + status = "okay"; + }; + + /* External micro SD card */ + sdcc3: sdcc@12180000 { + status = "okay"; + }; + /* WLAN */ + sdcc4: sdcc@121c0000 { + status = "okay"; + }; + }; + }; +};