Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp593415imm; Fri, 31 Aug 2018 08:13:38 -0700 (PDT) X-Google-Smtp-Source: ANB0VdaNEg+VGm71UkxB24Rvobg1tL3ngYbAuzbOojOwmGF3rfZcPSX09PKZOHnVQ8v1wjrRnEWt X-Received: by 2002:a63:6ce:: with SMTP id 197-v6mr14543037pgg.338.1535728418828; Fri, 31 Aug 2018 08:13:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1535728418; cv=none; d=google.com; s=arc-20160816; b=vz4csSFC0pSBnMCGK9omQ+L7JrcoOhvwKi78ecXp+5WvgliHD3Z//lYvUgz8ysqohO Vq2oMhYXUGw3Zzmdpalg8ruegtCC1RByAG/tV06/wsENRAjWx7zSvkUK+ggXHGzKN+o4 5SfbBtnDN5uxlypF+j6cmXKECtkcXnxf0H/WeA6ADtZai2b/Yxl0V0/PIBxWGRU4xjf+ /DGmYsDJ6P/9kug/WgaDFFQKAYQvqRsgO6QaVt8oEOHLOWaZD6lHT+8M8DWP6wDMqcQW nvbF3vdnCXZjstcHV5awYuZK1lH3rAwDdavyMQwpOJ+dIxRmZINQfpY9aFqGNsryl9kK fh9w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :arc-authentication-results; bh=UMJjQj6Y06YNMElLSTe/Ast+/6n5DTNv7I9jxna5MTQ=; b=wOkhRvSsy8hozBSnnmSZfIMvBpMJd1gWhgh4oB3C4GSKYF2zKi1o8pGg/rXFr5KCqI UUuVRWP948+j0/36w+M1d2m0k/f2yvFcJsxWR/kIfA1f8zgd7n3kjIzc+ijV2W6ijc9i M2ZTwaK/9dKsAbIDezBvhgpatInyMqIuaSEruRP66Ln4Q7cEeFP6pMDdKoUTJtIYV2fK mCo6uRkZHBfUexhMMlCKejdoDVEiYK1/a8FuKoLXzzpdBySFj2mRY9KMLS9Q+/N947gV 8tXpKNURqrv01uLeeJ2dKoAVX9MrDtijA9rb3BisCBoPvbIKcvZbqG5qzBsrOXHs2Oq1 AtIA== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f12-v6si4563704pgd.294.2018.08.31.08.13.24; Fri, 31 Aug 2018 08:13:38 -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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728924AbeHaTTz (ORCPT + 99 others); Fri, 31 Aug 2018 15:19:55 -0400 Received: from mail.bootlin.com ([62.4.15.54]:47031 "EHLO mail.bootlin.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728872AbeHaTTy (ORCPT ); Fri, 31 Aug 2018 15:19:54 -0400 Received: by mail.bootlin.com (Postfix, from userid 110) id AA98D22A39; Fri, 31 Aug 2018 17:11:57 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mail.bootlin.com X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED,SHORTCIRCUIT, URIBL_BLOCKED shortcircuit=ham autolearn=disabled version=3.4.0 Received: from localhost (242.171.71.37.rev.sfr.net [37.71.171.242]) by mail.bootlin.com (Postfix) with ESMTPSA id 9DAFF22A3E; Fri, 31 Aug 2018 17:11:29 +0200 (CEST) From: Alexandre Belloni To: Wolfram Sang , Jarkko Nikula , James Hogan , Paul Burton Cc: Andy Shevchenko , Mika Westerberg , linux-i2c@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-mips@linux-mips.org, Thomas Petazzoni , Allan Nielsen , Alexandre Belloni Subject: [PATCH v5 7/7] MIPS: dts: mscc: enable i2c on ocelot_pcb123 Date: Fri, 31 Aug 2018 17:11:14 +0200 Message-Id: <20180831151114.25739-8-alexandre.belloni@bootlin.com> X-Mailer: git-send-email 2.19.0.rc1 In-Reply-To: <20180831151114.25739-1-alexandre.belloni@bootlin.com> References: <20180831151114.25739-1-alexandre.belloni@bootlin.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Enable the i2c controller on ocelot PCB123. While there are no i2c devices on the board itself, it can be used to control the SFP transceivers. Signed-off-by: Alexandre Belloni --- arch/mips/boot/dts/mscc/ocelot_pcb123.dts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/arch/mips/boot/dts/mscc/ocelot_pcb123.dts b/arch/mips/boot/dts/mscc/ocelot_pcb123.dts index 2266027759f9..ef852f382da8 100644 --- a/arch/mips/boot/dts/mscc/ocelot_pcb123.dts +++ b/arch/mips/boot/dts/mscc/ocelot_pcb123.dts @@ -36,6 +36,12 @@ }; }; +&i2c { + clock-frequency = <100000>; + i2c-sda-hold-time-ns = <300>; + status = "okay"; +}; + &mdio0 { status = "okay"; }; -- 2.19.0.rc1