From patchwork Fri Mar 24 16:18:39 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 9643253 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 46F0960327 for ; Fri, 24 Mar 2017 16:22:30 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 37DF92022B for ; Fri, 24 Mar 2017 16:22:30 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 2B91E200E9; Fri, 24 Mar 2017 16:22:30 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.4 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_SORBS_SPAM autolearn=no version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id B4E71200E9 for ; Fri, 24 Mar 2017 16:22:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=axYJWQHUjM7+yEabFeAFtWUAdw52H9NC63CEaEqYySM=; b=T7c7067fuJBA2ciC9zL6L3fr16 PFb6XfCeQCOolrhTuQM+CpmHNqhsh+3ZgVfA/e3syNiF0FJUG9QfM7/uoNw8yo3+GVzJz3ZwfEyhz I3azUThjcZVSxKBE9EUX4ASOkd/Ky3WpTRtyewxS4uCVtuJPgVUb5/RusSJwXkmFNppv/FJhSdmwS 96Ah+B6wDZK263EzMQze/0dnZK2eZ8Dkj/9264HL+tgTHvnDhZk4HkOCqx5y5RQQUUMqYsjZxxAeV VFryKe8As4tX2DniNP/t/+NfP8GEsR9imFf6xXvs+oc2eEMmRjY/DeuKXi8wEgYOvhXQO0dl4Y9cP m9ZYnPLw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1crRyu-00044N-Gz; Fri, 24 Mar 2017 16:22:28 +0000 Received: from mail-pg0-f68.google.com ([74.125.83.68]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1crRyK-000392-Ru for linux-arm-kernel@lists.infradead.org; Fri, 24 Mar 2017 16:21:56 +0000 Received: by mail-pg0-f68.google.com with SMTP id g2so1346481pge.2 for ; Fri, 24 Mar 2017 09:21:33 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=XLKCLTHWgbleS1deewIUp6+yOpsu90rRlLCY5Z6M8XA=; b=pxdmLUMWKT9HdFjDWdzwhaIjUdq0ia1I3/EzR0JVhK3/wJHDstpCKpiXApBqfvY85z xW3p9e0TAr2Lia1Uqco7lhE5fde7DJ5j20YFmR7kv1QVFfMU2eTbG8VT4Lnbi2eYo/QD 6NKtghTniHz/SqDAOUVGL9d4BDqVPvOSZPLXyAYbGVapAtG0ERuBcRQsrwfL1hK2WV+Z vn3YpANjBf4ApOzZjuyFrzdPstrA0tvco0FOLi8PTnnrt3RkZvmT4bcLqSN/ZOFdlyJg OPzyL/BfN/2Ox2wK/+s6xoUk2OZr3x1Z7PjezYi5IMOyq5eDONBnkABiWdIg/rOJ81TU 3xbA== X-Gm-Message-State: AFeK/H0LbgyIgm5617qkLkfxrJ5MOiBnyvNK8XEs2ezSBWlpwTQ5gxpfTpnPeVd8a2mZ7A== X-Received: by 10.84.248.14 with SMTP id p14mr11875713pll.185.1490372492785; Fri, 24 Mar 2017 09:21:32 -0700 (PDT) Received: from localhost.localdomain ([59.95.76.64]) by smtp.gmail.com with ESMTPSA id t133sm5645519pgc.24.2017.03.24.09.21.29 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 24 Mar 2017 09:21:31 -0700 (PDT) From: Jagan Teki To: Shawn Guo Subject: [PATCH v2 04/15] ARM: dts: imx6ul-isiot: Add i2c nodes Date: Fri, 24 Mar 2017 21:48:39 +0530 Message-Id: <1490372330-5611-5-git-send-email-jagan@openedev.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1490372330-5611-1-git-send-email-jagan@openedev.com> References: <1490372330-5611-1-git-send-email-jagan@openedev.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170324_092153_008399_7236C3E9 X-CRM114-Status: GOOD ( 10.05 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, Matteo Lisi , linux-kernel@vger.kernel.org, Jagan Teki , Sascha Hauer , Fabio Estevam , Michael Trimarchi , 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-Virus-Scanned: ClamAV using ClamSMTP From: Jagan Teki Add support for i2c nodes i2c1 and i2c2 on Is.IoT MX6UL eMMC variant boards. Cc: Shawn Guo Cc: Matteo Lisi Cc: Michael Trimarchi Signed-off-by: Jagan Teki --- Changes for v2: - none arch/arm/boot/dts/imx6ul-isiot.dtsi | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/arch/arm/boot/dts/imx6ul-isiot.dtsi b/arch/arm/boot/dts/imx6ul-isiot.dtsi index 5ccc3df..4697a04 100644 --- a/arch/arm/boot/dts/imx6ul-isiot.dtsi +++ b/arch/arm/boot/dts/imx6ul-isiot.dtsi @@ -71,6 +71,20 @@ }; }; +&i2c1 { + clock-frequency = <100000>; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_i2c1>; + status = "okay"; +}; + +&i2c2 { + clock_frequency = <100000>; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_i2c2>; + status = "okay"; +}; + &pwm8 { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_pwm8>; @@ -95,6 +109,20 @@ }; &iomuxc { + pinctrl_i2c1: i2c1grp { + fsl,pins = < + MX6UL_PAD_UART4_TX_DATA__I2C1_SCL 0x4001b8b0 + MX6UL_PAD_UART4_RX_DATA__I2C1_SDA 0x4001b8b0 + >; + }; + + pinctrl_i2c2: i2c2grp { + fsl,pins = < + MX6UL_PAD_GPIO1_IO00__I2C2_SCL 0x4001b8b0 + MX6UL_PAD_GPIO1_IO01__I2C2_SDA 0x4001b8b0 + >; + }; + pinctrl_pwm8: pwm8grp { fsl,pins = < MX6UL_PAD_ENET1_RX_ER__PWM8_OUT 0x110b0