ODROID-N2L: Add pcf8563 dtbo for RTC Shield.

Change-Id: Id786921d1c34895cfb9f1291fdc7c49f3d821c9f
This commit is contained in:
Chris
2022-11-01 17:51:19 +09:00
parent 38775d03e8
commit ceed7aa5bc
3 changed files with 24 additions and 0 deletions

View File

@@ -15260,3 +15260,4 @@ DTS OVERLAY FOR ODROID-N2L
M: Chris KIM <codewalker@hardkenrle.com>
F: arch/arm64/boot/dts/amlogic/overlays/odroidn2/odroidn2l-opp.dts
F: arch/arm64/boot/dts/amlogic/meson64_odroidn2l_android.dts
F: arch/arm64/boot/dts/amlogic/overlays/odroidn2/pcf8563.dts

View File

@@ -19,6 +19,7 @@ dtbo-$(CONFIG_ARCH_MESON64_ODROIDN2) += \
odroidn2l-opp.dtbo \
onewire.dtbo \
otg_host_mode.dtbo \
pcf8563.dtbo \
pwm_backlight.dtbo \
pwm_c-pwmfan.dtbo \
pwm_cd.dtbo \

View File

@@ -0,0 +1,22 @@
/dts-v1/;
/plugin/;
/ {
fragment@0 {
// i2c2 aliased with i2c0.
target = <&i2c2>;
__overlay__ {
status = "okay";
#address-cells = <1>;
#size-cells = <0>;
pcf8563: rtc@51 {
status = "okay";
compatible = "nxp,pcf8563";
reg = <0x51>;
};
};
};
};