ARM: bcm2835: fix I2C module clock rate
authorStephen Warren <swarren@wwwdotorg.org>
Fri, 22 Feb 2013 05:42:38 +0000 (22:42 -0700)
committerOlof Johansson <olof@lixom.net>
Tue, 5 Mar 2013 01:15:34 +0000 (17:15 -0800)
BCM2835-ARM-Peripherals.pdf states that the I2C module's input clock is
nominally 150MHz, and that value is currently reflected in bcm2835.dtsi.
However, practical measurements show that the rate is actually 250MHz,
and this agrees with various downstream kernels.

Switch the I2C clock's frequency to 250MHz so that the generated bus
clock rate is accurate.

Signed-off-by: Stephen Warren <swarren@wwwdotorg.org>
Signed-off-by: Olof Johansson <olof@lixom.net>
arch/arm/boot/dts/bcm2835.dtsi

index 4bf2a87..7e0481e 100644 (file)
                        compatible = "fixed-clock";
                        reg = <1>;
                        #clock-cells = <0>;
-                       clock-frequency = <150000000>;
+                       clock-frequency = <250000000>;
                };
        };
 };