ARM: dts: rockchip: add hym8563 rtc to Radxa Rock board

A patch from »ARM: dts: rockchip: add hym8563 rtc to Radxa Rock board« in state Mainline for linux-kernel

From: Heiko Stuebner <heiko@...> Date: Thu, 14 Aug 2014 01:05:16 +0200

Commit-Message

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@...>

Patch-Comment

if nobody complains I'll queue this into my v3.18-next/dts branch arch/arm/boot/dts/rk3188-radxarock.dts | 17 +++++++++++++++++ 1 file changed, 17 insertions(+)

Statistics

  • 17 lines added
  • 0 lines removed

Changes

-------------------- arch/arm/boot/dts/rk3188-radxarock.dts --------------------
index ef72faf..ff35acfa 100644
@@ -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>;
 
 

Recent Patches

About Us

Sed lacus. Donec lectus. Nullam pretium nibh ut turpis. Nam bibendum. In nulla tortor, elementum vel, tempor at, varius non, purus. Mauris vitae nisl nec metus placerat consectetuer.

Read More...