Skip to content

Commit

Permalink
ARM: shmobile: porter: add I2C2 DT support
Browse files Browse the repository at this point in the history
Define the Porter board dependent part of the I2C2 device node.

This patch is  analogous to the commit 29a647c ("ARM: shmobile:
henninger: add I2C2 DT support") as there are no differences between
the boards in this respect.

Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
  • Loading branch information
Sergei Shtylyov authored and Simon Horman committed Oct 9, 2015
1 parent efbb05c commit d6b9403
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions arch/arm/boot/dts/r8a7791-porter.dts
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,11 @@
renesas,groups = "sdhi2_data4", "sdhi2_ctrl";
renesas,function = "sdhi2";
};

i2c2_pins: i2c2 {
renesas,groups = "i2c2";
renesas,function = "i2c2";
};
};

&scif0 {
Expand Down Expand Up @@ -155,6 +160,14 @@
status = "okay";
};

&i2c2 {
pinctrl-0 = <&i2c2_pins>;
pinctrl-names = "default";

status = "okay";
clock-frequency = <400000>;
};

&sata0 {
status = "okay";
};

0 comments on commit d6b9403

Please sign in to comment.