diff options
author | Sergei Shtylyov <sergei.shtylyov@cogentembedded.com> | 2014-06-10 18:45:21 -0400 |
---|---|---|
committer | Simon Horman <horms+renesas@verge.net.au> | 2014-06-17 06:58:25 -0400 |
commit | 29a647c396a054b087b124372ffb261f40ee9856 (patch) | |
tree | 389da2fbcb4689dc7b490a3d59c30489783e5265 /arch/arm/boot/dts/r8a7791-henninger.dts | |
parent | 897dfdbc14603d764637dea92696fef4fc66ea3e (diff) |
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>
Diffstat (limited to 'arch/arm/boot/dts/r8a7791-henninger.dts')
-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 @@ | |||
110 | renesas,function = "sdhi2"; | 110 | renesas,function = "sdhi2"; |
111 | }; | 111 | }; |
112 | 112 | ||
113 | i2c2_pins: i2c2 { | ||
114 | renesas,groups = "i2c2"; | ||
115 | renesas,function = "i2c2"; | ||
116 | }; | ||
117 | |||
113 | qspi_pins: spi0 { | 118 | qspi_pins: spi0 { |
114 | renesas,groups = "qspi_ctrl", "qspi_data4"; | 119 | renesas,groups = "qspi_ctrl", "qspi_data4"; |
115 | renesas,function = "qspi"; | 120 | renesas,function = "qspi"; |
@@ -170,6 +175,14 @@ | |||
170 | status = "okay"; | 175 | status = "okay"; |
171 | }; | 176 | }; |
172 | 177 | ||
178 | &i2c2 { | ||
179 | pinctrl-0 = <&i2c2_pins>; | ||
180 | pinctrl-names = "default"; | ||
181 | |||
182 | status = "okay"; | ||
183 | clock-frequency = <400000>; | ||
184 | }; | ||
185 | |||
173 | &qspi { | 186 | &qspi { |
174 | pinctrl-0 = <&qspi_pins>; | 187 | pinctrl-0 = <&qspi_pins>; |
175 | pinctrl-names = "default"; | 188 | pinctrl-names = "default"; |