summaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts/socfpga_cyclone5_de0_sockit.dts
diff options
context:
space:
mode:
authorDinh Nguyen <dinguyen@kernel.org>2017-05-09 09:21:08 -0500
committerDinh Nguyen <dinguyen@kernel.org>2017-06-23 09:29:13 -0500
commit3c56909ec2672d74d30f32f1c0ed8cfd7d6e2b14 (patch)
tree6e5224858597a4b493e2f41bc130f3cc8be27a30 /arch/arm/boot/dts/socfpga_cyclone5_de0_sockit.dts
parent5b5ada57e4df56940d4855069754460b31666806 (diff)
downloadop-kernel-dev-3c56909ec2672d74d30f32f1c0ed8cfd7d6e2b14.zip
op-kernel-dev-3c56909ec2672d74d30f32f1c0ed8cfd7d6e2b14.tar.gz
ARM: dts: socfpga: set the i2c frequency
Use 'clock-frequency' binding for the i2c node that will put the I2C driver into the standard operating mode. 'speed-mode' was not a valid binding for the I2C driver, remove it. Signed-off-by: Alan Tull <atull@kernel.org> Signed-off-by: Dinh Nguyen <dinguyen@kernel.org>
Diffstat (limited to 'arch/arm/boot/dts/socfpga_cyclone5_de0_sockit.dts')
-rw-r--r--arch/arm/boot/dts/socfpga_cyclone5_de0_sockit.dts2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/boot/dts/socfpga_cyclone5_de0_sockit.dts b/arch/arm/boot/dts/socfpga_cyclone5_de0_sockit.dts
index 7b49395..b280e64 100644
--- a/arch/arm/boot/dts/socfpga_cyclone5_de0_sockit.dts
+++ b/arch/arm/boot/dts/socfpga_cyclone5_de0_sockit.dts
@@ -86,7 +86,7 @@
&i2c0 {
status = "okay";
- speed-mode = <0>;
+ clock-frequency = <100000>;
adxl345: adxl345@0 {
compatible = "adi,adxl345";
OpenPOWER on IntegriCloud