diff options
author | Sergei Shtylyov <sergei.shtylyov@cogentembedded.com> | 2014-06-11 02:45:21 +0400 |
---|---|---|
committer | Stephane Desneux <stephane.desneux@open.eurogiciel.org> | 2015-02-04 11:16:02 +0100 |
commit | 7418f1de9af4b8e5d9f90b0a68c0de7564010f5d (patch) | |
tree | 3f31adf0328f355ff5f22c62b537f78acddc7b23 /arch | |
parent | b29e69a231898139ad1d22cb1ae7b462d8420ce6 (diff) | |
download | linux-stable-7418f1de9af4b8e5d9f90b0a68c0de7564010f5d.tar.gz linux-stable-7418f1de9af4b8e5d9f90b0a68c0de7564010f5d.tar.bz2 linux-stable-7418f1de9af4b8e5d9f90b0a68c0de7564010f5d.zip |
ARM: shmobile: henninger: add I2C2 DT support
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>
(cherry picked from commit 29a647c396a054b087b124372ffb261f40ee9856)
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/boot/dts/r8a7791-henninger.dts | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/r8a7791-henninger.dts b/arch/arm/boot/dts/r8a7791-henninger.dts index cc6d992e8db2..c0c58ce7746e 100644 --- a/arch/arm/boot/dts/r8a7791-henninger.dts +++ b/arch/arm/boot/dts/r8a7791-henninger.dts @@ -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"; @@ -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"; |