From patchwork Thu Nov 5 18:13:37 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Akshay Bhat X-Patchwork-Id: 7562971 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.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id D91B9BEEA4 for ; Thu, 5 Nov 2015 18:19:43 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id D30A02076B for ; Thu, 5 Nov 2015 18:19: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 D00EC2073C for ; Thu, 5 Nov 2015 18:19: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 1ZuP51-0000Rz-Qd; Thu, 05 Nov 2015 18:16:11 +0000 Received: from mail-qg0-x231.google.com ([2607:f8b0:400d:c04::231]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1ZuP4o-0000Jc-QD for linux-arm-kernel@lists.infradead.org; Thu, 05 Nov 2015 18:16:01 +0000 Received: by qgec40 with SMTP id c40so12466431qge.2 for ; Thu, 05 Nov 2015 10:15:37 -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=azkFMoLgav6sbBv+Nhojhq3N+bqU2PsK697g7c1sFL4=; b=b2kAzhA9QVPOdoZ/LWK40uXr1pf1ISvXpnS58TCcryEGaTAqWKeaW0doFoPxiCccvs hwCIXn9uD2Dl7cCDbNGtRjcGS1y5xy/knv9ihLR1jXx18de+YeGIYYzujcLU7cWSeBJI rGHrhnS1ZxpJuemypS8PyQdHzXuhWMFj7RwJb2YUDJMRH/dRBwRwdNROmfnRW1lXkcaD dXTVPlcflOtDtgeBHtl2yRd6OMDMN+/nNRRdGXUKm0Q8OdVtbiUk22hQpsYCYX02fTbe asVn/MyM2ehYk7N6/QRgNLioMRFUZhlWufonRggWO5JEyb0dRynd7C3T/X3sIbTQzBa5 8Qmg== 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=azkFMoLgav6sbBv+Nhojhq3N+bqU2PsK697g7c1sFL4=; b=dk1GMEzbQbFiWs43U3DDbSHAxAXqPoNTc5PajERSEwU6oHQ5MWdvOjZNLkS7stepa2 lc2RuQnB7vYH0jUYlCdX7DPc18cBoFGKd50wsPONEY4vlyXWbtrsotZiXcRdlkc+Ji1r L88xLn46laELTnEqu8r7HcGoVFx1aJmOD1CR62XSdloav+7IcrOzTytf3zAC7xLDlP/B BciZOQGYWa3bS6DJ8uNyuf2zPgRa90jwTUSC8t+s6wuRfQOMzIrtgkGFsUzSj1Z5CbKt Gbok8X3FsS4s8rJrjBqn+8P4HAMk2PCCUfKKnWIhpcbsuKFf76cduIbFbo2jd00MgvZJ PSRA== X-Gm-Message-State: ALoCoQlaeUSJZcVfy6D2lisqXqFcKih5CkXf3OxdZ/dDmv/Dk3CH2RcHrMO7BbejAi2U24pJmuqh X-Received: by 10.140.146.10 with SMTP id 10mr9408158qhs.76.1446747337804; Thu, 05 Nov 2015 10:15:37 -0800 (PST) Received: from localhost.localdomain ([96.94.100.129]) by smtp.gmail.com with ESMTPSA id n67sm1929958qkh.18.2015.11.05.10.15.36 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 05 Nov 2015 10:15:37 -0800 (PST) From: Akshay Bhat To: devicetree@vger.kernel.org Subject: [PATCH v2 03/10] ARM: dts: imx: Add support for Advantech/GE Bx50v3 Date: Thu, 5 Nov 2015 13:13:37 -0500 Message-Id: <1446747224-32514-4-git-send-email-akshay.bhat@timesys.com> X-Mailer: git-send-email 2.6.2 In-Reply-To: <1446747224-32514-1-git-send-email-akshay.bhat@timesys.com> References: <1446747224-32514-1-git-send-email-akshay.bhat@timesys.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20151105_101559_111405_3AA606ED X-CRM114-Status: GOOD ( 16.24 ) 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.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_MED, T_DKIM_INVALID, T_RP_MATCHES_RCVD, 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 From: Justin Waters Advantech has 3 carrier boards (B450v3, B650v3, B850v3) which use the Advantech BA-16 module (based on iMX6D). This file has the devicetree entries that are common to all 3 boards. Signed-off-by: Akshay Bhat --- arch/arm/boot/dts/imx6q-bx50v3.dtsi | 206 ++++++++++++++++++++++++++++++++++++ 1 file changed, 206 insertions(+) create mode 100644 arch/arm/boot/dts/imx6q-bx50v3.dtsi diff --git a/arch/arm/boot/dts/imx6q-bx50v3.dtsi b/arch/arm/boot/dts/imx6q-bx50v3.dtsi new file mode 100644 index 0000000..e9d97ee --- /dev/null +++ b/arch/arm/boot/dts/imx6q-bx50v3.dtsi @@ -0,0 +1,206 @@ +/* + * Copyright 2015 Timesys Corporation. + * Copyright 2015 GE Healthcare. + * + * 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 + */ + +#include "imx6q-ba16.dtsi" + +/ { + regulators { + /* regulator for wl18xx on sdhc4 */ + wl18xx_vmmc: regulator@6 { + compatible = "regulator-fixed"; + regulator-name = "vwl1807"; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + gpio = <&pca9539 3 GPIO_ACTIVE_HIGH>; + startup-delay-us = <70000>; + enable-active-high; + }; + + reg_wlan: regulator@7 { + compatible = "regulator-fixed"; + regulator-name = "3P3V_wlan"; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + regulator-always-on; + regulator-boot-on; + gpio = <&gpio6 14 GPIO_ACTIVE_HIGH>; + }; + }; + + sound { + compatible = "fsl,imx6q-ba16-sgtl5000", + "fsl,imx-audio-sgtl5000"; + model = "imx6q-ba16-sgtl5000"; + ssi-controller = <&ssi1>; + audio-codec = <&codec>; + audio-routing = + "MIC_IN", "Mic Jack", + "Mic Jack", "Mic Bias", + "LINE_IN", "Line In Jack", + "Headphone Jack", "HP_OUT"; + mux-int-port = <1>; + mux-ext-port = <4>; + }; + + clocks { + #address-cells = <1>; + #size-cells = <0>; + mclk: clock@0 { + compatible = "fixed-clock"; + reg = <0>; + #clock-cells = <0>; + clock-frequency = <22000000>; + }; + }; +}; + +&i2c1 { + pca9547: mux@70 { + compatible = "nxp,pca9547"; + reg = <0x70>; + #address-cells = <1>; + #size-cells = <0>; + + mux_i2c3: i2c@0 { + #address-cells = <1>; + #size-cells = <0>; + reg = <0x0>; + + ads7830: ads7830@48 { + compatible = "ti,ads7830"; + reg = <0x48>; + }; + }; + + mux_i2c4: i2c@1 { + #address-cells = <1>; + #size-cells = <0>; + reg = <0x1>; + + eeprom: eeprom@50 { + compatible = "atmel,24c08"; + reg = <0x50>; + }; + + mpl3115: mpl3115@60 { + compatible = "fsl,mpl3115"; + reg = <0x60>; + }; + }; + + mux_i2c5: i2c@2 { + #address-cells = <1>; + #size-cells = <0>; + reg = <0x2>; + }; + + mux_i2c6: i2c@3 { + #address-cells = <1>; + #size-cells = <0>; + reg = <0x3>; + + codec: sgtl5000@0a { + compatible = "fsl,sgtl5000"; + reg = <0x0a>; + clocks = <&mclk>; + VDDA-supply = <®_1p8v>; + VDDIO-supply = <®_3p3v>; + }; + }; + + mux_i2c7: i2c@4 { + #address-cells = <1>; + #size-cells = <0>; + reg = <0x4>; + + pca9539: pca9539@74 { + compatible = "nxp,pca9539"; + reg = <0x74>; + gpio-controller; + #gpio-cells = <2>; + interrupt-controller; + interrupt-parent = <&gpio2>; + interrupts = <3 IRQ_TYPE_LEVEL_LOW>; + }; + }; + + mux_i2c8: i2c@5 { + #address-cells = <1>; + #size-cells = <0>; + reg = <0x5>; + + igb@49 { + compatible = "intel,igb"; + reg = <0x49>; + }; + + igb@61 { + compatible = "intel,igb"; + reg = <0x61>; + }; + }; + + mux_i2c9: i2c@6 { + #address-cells = <1>; + #size-cells = <0>; + reg = <0x6>; + }; + + mux_i2c10: i2c@7 { + #address-cells = <1>; + #size-cells = <0>; + reg = <0x7>; + }; + }; +}; + + +&usdhc4 { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_usdhc4>; + bus-width = <4>; + vmmc-supply = <&wl18xx_vmmc>; + no-1-8-v; + non-removable; + enable-sdio-wakeup; + keep-power-in-suspend; + cap-power-off-card; + max-frequency = <25000000>; + status = "okay"; + + #address-cells = <1>; + #size-cells = <0>; + wlcore: wlcore@0 { + compatible = "ti,wl1837"; + reg = <2>; + interrupt-parent = <&gpio2>; + interrupts = <6 IRQ_TYPE_LEVEL_HIGH>; + tcxo-clock-frequency = <26000000>; + }; +}; + +&ecspi5 { + fsl,spi-num-chipselects = <1>; + cs-gpios = <&gpio1 17 GPIO_ACTIVE_HIGH>; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_ecspi5>; + status = "okay"; + + m25_eeprom: m25p80@0 { + compatible = "atmel,at25"; + spi-max-frequency = <20000000>; + size = <0x8000>; + pagesize = <64>; + reg = <0>; + address-width = <16>; + }; +};