[PATCH 1/2] ARM: shmobile: alt: add I2C1 DT support
Ulrich Hecht
ulrich.hecht+renesas at gmail.com
Wed Nov 18 04:51:06 PST 2015
Defines the board-dependent part of the I2C1 device.
Signed-off-by: Ulrich Hecht <ulrich.hecht+renesas at gmail.com>
---
arch/arm/boot/dts/r8a7794-alt.dts | 13 +++++++++++++
1 file changed, 13 insertions(+)
diff --git a/arch/arm/boot/dts/r8a7794-alt.dts b/arch/arm/boot/dts/r8a7794-alt.dts
index e7c9455..88ed017 100644
--- a/arch/arm/boot/dts/r8a7794-alt.dts
+++ b/arch/arm/boot/dts/r8a7794-alt.dts
@@ -115,6 +115,11 @@
renesas,groups = "eth_link_b", "eth_mdio_b", "eth_rmii_b";
renesas,function = "eth";
};
+
+ i2c1_pins: i2c1 {
+ renesas,groups = "i2c1";
+ renesas,function = "i2c1";
+ };
};
&cmt0 {
@@ -134,6 +139,14 @@
};
};
+&i2c1 {
+ pinctrl-0 = <&i2c1_pins>;
+ pinctrl-names = "default";
+
+ status = "okay";
+ clock-frequency = <400000>;
+};
+
&scif2 {
status = "okay";
};
--
2.6.1
More information about the linux-arm-kernel
mailing list