Re: [PATCH v3 07/12] arm64: dts: h3ulcb: enable I2C2

2016-09-01 Thread Geert Uytterhoeven
On Wed, Aug 31, 2016 at 12:03 PM, Vladimir Barinov
 wrote:
> This supports I2C2 bus on H3ULCB board
>
> Signed-off-by: Vladimir Barinov 

Reviewed-by: Geert Uytterhoeven 

Gr{oetje,eeting}s,

Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- ge...@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds


[PATCH v3 07/12] arm64: dts: h3ulcb: enable I2C2

2016-08-31 Thread Vladimir Barinov
This supports I2C2 bus on H3ULCB board

Signed-off-by: Vladimir Barinov 
---
Changes in version 3:
- initially added

 arch/arm64/boot/dts/renesas/r8a7795-h3ulcb.dts | 12 
 1 file changed, 12 insertions(+)

diff --git a/arch/arm64/boot/dts/renesas/r8a7795-h3ulcb.dts 
b/arch/arm64/boot/dts/renesas/r8a7795-h3ulcb.dts
index 5be0cf6..3682bcc 100644
--- a/arch/arm64/boot/dts/renesas/r8a7795-h3ulcb.dts
+++ b/arch/arm64/boot/dts/renesas/r8a7795-h3ulcb.dts
@@ -88,6 +88,11 @@
function = "scif_clk";
};
 
+   i2c2_pins: i2c2 {
+   groups = "i2c2_a";
+   function = "i2c2";
+   };
+
avb_pins: avb {
groups = "avb_mdc";
function = "avb";
@@ -118,6 +123,13 @@
status = "okay";
 };
 
+&i2c2 {
+   pinctrl-0 = <&i2c2_pins>;
+   pinctrl-names = "default";
+
+   status = "okay";
+};
+
 &sdhi0 {
pinctrl-0 = <&sdhi0_pins_3v3>;
pinctrl-1 = <&sdhi0_pins_1v8>;
-- 
1.9.1