From patchwork Wed Oct 1 16:09:11 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mike Rapoport X-Patchwork-Id: 5013191 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 049E39F32B for ; Wed, 1 Oct 2014 16:12:18 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 1F8A22026D for ; Wed, 1 Oct 2014 16:12:17 +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 3DA0A20259 for ; Wed, 1 Oct 2014 16:12:16 +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 1XZMTh-0002zL-2q; Wed, 01 Oct 2014 16:10:09 +0000 Received: from mail-wi0-x229.google.com ([2a00:1450:400c:c05::229]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1XZMTe-0001Xn-4m for linux-arm-kernel@lists.infradead.org; Wed, 01 Oct 2014 16:10:06 +0000 Received: by mail-wi0-f169.google.com with SMTP id cc10so1009588wib.4 for ; Wed, 01 Oct 2014 09:09:41 -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=PdJZYC3N1yD3Hiab8505docbun8EenE86+JEwSqwfVw=; b=sRzK4ztwWganNQTTV8VgeNqpfteFivmkki+cIKYlUXOQ3dfGx7lL4bQMxiOzgsLRWH f1V6RQ1Vezuf99MttdmDC0a+OG0Pyd4DUtc8x8x/JHTAQ2UK6c+TZ83n0KvbLJDs7UMN 0Z/LKpBRcUda2fhd/KBBASDwTGnKoMt+b5WmDpxXfrtlZDa95gzZeeVJ17BWVZ1jJPma Zv4pxP2+qbNq+PHXU2Vt2ezo+kur+Syr8pYE54agfqgKMAdnH9wONsHrK3I3zzVrh3Ko O9jKDwpQ357xN6ygFfNAnPDleZIkP4E4OWMm/vZ0OPrem3xLWbQqoWWg11yeCniEtWT1 PphA== X-Received: by 10.180.211.76 with SMTP id na12mr15123741wic.55.1412179781494; Wed, 01 Oct 2014 09:09:41 -0700 (PDT) Received: from poluect (bzq-79-181-147-19.red.bezeqint.net. [79.181.147.19]) by mx.google.com with ESMTPSA id v9sm1655152wjy.14.2014.10.01.09.09.39 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Wed, 01 Oct 2014 09:09:41 -0700 (PDT) Received: by poluect (sSMTP sendmail emulation); Wed, 01 Oct 2014 19:09:14 +0300 From: Mike Rapoport To: Kumar Gala Subject: [PATCH v4] ARM: dts: qcom: add CM-QS600 board Date: Wed, 1 Oct 2014 19:09:11 +0300 Message-Id: <1412179751-5859-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-20141001_091006_344025_AA55E113 X-CRM114-Status: GOOD ( 12.86 ) X-Spam-Score: -0.1 (/) Cc: linux-arm-msm@vger.kernel.org, Mike Rapoport , Srinivas Kandagatla , Igor Grinberg , Bjorn Andersson , linux-arm-kernel@lists.infradead.org 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.4 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 v4 changes: fix eeprom defintion and update subject as per Igor's comments 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 \ 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..5d75666 --- /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@50 { + compatible = "24c02"; + reg = <0x50>; + 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"; + }; + }; + }; +};