Skip to content

Commit

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

Based on the Koelsch I2C2 device tree patch by Wolfram Sang.

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 Jun 17, 2014
1 parent 897dfdb commit 29a647c
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions arch/arm/boot/dts/r8a7791-henninger.dts
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,11 @@
renesas,function = "sdhi2";
};

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

qspi_pins: spi0 {
renesas,groups = "qspi_ctrl", "qspi_data4";
renesas,function = "qspi";
Expand Down Expand Up @@ -170,6 +175,14 @@
status = "okay";
};

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

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

&qspi {
pinctrl-0 = <&qspi_pins>;
pinctrl-names = "default";
Expand Down

0 comments on commit 29a647c

Please sign in to comment.