Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

MIPS: dts: mscc: enable i2c on ocelot_pcb123

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 <alexandre.belloni@bootlin.com>
Signed-off-by: Paul Burton <paul.burton@mips.com>
Patchwork: https://patchwork.linux-mips.org/patch/20352/
Cc: Wolfram Sang <wsa@the-dreams.de>
Cc: Jarkko Nikula <jarkko.nikula@linux.intel.com>
Cc: James Hogan <jhogan@kernel.org>
Cc: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Cc: Mika Westerberg <mika.westerberg@linux.intel.com>
Cc: linux-i2c@vger.kernel.org
Cc: devicetree@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Cc: linux-mips@linux-mips.org
Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Cc: Allan Nielsen <allan.nielsen@microchip.com>

authored by

Alexandre Belloni and committed by
Paul Burton
7c45885e 9ca953a3

+6
+6
arch/mips/boot/dts/mscc/ocelot_pcb123.dts
··· 36 36 }; 37 37 }; 38 38 39 + &i2c { 40 + clock-frequency = <100000>; 41 + i2c-sda-hold-time-ns = <300>; 42 + status = "okay"; 43 + }; 44 + 39 45 &mdio0 { 40 46 status = "okay"; 41 47 };