Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp3864415imm; Mon, 6 Aug 2018 11:55:25 -0700 (PDT) X-Google-Smtp-Source: AAOMgpf5x6x3H2ryjZsVHum7xo4ZIvx8GdDPS5cLaW+hVvNwOkABRB0eXuSYHbjWvVY/Byt3eQba X-Received: by 2002:a62:1449:: with SMTP id 70-v6mr18552462pfu.222.1533581725373; Mon, 06 Aug 2018 11:55:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1533581725; cv=none; d=google.com; s=arc-20160816; b=baeSXGmMCLlYOVL52nPYS2C2ihc0uIGc4RLxkreRxyMybLYXanSPLLpBEX2NzkSx92 aHPD2tyd/iJlHf5F2P+Yj567cWkUkgahLnsdmIFNNt4lUyBqcITrCaHEh/9FL706eD8W EWCqvcwJ1DcAFSweehBRKF3y8D7AwvZukt7wveMJ9sqQPBGKkbK6t6Y6wHkmeiyoO1wU zi9YsZ7F6SjJcYIOw2UnE2wr3gngICCIanYBtPnBUW8fo3N53WeNh7mCb5kJhAYYrakO UiVyhVq4Fgp4pRfXqEkVliOPz0AHiQI613Ebi2eM2LzQBemGf76C+GNdjA6HVagAbES7 hMqQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:arc-authentication-results; bh=zOVjfdtymf2B/XmXGtro2Ml1yyXp0WlwOkAHiNT7/W4=; b=AmQs2wN6HKo1ZMsT1v9WHvukPV2gdWKlJ1xwFvOGG5+4NFJSahsZJSDqFaIi2nU0u/ nURYo7G8Nc2Gtjo1wPKpnZY/S9n+mRcsHcOP9cXQ/PAj5ck/jSXQZgo2OIQeYsudBLxl l9vZzAxQIJfolxeb0eih4i3zz0tISZ08zr+Lb9EJDtSMWSUj1wSS2SSHYorB/ygmOB1k CI4w6ewQ8t8qv7x7UWqgrCuYVmm7GxoesZ+SroINu6bmfIdz5Evsj0TEl8RS53cU7CIM ljtFp+IWeNnCi0kZiSwaBTfkLkrEZcDzsjwNN6hnvJEvrqUty+bpvMa3GYJDMDYr+Tg0 IoKA== 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 b6-v6si13524949pgm.644.2018.08.06.11.55.10; Mon, 06 Aug 2018 11:55:25 -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 S1733019AbeHFVEq (ORCPT + 99 others); Mon, 6 Aug 2018 17:04:46 -0400 Received: from mail.bootlin.com ([62.4.15.54]:37157 "EHLO mail.bootlin.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728948AbeHFVEp (ORCPT ); Mon, 6 Aug 2018 17:04:45 -0400 Received: by mail.bootlin.com (Postfix, from userid 110) id 7A82C20908; Mon, 6 Aug 2018 20:54:17 +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 (LPuteaux-656-1-243-71.w82-127.abo.wanadoo.fr [82.127.120.71]) by mail.bootlin.com (Postfix) with ESMTPSA id 3EF0020794; Mon, 6 Aug 2018 20:54:17 +0200 (CEST) From: Alexandre Belloni To: Wolfram Sang , Jarkko Nikula , James Hogan Cc: Paul Burton , 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 v3 6/6] MIPS: dts: mscc: enable i2c on ocelot_pcb123 Date: Mon, 6 Aug 2018 20:54:12 +0200 Message-Id: <20180806185412.7210-7-alexandre.belloni@bootlin.com> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20180806185412.7210-1-alexandre.belloni@bootlin.com> References: <20180806185412.7210-1-alexandre.belloni@bootlin.com> 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 4ccd65379059..336c859a9bbe 100644 --- a/arch/mips/boot/dts/mscc/ocelot_pcb123.dts +++ b/arch/mips/boot/dts/mscc/ocelot_pcb123.dts @@ -26,6 +26,12 @@ status = "okay"; }; +&i2c { + clock-frequency = <100000>; + i2c-sda-hold-time-ns = <300>; + status = "okay"; +}; + &mdio0 { status = "okay"; }; -- 2.18.0