From patchwork Wed Mar 22 17:48:09 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 9639759 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 EA716602CB for ; Wed, 22 Mar 2017 18:00:35 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id CFBDD25EA6 for ; Wed, 22 Mar 2017 18:00:35 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id C2BD228354; Wed, 22 Mar 2017 18:00:35 +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=0.1 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, RCVD_IN_SORBS_SPAM, RCVD_IN_SORBS_WEB 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 494BA25EA6 for ; Wed, 22 Mar 2017 18:00:35 +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=/YP4oUPCjPPtFONdGbCzc2rvaSllHk9Cl51jMHad7/Y=; b=ucDYbeTbxagMG5fbxMVs8uV1+T xOw/BOqwmQIpuLMHNS0pC4pfq1y/HXie77TFnWHq9BsE+pX/8aZKakOiSwcgZSh3fiJ3OtfUtVmGi vVpivm7Jq7X5QDOQ4XIcFZxEqbQQAbnjsJiaCbBfJipN/vcJLDEpgFKGYGDh5UMmeIXd04u3BIC79 9SuLTwSqJ4ztm5SF87ig5vL7n2grSeVWeAdmDsEDWFbTSAczgJr5N/GBCk2PB9DsU3q5kDjVWSxjT ny66ilpZZr6166l/8SGjMTiJh/Ts3Kbc2sQueH7JlyYE8HVHLuy2ID6InrQBRADaJmNbdbz6aM31P afkGVIoA==; 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 1cqkYf-0005ym-JM; Wed, 22 Mar 2017 18:00:29 +0000 Received: from casper.infradead.org ([2001:770:15f::2]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1cqkYd-0004LF-85 for linux-arm-kernel@bombadil.infradead.org; Wed, 22 Mar 2017 18:00:27 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=References:In-Reply-To:Message-Id:Date: Subject:Cc:To:From:Sender:Reply-To:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=44y/nKGam20VQStkMWnfVJ9usxsvAB2MDb2ODNZ3fr8=; b=VaFXXVPyu4KzoKlrEqZrX5KfY aSIfEa9eYO2pYwvuuT+iFmBTmCctNea3sZX0Vu4ZsgC2ZD+a6i5rgAbm1T9AaluSWFmHoGyNo10/l /zlGESjrxEDoXYi3PIbFRRSOWMCjJ1tiIu0k+OuIQENPenT7fYswGMDBAxYEZE223jxMi2Ktx4fEp u8f14UcDG13KI55F/RgRla8RveQ6083I8fgs/qDD9uB30nRtcTieBdvpPygrn4bQtCvBw1ZD8zo/r RDyz1SMrkFtVsnMlNefu0RW4rwpoXOXVPxTSzGzyJ1vSGe9p6zxODZB7KcJB6HvVCA7M3/86SOrDZ ExVOD14gQ==; Received: from mail-pg0-f67.google.com ([74.125.83.67]) by casper.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1cqkPd-0002PX-Ij for linux-arm-kernel@lists.infradead.org; Wed, 22 Mar 2017 17:51:11 +0000 Received: by mail-pg0-f67.google.com with SMTP id 79so23063456pgf.0 for ; Wed, 22 Mar 2017 10:50:49 -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=44y/nKGam20VQStkMWnfVJ9usxsvAB2MDb2ODNZ3fr8=; b=NrcpI72t0vf+6bcniFtJdjnZbS6XldTK1Pa9K3lh8xI6Z7LY2esdMLRw8uAQgqecMG efOJ9sLDxdHlo5A+D5RNCnZ1t2NqSawEkTyMKf8bJmBcdd/qvpPwYOtlDsaIL+hdkfC5 vKcsEPrun2z5XdSLKsOdjXqS9YSFi/9iqVnLWxOn21rbIvsQkWL3S/mqIrr/BxLBWFK7 U2zB+/RXDf1KRbHXYR3xaOCbjwRX0FOJzQpx6is5LwbxOqQQs8EhrYA69CzJQRUQXThB o6kCL9J+V5z4hpSxIipX7KJans7NsNOWUe5cPlGW/j4jwLmB2IztIDRsPpPDmyOGTWJi 4AlA== X-Gm-Message-State: AFeK/H3USoLHQuOIG4NXJ7mcxqQYoklaSpjKMxYfHU+loBqOH7t4ojSD/eCpZ8RrhLd5RA== X-Received: by 10.98.18.216 with SMTP id 85mr48534805pfs.131.1490205048262; Wed, 22 Mar 2017 10:50:48 -0700 (PDT) Received: from localhost.localdomain ([59.95.76.36]) by smtp.gmail.com with ESMTPSA id o194sm5234892pfg.66.2017.03.22.10.50.44 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 22 Mar 2017 10:50:47 -0700 (PDT) From: Jagan Teki To: Shawn Guo Subject: [PATCH 04/12] ARM: dts: imx6ul-isiot: Add i2c nodes Date: Wed, 22 Mar 2017 23:18:09 +0530 Message-Id: <1490204897-14525-5-git-send-email-jagan@openedev.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1490204897-14525-1-git-send-email-jagan@openedev.com> References: <1490204897-14525-1-git-send-email-jagan@openedev.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170322_175109_754250_D5651B0E X-CRM114-Status: GOOD ( 10.55 ) 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 , 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 --- 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