summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorSergei Shtylyov <sergei.shtylyov@cogentembedded.com>2015-08-20 00:05:02 +0200
committerSimon Horman <horms+renesas@verge.net.au>2015-09-14 03:16:39 +0200
commitfa070791c1e7df91ca07fc7c9a431fac0d7d2832 (patch)
treeb6435d3048e34c29199a367f4dd810076c1a7f44 /arch
parentARM: shmobile: r8a7794: add I2C DT support (diff)
downloadlinux-fa070791c1e7df91ca07fc7c9a431fac0d7d2832.tar.xz
linux-fa070791c1e7df91ca07fc7c9a431fac0d7d2832.zip
ARM: shmobile: silk: add I2C1 DT support
Define the SILK board dependent part of the I2C1 device node. Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com> Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/boot/dts/r8a7794-silk.dts13
1 files changed, 13 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/r8a7794-silk.dts b/arch/arm/boot/dts/r8a7794-silk.dts
index f49bc00738a3..3f808724106e 100644
--- a/arch/arm/boot/dts/r8a7794-silk.dts
+++ b/arch/arm/boot/dts/r8a7794-silk.dts
@@ -61,6 +61,11 @@
renesas,function = "intc";
};
+ i2c1_pins: i2c1 {
+ renesas,groups = "i2c1";
+ renesas,function = "i2c1";
+ };
+
mmcif0_pins: mmcif0 {
renesas,groups = "mmc_data8", "mmc_ctrl";
renesas,function = "mmc";
@@ -95,6 +100,14 @@
};
};
+&i2c1 {
+ pinctrl-0 = <&i2c1_pins>;
+ pinctrl-names = "default";
+
+ status = "okay";
+ clock-frequency = <400000>;
+};
+
&mmcif0 {
pinctrl-0 = <&mmcif0_pins>;
pinctrl-names = "default";