Skip to content

Commit

Permalink
arm/dt: tegra: Fix I2C nodes to match board files
Browse files Browse the repository at this point in the history
With board files, all I2C busses run at 400KHz. Fix the device-tree
to be consistent with this. It's possible this is incorrect, but at
least it keeps the board files and device-tree consistent.

Also, disable any I2C controllers that the board files don't register,
also for consistency.

Signed-off-by: Stephen Warren <swarren@nvidia.com>
Signed-off-by: Olof Johansson <olof@lixom.net>
  • Loading branch information
Stephen Warren authored and Olof Johansson committed Dec 8, 2011
1 parent 492f204 commit 88950f3
Show file tree
Hide file tree
Showing 3 changed files with 36 additions and 0 deletions.
16 changes: 16 additions & 0 deletions arch/arm/boot/dts/tegra-seaboard.dts
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,22 @@
reg = < 0x00000000 0x40000000 >;
};

i2c@7000c000 {
clock-frequency = <400000>;
};

i2c@7000c400 {
clock-frequency = <400000>;
};

i2c@7000c500 {
clock-frequency = <400000>;
};

i2c@7000d000 {
clock-frequency = <400000>;
};

serial@70006300 {
clock-frequency = < 216000000 >;
};
Expand Down
4 changes: 4 additions & 0 deletions arch/arm/boot/dts/tegra-trimslice.dts
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,10 @@
clock-frequency = <400000>;
};

i2c@7000d000 {
status = "disable";
};

serial@70006000 {
clock-frequency = < 216000000 >;
};
Expand Down
16 changes: 16 additions & 0 deletions arch/arm/boot/dts/tegra-ventana.dts
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,22 @@
reg = < 0x00000000 0x40000000 >;
};

i2c@7000c000 {
clock-frequency = <400000>;
};

i2c@7000c400 {
clock-frequency = <400000>;
};

i2c@7000c500 {
clock-frequency = <400000>;
};

i2c@7000d000 {
clock-frequency = <400000>;
};

serial@70006300 {
clock-frequency = < 216000000 >;
};
Expand Down

0 comments on commit 88950f3

Please sign in to comment.