aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexandre Belloni <[email protected]>2018-08-31 17:11:14 +0200
committerPaul Burton <[email protected]>2018-09-05 16:05:58 -0700
commit7c45885ea92972e7909847c39bd1698b76dffd73 (patch)
treefd7b8b5a6f70f49bc6f8d4af68150e629a16d7e2
parent9ca953a3d6a649f4d5d2a4f1d5d51db10de46e5b (diff)
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 <[email protected]> Signed-off-by: Paul Burton <[email protected]> Patchwork: https://patchwork.linux-mips.org/patch/20352/ Cc: Wolfram Sang <[email protected]> Cc: Jarkko Nikula <[email protected]> Cc: James Hogan <[email protected]> Cc: Andy Shevchenko <[email protected]> Cc: Mika Westerberg <[email protected]> Cc: [email protected] Cc: [email protected] Cc: [email protected] Cc: [email protected] Cc: Thomas Petazzoni <[email protected]> Cc: Allan Nielsen <[email protected]>
-rw-r--r--arch/mips/boot/dts/mscc/ocelot_pcb123.dts6
1 files changed, 6 insertions, 0 deletions
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";
};