Skip to content

Commit

Permalink
MIPS: dts: mscc: enable i2c on ocelot_pcb123
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Alexandre Belloni authored and Paul Burton committed Sep 5, 2018
1 parent 9ca953a commit 7c45885
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions arch/mips/boot/dts/mscc/ocelot_pcb123.dts
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,12 @@
};
};

&i2c {
clock-frequency = <100000>;
i2c-sda-hold-time-ns = <300>;
status = "okay";
};

&mdio0 {
status = "okay";
};
Expand Down

0 comments on commit 7c45885

Please sign in to comment.