From patchwork Tue Nov 10 18:00:08 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Akshay Bhat X-Patchwork-Id: 7591791 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.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 29A8F9F1C2 for ; Tue, 10 Nov 2015 18:03:31 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 3DA5E206CD for ; Tue, 10 Nov 2015 18:03:30 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id AE37320148 for ; Tue, 10 Nov 2015 18:03:25 +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 1ZwDEn-00028r-5O; Tue, 10 Nov 2015 18:01:45 +0000 Received: from mail-qk0-x22f.google.com ([2607:f8b0:400d:c09::22f]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1ZwDE4-0001e9-Ug for linux-arm-kernel@lists.infradead.org; Tue, 10 Nov 2015 18:01:06 +0000 Received: by qkcl124 with SMTP id l124so2098281qkc.3 for ; Tue, 10 Nov 2015 10:00:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=timesys_com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=vjTATpcJtpXkHKPT1vB2b4J/udkHAQr4HQoj3KO9Fdc=; b=1/+EQVGYSROynMAcYxk5S+RaJ7xjhkbXIH32xM8oRd80a9cRFi2uKC/WsDsmDk+XPN kI390fKuWF18KJ+rnojFi3POsMTjKSCF6mAq+GJDP1xUFoI2Na38ave6+3RIyVaRvLWR OJdzNylXSPlTsJCG4rcY5/K/OqE03Fq+f2bDkkhCTO/oeRRzfO0OCtfJkdm+iJOgvmyn SnU1VdP0Pxpha+DibBElYYKDeneWt3JzW7pSr9p8OnT6R2YYWPwTbMtNgV88M04Qy0E1 Fof+iQfrTGAueCJNm/4wPA04UXyRrlwysrhtQJIrPcA/YwsSXYBnVA6s73Tb6/k9xgo7 xbpw== 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=vjTATpcJtpXkHKPT1vB2b4J/udkHAQr4HQoj3KO9Fdc=; b=KvlnGbn49k0tpV3lOpyFUStbLkTTLkOmzpZUuTCJfMP2OjmDppxC+fQ/UyLNSIDBBN 496RisfmkN/JX4xX2C1xBfXbSrJEiKqLdmTg0EylLezokqXxhRaRTUws++vskEgY8Afl CG12b0i6fSZmPBPg9fYUOh0p1tSe5ycQIA+uTbiOzZj+XaExfKYvrFFe4EsuIu/JXhnB 1EbLiHgtuiH7KmsDieO1R47UWGCq3cxAege87rs/SXmkE7NpGk96wW9YwfNeta9Ezd9N bL2RhkEP9a0zmLGpYnEF17fP0huAH8atKDze+sjevrjxtQ4EcnG9VtWK6vqY4QHjZwvj BSfg== X-Gm-Message-State: ALoCoQmUliuGHq+OZnIcU1BZPJM7YvsIVcRu9xocQ5EP0xstCBkPz/YgL0PPngD5j0Wz8jlNr5ig X-Received: by 10.55.207.3 with SMTP id e3mr6043524qkj.32.1447178439762; Tue, 10 Nov 2015 10:00:39 -0800 (PST) Received: from localhost.localdomain ([96.94.100.129]) by smtp.gmail.com with ESMTPSA id z123sm1728387qhd.15.2015.11.10.10.00.38 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 10 Nov 2015 10:00:39 -0800 (PST) From: Akshay Bhat To: devicetree@vger.kernel.org Subject: [PATCH v3 7/7] ARM: dts: imx: Add support for Advantech/GE B850v3 Date: Tue, 10 Nov 2015 13:00:08 -0500 Message-Id: <1447178408-26982-8-git-send-email-akshay.bhat@timesys.com> X-Mailer: git-send-email 2.6.3 In-Reply-To: <1447178408-26982-1-git-send-email-akshay.bhat@timesys.com> References: <1447178408-26982-1-git-send-email-akshay.bhat@timesys.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20151110_100101_345246_8B153A54 X-CRM114-Status: GOOD ( 16.40 ) X-Spam-Score: -2.6 (--) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: mark.rutland@arm.com, justin.waters@timesys.com, linux@arm.linux.org.uk, Akshay Bhat , ijc+devicetree@hellion.org.uk, robh+dt@kernel.org, peter.stretz@advantech.com, kernel@pengutronix.de, galak@codeaurora.org, l.stach@pengutronix.de, shawnguo@kernel.org, linux-arm-kernel@lists.infradead.org, martin.donnelly@ge.com 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=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_MED,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 Add support for Advantech/GE B850v3 board. Signed-off-by: Akshay Bhat --- arch/arm/boot/dts/Makefile | 1 + arch/arm/boot/dts/imx6q-b850v3.dts | 122 +++++++++++++++++++++++++++++++++++++ 2 files changed, 123 insertions(+) create mode 100644 arch/arm/boot/dts/imx6q-b850v3.dts diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile index e2df9f8..7ad1eb8 100644 --- a/arch/arm/boot/dts/Makefile +++ b/arch/arm/boot/dts/Makefile @@ -312,6 +312,7 @@ dtb-$(CONFIG_SOC_IMX6Q) += \ imx6q-arm2.dtb \ imx6q-b450v3.dtb \ imx6q-b650v3.dtb \ + imx6q-b850v3.dtb \ imx6q-cm-fx6.dtb \ imx6q-cubox-i.dtb \ imx6q-dfi-fs700-m60.dtb \ diff --git a/arch/arm/boot/dts/imx6q-b850v3.dts b/arch/arm/boot/dts/imx6q-b850v3.dts new file mode 100644 index 0000000..2dbcf71 --- /dev/null +++ b/arch/arm/boot/dts/imx6q-b850v3.dts @@ -0,0 +1,122 @@ +/* + * Copyright 2015 Timesys Corporation. + * Copyright 2015 General Electric Company + * + * The code contained herein is licensed under the GNU General Public + * License. You may obtain a copy of the GNU General Public License + * Version 2 or later at the following locations: + * + * http://www.opensource.org/licenses/gpl-license.html + * http://www.gnu.org/copyleft/gpl.html + */ + +/dts-v1/; + +#include "imx6q-bx50v3.dtsi" + +/ { + model = "Advantech MX6Q B850V3 QSeven Board"; + compatible = "ge,imx6q-b850v3", "advantech,imx6q-ba16", "fsl,imx6q"; + + chosen { + stdout-path = &uart3; + }; +}; + +&ldb { + assigned-clocks = <&clks IMX6QDL_CLK_LDB_DI0_SEL>, + <&clks IMX6QDL_CLK_LDB_DI1_SEL>; + assigned-clock-parents = <&clks IMX6QDL_CLK_PLL3_USB_OTG>, + <&clks IMX6QDL_CLK_PLL3_USB_OTG>; + fsl,dual-channel; + status = "okay"; + + lvds0: lvds-channel@0 { + fsl,data-mapping = "spwg"; + fsl,data-width = <24>; + status = "okay"; + + display-timings { + native-mode = <&timing0>; + timing0: stdp4028 { + clock-frequency = <137143857>; + hactive = <1920>; + vactive = <1080>; + hback-porch = <100>; + hfront-porch = <40>; + vback-porch = <30>; + vfront-porch = <3>; + hsync-len = <10>; + vsync-len = <2>; + }; + }; + }; +}; + +&i2c2 { + pca9547_ddc: mux@70 { + compatible = "nxp,pca9547"; + reg = <0x70>; + #address-cells = <1>; + #size-cells = <0>; + + mux_i2c11: i2c@0 { + #address-cells = <1>; + #size-cells = <0>; + reg = <0x0>; + }; + + mux_i2c12: i2c@1 { + #address-cells = <1>; + #size-cells = <0>; + reg = <0x1>; + }; + + mux_i2c13: i2c@2 { + #address-cells = <1>; + #size-cells = <0>; + reg = <0x2>; + }; + + mux_i2c14: i2c@3 { + #address-cells = <1>; + #size-cells = <0>; + reg = <0x3>; + }; + + mux_i2c15: i2c@4 { + #address-cells = <1>; + #size-cells = <0>; + reg = <0x4>; + }; + + mux_i2c16: i2c@5 { + #address-cells = <1>; + #size-cells = <0>; + reg = <0x5>; + }; + + mux_i2c17: i2c@6 { + #address-cells = <1>; + #size-cells = <0>; + reg = <0x6>; + }; + + mux_i2c18: i2c@7 { + #address-cells = <1>; + #size-cells = <0>; + reg = <0x7>; + }; + }; +}; + +&hdmi { + ddc-i2c-bus = <&mux_i2c11>; +}; + +&mux_i2c3 { + ads7830_2: ads7830@4a { + compatible = "ti,ads7830"; + reg = <0x4a>; + }; +};