From patchwork Fri Sep 26 16:32:07 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mike Rapoport X-Patchwork-Id: 4986451 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 72704BEEA6 for ; Fri, 26 Sep 2014 16:37:19 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 9EE4320212 for ; Fri, 26 Sep 2014 16:37:18 +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 BF54A2017E for ; Fri, 26 Sep 2014 16:37:17 +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 1XXYSA-0006yr-OA; Fri, 26 Sep 2014 16:33:06 +0000 Received: from mail-wi0-x236.google.com ([2a00:1450:400c:c05::236]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1XXYS8-0006uC-22 for linux-arm-kernel@lists.infradead.org; Fri, 26 Sep 2014 16:33:04 +0000 Received: by mail-wi0-f182.google.com with SMTP id d1so11979403wiv.3 for ; Fri, 26 Sep 2014 09:32:40 -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=PGuVVIm+qxMXGEdSAP8+TZ+8Vae49TVfu1aJWZQ68Zk=; b=wTavf0peyezZO4hMYbW6PzuGnfouGjGOwK88oAs4C3yi+oqFo2UcL4dyT2BUREe/m+ IKg7XlJuEE57WSSTf+kYcjB79du+iEUoF73saRQP5OCJscxUTl//QmM4/TeNnD/la3Qc cDPPKARmje6tRvdK+sa8FfCalWkugL+wsKm7Ek+hgwhhbTaupKh0fsHj5tG1q+TnRsK1 ciMWDcnu1v6eBerijRCuhrbnUYK2aGCdW+X7837TMdi10SnYeKmr9LyDKqFmJeDizFHC p3elMgCeVkuv4PIiTM+eh5eJwACNTkAiar+0BRXBb7p5jmcCl8987g6kTTsBO32pBCtf 0qjQ== X-Received: by 10.194.220.101 with SMTP id pv5mr5293379wjc.111.1411749160461; Fri, 26 Sep 2014 09:32:40 -0700 (PDT) Received: from poluect (bzq-79-181-147-19.red.bezeqint.net. [79.181.147.19]) by mx.google.com with ESMTPSA id q3sm2762362wia.14.2014.09.26.09.32.38 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Fri, 26 Sep 2014 09:32:39 -0700 (PDT) Received: by poluect (sSMTP sendmail emulation); Fri, 26 Sep 2014 19:32:10 +0300 From: Mike Rapoport To: Kumar Gala Subject: [PATCH v3] ARM: DT: apq8064: add CM-QS600 board Date: Fri, 26 Sep 2014 19:32:07 +0300 Message-Id: <1411749127-12746-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_093304_248307_6C932032 X-CRM114-Status: GOOD ( 12.35 ) X-Spam-Score: -0.1 (/) 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 CM-QS600 is a APQ8064 based computer on module. The details are available at http://compulab.co.il/products/computer-on-modules/cm-qs600/ Signed-off-by: Mike Rapoport Acked-by: Igor Grinberg --- v2 changes: duplicate the settings for the cm-qs600 board in its .dts file as Kumar suggested v3 changes: add board details and keep dts Makefile sorted alphabetically 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..3243722 100644 --- a/arch/arm/boot/dts/Makefile +++ b/arch/arm/boot/dts/Makefile @@ -339,6 +339,7 @@ dtb-$(CONFIG_ARCH_ORION5X) += orion5x-lacie-d2-network.dtb \ orion5x-rd88f5182-nas.dtb dtb-$(CONFIG_ARCH_PRIMA2) += prima2-evb.dtb dtb-$(CONFIG_ARCH_QCOM) += \ + qcom-apq8064-cm-qs600.dtb \ qcom-apq8064-ifc6410.dtb \ qcom-apq8074-dragonboard.dtb \ qcom-apq8084-ifc6540.dtb \aaaaaa 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"; + }; + }; + }; +};