59 lines
1.6 KiB
Diff
59 lines
1.6 KiB
Diff
From 623548be09653f06b3f368a13c6b9e6190e54a58 Mon Sep 17 00:00:00 2001
|
|
From: Dongjin Kim <tobetter@gmail.com>
|
|
Date: Mon, 22 Mar 2021 11:34:41 +0900
|
|
Subject: [PATCH 091/109] ODROID-C4: arm64/dts: add 'pcf8563' device tree
|
|
overlay nodes
|
|
|
|
Signed-off-by: Dongjin Kim <tobetter@gmail.com>
|
|
Change-Id: Iea246f2f8a2fb0047dbb7179dff2d96274ab4407
|
|
---
|
|
.../dts/amlogic/overlays/odroidc4/Makefile | 1 +
|
|
.../dts/amlogic/overlays/odroidc4/pcf8563.dts | 23 +++++++++++++++++++
|
|
2 files changed, 24 insertions(+)
|
|
create mode 100644 arch/arm64/boot/dts/amlogic/overlays/odroidc4/pcf8563.dts
|
|
|
|
diff --git a/arch/arm64/boot/dts/amlogic/overlays/odroidc4/Makefile b/arch/arm64/boot/dts/amlogic/overlays/odroidc4/Makefile
|
|
index 0e01ffc53908..5bc56edf9770 100644
|
|
--- a/arch/arm64/boot/dts/amlogic/overlays/odroidc4/Makefile
|
|
+++ b/arch/arm64/boot/dts/amlogic/overlays/odroidc4/Makefile
|
|
@@ -1,6 +1,7 @@
|
|
dtbo-y += \
|
|
hktft32.dtbo \
|
|
hktft35.dtbo \
|
|
+ pcf8563.dtbo \
|
|
spi0.dtbo \
|
|
sx865x-i2c1.dtbo \
|
|
w1-gpio_p15.dtbo \
|
|
diff --git a/arch/arm64/boot/dts/amlogic/overlays/odroidc4/pcf8563.dts b/arch/arm64/boot/dts/amlogic/overlays/odroidc4/pcf8563.dts
|
|
new file mode 100644
|
|
index 000000000000..6fe883a62b2b
|
|
--- /dev/null
|
|
+++ b/arch/arm64/boot/dts/amlogic/overlays/odroidc4/pcf8563.dts
|
|
@@ -0,0 +1,23 @@
|
|
+
|
|
+/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>;
|
|
+ };
|
|
+ };
|
|
+ };
|
|
+};
|
|
--
|
|
2.25.1
|
|
|