Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp2008792ybl; Thu, 15 Aug 2019 05:06:59 -0700 (PDT) X-Google-Smtp-Source: APXvYqw71YhbDf32bNQmW2WILO+/vrX7Cf41PETiRufjYfkA9rzGyB2JyQmQJfQAiPFG6UQBU23P X-Received: by 2002:a17:90a:6d43:: with SMTP id z61mr1966621pjj.32.1565870819421; Thu, 15 Aug 2019 05:06:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565870819; cv=none; d=google.com; s=arc-20160816; b=qt5JCmP5KTw1wudvWWAPfYmGe76tFkk2f/bzdOBNB9yJka/qRiGBLIJ/Gtu1qjduir EVDRqehKu3BXVjaegX7Y8NFskoYc1FCFwHDMwqllneONImvUYIh1DiGeaDL4kAkwobAX eytFFYF+SOVVUWOg7n2gYTSDVhTFWDZZFzWTALpNHNfm/SnMS4mTCv3MaaExOnejc5eq 8UzraObNNB+l7ipxAQmKv8J6/FeqCiBk9r5u/zgVxfSRXeWD2JyKWJ/J2m/Ko41xninY sXmPdYfuyShJq9TvjTu/9AK7whHHvjJTqE9pMPttzgAwC3FTeDxDE42i4Bk4EmRI0yed 9vbA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from; bh=aPh0O9N2aJXz58lyBqQF81r0L3Mz5mLJTYVwfeI4Z1c=; b=Pd+8NqRZAolJ0aUZ4VFfiS6syb/ahOtipxUydXYNrzQHywGWooRrwRWtbX04lZWOjR 66cRayy8YQDAc80uZGlBY/43H0lgOdSuiTNtuseL8+/1CkVWQBjOzWKr8p6+qw4VqDQ6 IZCvMgEzgsuS1EVG7wqFPN21n6wqmdg7cluBBi0Ri0nx+3LskXxAx3WJNkCgJxGBD9Hf HLBDqyqNG5l6oZGFN7MQJwZq4W2Y/r8ExFMB55O17EUQv+FJYWszEqSXbWpWusmnVO8x HwMkTPGt/moroLR6/uB8KM+7TRi3NRoMI6ZLYQHaB5+H5TeWqRLNWMwyuyAMdJPW4LlA JLMQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a187si1719312pgc.524.2019.08.15.05.06.42; Thu, 15 Aug 2019 05:06:59 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730919AbfHOLSP (ORCPT + 99 others); Thu, 15 Aug 2019 07:18:15 -0400 Received: from inva021.nxp.com ([92.121.34.21]:42562 "EHLO inva021.nxp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730511AbfHOLSO (ORCPT ); Thu, 15 Aug 2019 07:18:14 -0400 Received: from inva021.nxp.com (localhost [127.0.0.1]) by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id 2CCC4200299; Thu, 15 Aug 2019 13:18:13 +0200 (CEST) Received: from invc005.ap-rdc01.nxp.com (invc005.ap-rdc01.nxp.com [165.114.16.14]) by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id 4535F2000B7; Thu, 15 Aug 2019 13:18:05 +0200 (CEST) Received: from localhost.localdomain (shlinux2.ap.freescale.net [10.192.224.44]) by invc005.ap-rdc01.nxp.com (Postfix) with ESMTP id 6DFB3402D7; Thu, 15 Aug 2019 19:17:55 +0800 (SGT) From: Anson.Huang@nxp.com To: robh+dt@kernel.org, mark.rutland@arm.com, shawnguo@kernel.org, s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com, mturquette@baylibre.com, sboyd@kernel.org, rjw@rjwysocki.net, viresh.kumar@linaro.org, leonard.crestez@nxp.com, abel.vesa@nxp.com, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org, linux-pm@vger.kernel.org Cc: Linux-imx@nxp.com Subject: [PATCH 1/6] arm64: dts: imx8mn-ddr4-evk: Add i2c1 support Date: Thu, 15 Aug 2019 06:59:38 -0400 Message-Id: <1565866783-19672-1-git-send-email-Anson.Huang@nxp.com> X-Mailer: git-send-email 2.7.4 X-Virus-Scanned: ClamAV using ClamSMTP Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Anson Huang Enable i2c1 on i.MX8MN DDR4 EVK board. Signed-off-by: Anson Huang --- arch/arm64/boot/dts/freescale/imx8mn-ddr4-evk.dts | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx8mn-ddr4-evk.dts b/arch/arm64/boot/dts/freescale/imx8mn-ddr4-evk.dts index 9b2c172..5fce5b1 100644 --- a/arch/arm64/boot/dts/freescale/imx8mn-ddr4-evk.dts +++ b/arch/arm64/boot/dts/freescale/imx8mn-ddr4-evk.dts @@ -50,6 +50,13 @@ >; }; + pinctrl_i2c1: i2c1grp { + fsl,pins = < + MX8MN_IOMUXC_I2C1_SCL_I2C1_SCL 0x400001c3 + MX8MN_IOMUXC_I2C1_SDA_I2C1_SDA 0x400001c3 + >; + }; + pinctrl_reg_usdhc2_vmmc: regusdhc2vmmc { fsl,pins = < MX8MN_IOMUXC_SD2_RESET_B_GPIO2_IO19 0x41 @@ -182,6 +189,13 @@ }; }; +&i2c1 { + clock-frequency = <400000>; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_i2c1>; + status = "okay"; +}; + &snvs_pwrkey { status = "okay"; }; -- 2.7.4