summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/rk3188-radxarock.dts
diff options
context:
space:
mode:
authorHeiko Stübner <heiko@sntech.de>2014-08-20 23:07:22 +0400
committerHeiko Stuebner <heiko@sntech.de>2014-08-28 01:40:52 +0400
commit4721ab855d1a1d3e472ff38d1cae06e23e0520cf (patch)
treed0e80eb2ada5f4ba4f8dd4192e123dc6cb6f97d4 /arch/arm/boot/dts/rk3188-radxarock.dts
parent0541f94fdff89fb7bc14bf5fe0da21d9d19a0c6d (diff)
downloadlinux-4721ab855d1a1d3e472ff38d1cae06e23e0520cf.tar.xz
ARM: dts: rockchip: add hym8563 rtc to Radxa Rock board
The Radxa Rock uses a hym8563 as rtc. Add the i2c device and necessary pinconfig for the interrupt pin - labeled rtc_int in the schematics. Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Diffstat (limited to 'arch/arm/boot/dts/rk3188-radxarock.dts')
-rw-r--r--arch/arm/boot/dts/rk3188-radxarock.dts17
1 files changed, 17 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/rk3188-radxarock.dts b/arch/arm/boot/dts/rk3188-radxarock.dts
index ef72faf9059a..ff35acfa8ae7 100644
--- a/arch/arm/boot/dts/rk3188-radxarock.dts
+++ b/arch/arm/boot/dts/rk3188-radxarock.dts
@@ -80,6 +80,17 @@
status = "okay";
clock-frequency = <400000>;
+ rtc@51 {
+ compatible = "haoyu,hym8563";
+ reg = <0x51>;
+ interrupt-parent = <&gpio0>;
+ interrupts = <13 IRQ_TYPE_EDGE_FALLING>;
+ pinctrl-names = "default";
+ pinctrl-0 = <&rtc_int>;
+ #clock-cells = <0>;
+ clock-output-names = "xin32k";
+ };
+
act8846: act8846@5a {
compatible = "active-semi,act8846";
reg = <0x5a>;
@@ -196,6 +207,12 @@
};
};
+ hym8563 {
+ rtc_int: rtc-int {
+ rockchip,pins = <RK_GPIO0 0 RK_FUNC_GPIO &pcfg_pull_up>;
+ };
+ };
+
ir-receiver {
ir_recv_pin: ir-recv-pin {
rockchip,pins = <RK_GPIO0 10 RK_FUNC_GPIO &pcfg_pull_none>;