From patchwork Fri Feb 19 23:35:31 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Akshay Bhat X-Patchwork-Id: 8365051 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 881B49F2F0 for ; Fri, 19 Feb 2016 23:40:43 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 60F6C20570 for ; Fri, 19 Feb 2016 23:40:42 +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 46A252056E for ; Fri, 19 Feb 2016 23:40:41 +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 1aWudZ-0000CT-PD; Fri, 19 Feb 2016 23:39:01 +0000 Received: from mail-qg0-x230.google.com ([2607:f8b0:400d:c04::230]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1aWubM-0006zw-TX for linux-arm-kernel@lists.infradead.org; Fri, 19 Feb 2016 23:36:49 +0000 Received: by mail-qg0-x230.google.com with SMTP id y9so74997578qgd.3 for ; Fri, 19 Feb 2016 15:36:24 -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=vZy4bLUypkUYXwvY+glQeL2vBP6/8kVBVdY1ih0HGd4=; b=ipzO0wsGAm9y3tC5xDyXDaK/ZroD2u8Vugo3mp/N8Fs1lcTc1BycHilc6GjS/8lMKA sEsS+KFM750mDVSnSKpnNL8k6P8mTXD4SzM+0P2C/vMDTOgTYAbHdOPg7kLpuqcETCPx u7CZiytn1fkYorAX0aXE8uFD7fzuENXQOuWNClxg/afuYQ49VkuJt2rJyLQgKGVo45Cf 8HMcw2WNc6SIw1Xg1ItyJq8pxbyyAjGvCoMzKjg62WO7iqwSXCfNQUtjFeufqNIpjP43 rWff+U3zhU5dWUqrpyquovOd+y619axE3f8vwp17Gh+F6bWtVofPpet0Zv9nVryIFV4O Y0nA== 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=vZy4bLUypkUYXwvY+glQeL2vBP6/8kVBVdY1ih0HGd4=; b=XP20+UbLGhhYnXg4LejO+YrDUHR2UMFVCbR4Zo/XI1pe4u7aFaKUdtCJsj0c8iCujX +gc+ZntnNQH1bi7XlmWxEAeGLX55LO7wq3OymjKHmRIvUd1LeK6UQ+Bal/aVUAf0mpNX Rwb9aj53LDgZBK4kHxhQTFkfgNFWj5aqdtsL5Qw4YTX91IojmqPsCGbp0Dr1mhB7OPqr aJovpGzZw6VkGoGdM+FQLtEXWRVEx9IXS+QfErxiNk2sWCfOhkweGkCtkqQ9FHjRjn1t er6jv/2XbNcfzcV1VzvBLR08CDW4+gN8cRtHOtF5/5j5HLCFmVaGvc/BU1QwUBFTdRv3 u5/w== X-Gm-Message-State: AG10YOQmD3OEZFwPSVEzCoBH+ToY+HOC53kRMa9EtDvxKjMz4YioNtGM2ghPtGSgXk5eYJEH X-Received: by 10.140.81.211 with SMTP id f77mr19479961qgd.11.1455924983744; Fri, 19 Feb 2016 15:36:23 -0800 (PST) Received: from timesysab.timesys.com ([96.94.100.129]) by smtp.gmail.com with ESMTPSA id e11sm5623748qkb.39.2016.02.19.15.36.22 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 19 Feb 2016 15:36:23 -0800 (PST) From: Akshay Bhat To: shawnguo@kernel.org Subject: [PATCH v8 7/7] ARM: dts: imx: Add support for Advantech/GE B850v3 Date: Fri, 19 Feb 2016 18:35:31 -0500 Message-Id: <1455924931-13784-8-git-send-email-akshay.bhat@timesys.com> X-Mailer: git-send-email 2.7.1 In-Reply-To: <1455924931-13784-1-git-send-email-akshay.bhat@timesys.com> References: <1455924931-13784-1-git-send-email-akshay.bhat@timesys.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160219_153645_352764_ACEAB305 X-CRM114-Status: GOOD ( 17.58 ) 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, devicetree@vger.kernel.org, linux@arm.linux.org.uk, ijc+devicetree@hellion.org.uk, robh+dt@kernel.org, Akshay Bhat , kernel@pengutronix.de, galak@codeaurora.org, justin.waters@timesys.com, linux-arm-kernel@lists.infradead.org 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.1 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 | 157 +++++++++++++++++++++++++++++++++++++ 2 files changed, 158 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 9bdbff8..0387b5d 100644 --- a/arch/arm/boot/dts/Makefile +++ b/arch/arm/boot/dts/Makefile @@ -327,6 +327,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..984d000 --- /dev/null +++ b/arch/arm/boot/dts/imx6q-b850v3.dts @@ -0,0 +1,157 @@ +/* + * Copyright 2015 Timesys Corporation. + * Copyright 2015 General Electric Company + * + * This file is dual-licensed: you can use it either under the terms + * of the GPL or the X11 license, at your option. Note that this dual + * licensing only applies to this file, and not this project as a + * whole. + * + * a) This file is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * version 2 as published by the Free Software Foundation. + * + * This file is distributed in the hope that it will be useful + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * Or, alternatively + * + * b) Permission is hereby granted, free of charge, to any person + * obtaining a copy of this software and associated documentation + * files (the "Software"), to deal in the Software without + * restriction, including without limitation the rights to use + * copy, modify, merge, publish, distribute, sublicense, and/or + * sell copies of the Software, and to permit persons to whom the + * Software is furnished to do so, subject to the following + * conditions: + * + * The above copyright notice and this permission notice shall be + * included in all copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED , WITHOUT WARRANTY OF ANY KIND + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES + * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT + * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY + * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR + * OTHER DEALINGS IN THE SOFTWARE. + */ + +/dts-v1/; + +#include "imx6q-bx50v3.dtsi" + +/ { + model = "General Electric B850v3"; + compatible = "ge,imx6q-b850v3", "advantech,imx6q-ba16", "fsl,imx6q"; + + chosen { + stdout-path = &uart3; + }; + + panel-lvds0 { + compatible = "auo,b133htn01"; + backlight = <&backlight_lvds>; + ddc-i2c-bus = <&mux2_i2c2>; + + port { + panel_in_lvds0: endpoint { + remote-endpoint = <&lvds0_out>; + }; + }; + }; +}; + +&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"; + + port@4 { + reg = <4>; + + lvds0_out: endpoint { + remote-endpoint = <&panel_in_lvds0>; + }; + }; + }; +}; + +&i2c2 { + pca9547_ddc: mux@70 { + compatible = "nxp,pca9547"; + reg = <0x70>; + #address-cells = <1>; + #size-cells = <0>; + + mux2_i2c1: i2c@0 { + #address-cells = <1>; + #size-cells = <0>; + reg = <0x0>; + }; + + mux2_i2c2: i2c@1 { + #address-cells = <1>; + #size-cells = <0>; + reg = <0x1>; + }; + + mux2_i2c3: i2c@2 { + #address-cells = <1>; + #size-cells = <0>; + reg = <0x2>; + }; + + mux2_i2c4: i2c@3 { + #address-cells = <1>; + #size-cells = <0>; + reg = <0x3>; + }; + + mux2_i2c5: i2c@4 { + #address-cells = <1>; + #size-cells = <0>; + reg = <0x4>; + }; + + mux2_i2c6: i2c@5 { + #address-cells = <1>; + #size-cells = <0>; + reg = <0x5>; + }; + + mux2_i2c7: i2c@6 { + #address-cells = <1>; + #size-cells = <0>; + reg = <0x6>; + }; + + mux2_i2c8: i2c@7 { + #address-cells = <1>; + #size-cells = <0>; + reg = <0x7>; + }; + }; +}; + +&hdmi { + ddc-i2c-bus = <&mux2_i2c1>; +}; + +&mux1_i2c1 { + ads7830@4a { + compatible = "ti,ads7830"; + reg = <0x4a>; + }; +};