Skip to content

Commit bc5ec7e

Browse files
how2flowtobetter
authored andcommitted
ODROID-N2/N2L: dtb/dtbo: add pcf8563 (RTC).
Signed-off-by: steve.jeong <[email protected]> Change-Id: Ia4f9bf96ec4d53d5a8b1868463d0d8a70dc5df1d
1 parent f45d495 commit bc5ec7e

File tree

2 files changed

+23
-0
lines changed

2 files changed

+23
-0
lines changed

arch/arm64/boot/dts/amlogic/overlays/odroidn2/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ dtbo-$(CONFIG_ARCH_MESON64_ODROIDN2) += spi0.dtbo \
1717
hifishield2.dtbo \
1818
fanspeed-full.dtbo \
1919
gpio_spdif.dtbo \
20+
pcf8563.dtbo \
2021
pwm_cd.dtbo \
2122
pwm_ef.dtbo \
2223
pwm_c-pwmfan.dtbo \
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
/dts-v1/;
2+
/plugin/;
3+
4+
/ {
5+
fragment@0 {
6+
// i2c2 aliased with i2c0.
7+
target = <&i2c2>;
8+
9+
__overlay__ {
10+
status = "okay";
11+
12+
#address-cells = <1>;
13+
#size-cells = <0>;
14+
15+
pcf8563: rtc@51 {
16+
status = "okay";
17+
compatible = "nxp,pcf8563";
18+
reg = <0x51>;
19+
};
20+
};
21+
};
22+
};

0 commit comments

Comments
 (0)