summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/r8a7794-alt.dts
diff options
context:
space:
mode:
authorUlrich Hecht <ulrich.hecht+renesas@gmail.com>2015-11-18 15:51:06 +0300
committerSimon Horman <horms+renesas@verge.net.au>2015-11-18 20:10:24 +0300
commit7f81bf72c67fbd225adfc0d5f6df0f674d08d757 (patch)
tree25725ff6e5a6cd1f6b541340b071b3aac5efcc2b /arch/arm/boot/dts/r8a7794-alt.dts
parent22b160713cb6944450dad0abd18d8929f60500dc (diff)
downloadlinux-7f81bf72c67fbd225adfc0d5f6df0f674d08d757.tar.xz
ARM: shmobile: alt: add I2C1 DT support
Defines the board-dependent part of the I2C1 device. Signed-off-by: Ulrich Hecht <ulrich.hecht+renesas@gmail.com> Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
Diffstat (limited to 'arch/arm/boot/dts/r8a7794-alt.dts')
-rw-r--r--arch/arm/boot/dts/r8a7794-alt.dts13
1 files changed, 13 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/r8a7794-alt.dts b/arch/arm/boot/dts/r8a7794-alt.dts
index e7c94554d847..88ed017495e9 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";
};