summaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts/r8a7743-iwg20d-q7.dts
diff options
context:
space:
mode:
authorBiju Das <biju.das@bp.renesas.com>2017-08-29 11:56:23 +0200
committerSimon Horman <horms+renesas@verge.net.au>2017-09-19 11:19:54 +0200
commite0e63658c2f291e0672fdf96df1f9f2963a6a9f6 (patch)
tree439672979a0b520dab89e3746e0354449b313d82 /arch/arm/boot/dts/r8a7743-iwg20d-q7.dts
parentARM: dts: iwg20d-q7: Add chosen node (diff)
downloadlinux-e0e63658c2f291e0672fdf96df1f9f2963a6a9f6.tar.xz
linux-e0e63658c2f291e0672fdf96df1f9f2963a6a9f6.zip
ARM: dts: iwg20d-q7: Add RTC support
Define the iWave RainboW-G20D-Qseven board dependent part of the RTC device node. Signed-off-by: Biju Das <biju.das@bp.renesas.com> Signed-off-by: Chris Paterson <chris.paterson2@renesas.com> Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
Diffstat (limited to 'arch/arm/boot/dts/r8a7743-iwg20d-q7.dts')
-rw-r--r--arch/arm/boot/dts/r8a7743-iwg20d-q7.dts18
1 files changed, 18 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/r8a7743-iwg20d-q7.dts b/arch/arm/boot/dts/r8a7743-iwg20d-q7.dts
index e30c58625e65..2b58b53aa171 100644
--- a/arch/arm/boot/dts/r8a7743-iwg20d-q7.dts
+++ b/arch/arm/boot/dts/r8a7743-iwg20d-q7.dts
@@ -50,6 +50,11 @@
};
&pfc {
+ i2c2_pins: i2c2 {
+ groups = "i2c2";
+ function = "i2c2";
+ };
+
scif0_pins: scif0 {
groups = "scif0_data_d";
function = "scif0";
@@ -107,3 +112,16 @@
sd-uhs-sdr50;
status = "okay";
};
+
+&i2c2 {
+ pinctrl-0 = <&i2c2_pins>;
+ pinctrl-names = "default";
+
+ status = "okay";
+ clock-frequency = <400000>;
+
+ rtc@68 {
+ compatible = "ti,bq32000";
+ reg = <0x68>;
+ };
+};