Commit 3f4f3bda authored by Jagan Teki's avatar Jagan Teki Committed by Heiko Stuebner
Browse files

ARM: dts: rockchip: Add rtc node for VMARC SOM



Add the hym8563 rtc found on the rk3288 variant of the VMARC SOM.

Signed-off-by: default avatarJagan Teki <jagan@amarulasolutions.com>
Link: https://lore.kernel.org/r/20201023181814.220974-2-jagan@amarulasolutions.com


[split out of the original patch, as it was a change unrelated
 to the commit description]
Signed-off-by: default avatarHeiko Stuebner <heiko@sntech.de>
parent 06bccda2
Loading
Loading
Loading
Loading
+23 −0
Original line number Diff line number Diff line
@@ -231,6 +231,23 @@
	};
};

&i2c1 {
	clock-frequency = <400000>;
	status = "okay";

	hym8563: rtc@51 {
		compatible = "haoyu,hym8563";
		reg = <0x51>;
		interrupt-parent = <&gpio5>;
		interrupts = <RK_PC3 IRQ_TYPE_LEVEL_LOW>;
		#clock-cells = <0>;
		clock-frequency = <32768>;
		clock-output-names = "hym8563";
		pinctrl-names = "default";
		pinctrl-0 = <&hym8563_int>;
	};
};

&i2c5 {
	status = "okay";
};
@@ -245,6 +262,12 @@
};

&pinctrl {
	hym8563 {
		hym8563_int: hym8563-int {
			rockchip,pins = <5 RK_PC3 RK_FUNC_GPIO &pcfg_pull_up>;
		};
	};

	pcfg_pull_none_drv_8ma: pcfg-pull-none-drv-8ma {
		drive-strength = <8>;
	};