1、原理图如下:

2、 kernel部分:
kernel/arch/arm64/boot/dts/rockchip/rk3568-evb1-ddr4-v10.dtsi
kernel/arch/arm64/configs/rockchip_defconfig
diff --git a/arch/arm64/boot/dts/rockchip/rk3568-evb1-ddr4-v10.dtsi b/arch/arm64/boot/dts/rockchip/rk3568-evb1-ddr4-v10.dtsi
old mode 100644
new mode 100755
index d4035a3..b8489b1
--- a/arch/arm64/boot/dts/rockchip/rk3568-evb1-ddr4-v10.dtsi
+++ b/arch/arm64/boot/dts/rockchip/rk3568-evb1-ddr4-v10.dtsi
@@ -270,6 +270,21 @@
power-supply = <&vcc3v3_lcd0_n>;
};
+&i2c5 {
+ status = "okay";
+
+ hym8563: hym8563@51 {
+ status = "okay";
+ compatible = "haoyu,hym8563";
+ reg = <0x51>;
+ pinctrl-names = "default";
+ pinctrl-0 = <&rtc_int>;
+ interrupt-parent = <&gpio0>;
+ interrupts = <RK_PD3 IRQ_TYPE_LEVEL_LOW>;
+ };
+};
+
+
&i2c4 {
st

本文档详细介绍了Rockchip RK3568 EVB1 DDR4设备的配置,包括内核和设备树的修改,如I2C5接口的HYM8563实时时钟的启用,并在defconfig中更新了RTC驱动的选择。此外,还涉及到了 sepolicy 中genfs_contexts的更新,以适应新的设备需求。
最低0.47元/天 解锁文章
2477

被折叠的 条评论
为什么被折叠?



